CN109885707A - The method for refreshing of picture, device, terminal device and storage medium in picture library - Google Patents

The method for refreshing of picture, device, terminal device and storage medium in picture library Download PDF

Info

Publication number
CN109885707A
CN109885707A CN201910105713.7A CN201910105713A CN109885707A CN 109885707 A CN109885707 A CN 109885707A CN 201910105713 A CN201910105713 A CN 201910105713A CN 109885707 A CN109885707 A CN 109885707A
Authority
CN
China
Prior art keywords
target photo
picture library
picture
library
path list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910105713.7A
Other languages
Chinese (zh)
Inventor
王明辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910105713.7A priority Critical patent/CN109885707A/en
Publication of CN109885707A publication Critical patent/CN109885707A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure proposes a kind of method for refreshing of picture in picture library, device, terminal device and storage medium, wherein, method includes: after receiving the request for saving Target Photo, Target Photo is saved under preset path, and under preset path, obtain the corresponding routing information of the Target Photo, and the routing information of Target Photo is loaded into the corresponding first path list of system picture library, and active control system picture library is refreshed according to updated first path list, to which the Target Photo newly saved be flushed in the picture library of terminal device in time, it ensure that the real-time integrity of picture in system picture library, it avoids before being not switched on system picture library, the occurrence of picture is incomplete in accessed picture library.

Description

The method for refreshing of picture, device, terminal device and storage medium in picture library
Technical field
This disclosure relates to the method for refreshing of picture, device, terminal in terminal device technical field more particularly to a kind of picture library Equipment and storage medium.
Background technique
Currently, user can save various pictures in terminal device according to demand during using terminal equipment, when When user carries out saving operation to some picture, terminal device will be operated according to the preservation of user, and user is needed to the figure saved Piece is saved in terminal device.
However, being newly saved in the picture of terminal device, only when the system picture library in terminal device is opened, newly save Picture can just flush in the system picture library.If terminal device needs in the system picture library before being not switched on system picture library All pictures, in the related technology preservation picture mode, will lead to the picture is incomplete in the system picture library got.
Summary of the invention
The disclosure provides method for refreshing, device, terminal device and the storage medium of picture in a kind of picture library, is saving picture When, the new routing information for saving picture is saved in the path list of system picture library, and control system picture library is refreshed, from And in time flush to the Target Photo newly saved in the picture library of terminal device, it ensure that the real-time full of picture in system picture library The occurrence of property, avoids before being not switched on system picture library, picture is incomplete in accessed picture library.
Disclosure first aspect embodiment proposes a kind of method for refreshing of picture in picture library, comprising: response Target Photo Preservation request, the Target Photo is saved under the preset path of system;Under the preset path, the target is obtained The routing information of picture;The routing information of the Target Photo is loaded into the corresponding first path list of system picture library;Control It makes the system picture library to be refreshed according to updated first path list, the Target Photo is flushed into the system In picture library.
In one embodiment of the present disclosure, the system picture library includes privacy picture library, the method also includes: judge institute State whether Target Photo meets preset condition;The routing information by the Target Photo is loaded into system picture library corresponding In one path list, comprising: if the Target Photo meets preset condition, the routing information of the Target Photo is loaded Into corresponding second path list of the privacy picture library;The control system picture library is arranged according to updated first path Table is refreshed, and the Target Photo is flushed in the system picture library, comprising: controls the privacy picture library according to update The second path list afterwards is refreshed, and the Target Photo is flushed in the privacy picture library.
In one embodiment of the present disclosure, the system picture library further includes public picture library, the method also includes: if The Target Photo is unsatisfactory for preset condition, then it is corresponding the routing information of the Target Photo to be loaded into the public picture library In third path list;The control system picture library is refreshed according to updated first path list, will be described Target Photo flushes in the system picture library, comprising: the control public picture library according to updated third path list into Row refreshes, and the Target Photo is flushed in the public picture library.
In one embodiment of the present disclosure, further includes: receive the setting instruction of user's input, the setting instruction is used for Indicate that the user is the permission type of Target Photo setting;It is described to judge whether the Target Photo meets default item Part, comprising: instructed according to the setting, determine whether the permission type of the Target Photo is privacy authority;If described set It sets instruction and indicates that the permission type of the Target Photo is privacy authority, it is determined that the Target Photo meets preset condition.
In one embodiment of the present disclosure, described to judge whether the Target Photo meets preset condition, comprising: by institute Target Photo is stated to match with the human face image information of default personage;If the face figure of the Target Photo and default personage As information matches, it is determined that the Target Photo meets preset condition.
In one embodiment of the present disclosure, described to judge whether the Target Photo meets preset condition, comprising: judgement Whether the application program for saving the Target Photo is default application program;If the application program for saving the Target Photo is Default application program, it is determined that the Target Photo meets preset condition.
The method for refreshing of picture in the picture library of the embodiment of the present disclosure, after receiving the request for saving Target Photo, by mesh Piece of marking on a map is saved under preset path, and under preset path, obtains the corresponding routing information of the Target Photo, and by target figure The routing information of piece is loaded into the corresponding first path list of system picture library, and active control system picture library is according to updated First path list is refreshed, in time flush to the Target Photo newly saved in the picture library of terminal device, ensure that The real-time integrity of picture in system picture library, avoids before being not switched on system picture library, the picture in accessed picture library The occurrence of imperfect.
In order to achieve the above object, disclosure second aspect embodiment proposes a kind of refreshing apparatus of picture in picture library, comprising: Preserving module, the preservation for responding Target Photo request, the Target Photo are saved under the preset path of system;It obtains Module, for obtaining the routing information of the Target Photo under the preset path;Loading module is used for the target The routing information of picture is loaded into the corresponding first path list of system picture library;Control module, for controlling the system diagram Library is refreshed according to updated first path list, and the Target Photo is flushed in the system picture library.
In one embodiment of the present disclosure, the system picture library includes privacy picture library, described device further include: judges mould Block, for judging whether the Target Photo meets preset condition;The loading module, is specifically used for: if the target figure Piece meets preset condition, then the routing information of the Target Photo is loaded into corresponding second path list of the privacy picture library In;The control module, is specifically used for: it controls the privacy picture library and is refreshed according to updated second path list, with The Target Photo is flushed in the privacy picture library.
In one embodiment of the present disclosure, the system picture library further includes public picture library, and the loading module is also used In: if the Target Photo is unsatisfactory for preset condition, the routing information of the Target Photo is loaded into the public figure In the corresponding third path list in library;
The control module, is also used to: the control public picture library is refreshed according to updated third path list, The Target Photo to be flushed in the public picture library.
In one embodiment of the present disclosure, further includes: setup module, for receiving the setting instruction of user's input, institute It states setting instruction and is used to indicate the permission type that the user is Target Photo setting;The judgment module, is specifically used for: It is instructed according to the setting, determines whether the permission type of the Target Photo is privacy authority;If the setting refers to The permission type for showing the Target Photo is privacy authority, it is determined that the Target Photo meets preset condition.
In one embodiment of the present disclosure, the judgment module, is specifically used for: by the Target Photo and default personage Human face image information matched;If the Target Photo is matched with the human face image information of default personage, it is determined that institute It states Target Photo and meets preset condition.
In one embodiment of the present disclosure, the judgment module, is specifically used for: judgement saves answering for the Target Photo It whether is default application program with program;If the application program for saving the Target Photo is default application program, it is determined that The Target Photo meets preset condition.
The refreshing apparatus of picture in the picture library of the embodiment of the present disclosure, after receiving the request for saving Target Photo, by mesh Piece of marking on a map is saved under preset path, and under preset path, obtains the corresponding routing information of the Target Photo, and by target figure The routing information of piece is loaded into the corresponding first path list of system picture library, and active control system picture library is according to updated First path list is refreshed, in time flush to the Target Photo newly saved in the picture library of terminal device, ensure that The real-time integrity of picture in system picture library, avoids before being not switched on system picture library, the picture in accessed picture library The occurrence of imperfect.
In order to achieve the above object, disclosure third aspect embodiment proposes a kind of terminal device, including memory, processor And it is stored in the computer program that can be run on the memory and on the processor, the processor executes the journey Sequence, to be used for: responding the preservation request of Target Photo, the Target Photo is saved under the preset path of system;From described Under preset path, the routing information of the Target Photo is obtained;The routing information of the Target Photo is loaded into system picture library In corresponding first path list;It controls the system picture library to be refreshed according to updated first path list, by institute Target Photo is stated to flush in the system picture library.
In order to achieve the above object, disclosure fourth aspect embodiment proposes a kind of computer readable storage medium, deposit thereon Computer program is contained, which is executed by processor, to be used for: the preservation request of Target Photo is responded, by the target figure Piece is saved under the preset path of system;Under the preset path, the routing information of the Target Photo is obtained;By the mesh The routing information of piece of marking on a map is loaded into the corresponding first path list of system picture library;After the system picture library is controlled according to update First path list refreshed, the Target Photo is flushed in the system picture library.
The additional aspect of the disclosure and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the disclosure.
Detailed description of the invention
The disclosure is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of the method for refreshing of picture in a kind of picture library provided by the embodiment of the present disclosure;
Fig. 2 is the flow diagram of the method for refreshing of picture in another kind picture library provided by the embodiment of the present disclosure;
Fig. 3 is the structural schematic diagram of the refreshing apparatus of picture in a kind of picture library provided by the embodiment of the present disclosure;
Fig. 4 is the structural schematic diagram of the refreshing apparatus of picture in another kind picture library provided by the embodiment of the present disclosure;
Fig. 5 is the structural schematic diagram of the refreshing apparatus of picture in another kind picture library provided by the embodiment of the present disclosure;
The hardware configuration of the terminal device of the method for refreshing of picture shows in the execution picture library that Fig. 6 provides for the embodiment of the present disclosure It is intended to.
Specific embodiment
Embodiment of the disclosure is described below in detail, the example of embodiment is shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar element or element with the same or similar functions.It is retouched below with reference to attached drawing The embodiment stated is exemplary, it is intended to for explaining the disclosure, and should not be understood as the limitation to the disclosure.
Below with reference to the accompanying drawings the method for refreshing of picture, device, terminal device in the picture library of the embodiment of the present disclosure are described and is deposited Storage media.
In the related technology, when saving new picture in terminal device, due to being opened when the system picture library in terminal device When, the picture newly saved can just flush in the picture library, therefore, before user is not switched on the system picture library of terminal device, such as Fruit needs all pictures in system picture library, for example, all pictures in system picture library are saved in cloud in real time, or will be All pictures in system picture library save computer end, and since the picture newly saved is not shone in time newly into the system picture library, this will The problem of leading to the picture is incomplete in accessed system picture library, that is, there is no comprising newly protecting in accessed picture The picture deposited.Therefore, how in time to flush to the picture that user newly saves in time is current urgent need to resolve in system picture library Technical problem.
To solve this technical problem, the method for refreshing of picture in the picture library that the disclosure is implemented, in the target for saving user After picture is saved under the preset path of terminal device, the routing information of the Target Photo is obtained, and by the path of Target Photo Information is actively loaded into the corresponding path list of picture library, and is controlled picture library and refreshed according to updated path list, from And in time flush to the Target Photo newly saved in the picture library of terminal device, avoid picture in accessed picture library not The occurrence of complete.
Fig. 1 is the flow diagram of the method for refreshing of picture in a kind of picture library provided by the embodiment of the present disclosure.
As shown in Figure 1, in the picture library picture method for refreshing the following steps are included:
Step 101, the preservation request for responding Target Photo, Target Photo is saved under the preset path of system.
Wherein, it should be noted that the method for refreshing of picture can be configured in picture library in the picture library of the embodiment of the present disclosure In the refreshing apparatus of picture, the refreshing apparatus of picture be can be set in terminal device in the picture library.
Wherein, there is system picture library, which is used to provide and owning in management terminal device in terminal device Picture, user can check all pictures in terminal device by system picture library.
Wherein, terminal device can include but is not limited to the equipment such as smart phone, tablet computer, portable device, the reality Example is applied to be not construed as limiting terminal device.
The embodiment of property as an example, during user's using terminal equipment, in user to terminal device User interface in the current image that shows execute when saving operation, accordingly, terminal device, which receives, saves the current image Preservation request.
Wherein, it should be noted that the current image that user's implementation procedure saves operation is that terminal device needs to save Target Photo.
Wherein, preset path is the pre-set file storage for saving the Target Photo newly saved in terminal device Path.
Wherein, it should be noted that the embodiment of property as an example, under different application scene, preset path It may be different, the application program corresponding with the Target Photo of storing path corresponding to Target Photo is related, for example, target When picture is the picture in application program 1, which can be saved under file corresponding to application program 1 Face.For another example the Target Photo can be saved in the corresponding file of XX microblogging when Target Photo is the picture in XX microblogging Below.
The target can be obtained when receiving the preservation for saving Target Photo request as a kind of possible implementation The corresponding application program identification of picture, and according to the application program identification, obtain the corresponding file storage of the application program identification Path, and the Target Photo is saved under file corresponding with the application program identification according to file store path.That is, The picture that will be saved by corresponding application program, saves under the corresponding file store path of the correspondence application program.
Step 102, under preset path, the routing information of Target Photo is obtained.
Step 103, the routing information of Target Photo is loaded into the corresponding first path list of system picture library.
That is, the routing information of Target Photo is added in the corresponding first path list of system picture library.
Wherein, it is to be understood that the picture saved under different application is checked in order to facilitate user, it can be in system diagram The corresponding file name of each application application program is shown in library, and saves corresponding picture under this document title, this is corresponding The picture saved when picture is using the application program.
Step 104, control system picture library is refreshed according to updated first path list, and Target Photo is refreshed Into system picture library.
The routing information of Target Photo is being loaded into system picture library corresponding by the embodiment of property as an example After in one path list, can to system picture library send picture refreshing instruction, accordingly, system picture library receive picture refreshing refer to After order, picture refreshing can be carried out according to updated first path list, Target Photo is flushed in system picture library.
The method for refreshing of picture in the picture library of the embodiment of the present disclosure, after receiving the request for saving Target Photo, by mesh Piece of marking on a map is saved under preset path, and under preset path, obtains the corresponding routing information of the Target Photo, and by target figure The routing information of piece is loaded into the corresponding first path list of system picture library, and active control system picture library is according to updated First path list is refreshed, in time flush to the Target Photo newly saved in the picture library of terminal device, ensure that The real-time integrity of picture in system picture library, avoids before being not switched on system picture library, the picture in accessed picture library The occurrence of imperfect.
The embodiment of the present disclosure provides the method for refreshing of picture in another picture library, and this method is to method shown in FIG. 1 It further expands and optimizes.
Wherein, it is to be understood that in order to meet the needs of user saves privacy picture, the as an example implementation of property Mode, system picture library may include public picture library and privacy picture library.
Wherein, it should be noted that the open corresponding path list of picture library, the corresponding path list of privacy picture library, That is, disclosing picture library and respectively corresponding to respective path list with privacy picture library.
Fig. 2 is the flow diagram of the method for refreshing of picture in another kind picture library provided by the embodiment of the present disclosure.
As shown in Fig. 2, the method for refreshing of picture may include: in the picture library
Step 201, the preservation request for responding Target Photo, Target Photo is saved under the preset path of system.
Step 202, under preset path, the routing information of Target Photo is obtained.
Step 203, judge whether Target Photo meets preset condition, if so, 204- step 205 is thened follow the steps, it is no Then follow the steps 206- step 207.
Wherein, preset condition is pre-set by condition corresponding to picture preservation privacy picture library.
Wherein, it should be noted that under different application scene, judge whether Target Photo meets the mode of preset condition Difference is illustrated below below with reference to concrete application scene to judging whether Target Photo meets preset condition and be illustrated:
As an example, it can receive the setting instruction of user's input, it is Target Photo that setting instruction, which is used to indicate user, The permission type of setting.
Wherein, permission type may include open and privacy authority.
Then, when judging whether Target Photo meets preset condition, it can be instructed according to setting, determine the power of Target Photo Limit whether type is privacy authority.If the permission type that instruction instruction Target Photo is arranged is privacy authority, it is determined that target Picture meets preset condition.
Wherein, it should be noted that if instructing the permission type of instruction Target Photo according to setting is open permission, Determine that Target Photo is unsatisfactory for preset condition.
As another example, judge whether Target Photo meets preset condition, may include: by Target Photo and to preset The human face image information of personage matches;If Target Photo is matched with the human face image information of default personage, it is determined that mesh Piece of marking on a map meets preset condition.
Specifically, extracting the human face image information in Target Photo, and by the human face image information extracted and in advance If the human face image information of personage matches, if the facial image of the human face image information in Target Photo and default personage Information matches, it is determined that Target Photo meets preset condition.
Wherein, it should be noted that if the human face image information of Target Photo and default personage mismatch, it is determined that mesh Piece of marking on a map is unsatisfactory for preset condition.
Wherein, it should be noted that it may include multiple users in practical applications, in Target Photo, it can as one kind The implementation of energy can carry out recognition of face to Target Photo, determine that Target Photo includes multiple according to face recognition result When the face information of user, can by the face information of acquired multiple users respectively with the human face image information of default personage into Row matching, when the face information for determining at least one user is matched with the human face image information of default personage, it may be determined that the mesh Piece of marking on a map meets preset condition.
Wherein, it if by matching result, determines the face information of all users in the Target Photo and prestores
As another example, judge whether Target Photo meets preset condition, may include: that judgement saves Target Photo Application program whether be default application program;If the application program for saving Target Photo is default application program, it is determined that Target Photo meets preset condition.
Wherein, it should be noted that default application program is pre-set application program, is saved by the application program Picture be required to be saved in privacy picture library.
Wherein, default application program can be pre-set application program when terminal device factory, be also possible to user The pre-set application program in terminal device according to demand, to meet the needs of user individual setting application program.
Step 204, the routing information of Target Photo is loaded into corresponding second path list of privacy picture library.
Step 205, control privacy picture library is refreshed according to updated second path list, and Target Photo is refreshed Into privacy picture library.
As a kind of possible embodiment, picture refreshing instruction can be sent to privacy picture library, accordingly, privacy picture library can According to picture refreshing instruction, picture refreshing is carried out according to updated second path list, Target Photo is flushed into privacy In picture library.
Step 206, the routing information of Target Photo is loaded into the corresponding third path list of public picture library.
Step 207, it controls public picture library to be refreshed according to updated third path list, Target Photo is refreshed Into public picture library.
The method for refreshing of picture in the picture library of the embodiment of the present disclosure obtains the target figure newly saved under preset path After the routing information of piece, judge whether Target Photo meets preset condition, and when meeting preset condition, by the road of Target Photo Diameter information is loaded into the corresponding path list of privacy picture library, and is controlled privacy picture library and carried out figure according to updated path list Piece refreshes, and Target Photo is brushed in privacy picture library.In addition, when Target Photo is unsatisfactory for preset condition, by Target Photo Routing information be loaded into the corresponding path list of public picture library, and control public picture library according to updated path list into Row picture refreshes, and Target Photo is brushed in public picture library.Combining target picture is the judgement knot for meeting preset condition as a result, Target Photo is brushed in corresponding picture library in time, ensure that the real-time integrity of picture in corresponding picture library, avoid right by fruit Before answering picture library to be not switched on, the occurrence of picture library can not obtain the picture newly saved is accessed.
The embodiment of the present disclosure also proposes a kind of refreshing apparatus of picture in picture library.
Fig. 3 is the structural schematic diagram of the refreshing apparatus of picture in a kind of picture library provided by the embodiment of the present disclosure.
As shown in figure 3, the refreshing apparatus of picture may include preserving module 110, obtain module 120, load in the picture library Module 130 and control module 140, in which:
Preserving module 110, the preservation for responding Target Photo are requested, and Target Photo is saved in the preset path of system Under.
Module 120 is obtained, for obtaining the routing information of Target Photo under preset path.
Loading module 130, for the routing information of Target Photo to be loaded into the corresponding first path list of system picture library In.
Control module 140 is refreshed for control system picture library according to updated first path list, by target Picture flushes in system picture library.
Wherein, it should be noted that the aforementioned explanation to the method for refreshing embodiment of picture in picture library is also applied for The refreshing apparatus of picture in the picture library of the implementation, the embodiment repeat no more this.
The refreshing apparatus of picture in the picture library of the embodiment of the present disclosure, after receiving the request for saving Target Photo, by mesh Piece of marking on a map is saved under preset path, and under preset path, obtains the corresponding routing information of the Target Photo, and by target figure The routing information of piece is loaded into the corresponding first path list of system picture library, and active control system picture library is according to updated First path list is refreshed, in time flush to the Target Photo newly saved in the picture library of terminal device, ensure that The real-time integrity of picture in system picture library, avoids before being not switched on system picture library, the picture in accessed picture library The occurrence of imperfect.
Wherein, it is to be understood that in order to meet the needs of user saves privacy picture, the as an example implementation of property Mode, system picture library may include public picture library and privacy picture library.Wherein, it should be noted that the open corresponding road of picture library Diameter list, privacy picture library one path list of correspondence, that is, disclose picture library and respectively correspond to respective path column with privacy picture library Table.
In one embodiment of the present disclosure, on the basis of Installation practice shown in Fig. 3, as shown in figure 4, the device Can also include:
Judgment module 150, for judging whether Target Photo meets preset condition.
Loading module 130, is specifically used for: if Target Photo meets preset condition, the routing information of Target Photo being added It is downloaded in corresponding second path list of privacy picture library.
Control module 140, is specifically used for: control privacy picture library is refreshed according to updated second path list, with Target Photo is flushed in privacy picture library.
In one embodiment of the present disclosure, loading module 130 are also used to: if Target Photo is unsatisfactory for preset condition, Then the routing information of Target Photo is loaded into the corresponding third path list of public picture library.
Control module 140, is also used to: it controls public picture library and is refreshed according to updated third path list, it will Target Photo flushes in public picture library.
In order to meet the permission type of user personality setting picture, the embodiment of property as an example, as shown in Figure 4 Installation practice on the basis of, as shown in figure 5, the device can also include:
Setup module 160, for receiving the setting instruction of user's input, it is Target Photo that setting instruction, which is used to indicate user, The permission type of setting.
Judgment module 150, is specifically used for: being instructed according to setting, determines whether the permission type of Target Photo is the right of privacy Limit;If the permission type that instruction instruction Target Photo is arranged is privacy authority, it is determined that Target Photo meets preset condition.
In another embodiment of the disclosure, judgment module 150 is specifically used for: by Target Photo with default personage's Human face image information is matched;If Target Photo is matched with the human face image information of default personage, it is determined that Target Photo Meet preset condition.
In another embodiment of the disclosure, judgment module 150 is specifically used for: judgement saves the application of Target Photo Whether program is default application program;If the application program for saving Target Photo is default application program, it is determined that target figure Piece meets preset condition.
Wherein, it should be noted that the aforementioned explanation to the method for refreshing embodiment of picture in picture library is also applied for The refreshing apparatus of picture in the picture library of the embodiment, details are not described herein again.
The refreshing apparatus of picture in the picture library of the embodiment of the present disclosure obtains the target figure newly saved under preset path After the routing information of piece, judge whether Target Photo meets preset condition, and when meeting preset condition, by the road of Target Photo Diameter information is loaded into the corresponding path list of privacy picture library, and is controlled privacy picture library and carried out figure according to updated path list Piece refreshes, and Target Photo is brushed in privacy picture library.In addition, when Target Photo is unsatisfactory for preset condition, by Target Photo Routing information be loaded into the corresponding path list of public picture library, and control public picture library according to updated path list into Row picture refreshes, and Target Photo is brushed in public picture library.Combining target picture is the judgement knot for meeting preset condition as a result, Target Photo is brushed in corresponding picture library in time, ensure that the real-time integrity of picture in corresponding picture library, avoid right by fruit Before answering picture library to be not switched on, the occurrence of picture library can not obtain the picture newly saved is accessed.
In order to realize above-described embodiment, the embodiment of the present invention also proposes a kind of computer readable storage medium, stores thereon There is computer program, which is executed by processor, the method for refreshing of picture in the picture library for executing above-described embodiment.
Below with reference to Fig. 6, it illustrates the structural representations for the terminal device 600 for being suitable for being used to realize the embodiment of the present disclosure Figure.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.End shown in Fig. 6 End equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 6, terminal device 600 may include processing unit (such as central processing unit, graphics processor etc.) 601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608 Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with terminal device Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604 Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 607 of dynamic device etc.;Storage device 608 including such as tape, hard disk etc.;And communication device 609.Communication device 609, which can permit terminal device 600, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows tool There is the terminal device 600 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608 It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned terminal device;It is also possible to individualism, and not It is fitted into the terminal device.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the end When end equipment executes, so that the terminal device: responding the preservation request of Target Photo, Target Photo is saved in the default of system Under path;Under preset path, the routing information of Target Photo is obtained;The routing information of Target Photo is loaded into system picture library In corresponding first path list;Control system picture library is refreshed according to updated first path list, by target figure Piece flushes in system picture library.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the terminal device, so that the terminal device: responding the preservation request of Target Photo, Target Photo is saved in system Preset path under;Under preset path, the routing information of Target Photo is obtained;The routing information of Target Photo is loaded into and is In the corresponding first path list of system picture library;Control system picture library is refreshed according to updated first path list, will Target Photo flushes in system picture library.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that can on it the paper of print routine or other suitable be situated between Matter, because can then be edited, be interpreted or when necessary with other for example by carrying out optical scanner to paper or other media Suitable method is handled electronically to obtain program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries Suddenly be that relevant hardware can be instructed to complete by program, program can store in a kind of computer readable storage medium In, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.If integrated module with The form of software function module is realized and when sold or used as an independent product, also can store computer-readable at one It takes in storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.

Claims (10)

1. the method for refreshing of picture in a kind of picture library characterized by comprising
The preservation request for responding Target Photo, the Target Photo is saved under the preset path of system;
Under the preset path, the routing information of the Target Photo is obtained;
The routing information of the Target Photo is loaded into the corresponding first path list of system picture library;
It controls the system picture library to be refreshed according to updated first path list, the Target Photo is flushed into institute It states in system picture library.
2. the method as described in claim 1, which is characterized in that the system picture library includes privacy picture library, and the method is also wrapped It includes:
Judge whether the Target Photo meets preset condition;
The routing information by the Target Photo is loaded into the corresponding first path list of system picture library, comprising:
If the Target Photo meets preset condition, the routing information of the Target Photo is loaded into the privacy picture library In corresponding second path list;
The control system picture library is refreshed according to updated first path list, and the Target Photo is refreshed Into the system picture library, comprising:
It controls the privacy picture library to be refreshed according to updated second path list, the Target Photo is flushed into institute It states in privacy picture library.
3. method according to claim 2, which is characterized in that the system picture library further includes public picture library, and the method is also Include:
If the Target Photo is unsatisfactory for preset condition, the routing information of the Target Photo is loaded into the public figure In the corresponding third path list in library;
The control system picture library is refreshed according to updated first path list, and the Target Photo is refreshed Into the system picture library, comprising:
It controls the public picture library to be refreshed according to updated third path list, the Target Photo is flushed into institute It states in public picture library.
4. method according to claim 2, which is characterized in that further include:
The setting instruction of user's input is received, the setting instruction is used to indicate the power that the user is Target Photo setting Limit type;
It is described to judge whether the Target Photo meets preset condition, comprising:
It is instructed according to the setting, determines whether the permission type of the Target Photo is privacy authority;
If the setting instruction indicates that the permission type of the Target Photo is privacy authority, it is determined that the Target Photo is full Sufficient preset condition.
5. method according to claim 2, which is characterized in that it is described to judge whether the Target Photo meets preset condition, Include:
The Target Photo is matched with the human face image information of default personage;
If the Target Photo is matched with the human face image information of default personage, it is determined that the Target Photo meets default item Part.
6. method according to claim 2, which is characterized in that it is described to judge whether the Target Photo meets preset condition, Include:
Whether the application program for judging to save the Target Photo is default application program;
If the application program for saving the Target Photo is default application program, it is determined that the Target Photo meets default item Part.
7. the refreshing apparatus of picture in a kind of picture library characterized by comprising
Preserving module, the preservation for responding Target Photo request, the Target Photo are saved under the preset path of system;
Module is obtained, for obtaining the routing information of the Target Photo under the preset path;
Loading module, for the routing information of the Target Photo to be loaded into the corresponding first path list of system picture library;
Control module is refreshed for controlling the system picture library according to updated first path list, by the mesh Piece of marking on a map flushes in the system picture library.
8. device as claimed in claim 7, which is characterized in that the system picture library includes privacy picture library, and described device is also wrapped It includes:
Judgment module, for judging whether the Target Photo meets preset condition;
The loading module, is specifically used for:
If the Target Photo meets preset condition, the routing information of the Target Photo is loaded into the privacy picture library In corresponding second path list;
The control module, is specifically used for:
It controls the privacy picture library to be refreshed according to updated second path list, the Target Photo is flushed into institute It states in privacy picture library.
9. a kind of terminal device characterized by comprising
At least one processor;And the memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use In the method for refreshing for executing picture in the described in any item picture libraries of the claims 1-6.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage computer refers to It enables, the refreshing that the computer instruction is used to that the computer perform claim to be made to require picture in the described in any item picture libraries of 1-6 Method.
CN201910105713.7A 2019-02-01 2019-02-01 The method for refreshing of picture, device, terminal device and storage medium in picture library Pending CN109885707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910105713.7A CN109885707A (en) 2019-02-01 2019-02-01 The method for refreshing of picture, device, terminal device and storage medium in picture library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910105713.7A CN109885707A (en) 2019-02-01 2019-02-01 The method for refreshing of picture, device, terminal device and storage medium in picture library

Publications (1)

Publication Number Publication Date
CN109885707A true CN109885707A (en) 2019-06-14

Family

ID=66927884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910105713.7A Pending CN109885707A (en) 2019-02-01 2019-02-01 The method for refreshing of picture, device, terminal device and storage medium in picture library

Country Status (1)

Country Link
CN (1) CN109885707A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095911A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Sensitive picture identification method and apparatus, and server
US20160014346A1 (en) * 2014-07-14 2016-01-14 Panasonic Intellectual Property Management Co., Ltd. Image processing system, image processing device, and image processing method
CN105335642A (en) * 2015-10-28 2016-02-17 广东欧珀移动通信有限公司 Processing method and processing system of pictures
CN106210528A (en) * 2016-07-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of encrypt the method for photo, device and mobile terminal
CN106874918A (en) * 2017-02-23 2017-06-20 上海与德信息技术有限公司 A kind of photo store method and device
CN106897629A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 The control method and terminal of terminal applies

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160014346A1 (en) * 2014-07-14 2016-01-14 Panasonic Intellectual Property Management Co., Ltd. Image processing system, image processing device, and image processing method
CN105095911A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Sensitive picture identification method and apparatus, and server
CN105335642A (en) * 2015-10-28 2016-02-17 广东欧珀移动通信有限公司 Processing method and processing system of pictures
CN106897629A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 The control method and terminal of terminal applies
CN106210528A (en) * 2016-07-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of encrypt the method for photo, device and mobile terminal
CN106874918A (en) * 2017-02-23 2017-06-20 上海与德信息技术有限公司 A kind of photo store method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MLIB: "保存图片到系统图库,并立即显示在图库中", 《HTTPS://BLOG.CSDN.NET/U010983881/ARTICLE/DETAILS/39231719》 *
蓝色的天空YWJ: "Android保存图片到手机并刷新相册的两种方法实现", 《HTTPS://BLOG.CSDN.NET/U011106915/ARTICLE/DETAILS/80909135》 *

Similar Documents

Publication Publication Date Title
CN106465124A (en) Device quarantine in a wireless network
KR20150066876A (en) Method for controlling an user interface and an electronic device
US20150242076A1 (en) Method of editing one or more objects and apparatus for same
CN104423804B (en) For showing the method and electronic equipment of content
CN109408685A (en) Mind map methods of exhibiting and device
CN108549568A (en) Using entrance processing method, apparatus, storage medium and electronic equipment
CN110471738A (en) Method for switching theme, device, electronic equipment and the storage medium of application program
CN111291244A (en) House resource information display method, device, terminal and storage medium
US20160224549A1 (en) Methods, systems and recording mediums for managing conversation contents in messenger
CN109885314A (en) Small routine autoplacement method and device
CN109885707A (en) The method for refreshing of picture, device, terminal device and storage medium in picture library
CN109684116B (en) Data sharing method, device, equipment and medium
CN109815429A (en) Browser page closes treating method and apparatus
CN109582487A (en) Method and apparatus for sending information
CN110275723A (en) Obtain method, apparatus, electronic equipment and the readable medium of resource
CN110033188A (en) Business scheduling method, device, calculating equipment and medium based on block chain
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN108037861A (en) A kind of icon processing method, device and electronic equipment
CN110086880B (en) Method and apparatus for creating instances of network requests
CN110070592B (en) Generation method and device of special effect package and hardware device
WO2020258955A1 (en) Method and apparatus for sharing delivery box
CN109769030A (en) The method and apparatus of access for control applications
CN109656667A (en) Implementation method, device, equipment and the medium of suspended window in a kind of client
CN110008186A (en) For file management method, device, terminal and the medium of more ftp data sources
CN110851185A (en) Automatic configuration method and device for equipment, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination