CN105335047A - Picture display method and apparatus - Google Patents

Picture display method and apparatus Download PDF

Info

Publication number
CN105335047A
CN105335047A CN201410400441.0A CN201410400441A CN105335047A CN 105335047 A CN105335047 A CN 105335047A CN 201410400441 A CN201410400441 A CN 201410400441A CN 105335047 A CN105335047 A CN 105335047A
Authority
CN
China
Prior art keywords
picture
information
repetitive
module
server
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.)
Granted
Application number
CN201410400441.0A
Other languages
Chinese (zh)
Other versions
CN105335047B (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410400441.0A priority Critical patent/CN105335047B/en
Publication of CN105335047A publication Critical patent/CN105335047A/en
Application granted granted Critical
Publication of CN105335047B publication Critical patent/CN105335047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a picture display method and apparatus used for preventing a terminal from displaying repeated pictures to save resources in the terminal. The method comprises: reading information of pictures from a local end and a server; judging whether a presentation table comprises information of the repeated pictures of the pictures or not; when the presentation table does not comprise the information of the repeated pictures, adding the information of the pictures into the presentation table; when the presentation table comprises the information of the repeated pictures, selecting one picture from the pictures and the repeated pictures according to a preset policy, and storing the information of the selected picture in the presentation table; and displaying the picture according to the information of the picture in the presentation table, wherein the information of the picture at least comprises address information of the picture. According to the picture display method and apparatus, the pictures in the local end and the server can be aggregated, so that the presentation table does not contain the information of the repeated pictures, the display of the repeated pictures is avoided, and resources used in a display operation are saved.

Description

The method Showed Picture and device
Technical field
The disclosure relates to technical field of electronic equipment, particularly relates to the method and device that Show Picture.
Background technology
Along with widely using of portable terminal, such as mobile phone, panel computer etc. are widely used, and use portable terminal to share and become more and more general with browsing pictures.In correlation technique, in each terminal, picture can be uploaded in Cloud Server, and user can picture in the terminal in the local and Cloud Server of browsing terminal.The method of the picture in correlation technique in the local and Cloud Server of browsing terminal is: for local picture and Cloud Server picture provide access respectively, the picture respectively in display terminal this locality and Cloud Server.The defect existed in correlation technique is: when having the picture mutually repeated when between Cloud Server and this locality, by the picture that display repeats in terminal, causes the nuisance operation in procedure for displaying thus, and then resource in waste terminal.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides the method and device that Show Picture, for avoiding terminal demonstration repetitive picture, saves resource in terminal.
According to the first aspect of disclosure embodiment, a kind of method Showed Picture is provided, comprises:
The information of picture is read respectively from this locality and server;
Judge the information presenting the repetitive picture whether comprising described picture in table;
When described present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
When described present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
According to the information displaying picture of the described picture presented in table;
Wherein, the information of described picture at least comprises the address information of described picture.
In one embodiment, the described information by described picture add to described in present in table, can comprise:
The index of the entry of the information storing described picture is presented in table described in drawing according to the characteristic information of described picture;
Present in table described the information storing described picture by described index.
In one embodiment, described judgement presents the information of the repetitive picture whether comprising described picture in table, can comprise:
The information presenting the repetitive picture whether comprising described picture in table is judged according to the characteristic information of described picture.
In one embodiment, describedly from described picture and described repetitive picture, select a pictures by preset strategy, can comprise:
Select to be positioned at local picture from described picture and described repetitive picture.
In one embodiment, described method also can comprise:
Receive the editing operation instruction to picture;
According to the characteristic information computation index of the picture that editing operation instruction is pointed to;
Present in table described the information finding picture by described index;
Information according to described picture carries out editing operation to picture.
In one embodiment, described method also can comprise:
When described present table comprise the information of described repetitive picture time, the information of described picture is added in repetitive picture information table corresponding to described repetitive picture.
In one embodiment, described method also can comprise:
Receive the editing operation instruction to picture;
Find the repetitive picture information table of the information comprising the picture that editing operation instruction is pointed to;
According to the information of the picture in described repetitive picture information table, determine to be stored in local local picture;
Described editing operation instruction is performed to described local picture.
In one embodiment, described method also can comprise:
When receiving instruction picture being added to server, by picture-storage under the specified path in server;
When receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise described picture information described repetitive picture information table in each picture of information deletion of each picture.
In one embodiment, the described information reading picture respectively from this locality and server, can comprise:
The information that shooting time sequencing reads the picture of predetermined number is pressed respectively from this locality and server.
In one embodiment, the characteristic information of described picture comprises name information and size information.
According to the second aspect of disclosure embodiment, a kind of device Showed Picture is provided, comprises:
Information reading module, for reading the information of picture respectively from this locality and server;
Repeat judge module, for judging to present the information of the repetitive picture whether comprising described picture in table;
Information add module, for when described in present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
Information storage module, for when described in present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
Picture display module, for presenting the information displaying picture of the picture in table described in basis;
Wherein, the information of described picture at least comprises the address information of described picture.
In one embodiment, described information adds module, can comprise:
Index calculation submodule, for presenting in table the index of the entry of the information storing described picture described in drawing according to the characteristic information of described picture;
Information sub module stored, for presenting in table described the information storing described picture by described index.
In one embodiment, described repetition judge module, can comprise:
Repeat to judge submodule, for judging according to the characteristic information of described picture the information presenting the repetitive picture whether comprising described picture in table.
In one embodiment, described information storage module, can comprise:
Picture chooser module, is positioned at local picture for selecting from described picture and described repetitive picture.
In one embodiment, described device also can comprise:
First command reception module, for receiving the editing operation instruction to picture;
Index calculation module, for the characteristic information computation index of picture pointed to according to editing operation instruction;
Information searching module, for presenting in table described the information finding picture by described index;
First operation executing module, carries out editing operation for the information according to described picture to picture.
In one embodiment, described device also can comprise:
Repetitive picture statistical module, for when described in present table comprise the information of described repetitive picture time, the information of described picture is added in repetitive picture information table corresponding to described repetitive picture.
In one embodiment, described device also can comprise:
Second command reception module, for receiving the editing operation instruction to picture;
Information table searches module, for finding the repetitive picture information table of the information comprising the picture that editing operation instruction is pointed to;
Local picture determination module, for the information according to the picture in described repetitive picture information table, determines to be stored in local local picture;
Second operation executing module, for performing described editing operation instruction to described local picture.
In one embodiment, described device also can comprise:
Picture adds module, for when receiving instruction picture being added to server, by picture-storage under the specified path in server;
Picture mobile module, for when receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise described picture information described repetitive picture information table in each picture of information deletion of each picture.
In one embodiment, described information reading module, can comprise:
Information reading submodule, for pressing the information that shooting time sequencing reads the picture of predetermined number respectively from this locality and server.
In one embodiment, the characteristic information of described picture can comprise name information and size information.
According to the third aspect of disclosure embodiment, a kind of device Showed Picture is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The information of picture is read respectively from this locality and server;
Judge the information presenting the repetitive picture whether comprising described picture in table;
When described present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
When described present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
According to the information displaying picture of the described picture presented in table;
Wherein, the information of described picture at least comprises the address information of described picture.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: judge the information presenting the repetitive picture of the picture whether comprising reading in table, when presenting table and comprising the information of repetitive picture, from picture and repetitive picture, a pictures is selected by preset strategy, the information of the picture of selection being stored in presents in table, according to the information displaying picture of the picture presented in table; This locality can be polymerized with picture in server thus, make to present in table the information not comprising the plurality of pictures mutually repeated, avoid display repetitive picture, and then save used resource in display operation.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of method Showed Picture according to an exemplary embodiment.
Fig. 2 is the process flow diagram of executive editor's operation in a kind of method Showed Picture according to an exemplary embodiment.
Fig. 3 is the process flow diagram of the method that the another kind according to an exemplary embodiment Shows Picture.
Fig. 4 is the process flow diagram of the method that the another kind according to an exemplary embodiment Shows Picture.
Fig. 5 is the process flow diagram of a kind of method Showed Picture according to an exemplary embodiment one.
Fig. 6 is the scene graph of a kind of method Showed Picture according to an exemplary embodiment one.
Fig. 7 is the block diagram of a kind of device Showed Picture according to an exemplary embodiment.
Fig. 8 is the block diagram of the device that the another kind according to an exemplary embodiment Shows Picture.
Fig. 9 is the block diagram of the device that the another kind according to an exemplary embodiment Shows Picture.
Figure 10 is a kind of block diagram being applicable to the device Showed Picture according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of method Showed Picture according to an exemplary embodiment.As shown in Figure 1, this method Showed Picture as in mobile phone, panel computer or in application program, comprises the following steps S101-S105 for terminal device:
In step S101, from this locality and server, read the information of picture respectively.
Wherein, the information of picture at least comprises the address information of picture.
In one embodiment, step S101 may be embodied as: the information reading the picture of predetermined number respectively from this locality and server by shooting time sequencing.For example, from this locality and server, the information of the picture of the first predetermined number is read respectively by shooting time sequencing, present after in table when the information of the picture of the second predetermined number is added to, from this locality and server, the information of the picture of the first predetermined number is read again respectively by shooting time sequencing, wherein, the value of the second predetermined number is less than or equal to the value of the first predetermined number.Such as, from this locality and server, the information of 100 pictures is read respectively by shooting time sequencing, when in step s 102, the information of 100 pictures is added to and presents after in table, from this locality and server, the information of 100 pictures is read again respectively by shooting time sequencing, operation like this, until the information of picture has been read in server and this locality.Read except picture except pressing shooting time sequencing, also can read picture by the size of the title of picture or image, the disclosure is not particularly limited this.
In the present embodiment, technical scheme has following beneficial effect: by loading picture in batches, can carry out batch treatment, and then can demonstrate picture fast to picture.
In step s 102, the information presenting the repetitive picture whether comprising picture in table is judged.
In step s 103, when presenting table and not comprising the information of repetitive picture, the information of picture is added to and presents in table.
In step S104, when presenting table and comprising the information of repetitive picture, from picture and repetitive picture, select a pictures by preset strategy, the information of the picture of selection is stored in and presents in table.
In one embodiment, the information of picture is added to present in table to can be implemented as in step S103: the index drawing the entry of the information presenting picture in table according to the characteristic information of picture, by index in the information presenting picture in table.Judge in step S102 that the information presenting the repetitive picture whether comprising picture in table can be implemented as: the information judging to present the repetitive picture whether comprising picture in table according to the characteristic information of picture.Characteristic information is the information of the common trait of the picture that default sign repeats mutually.Such as, the characteristic information of picture can comprise name information and size information.
For example, step S103 can be implemented as: when presenting table and not comprising the information of repetitive picture, characteristic information according to picture generates key (key item), such as, name information and size information addition calculation are obtained key, or name information and size information are carried out Hash calculation, obtains key; Using the information of image as value (value item), the right mode of key value is in the information presenting picture in table.Step S102 can be implemented as: the characteristic information according to picture generates key (key item), judge whether present value corresponding to key in table is empty, when value is empty, determines to present in table the repetitive picture not having the picture read, perform step S103; When value is not empty, determines to present in table the repetitive picture of the picture with reading, perform step S104.
In the present embodiment, technical scheme has following beneficial effect: find out according to characteristic information and present repetitive picture in table, improve processing speed.
In one embodiment, from picture and repetitive picture, a pictures is selected to can be implemented as by preset strategy in step S104: to select to be positioned at local picture from picture and repetitive picture.
In the present embodiment, technical scheme has following beneficial effect: the local picture of prioritizing selection, the information of local picture being added to presents in table, when making display, can show by the local picture of prioritizing selection, decrease the operation Loaded Image from server, and then accelerate processing speed, save bandwidth resources.
In one embodiment, in step S104, from picture and repetitive picture, a pictures is selected to can be implemented as by preset strategy: when selecting to be positioned at local picture from picture and repetitive picture, as shown in Figure 2, method of the present disclosure also comprises the steps:
In step s 201, the editing operation instruction to picture is received.
The characteristic information computation index of picture pointed in step S202, according to editing operation instruction.
The information finding picture is being presented in table in step S203, by index.
In step S204, according to the information of picture, editing operation is carried out to picture.
Wherein, editing operation can comprise transmission picture, picture is set to wallpaper and amendment.
In the present embodiment, technical scheme has following beneficial effect: when carrying out editing operation to picture, and the local picture of prioritizing selection carries out editing operation, can decrease the operation Loaded Image from server, and then accelerate processing speed, save bandwidth resources.
In step S105, according to the information displaying picture presenting the picture in table.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: judge the information presenting the repetitive picture of the picture whether comprising reading in table, when presenting table and comprising the information of repetitive picture, from picture and repetitive picture, a pictures is selected by preset strategy, the information of the picture of selection being stored in presents in table, according to the information displaying picture of the picture presented in table; This locality can be polymerized with picture in server thus, make to present in table the information not comprising the plurality of pictures mutually repeated, avoid display repetitive picture, and then save used resource in display operation.
Fig. 3 is the process flow diagram of the method that the another kind according to an exemplary embodiment Shows Picture.As shown in Figure 3, this method Showed Picture, comprises the following steps as in mobile phone, panel computer or in application program for terminal device:
In step S301, from this locality and server, read the information of picture respectively.
In step s 302, the information presenting the repetitive picture whether comprising picture in table is judged.
In step S303, when presenting table and not comprising the information of repetitive picture, the information of picture is added to and presents in table.
In step s 304, when presenting table and comprising the information of repetitive picture, from picture and repetitive picture, select a pictures by preset strategy, the information of the picture of selection is stored in and presents in table.
The explanation of the exemplary embodiment of step S301-304, with reference to embodiment in above-mentioned steps S101-104, does not repeat them here.
In step S305, when presenting table and comprising the information of repetitive picture, the information of picture is added in repetitive picture information table corresponding to repetitive picture.
For example, in step S301, read the information of picture A1, judge to present the information that table comprises the repetitive picture A2 of picture A1 in step s 302, the information of picture A1 is added in the repetitive picture information table of picture A2.
In step S306, according to the information displaying picture presenting the picture in table.
In step S307, receive editing operation instruction to picture.
In step S308, find the repetitive picture information table of information comprising the picture that editing operation instruction is pointed to.
For example, according to the characteristic information computation index of picture that editing operation instruction is pointed to, find picture according to index presenting in table, obtain the repetitive picture information table of this picture.The information of the picture that editing operation instruction is pointed to is comprised in this repetitive picture information table.
In step S309, according to the information of the picture in repetitive picture information table, determine to be stored in local local picture.
For example, according to the address information of picture in repetitive picture information table, determine to be stored in local local picture.
In step S310, to local picture executive editor operational order.
In the present embodiment, technical scheme has following beneficial effect: utilize repetitive picture information table to add up for the information of the same picture being stored in diverse location, when executive editor's operational order, prioritizing selection local picture executive editor operational order, because this reducing the operation Loaded Image from server, and then accelerate processing speed, save bandwidth resources.
Fig. 4 is the process flow diagram of the method that the another kind according to an exemplary embodiment Shows Picture.As shown in Figure 4, this method Showed Picture, comprises the following steps as in mobile phone, panel computer or in application program for terminal device:
In step S401, from this locality and server, read the information of picture respectively.
In step S402, judge the information presenting the repetitive picture whether comprising picture in table.
In step S403, when presenting table and not comprising the information of repetitive picture, the information of picture is added to and presents in table.
In step s 404, when presenting table and comprising the information of repetitive picture, from picture and repetitive picture, select a pictures by preset strategy, the information of the picture of selection is stored in and presents in table.
The explanation of the exemplary embodiment of step S401-404, with reference to embodiment in above-mentioned steps S101-104, does not repeat them here.
In step S405, when presenting table and comprising the information of repetitive picture, the information of picture is added in repetitive picture information table corresponding to repetitive picture.
The explanation of the exemplary embodiment of step S405, describes with reference in above-mentioned steps S305, does not repeat them here.
In step S406, according to the information displaying picture presenting the picture in table.
In step S 407, when receiving instruction picture being added to server, by picture-storage under the specified path in server.
Such as, when storing the picture of an instruction sensing under a local paths, picture reproduction instruction pointed to is in server; When storing the picture of multiple instructions sensing under local mulitpath, the picture reproduction first instruction found pointed to is in server; When storing the picture of an instruction sensing under server one paths, picture reproduction instruction pointed to is under specified path in server; When storing the picture of multiple instructions sensing under server mulitpath, the picture reproduction first instruction found pointed to is under specified path in server; When storing the picture of multiple instructions sensing in this locality and server, the picture reproduction first instruction found pointed to is under specified path in server.
In one embodiment, step S407 also comprises in the multiimage information table information of the picture copied under specified path being added to the information comprising the picture that instruction is pointed to.
In step S408, when receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise picture information repetitive picture information table in each picture of information deletion of each picture.
Such as, when storing the picture of an instruction sensing under a local paths, picture reproduction instruction pointed to, in server, deletes local picture; When storing the picture that multiple instructions point under local mulitpath, the picture reproduction that first instruction found is pointed to in server, according to the plurality of pictures of information deletion this locality of picture in repetitive picture information table; When storing the picture of an instruction sensing under server one paths, picture reproduction instruction pointed to, under specified path in server, deletes server Central Plains picture; When storing the picture of multiple instructions sensing under server mulitpath, the picture reproduction that first instruction found is pointed to under specified path in server, according to the plurality of pictures in the information deletion server of picture in repetitive picture information table; When storing the picture of multiple instructions sensing in this locality and server, the picture reproduction first instruction found pointed to, under specified path in server, deletes picture in local and server.
In one embodiment, step S408 also comprises content in the multiimage information table deleting the information comprising the picture that instruction is pointed to, the information of the picture under specified path being added in multiimage information table, replacing with presenting information in table the information of picture that instruction points to.
In the present embodiment, technical scheme has following beneficial effect: distinguish instruction picture being moved to server and instruction picture being added to server, for user provides multiple operation to select, makes the operation of user to picture more flexible; When instruction is for moving to server by picture, search repetitive picture information table, deletion action is done to the repetitive picture of the picture that instruction is pointed to, can process the picture in local and server is unified, simplify the operation of user.
Embodiment one
Fig. 5 is the process flow diagram of a kind of method Showed Picture according to an exemplary embodiment one.Embodiment one is applied in following scene: will show photo in local and Cloud Server in the camera panel computer of this locality, two threads are started in camera panel computer, one is the Data import thread on backstage, another is that the UI (user interface, UserInterface) on foreground shows thread.Method in embodiment one comprises the steps:
In step S501, utilize Data import thread by shooting time sequencing, from this locality and Cloud Server, read the information of the photo of predetermined number respectively.
Such as, from this locality and Cloud Server, read the information of 100 photos respectively.
The information of photo comprises: address information, shooting time, file name, file size; And often open photo to there being multiimage information table.
Such as, be defined as follows data type to carry the related data of photo, data type is MergeItemData.
MergeItemData comprises following field:
StringAddress//address information
LongDatataken//shooting time
StringFilename//file name
LongFilesize//file size
List<MergeItemData>allItems//repetitive picture information table
Key is obtained in step S502, by the file name of photo and file size addition calculation.
In above-mentioned steps S502, also file name and file size can be carried out Hash calculation, obtain key.
In step S503, judge whether the value that in MAP (presenting table), key is corresponding is empty, when value is empty, determines the repetition photo not having the photo read in MAP, performs step S503; When value is not empty, determines the repetitive picture of the photo in MAP with reading, perform step S504.
In step S504, when MAP does not comprise the information of repetition photo, using the information of photo as value, store in the map by the mode of key-value (key-value pair).
Such as, when MAP does not comprise the information of repetition photo, using content in the data type MergeItemData of photo as value, store in the map by the mode of key-value (key-value pair).
In step S505, when MAP comprises the information of repetition photo, select to be positioned at local photo from the photo read and repetition photo.
As value in step S506, using the information of the photo of selection, store in the map by the mode of key-value (key-value pair).
Such as, content in the data type MergeItemData of the photo of selection, as value, is stored in the map by the mode of key-value (key-value pair).
In step s 507, in the repetitive picture information table repeating photo, store the information of the photo of reading.
Such as, in the repetitive picture information table allItems repeating photo, content in the data type MergeItemData of the photo of reading is stored.When select read photo storage in the map, by repeat photo repetitive picture information table allItems in content replication to read photo repetitive picture information table allItems in search so that follow-up.
In step S508, for read photo all completed the operation added to and present in table after, Data import thread shows thread to UI and sends notice, Data import thread starts by shooting time sequencing, from Cloud Server and the local information reading the photo of predetermined number respectively.
In step S509, UI display thread is utilized to present picture according to the information of picture in MAP.
Such as, UI shows thread and presents picture according to address information Address in the data type MergeItemData of picture in MAP.
It is the thread always existed that UI shows thread, after receiving the notice of Data import thread, from MAP, reads data at every turn, refreshes UI interface.
As shown in Figure 6, in chronological order photo in local and Cloud Server being carried out the scene graph of mixed display.Wherein, the photo in local and Cloud Server is shown in same UI interface, and the photo mutually do not repeated in the photo of display.
The technical scheme that embodiment one of the present disclosure provides can comprise following beneficial effect: the key picture utilizing picture, and judge whether that there is repetitive picture, this locality can be polymerized with picture in server, make to present in table the information not comprising the plurality of pictures mutually repeated, avoid display repetitive picture, and then save used resource in display operation.
Fig. 7 is the block diagram of a kind of device Showed Picture according to an exemplary embodiment, and as shown in Figure 7, the device Showed Picture comprises:
Information reading module 71 is configured to the information reading picture respectively from this locality and server;
Repeat judge module 72 and be configured to the information judging to present the repetitive picture whether comprising picture in table;
Information is added module 73 and is configured to, when presenting table and not comprising the information of repetitive picture, the information of picture be added to and present in table;
Information storage module 74 is configured to, when presenting table and comprising the information of repetitive picture, select a pictures by preset strategy from picture and repetitive picture, the information of the picture of selection is stored in and presents in table;
Picture display module 75 is configured to the information displaying picture according to presenting the picture in table;
Wherein, the information of picture at least comprises the address information of described picture.
In one embodiment, as shown in Figure 8, above-mentioned information interpolation module 73 can comprise:
Index calculation submodule 731 is configured to the index of the entry drawing the information presenting picture in table according to the characteristic information of picture;
Information sub module stored 732 is configured to by index in the information presenting picture in table.
In one embodiment, above-mentioned repetition judge module can comprise:
Repeat to judge that submodule is configured to judge to present according to the characteristic information of picture the information of the repetitive picture whether comprising picture in table.
In one embodiment, as shown in Figure 8, above-mentioned information storage module 74 can comprise:
Picture chooser module 741 is configured to select to be positioned at local picture from picture and repetitive picture.
In one embodiment, as shown in Figure 8, said apparatus also can comprise:
First command reception module 81 is configured to receive the editing operation instruction to picture;
Index calculation module 82 is configured to the characteristic information computation index of the picture pointed to according to editing operation instruction;
Information searching module 83 is configured to presenting in table by index the information finding picture;
First operation executing module 84 is configured to carry out editing operation according to the information of picture to picture.
In one embodiment, as shown in Figure 9, said apparatus also can comprise:
Repetitive picture statistical module 76 is configured to when presenting table and comprising the information of repetitive picture, the information of picture is added in repetitive picture information table corresponding to repetitive picture.
In one embodiment, as shown in Figure 9, said apparatus also comprises:
Second command reception module 91 is configured to receive the editing operation instruction to picture;
Information table searches the repetitive picture information table that module 92 is configured to find the information comprising the picture that editing operation instruction is pointed to;
Local picture determination module 93 is configured to the information according to the picture in repetitive picture information table, determines to be stored in local local picture;
Second operation executing module 94 is configured to local picture executive editor operational order.
In one embodiment, said apparatus also can comprise:
Picture adds module and is configured to when receiving instruction picture being added to server, by picture-storage under the specified path in server;
Picture mobile module is configured to when receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise picture information repetitive picture information table in each picture of information deletion of each picture.
In one embodiment, above-mentioned information reading module can comprise:
Information reading submodule is configured to the information of the picture reading predetermined number respectively from this locality and server by shooting time sequencing.
In one embodiment, the characteristic information of picture comprises name information and size information.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: judge the information presenting the repetitive picture of the picture whether comprising reading in table, when presenting table and comprising the information of repetitive picture, from picture and repetitive picture, a pictures is selected by preset strategy, the information of the picture of selection being stored in presents in table, according to the information displaying picture of the picture presented in table; This locality can be polymerized with picture in server thus, make to present in table the information not comprising the plurality of pictures mutually repeated, avoid display repetitive picture, and then save used resource in display operation.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 10 is the block diagram of a kind of device 1200 Showed Picture according to an exemplary embodiment, and this device is applicable to terminal device.Such as, device 1200 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 10, device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing element 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right pick-up unit 1200 of sensor module 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
The device Showed Picture, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, processor is configured to:
The information of picture is read respectively from this locality and server;
Judge the information presenting the repetitive picture whether comprising described picture in table;
When described present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
When described present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
According to the information displaying picture of the described picture presented in table;
Wherein, the information of described picture at least comprises the address information of described picture.
This processor is configured to: the index presenting in table the entry of the information storing described picture described in drawing according to the characteristic information of described picture; Present in table described the information storing described picture by described index.
This processor is configured to: judge according to the characteristic information of described picture the information presenting the repetitive picture whether comprising described picture in table.
This processor is configured to: select to be positioned at local picture from described picture and described repetitive picture.
This processor is configured to: receive the editing operation instruction to picture; According to the characteristic information computation index of the picture that editing operation instruction is pointed to; Present in table described the information finding picture by described index; Information according to described picture carries out editing operation to picture.
This processor is also configured to: when described present table comprise the information of described repetitive picture time, the information of described picture is added in repetitive picture information table corresponding to described repetitive picture.
This processor is also configured to: receive the editing operation instruction to picture; Find the repetitive picture information table of the information comprising the picture that editing operation instruction is pointed to; According to the information of the picture in described repetitive picture information table, determine to be stored in local local picture; Described editing operation instruction is performed to described local picture.
This processor is also configured to: when receiving instruction picture being added to server, by picture-storage under the specified path in server; When receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise described picture information described repetitive picture information table in each picture of information deletion of each picture.
This processor is configured to: the information reading the picture of predetermined number respectively from this locality and server by shooting time sequencing.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method Showed Picture, described method comprises:
The information of picture is read respectively from this locality and server;
Judge the information presenting the repetitive picture whether comprising described picture in table;
When described present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
When described present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
According to the information displaying picture of the described picture presented in table;
Wherein, the information of described picture at least comprises the address information of described picture.
The described information by described picture presents in table described in adding to, can comprise:
The index of the entry of the information storing described picture is presented in table described in drawing according to the characteristic information of described picture;
Present in table described the information storing described picture by described index.
Described judgement presents the information of the repetitive picture whether comprising described picture in table, can comprise:
The information presenting the repetitive picture whether comprising described picture in table is judged according to the characteristic information of described picture.
Describedly from described picture and described repetitive picture, select a pictures by preset strategy, can comprise:
Select to be positioned at local picture from described picture and described repetitive picture.
Described method also can comprise:
Receive the editing operation instruction to picture;
According to the characteristic information computation index of the picture that editing operation instruction is pointed to;
Present in table described the information finding picture by described index;
Information according to described picture carries out editing operation to picture.
Described method also can comprise:
When described present table comprise the information of described repetitive picture time, the information of described picture is added in repetitive picture information table corresponding to described repetitive picture.
Described method also can comprise:
Receive the editing operation instruction to picture;
Find the repetitive picture information table of the information comprising the picture that editing operation instruction is pointed to;
According to the information of the picture in described repetitive picture information table, determine to be stored in local local picture;
Described editing operation instruction is performed to described local picture.
Described method also can comprise:
When receiving instruction picture being added to server, by picture-storage under the specified path in server;
When receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise described picture information described repetitive picture information table in each picture of information deletion of each picture.
The described information reading picture respectively from this locality and server, can comprise:
The information that shooting time sequencing reads the picture of predetermined number is pressed respectively from this locality and server.
The characteristic information of described picture can comprise name information and size information.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (21)

1. the method Showed Picture, is characterized in that, comprising:
The information of picture is read respectively from this locality and server;
Judge the information presenting the repetitive picture whether comprising described picture in table;
When described present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
When described present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
According to the information displaying picture of the described picture presented in table;
Wherein, the information of described picture at least comprises the address information of described picture.
2. the method for claim 1, is characterized in that,
The described information by described picture presents in table described in adding to, comprising:
The index of the entry of the information storing described picture is presented in table described in drawing according to the characteristic information of described picture;
Present in table described the information storing described picture by described index.
3. method as claimed in claim 2, is characterized in that,
Described judgement presents the information of the repetitive picture whether comprising described picture in table, comprising:
The information presenting the repetitive picture whether comprising described picture in table is judged according to the characteristic information of described picture.
4. method as claimed in claim 2, is characterized in that, describedly from described picture and described repetitive picture, selects a pictures by preset strategy, comprising:
Select to be positioned at local picture from described picture and described repetitive picture.
5. method as claimed in claim 4, it is characterized in that, described method also comprises:
Receive the editing operation instruction to picture;
According to the characteristic information computation index of the picture that editing operation instruction is pointed to;
Present in table described the information finding picture by described index;
Information according to described picture carries out editing operation to picture.
6. the method for claim 1, is characterized in that, described method also comprises:
When described present table comprise the information of described repetitive picture time, the information of described picture is added in repetitive picture information table corresponding to described repetitive picture.
7. method as claimed in claim 6, it is characterized in that, described method also comprises:
Receive the editing operation instruction to picture;
Find the repetitive picture information table of the information comprising the picture that editing operation instruction is pointed to;
According to the information of the picture in described repetitive picture information table, determine to be stored in local local picture;
Described editing operation instruction is performed to described local picture.
8. method as claimed in claim 6, it is characterized in that, described method also comprises:
When receiving instruction picture being added to server, by picture-storage under the specified path in server;
When receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise described picture information described repetitive picture information table in each picture of information deletion of each picture.
9. the method for claim 1, is characterized in that,
The described information reading picture respectively from this locality and server, comprising:
The information that shooting time sequencing reads the picture of predetermined number is pressed respectively from this locality and server.
10. method as claimed in claim 2, is characterized in that,
The characteristic information of described picture comprises name information and size information.
11. 1 kinds of devices Showed Picture, is characterized in that, comprising:
Information reading module, for reading the information of picture respectively from this locality and server;
Repeat judge module, for judging to present the information of the repetitive picture whether comprising described picture in table;
Information add module, for when described in present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
Information storage module, for when described in present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
Picture display module, for presenting the information displaying picture of the picture in table described in basis;
Wherein, the information of described picture at least comprises the address information of described picture.
12. devices as claimed in claim 11, is characterized in that,
Described information adds module, comprising:
Index calculation submodule, for presenting in table the index of the entry of the information storing described picture described in drawing according to the characteristic information of described picture;
Information sub module stored, for presenting in table described the information storing described picture by described index.
13. devices as claimed in claim 12, is characterized in that,
Described repetition judge module, comprising:
Repeat to judge submodule, for judging according to the characteristic information of described picture the information presenting the repetitive picture whether comprising described picture in table.
14. devices as claimed in claim 12, it is characterized in that, described information storage module, comprising:
Picture chooser module, is positioned at local picture for selecting from described picture and described repetitive picture.
15. devices as claimed in claim 14, it is characterized in that, described device also comprises:
First command reception module, for receiving the editing operation instruction to picture;
Index calculation module, for the characteristic information computation index of picture pointed to according to editing operation instruction;
Information searching module, for presenting in table described the information finding picture by described index;
First operation executing module, carries out editing operation for the information according to described picture to picture.
16. devices as claimed in claim 11, it is characterized in that, described device also comprises:
Repetitive picture statistical module, for when described in present table comprise the information of described repetitive picture time, the information of described picture is added in repetitive picture information table corresponding to described repetitive picture.
17. devices as claimed in claim 16, it is characterized in that, described device also comprises:
Second command reception module, for receiving the editing operation instruction to picture;
Information table searches module, for finding the repetitive picture information table of the information comprising the picture that editing operation instruction is pointed to;
Local picture determination module, for the information according to the picture in described repetitive picture information table, determines to be stored in local local picture;
Second operation executing module, for performing described editing operation instruction to described local picture.
18. devices as claimed in claim 16, it is characterized in that, described device also comprises:
Picture adds module, for when receiving instruction picture being added to server, by picture-storage under the specified path in server;
Picture mobile module, for when receiving instruction picture being moved to server, by picture-storage under the specified path in server, according to comprise described picture information described repetitive picture information table in each picture of information deletion of each picture.
19. devices as claimed in claim 11, is characterized in that,
Described information reading module, comprising:
Information reading submodule, for pressing the information that shooting time sequencing reads the picture of predetermined number respectively from this locality and server.
20. devices as claimed in claim 12, is characterized in that,
The characteristic information of described picture comprises name information and size information.
21. 1 kinds of devices Showed Picture, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The information of picture is read respectively from this locality and server;
Judge the information presenting the repetitive picture whether comprising described picture in table;
When described present table do not comprise the information of described repetitive picture time, present in table described in the information of described picture is added to;
When described present table comprise the information of described repetitive picture time, from described picture and described repetitive picture, select a pictures by preset strategy, present in table described in the information of the picture of selection is stored in;
According to the information displaying picture of the described picture presented in table;
Wherein, the information of described picture at least comprises the address information of described picture.
CN201410400441.0A 2014-08-14 2014-08-14 Picture display method and device Active CN105335047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410400441.0A CN105335047B (en) 2014-08-14 2014-08-14 Picture display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410400441.0A CN105335047B (en) 2014-08-14 2014-08-14 Picture display method and device

Publications (2)

Publication Number Publication Date
CN105335047A true CN105335047A (en) 2016-02-17
CN105335047B CN105335047B (en) 2024-05-28

Family

ID=55285635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410400441.0A Active CN105335047B (en) 2014-08-14 2014-08-14 Picture display method and device

Country Status (1)

Country Link
CN (1) CN105335047B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649589A (en) * 2016-11-17 2017-05-10 深圳市金立通信设备有限公司 Resource saving method and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5995240A (en) * 1995-12-28 1999-11-30 Ricoh Company, Ltd. Facsimile server apparatus and method configured to automatically transmit client address information to facsimile terminals
CN101290634A (en) * 2008-06-03 2008-10-22 北京搜狗科技发展有限公司 Method for recognizing repeated miniature, device and its uses in search engine
CN102110122A (en) * 2009-12-24 2011-06-29 阿里巴巴集团控股有限公司 Method and device for establishing sample picture index table, method and device for filtering pictures and method and device for searching pictures
CN103327189A (en) * 2013-06-28 2013-09-25 北京小米科技有限责任公司 Method and device for uploading, browsing and deleting pictures
CN103458016A (en) * 2013-08-21 2013-12-18 小米科技有限责任公司 Method and device for picture management and terminal device
CN103544207A (en) * 2013-08-19 2014-01-29 Tcl集团股份有限公司 Picture loading and displaying method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5995240A (en) * 1995-12-28 1999-11-30 Ricoh Company, Ltd. Facsimile server apparatus and method configured to automatically transmit client address information to facsimile terminals
CN101290634A (en) * 2008-06-03 2008-10-22 北京搜狗科技发展有限公司 Method for recognizing repeated miniature, device and its uses in search engine
CN102110122A (en) * 2009-12-24 2011-06-29 阿里巴巴集团控股有限公司 Method and device for establishing sample picture index table, method and device for filtering pictures and method and device for searching pictures
CN103327189A (en) * 2013-06-28 2013-09-25 北京小米科技有限责任公司 Method and device for uploading, browsing and deleting pictures
CN103544207A (en) * 2013-08-19 2014-01-29 Tcl集团股份有限公司 Picture loading and displaying method and system
CN103458016A (en) * 2013-08-21 2013-12-18 小米科技有限责任公司 Method and device for picture management and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649589A (en) * 2016-11-17 2017-05-10 深圳市金立通信设备有限公司 Resource saving method and terminal device

Also Published As

Publication number Publication date
CN105335047B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
CN104834665A (en) Target picture acquiring method and device
CN105263196A (en) Connection state prompting method and device
CN106202194A (en) The storage method and device of screenshot picture
CN104766005A (en) Management method and device for application software access authority
CN103973900B (en) The method of transmission information and device
CN105530167A (en) Method and device for setting group name card
CN104991910A (en) Album creation method and apparatus
CN104978141A (en) Picture management method, device and terminal
CN105224174A (en) The display packing of Paste and device
CN104978113A (en) Dockbar processing method and apparatus
CN105354017A (en) Information processing method and apparatus
CN104636164A (en) Generating method and device for starting page
CN105302572A (en) Method and device for importing file into software
CN104536787A (en) Resource preloading method and device
CN104602275A (en) Subscriber Identity Module (SIM) card switching method and device
CN105550213A (en) Picture browsing method and device
CN104850643A (en) Image comparison method and device
CN104320707A (en) Playback method and device of network video
CN104111813A (en) Method and device for picture synchronous display, mobile terminal and terminal device
CN105488829A (en) Method and device for generating head portrait
CN104951184A (en) Application program downloading method and device
CN104714826A (en) Application theme loading method and device
CN105426065A (en) Browsing position marking method and device
CN105204712A (en) Method and device for displaying icons of folder
CN104836880A (en) Method and device for processing contact person head portrait

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant