WO2019120068A1 - Thumbnail display control method and mobile terminal - Google Patents

Thumbnail display control method and mobile terminal Download PDF

Info

Publication number
WO2019120068A1
WO2019120068A1 PCT/CN2018/118908 CN2018118908W WO2019120068A1 WO 2019120068 A1 WO2019120068 A1 WO 2019120068A1 CN 2018118908 W CN2018118908 W CN 2018118908W WO 2019120068 A1 WO2019120068 A1 WO 2019120068A1
Authority
WO
WIPO (PCT)
Prior art keywords
thumbnail
original data
thumbnails
input
user
Prior art date
Application number
PCT/CN2018/118908
Other languages
French (fr)
Chinese (zh)
Inventor
周燎
黄创杰
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2019120068A1 publication Critical patent/WO2019120068A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a thumbnail display control method and a mobile terminal.
  • terminal devices such as mobile phones or tablets
  • functions of terminal devices are constantly increasing and perfecting, such as camera functions, and the camera functions of terminal devices add fun and convenience to people's lives.
  • the thumbnail identifier in the shooting preview interface is generally used to display a thumbnail image of an image captured by the camera application.
  • the terminal device opens the album application and displays the thumbnail image.
  • the stored image at which point the user can view, delete or edit the image, so the current thumbnail identifier is only used as an entry for the photo album application.
  • Each time a user takes an image he or she needs to click the thumbnail icon to enter the photo album application for viewing.
  • the user also needs to exit the photo album application and return to the shooting preview interface to take the photo again, thus causing the user to
  • the process of switching between shooting the preview interface and viewing the taken photos is cumbersome and time consuming.
  • an embodiment of the present disclosure provides a thumbnail display control method, including:
  • the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  • an embodiment of the present disclosure provides a mobile terminal, including:
  • a first receiving module configured to receive a first input of a user on a thumbnail identifier in the shooting preview interface
  • a first response module configured to display N thumbnails in response to the first input
  • a second receiving module configured to receive a second input of the user on the first thumbnail of the N thumbnails
  • a second response module configured to display original data of the first thumbnail in response to the second input
  • the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  • an embodiment of the present disclosure provides a mobile terminal, where the mobile terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is The steps of the thumbnail display control method as described in the first aspect above are implemented when the processor executes.
  • an embodiment of the present disclosure provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, implements thumbnail display as described in the first aspect above. The steps of the control method.
  • FIG. 1 is a flowchart of a thumbnail display control method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a shooting preview interface according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of multiple thumbnail display according to an embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a thumbnail display control method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of a sliding track of a sliding thumbnail identifier according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of multiple thumbnail display according to an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of a thumbnail display control method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • 100-shooting preview interface 110-thumbnail logo, 120-photograph button, 130-camera button, 140-sliding track, 150-thumbnail.
  • an embodiment of the present disclosure provides a thumbnail display control method.
  • the execution body of the method may be a terminal device, and the terminal device may be a device such as a personal computer, or may be a mobile terminal device such as a mobile phone or a tablet computer.
  • the terminal device can be a terminal device used by the user.
  • a camera may be installed in the terminal device, and a thumbnail identifier or the like may be included in the camera preview interface.
  • the thumbnail identifier may include a thumbnail, and the original data of the thumbnail may be an image and a video stored in the terminal device. The oldest image or video was taken.
  • the method can be used in an application for processing an image taken by a terminal device by operation of a thumbnail. The method is described in detail below as a whole, and the method may specifically include the following steps:
  • step 101 a first input by the user on the thumbnail identification in the capture preview interface is received.
  • the shooting preview interface 100 may be a preview interface for providing an image to be captured to a user, for example, a camera interface of a camera application in a mobile phone.
  • the thumbnail identifier 110 may be an iconic area of the thumbnail image 150 in the shooting preview interface 100 for displaying the most recently captured image or video, for example, as shown in FIG. 2, a recently photographed image displayed in the lower left corner of the mobile phone.
  • the thumbnail 150 may be displayed in the thumbnail identifier 110 of the square area as shown in FIG. 2, and the thumbnail identifier 110 may be circular, rectangular or elliptical, etc., in the embodiment of the present disclosure. This is not limited.
  • the first input may be set according to an actual situation, and the first input may be an input of an operation on the terminal device, for example, the first input may be multiple consecutive click operations (such as a double tap operation or three consecutive click operations).
  • the corresponding user input may also be a user input corresponding to the sliding operation, and the first input may be performed on the touch screen of the terminal device by the user through a finger or an operation tool such as a stylus or a stylus held by the user's hand. User input corresponding to the above operation.
  • a camera may be installed in the user's terminal device, and a camera application is also installed in the terminal device.
  • the camera application installed in the terminal device can be activated.
  • the terminal device turns on the camera, and obtains the actual scene data in the corresponding spatial range as the preview data through the camera.
  • the preview data can be displayed in the shooting preview interface 100.
  • the photographing preview interface 100 may further include a thumbnail logo 110, a photographing button 120, a camera button 130, a flash-on setting, a camera setting button, and the like.
  • the thumbnail identifier 110 in the shooting preview interface 100 is generally used to display a thumbnail image 150 of an image or video newly captured by the camera application.
  • the terminal device opens the album.
  • the application displays and displays the image stored therein, at which point the user can view, delete or edit the image therein, based on which the current thumbnail identifier 110 is only used as an entry for the photo album application, however, in many cases,
  • the purpose of the user clicking the thumbnail identifier 110 is not to enter the photo album application, but to view, delete or edit the original data such as the recently taken image or video. To achieve this, the user experience is improved.
  • An example provides an implementation manner, which may specifically include the following content:
  • An operation setting page of the thumbnail identifier 110 may be preset in the terminal device, and the user may set an input or operation for starting processing of the original data of the plurality of pre-captured images or videos through the operation setting page of the thumbnail identifier 110, for example, for example,
  • the thumbnail mark 110 is input by a double tap operation, or the thumbnail mark 110 is subjected to a slide operation input or the like, and after the setting is completed, the user can store the set input or operation in the terminal device.
  • the manner of setting the input or the operation may include multiple types.
  • the operation setting page of the thumbnail identifier 110 provides a plurality of inputs or operations to be selected, and the user may select an input or operation to be selected as the first input.
  • the operation input box or the operation input page may be provided in the operation setting page of the thumbnail identifier 110, and the user may input an operation as the first input or the like according to actual conditions.
  • the terminal device may also be an operation setting page that does not set the thumbnail identifier 110, but the terminal device provider sets the first input to the terminal device in advance when the terminal device is shipped, so that the user can pass the fixed The first input is used to implement the above process.
  • the terminal device can monitor the input of the user in the shooting preview interface 100 in real time, wherein the specific manner in which the user inputs in the shooting preview interface 100 can be implemented by the user inputting through the finger. It can be implemented by the user through the input of the stylus pen, and the like, which is not limited by the embodiment of the present disclosure. If it is detected that the user clicks the photo button 120 in the shooting preview interface 100, the terminal device may acquire preview data in the shooting preview interface 100, may generate an image based on the preview data, and may compress the image to form a thumbnail. 150, and the thumbnail 150 in the thumbnail identifier 110 in the current shooting preview interface 100 can be replaced with the thumbnail 150, and the thumbnail 150 is displayed in the shooting preview interface 100.
  • the terminal device can replace the current camera page with the camera page.
  • the terminal device can also monitor whether the user operates the thumbnail identifier 110 in real time, and determine whether the user input is the first input. If the user clicks the thumbnail identifier 110, the terminal device can open the album application and display the stored therein. The image, at this time, the user can view, delete or edit the image therein, and if the first input on the thumbnail identifier 110 in the shooting preview interface 100 is received by the user, the processing of step 102 below can be performed.
  • step 102 N thumbnails are displayed in response to the first input described above.
  • the thumbnail image 150 may be an image obtained by compressing the original data of the image or video and having a smaller size relative to the original data.
  • the thumbnail image 150 is relatively small in size and size with respect to the original data.
  • the first input is a user input corresponding to the double-click operation as an example.
  • the terminal device may start a timer and start timing. If it is detected within the predetermined duration (eg, within 3 seconds or within 2 seconds, etc.) that the user clicks the thumbnail identifier 110 again, the terminal device may determine that the user performs a double-click operation on the thumbnail identifier 110.
  • the terminal device may acquire original data of N (where N is a positive integer greater than or equal to 1) image or video stored in the current terminal device, or an image or video in a database (such as an image database of an album application, etc.)
  • the original data the terminal device may select N original data from the original data of the image or the video, wherein the selection manner of the original data may include multiple types.
  • the following two alternative manners are provided, which may specifically include the following:
  • the shooting time of the original data stored in the terminal device can be acquired, and the original data is sorted according to the shooting time of the original data.
  • the original data whose shooting time is closest to the current time can be ranked first, and then the original data is sequentially arranged in the order of shooting time.
  • the terminal device may select the first quantity of the original data sorted in advance according to the quantity of the original data selected and the sequence of the shooting time, thereby obtaining the original data of the N images or videos captured in advance.
  • N pieces of original data or a database that needs to be processed may be preset in the terminal device, for example, included in the terminal device.
  • the data collection created by the user is used to store the original data of the image or video that the user needs to collect, and the user can use the original data of the image or video in the data collection as the original data to be processed.
  • the terminal device can acquire the raw data stored in the data collection.
  • other methods of selecting the original data may be set according to actual conditions, for example, randomly selecting or setting one or more selection conditions (such as setting the shooting time or shooting time). Time period, etc.) to select and so on.
  • the loading speed of the N pieces of the original data can be speeded up by the processing mechanism.
  • the embodiment of the present disclosure implements the fast loading of the terminal device by using the thumbnail 150.
  • Parameter data such as the size of the thumbnail image 150 may be preset in the terminal device. After the N pieces of original data are acquired by the terminal device, each of the N original data may be compressed based on the size of the preset thumbnail 150.
  • the processing is such that the size of each of the original data reaches the size of the thumbnail 150 or is smaller than the size of the thumbnail 150, and then, as shown in FIG. 3, N thumbnails 150 may be sequentially displayed in the shooting preview interface 100.
  • the N thumbnails 150 may be displayed in the shooting preview interface 100 in sequence according to the shooting time of the images, or may be randomly displayed in the shooting preview interface 100. Thumbnails 150 and so on.
  • the user can process one or more of the thumbnail images 150, such as viewing original data of one or more of the thumbnail images 150 therein.
  • the original data of the one or more thumbnails 150 to be processed may be acquired first, and then the original data may be displayed in the shooting.
  • the preview interface 100 refer to step 103 and step 104 below.
  • step 103 a second input by the user on the first of the N thumbnails is received.
  • the second input may be an operation input performed by the user for a certain thumbnail 150.
  • the second input may be set according to an actual situation, and the second input may be an input of an operation on the terminal device, for example, a second input. It may be a user input corresponding to a click operation, or may be a double-click operation or a user input corresponding to three consecutive click operations, and the second input may be a stylus or a stylus that the user holds by a finger or a user's hand.
  • the operation tool performs the user input corresponding to the above operation on the touch screen of the terminal device, and the second input may be the same as the first input or may be different from the first input.
  • the thumbnail corresponding to the original data can be found from the displayed N thumbnails 150.
  • the corresponding operation input ie, the second input
  • the terminal device can receive the second input of the user on the first thumbnail of the N thumbnails 150 described above.
  • step 104 raw data of the first thumbnail is displayed in response to the second input, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  • the terminal device when the terminal device receives the second input of the user on the first thumbnail of the N thumbnails 150, the related information of the first thumbnail may be acquired, and the related information may include the first thumbnail.
  • the terminal device may determine related information such as the identifier of the original data of the first thumbnail based on the related information, and then the terminal device may acquire the original data of the first thumbnail and compare it with the N thumbnails 150. Also displayed in the display interface of the terminal device.
  • An embodiment of the present disclosure provides a thumbnail display control method for displaying N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receiving a first of the N thumbnails of the user
  • the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the thumbnail is identified by
  • the first input triggers the terminal device to obtain a thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview.
  • the user does not need to go to the photo album application to find and view the captured images after taking the images, and then return to the shooting preview interface to take photos again. , which simplifies the user's access to the shooting preview interface and viewing the taken photos.
  • the process of switching between improves the efficiency of the thumbnail display control operation or processing.
  • the processing of the foregoing steps 101 to 104 may include multiple specific implementation manners.
  • the following two implementation manners are provided.
  • the implementation provides a sliding operation on the thumbnail identifier 110, based on the above step 102.
  • the processing may be implemented in the following manner.
  • the first input is a sliding operation in which the thumbnail identifier 110 is the sliding starting position of the user, as follows:
  • step 401 in response to the sliding operation (ie, the first input), the sliding trajectory of the sliding operation is displayed.
  • the terminal device can record the initial position of the thumbnail identifier 110 center and the third size of the thumbnail logo 110. W2*h2, where w2 is the width of the thumbnail identifier 110 and h2 is the height of the thumbnail identifier 110.
  • the sliding track 140 is recorded, the coordinate position through which the sliding track 140 passes is stored in the memory space, and the length of the sliding track 140 is recorded, and the length of the sliding track 140 can be represented by the number of pixels through which the sliding track 140 passes.
  • the terminal device can record the coordinate position at this time, and then the terminal device can display the sliding of the sliding operation. Track 140.
  • N raw data are determined based on the above sliding trajectory.
  • the processing of the foregoing step 402 refer to the related content in the foregoing step 102.
  • the processing manner of the foregoing step 402 may be various.
  • the following provides an optional processing manner. For details, refer to the following steps 4021 to 4023.
  • step 4021 a third size of the thumbnail identifier, an interval between the preset adjacent two thumbnails, and a length of the above-described sliding track are acquired.
  • the third size of the thumbnail identifier 110 may be set according to the shape of the thumbnail identifier 110.
  • the third size may include the side length of the square, if the thumbnail identifier
  • the shape of 110 is a rectangle, and the third size may include the length and width of the rectangle.
  • the shape of the thumbnail identifier 110 is a circle
  • the third size may include a radius of a circle or the like, and the third size may be included.
  • the number of pixels is represented by the number of pixels.
  • the interval between two adjacent thumbnails 150 may include an interval between two adjacent thumbnails 150 and an interval between two adjacent thumbnails 150, etc., wherein the interval may also be included in the included pixels. Point number is expressed.
  • the length of the sliding track 140 can also be expressed in terms of the number of pixels included.
  • the terminal device may sequentially acquire the third size of the thumbnail identifier 110, the interval between the adjacent two thumbnail images 150, and the sliding track 140 from the terminal device. The length and other data.
  • step 4022 the number N of original data is determined according to the third size, the interval between adjacent two thumbnails, and the length of the sliding track.
  • the number N of the original data may be 10 or 15 sheets or the like.
  • the terminal device obtains the third size w2*h2 of the thumbnail identifier 110, the interval s2 between the adjacent two thumbnail images 150, and the length L of the sliding track 140, respectively, by the processing of the above step 4021.
  • the third size w2*h2 of the obtained thumbnail image 110, the interval s2 between the adjacent two thumbnail images 150, and the length L of the above-described sliding track 140 are substituted into the following formulas (1) and (2) for calculation.
  • max(w2, h2) represents the maximum value in w2 and h2
  • w2 is the width of the thumbnail identifier 110
  • h2 is the height of the thumbnail identifier 110
  • step is an intermediate variable.
  • the user can calculate the number N of the original data by the above formula (1) and formula (2).
  • the third size of the thumbnail identifier 110 is 2*2
  • the length of the sliding track 140 is 15, and the interval between two adjacent thumbnails 150 is 1, the number of original data N
  • step 4023 N pieces of raw data whose shooting time distance from the current time is less than a preset threshold are determined.
  • the preset threshold may be set according to actual conditions, such as 24 hours or 12 hours.
  • the terminal device can acquire the shooting time of the original data of the image or video in the database, and then, the shooting time of each original data can be compared with the current time to obtain the two.
  • the time interval if the obtained time interval is less than the preset threshold, the original data is taken as one of the N original data until the number of acquired original data reaches N, that is, until 5 pieces of original data are obtained.
  • step 403 N thumbnail images corresponding to N pieces of original data are displayed along the above-described sliding track.
  • the terminal device may sequentially obtain a storage path of each original data, and may read a corresponding image or video according to the storage path, and then compress the image of each image or video. Operation, the compressed thumbnail 150 is displayed on the sliding track 140.
  • N thumbnails 150 can be displayed according to the shooting time, so that the user can quickly find the corresponding thumbnail 150 and the corresponding original data.
  • the specific processing of the foregoing step 403 may also be implemented in the following manner, which may include: uniformly distributing the N thumbnail images 150 on the sliding track 140 according to the shooting time from near to far; wherein each shrinking The shooting time of the thumbnail 150 is positively correlated with the sliding start position of the sliding track 140.
  • the user can customize the form of the arrangement of the thumbnails, and the thumbnails can be arranged along the sliding track of the user's arbitrary shape. For example, when the user operates with one hand, the user can close the sliding track to the hand. The side that is held is convenient for one-hand operation and can meet the operation requirements of different operation scenarios of the user.
  • the shooting time is positively correlated with the sliding starting position of the sliding track 140.
  • the shooting time of the original data of the shooting date is September 20, 2017, the position of the thumbnail on the sliding track 140 and the sliding starting position are 1 cm.
  • the shooting time is the original data of September 25, 2017.
  • the thumbnail of the original data on the sliding track 140 and the sliding start position is 3 cm
  • the shooting time is the thumbnail of the original data on October 1, 2017 in the sliding track.
  • the position on the 140 and the start position of the slide are 5 cm, that is, as the photographing time is closer to the current time, the corresponding thumbnail on the slide track 140 is farther away from the slide start position.
  • the terminal device may sequentially acquire a storage path of each original data, and may read corresponding original data according to the storage path, and then perform each original data.
  • the compression process is performed to obtain N thumbnail images 150.
  • N pieces of original data may be sorted according to the shooting time of the N pieces of original data, and the thumbnail image 150 of the original data whose shooting time is the shortest at the current time is displayed at the sliding end position of the sliding track 140, and then according to the shooting time.
  • the corresponding thumbnails 150 are sequentially set downward in the farthest order until the Nth thumbnail is set on the slide start position of the slide track 140, and the N thumbnails 150 are evenly distributed on the slide track 140.
  • the process of displaying the original data of the first thumbnail in the above step 104 in response to the second input may include: the N thumbnails 150 displayed by the user on the sliding track 140.
  • the second input is performed on the first thumbnail, and after the terminal device receives the second input, the original data of the first thumbnail may be obtained from the original data stored in the terminal device, and the original data of the first thumbnail is loaded.
  • the terminal device can display the original data of the first thumbnail in the shooting preview interface 100, wherein the original data of the first thumbnail is displayed on the same screen as the N thumbnails 150.
  • the management operation of deleting the original data of the first thumbnail may be performed.
  • step 404 a third input by the user to the second of the N thumbnails is received.
  • the second thumbnail may be any of the N thumbnails 150.
  • the third input may be set according to actual conditions, and the third input may be a user input corresponding to the user performing an operation on the touch screen of the terminal device by using a finger or a stylus or a stylus pen held by the user's hand.
  • step 405 in a case where the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the slide track, the second thumbnail is deleted.
  • the terminal device may delete only the second thumbnail, and further, may According to the actual situation, in the case of deleting the second thumbnail, the original data of the second thumbnail may also be deleted.
  • the present embodiment provides an operation input mode for the thumbnail identifier 110. Based on this, the processing of the above step 102 can be implemented by using the following method as shown in FIG.
  • the sliding operation in which the thumbnail identifier 110 is the sliding starting position is taken as an example, as follows:
  • step 701 a first size of a preset thumbnail, an interval between adjacent two thumbnails, and a second size of the shooting preview interface are acquired.
  • the first size of the thumbnail 150 may be set according to the shape of the thumbnail 150. For example, if the shape of the thumbnail 150 is a square, the first size may include the side length of the square, if the shape of the thumbnail 150 is a rectangle, the first size may include the length and width of the rectangle, and if the shape of the thumbnail 150 is a circle, the first size may include a radius of a circle, etc., wherein the first size may be the number of pixels included Way of representation.
  • the interval between two adjacent thumbnails 150 may include an interval between two adjacent thumbnails 150 and an interval between two adjacent thumbnails 150, etc., wherein the interval may also be included in the included pixels.
  • the number of points indicates that the second size of the shooting preview interface 100 may include the length and width of the shooting preview interface 100, or may be the diagonal length of the shooting preview interface 100, etc., and the second size may also include the pixel points.
  • the terminal device when receiving the first input of the user on the thumbnail identifier 110, the terminal device may determine that the number N of the original data needs to be acquired, and the specific determination manner may include multiple types, and an optional processing is provided herein. In a manner, when detecting that the user performs multiple consecutive click operations on the thumbnail identifier 110, the terminal device may sequentially acquire the first size of the preset thumbnail 150 and the adjacent two thumbnails 150 from the terminal device. The interval and the data of the second size of the preview interface 100 are taken.
  • step 702 the number N of raw data is determined according to the first size, the interval between adjacent two thumbnails, and the second size.
  • the terminal device obtains the first size of the thumbnail image 150, the interval between the adjacent two thumbnail images 150, and the second size of the shooting preview interface 100 by the processing of the above step 701, the obtained One size, the interval between two adjacent thumbnail images 150, and the second size are substituted into equation (4) for calculation.
  • wt is the width of the thumbnail 150
  • ht is the height of the thumbnail 150
  • wt*ht is the first size
  • w1*h1 is the second size
  • w1 is the width of the shooting preview interface 100
  • h1 is the shooting preview interface 100.
  • Height, s1 is the interval between two adjacent thumbnails 150.
  • the user can calculate the number N of the original data by using the above formula (4).
  • the first size of the preset thumbnail image 150 is 2*2
  • the second size of the shooting preview interface 100 is 10*15, adjacent to the two.
  • the interval between thumbnails 150 is 1, and the number of original data N
  • step 703 N pieces of original data whose shooting time distance from the current time is less than a preset threshold are determined.
  • the shooting time of the original data stored in the terminal device can be acquired, and the original data is taken according to the shooting time of the original data.
  • the far-ordering the recently-captured image is displayed in front of the user, in accordance with the user's operating habits, so that the user can find the original data that is needed very conveniently and quickly. For details, refer to the following steps 704 and 705.
  • step 704 the N thumbnails corresponding to the N original data are sorted in order of near and far according to the shooting time.
  • step 705 the sorted N thumbnails are displayed in the shooting preview interface.
  • one or more of the displayed N thumbnails 150 may be deleted.
  • deletion processing refer to the following steps 107 and 108 for editing the input correlation. The content is executed and will not be described here.
  • the implementation manners of deleting the thumbnails 150 and the corresponding original data may include multiple types. The following two implementations are provided. For details, refer to the following manners 1 and 2.
  • the original data of the second thumbnail is deleted from the database, and the deleted database is obtained; according to the shooting time of the original data in the deleted database and the number N of the original data determined above, the database is deleted from the deleted database.
  • the shooting time is obtained from the near to far order of N pieces of raw data; the thumbnails 150 of the N original data are displayed in the shooting preview interface 100.
  • the terminal device may re-select N original data from the database, and then compress the re-selected N original data to obtain corresponding Thumbnail 150.
  • N thumbnail images 150 may be displayed in the shooting preview interface 100 (or on the above-described sliding track 140).
  • the original data of the second thumbnail is deleted from the database, the deleted database is obtained, and the second thumbnail is deleted from the shooting preview interface 100; and the latest shooting time corresponding to the remaining thumbnails 150 in the shooting preview interface 100 is obtained.
  • a third thumbnail corresponding to the latest shooting time acquiring the original data adjacent to the original data of the third thumbnail from the deleted database, and the shooting time is later than the latest shooting time; the raw data to be acquired
  • the thumbnail 150 is displayed in the shooting preview interface 100.
  • the thumbnails 150 satisfying the condition may be extracted from the database and added to the shooting preview interface 100, specifically, for example, the latest shooting corresponding to the remaining thumbnails 150 in the shooting preview interface 100.
  • the time is 18:31:54 on November 1, 2017.
  • the deleted database includes 2 images, which are taken at 10:15:28 on September 20, 2017 and 15:18 on November 2, 2017. :25, you can get the fourth image taken from the deleted database at 15:18:25 on November 2, 2017. You can take the shooting time as the fourth of 15:18:25 on November 2, 2017.
  • the thumbnail image 150 of the image is displayed in the shooting preview interface 100 (or on the above-described sliding track 140).
  • the process of displaying the original data of the first thumbnail with the N thumbnails 150 on the same screen may include a plurality of different implementation manners.
  • the following three manners are provided, which may include the following manners:
  • the original data of the first thumbnail is displayed as the first transparency
  • the N thumbnails 150 are displayed as the second transparency, wherein the first transparency is greater than the second transparency.
  • the original data of the first thumbnail since the original data of the first thumbnail is displayed on the same screen as the N thumbnails 150, in order to allow the user to take care of the thumbnail 150 and the original data, the original data of the first thumbnail may be set differently from the N thumbnails 150.
  • the terminal device can display the original data of the first thumbnail and the N thumbnails 150 on the same screen, wherein, in view of displaying the original data of the first thumbnail and the N thumbnails 150 on the same screen, Since the original data of the first thumbnail tends to be large, and the thumbnail 150 tends to be small, in order to enable the N thumbnails 150 to be clearly displayed, the first transparency may be set larger than the second transparency, and further, considering the main intention of the user The original data of the first thumbnail is viewed or processed, and therefore, the second transparency may be set to be larger than the first transparency or the like.
  • the N thumbnails 150 are displayed in the original data column of the first thumbnail.
  • the current display interface (excluding the toolbar, the toolbar may include the tool bar and the flashing light setting button where the camera button and the camera button are located as shown in FIG. 2, FIG. 3, FIG. 5 or FIG.
  • the column is divided into two columns, specifically the left and right columns and the upper and lower columns.
  • the size of each column can be adjusted according to actual needs. For example, the upper and lower columns can be set, wherein the lower column is located below the shooting preview interface. And the area of the column is small, the column can be placed with N thumbnails, the upper column is located above the shooting preview interface, and the area of the column is larger, and the column can display the original data of the first thumbnail.
  • the N thumbnails 150 are displayed in the first layer, and the original data of the first thumbnail is the second layer display, wherein the first layer is the top layer of the shooting preview interface, and the second layer is the non-photo in the shooting preview interface.
  • the top layer is the first layer.
  • the display interface in order to facilitate the user to view the original data and thumbnails, you can set different layers for the display interface, for example, set three layers, namely the top layer, the middle layer and the bottom layer, or you can set four or five maps. Layers, etc.
  • the top layer can be set to the first layer, and any one of the layers other than the top layer (such as the middle layer or the bottom layer described above) can be set to the second layer, and N thumbnails 150 can be set as the first layer.
  • the first layer displays that the original data of the first thumbnail is displayed on the second layer, thereby distinguishing the thumbnail 150 from the original data.
  • N thumbnails 150 may be displayed on the first layer, and the second layer 150 and the first thumbnail may be set on the basis of the second layer displaying the original data of the first thumbnail.
  • the raw data of the thumbnail is displayed with different transparency, for example, the second transparency is greater than the first transparency, and the like.
  • the terminal device performs the above-described response to the second input to display the original data of the first thumbnail.
  • the original data of the displayed first thumbnail is processed, so that the user can quickly manage the original data such as the image or the video stored in the terminal device, which may include the following steps 105 to 108. 4 or as shown in Figure 7.
  • the original data of the first thumbnail may be switched to the first layer display by a user operation, specifically See steps 105 and 106 below.
  • step 105 a fourth input of the user on the raw data of the first thumbnail is received.
  • the fourth input may be set according to an actual situation, and the fourth input may be an input of an operation on the terminal device.
  • the fourth input may be multiple consecutive click operations (such as a double-click operation or three consecutive times).
  • the user input corresponding to the click operation or the like may be a user input corresponding to the pressing operation or the like.
  • step 106 the raw data of the first thumbnail is switched to the first layer display in response to the fourth input described above.
  • step 107 an edit input by the user to the raw data of the first thumbnail is received.
  • the edit input includes at least user input corresponding to one or more operations of image or video modification and landscaping of the image or video.
  • the user may manage one or more original data in the original data of the N thumbnails 150.
  • a certain original is displayed in the shooting preview interface 100.
  • data ie, raw data of the first thumbnail
  • editing options such as modification and beautification may be provided in the shooting preview interface 100. If the user chooses to select the modify or beautify option, the terminal device can receive the user's edit input to the original data of the first thumbnail.
  • step 108 in response to the above-described edit input, an edit operation corresponding to the edit input is performed.
  • the terminal device can acquire an editing tool required for editing the preset image or video according to the editing input, and input the original data of the first thumbnail into the editing tool.
  • the user can edit the original data of the first thumbnail by using the editing tool.
  • the edited original data can be saved.
  • the terminal device can input according to the editing.
  • the landscaping tool required to obtain the preset landscaping image or video can input the original data of the first thumbnail into the landscaping tool for processing. At this time, the user can use the landscaping tool to obtain the original data of the first thumbnail.
  • the original data after the beautification can be saved.
  • edit input may include any other input that can process images or videos, in addition to user input corresponding to operations such as modification and beautification.
  • the thumbnail image 150 may also be updated based on the above-described mark input, and may specifically include the following: updating the thumbnail image 150 of the plurality of images displayed in the shooting preview interface 100, and the image in the image database.
  • the processed original data may have changed.
  • the processed raw data can be compressed to obtain the processed thumbnail 150, and the first thumbnail can be updated by using the obtained thumbnail 150, thereby updating the N thumbnails 150 displayed in the shooting preview interface 100.
  • the processed raw data can also be stored in the terminal device (or the database of the terminal device).
  • An embodiment of the present disclosure provides a thumbnail display control method for displaying N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receiving a first of the N thumbnails of the user
  • the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the thumbnail is identified by
  • the first input triggers the terminal device to obtain a thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview.
  • the user does not need to go to the photo album application to find and view the captured images after taking the images, and then return to the shooting preview interface to take photos again. , which simplifies the user's access to the shooting preview interface and viewing the taken photos. Switching process, improves the efficiency of the operation or the thumbnail display control process.
  • the embodiment of the present disclosure further provides a mobile terminal, as shown in FIG. 8 .
  • the mobile terminal includes a first receiving module 801, a first response module 802, a second receiving module 803, and a second response module 804, where:
  • the first receiving module 801 is configured to receive a first input of the user on the thumbnail identifier in the shooting preview interface
  • a first response module 802 configured to display N thumbnails in response to the first input
  • a second receiving module 803, configured to receive a second input of the user on the first thumbnail of the N thumbnails
  • a second response module 804 configured to display original data of the first thumbnail in response to the second input
  • the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  • the first response module 802 includes:
  • a first data determining unit configured to determine N pieces of original data whose shooting time is less than a preset threshold from a current time interval
  • a sorting unit configured to sort the N thumbnails corresponding to the N pieces of original data in order of shooting time from near to far;
  • a first display unit configured to display the sorted N thumbnails in the shooting preview interface.
  • the mobile terminal further includes:
  • a size obtaining module configured to acquire a first size of the preset thumbnail, an interval between two adjacent thumbnails, and a second size of the shooting preview interface
  • the number determining module is configured to determine the number N of the original data according to the first size, the interval between two adjacent thumbnails, and the second size.
  • the number determining module is configured to:
  • wt is the width of the thumbnail
  • ht is the height of the thumbnail
  • wt*ht is the first size
  • w1*h1 is the second size
  • w1 is the width of the shooting preview interface
  • h1 is the shooting preview interface.
  • Height, s1 is the interval between two adjacent thumbnails.
  • the first input is a sliding operation in which the user identifies the thumbnail as a sliding start position
  • the first response module 802 includes:
  • a second display unit configured to display a sliding track of the sliding operation in response to the sliding operation
  • a second data determining unit configured to determine N pieces of original data according to the sliding track
  • a third display unit configured to display N thumbnails corresponding to the N pieces of original data along the sliding track.
  • the third display unit is configured to evenly distribute the N thumbnails on the sliding track in order of shooting time from near to far; wherein, each thumbnail shooting time Positively correlated with the sliding start position of the sliding track.
  • the method further includes:
  • a third receiving module configured to receive a third input of a second thumbnail of the N thumbnails by a user
  • a deleting module configured to delete the second contraction if the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the sliding track Sketch map.
  • the second data determining unit is configured to acquire a third size of the thumbnail identifier, a preset interval between two adjacent thumbnails, and a length of the sliding track;
  • the third size, the interval between two adjacent thumbnails, and the length of the sliding track determine the number N of the original data; and determine N pieces of original data whose shooting time is less than a preset threshold from the current time.
  • the second data determining unit is configured to:
  • w2 is the width of the thumbnail identifier
  • h2 is the height of the thumbnail identifier
  • w2*h2 is the third size of the thumbnail identifier
  • s2 is the interval between the adjacent two thumbnails
  • L is the sliding track.
  • the length, max(w2, h2), represents the maximum value in w2 and h2.
  • the original data of the first thumbnail is displayed as a first transparency
  • the N thumbnails are displayed as a second transparency, wherein the first transparency is greater than the second transparency
  • the N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display, wherein the first layer is a top layer of the display interface, and the second layer is a non-display interface The top layer.
  • the N thumbnails are displayed in the first layer, and the original data of the first thumbnail is displayed in the second layer, and further includes:
  • a fourth receiving module configured to receive a fourth input of the user on the original data of the first thumbnail
  • a fourth response module configured to switch the original data of the first thumbnail to the first layer display in response to the fourth input
  • a fifth receiving module configured to receive an edit input of the original data of the first thumbnail by the user
  • a fifth response module configured to perform an editing operation corresponding to the edit input in response to the edit input.
  • the mobile terminal provided by the embodiment of the present disclosure can implement various processes implemented by the terminal device in the method embodiment of FIG. 1 to FIG. 7. To avoid repetition, details are not described herein again.
  • An embodiment of the present disclosure provides a mobile terminal that displays N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receives a user on a first thumbnail of the N thumbnails.
  • the second input the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the first identifier is identified by the thumbnail Input, trigger the terminal device to obtain the thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview interface and view
  • the process of switching between the two operations does not require the user to search for and view the captured image one by one after entering the image, and then return to the shooting preview interface to take the photo again, thus simplifying
  • the user has switched between shooting the preview interface and viewing the taken photos. To improve the efficiency or operation of the
  • FIG. 9 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure.
  • the mobile terminal 900 includes, but is not limited to, a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, an operation body input unit 907, an interface unit 908, a memory 909, a processor 910, And power 911 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 9 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the input unit 904 is configured to receive a first input of the user on the thumbnail identifier in the shooting preview interface
  • the processor 910 is configured to display N thumbnails in response to the first input
  • the input unit 904 is further configured to receive a second input of the user on the first thumbnail of the N thumbnails;
  • the processor 910 is further configured to display original data of the first thumbnail in response to the second input;
  • the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  • the processor 910 is further configured to determine N pieces of original data whose shooting time distance from the current time is less than a preset threshold
  • the processor 910 is further configured to sort the N thumbnails corresponding to the N pieces of original data in order of shooting time from near to far;
  • the processor 910 is further configured to display the sorted N thumbnails in the shooting preview interface.
  • the processor 910 is further configured to acquire a first size of the preset thumbnail, an interval between two adjacent thumbnails, and a second size of the shooting preview interface;
  • the processor 910 is further configured to determine the number N of the original data according to the first size, the interval between two adjacent thumbnails, and the second size.
  • processor 910 is further configured according to a formula Calculating the number N of the original data
  • wt is the width of the thumbnail
  • ht is the height of the thumbnail
  • wt*ht is the first size
  • w1*h1 is the second size
  • w1 is the width of the shooting preview interface
  • h1 is the shooting preview interface.
  • Height, s1 is the interval between two adjacent thumbnails.
  • processor 910 is further configured to display a sliding track of the sliding operation in response to the sliding operation;
  • the processor 910 is further configured to determine N pieces of original data according to the sliding track;
  • the processor 910 is further configured to display, according to the sliding track, N thumbnails corresponding to the N pieces of original data.
  • processor 910 is further configured to evenly distribute the N thumbnails on the sliding track according to a shooting time from near to far;
  • the shooting time of each thumbnail is positively correlated with the sliding starting position of the sliding track.
  • the input unit 904 is further configured to receive a third input of the second thumbnail of the N thumbnails by the user;
  • the processor 910 is further configured to: when the third input is a drag operation on the second thumbnail, and the drag end position of the drag operation is outside the sliding track, deleting the first Two thumbnails.
  • the processor 910 is further configured to acquire a third size of the thumbnail identifier, a preset interval between two adjacent thumbnails, and a length of the sliding track;
  • the processor 910 is further configured to determine, according to the third size, an interval between two adjacent thumbnails, and a length of the sliding track, a number N of original data;
  • the processor 910 is further configured to determine N pieces of original data whose shooting time distance from the current time is less than a preset threshold.
  • processor 910 is further configured according to a formula Calculating the number N of the original data
  • w2 is the width of the thumbnail identifier
  • h2 is the height of the thumbnail identifier
  • w2*h2 is the third size of the thumbnail identifier
  • s2 is the interval between the adjacent two thumbnails
  • L is the sliding track.
  • the length, max(w2, h2), represents the maximum value in w2 and h2.
  • the original data of the first thumbnail is displayed as a first transparency
  • the N thumbnails are displayed as a second transparency, wherein the first transparency is greater than the second transparency
  • the N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display, wherein the first layer is a top layer of the display interface, and the second layer is a non-display interface The top layer.
  • the input unit 904 is further configured to receive a fourth input of the user on the original data of the first thumbnail;
  • the processor 910 is further configured to switch the original data of the first thumbnail to the first layer display in response to the fourth input;
  • the input unit 904 is further configured to receive an edit input of the original data of the first thumbnail by the user;
  • the processor 910 is further configured to perform an editing operation corresponding to the edit input in response to the edit input.
  • An embodiment of the present disclosure provides a mobile terminal that displays N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receives a user on a first thumbnail of the N thumbnails.
  • the second input the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the first identifier is identified by the thumbnail Input, trigger the terminal device to obtain the thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview interface and view
  • the process of switching between the two operations does not require the user to search for and view the captured image one by one after entering the image, and then return to the shooting preview interface to take the photo again, thus simplifying
  • the user has switched between shooting the preview interface and viewing the taken photos. To improve the efficiency or operation of the
  • the radio frequency unit 901 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 910; The uplink data is sent to the base station.
  • radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 901 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides wireless broadband Internet access to the operating body through the network module 902, such as helping the operating body to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as a sound. Moreover, the audio output unit 903 can also provide audio output (e.g., call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 900.
  • the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 904 is for receiving an audio or video signal.
  • the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042 that images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 906.
  • the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio unit 901 or the network module 902.
  • the microphone 9042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 901 in the case of a telephone call mode.
  • the mobile terminal 900 also includes at least one type of sensor 905, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 9061 when the mobile terminal 900 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
  • the display unit 906 is for displaying information input by the operating body or information supplied to the operating body.
  • the display unit 906 can include a display panel 9061.
  • the display panel 9061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the operating body input unit 907 can be configured to receive input numeric or character information, and generate key signal inputs related to the operating body settings and function control of the mobile terminal.
  • the operation body input unit 907 includes a touch panel 9071 and other input devices 9072.
  • the touch panel 9071 also referred to as a touch screen, can collect touch operations on or near the operating body (such as the operating body using a finger, a stylus, or the like on the touch panel 9071 or the touch panel 9071 Nearby operations).
  • the touch panel 9071 may include two parts of a touch detection device and a touch controller.
  • the touch detecting device detects a touch orientation of the operating body, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detecting device, and converts the touch information into a contact coordinate,
  • the processor 910 is again sent to receive the command sent by the processor 910 and executed.
  • the touch panel 9071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the operation body input unit 907 may further include other input devices 9072.
  • other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, and are not described herein again.
  • the touch panel 9071 may be overlaid on the display panel 9061.
  • the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel 9071 transmits to the processor 910 to determine the type of the touch event, and then the processor 910 according to the touch.
  • the type of event provides a corresponding visual output on display panel 9061.
  • the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 908 is an interface in which an external device is connected to the mobile terminal 900.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 908 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 900 or can be used at the mobile terminal 900 and externally Data is transferred between devices.
  • Memory 909 can be used to store software programs as well as various data.
  • the memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • the memory 909 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 910 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 909, and recalling data stored in the memory 909.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 910 can include one or more processing units; optionally, the processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, an operating body interface, an application, etc., and modulates
  • the demodulation processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 910.
  • the mobile terminal 900 may further include a power source 911 (such as a battery) for supplying power to various components.
  • a power source 911 such as a battery
  • the power source 911 may be logically connected to the processor 910 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 910, a memory 909, a computer program stored on the memory 909 and executable on the processor 910, where the computer program is executed by the processor 910.
  • a mobile terminal including a processor 910, a memory 909, a computer program stored on the memory 909 and executable on the processor 910, where the computer program is executed by the processor 910.
  • the embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements various processes of the thumbnail display control method embodiment, and can achieve the same The technical effect, in order to avoid duplication, will not be repeated here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • An embodiment of the present disclosure provides a computer readable storage medium that displays N thumbnails by a first input on a thumbnail identifier in a shooting preview interface, and receives a first of the N thumbnails of the user
  • the original data of the first thumbnail is displayed, wherein the original data includes an image and a video
  • the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the thumbnail is identified by
  • the first input triggers the terminal device to obtain a thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby enabling the user to shoot the image.
  • the user does not need to first enter the album application to search one by one, thereby improving the efficiency of the thumbnail display control operation or processing.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may employ computer usable storage media (including but not limited to disk storage, compact disc read-on memory (CD-ROM), optical storage, etc., in one or more of the computer usable program code embodied therein. The form of the computer program product implemented on.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the computing device includes one or more processors (Central Processing Units, CPUs), input/output interfaces, network interfaces, and memory.
  • processors Central Processing Units, CPUs
  • input/output interfaces input/output interfaces
  • network interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory ((Dynamic RAM, DRAM), Other types of random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, read-only optical ROM (CD-ROM), Digital Video Disc (DVD) or other optical storage, magnetic cassette, magnetic tape storage or other magnetic storage device or any other non-transportable medium that can be used to store computing devices Information Accessed.
  • computer readable media does not include temporary storage computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A thumbnail display control method and a mobile terminal. The method comprises: receiving a first input of a user on a thumbnail identification in a shooting preview interface (101); displaying a number N of thumbnails in response to the first input (102); receiving a second input of the user on a first thumbnail in the N thumbnails (103); and displaying original data of the first thumbnail in response to the second input, the original data comprising an images and a video, and the original data of the first thumbnail and the N thumbnails being displayed on the same screen (104).

Description

缩略图显示控制方法及移动终端Thumbnail display control method and mobile terminal
相关申请的交叉引用Cross-reference to related applications
本申请主张在2017年12月19日在中国提交的中国专利申请号No.201711378450.4的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 201711378450.4, filed on Jan.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种缩略图显示控制方法及移动终端。The embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a thumbnail display control method and a mobile terminal.
背景技术Background technique
随着终端技术的发展,尤其是移动终端(如手机或平板电脑等)成为人们生活的必需品。而随着人们对终端设备功能需求的不断提升,终端设备的功能也不断增加和完善,如摄像功能,终端设备的摄像功能为人们生活增添了乐趣、提供了便利。With the development of terminal technologies, especially mobile terminals (such as mobile phones or tablets) have become a necessity for people's lives. With the continuous improvement of the functional requirements of terminal devices, the functions of terminal devices are constantly increasing and perfecting, such as camera functions, and the camera functions of terminal devices add fun and convenience to people's lives.
相关技术中,拍摄预览界面中的缩略图标识通常用于显示相机应用程序最新拍摄的一张图像的缩略图,通常,用户点击该缩略图标识时,终端设备会开启相册应用程序,并显示其中存储的图像,此时,用户可以查看、删除或编辑其中的图像,因此,当前的缩略图标识仅是作为相册应用程序的入口使用。用户每拍摄一张图像,需要点击缩略图标识,进入相册应用程序进行查看,在用户需要继续拍摄的情况下,用户还需要退出相册应用程序,返回拍摄预览界面才能再次进行拍照,这样,导致用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程繁琐且耗时。In the related art, the thumbnail identifier in the shooting preview interface is generally used to display a thumbnail image of an image captured by the camera application. Generally, when the user clicks the thumbnail identifier, the terminal device opens the album application and displays the thumbnail image. The stored image, at which point the user can view, delete or edit the image, so the current thumbnail identifier is only used as an entry for the photo album application. Each time a user takes an image, he or she needs to click the thumbnail icon to enter the photo album application for viewing. In the case that the user needs to continue shooting, the user also needs to exit the photo album application and return to the shooting preview interface to take the photo again, thus causing the user to The process of switching between shooting the preview interface and viewing the taken photos is cumbersome and time consuming.
发明内容Summary of the invention
第一方面,本公开实施例提供一种缩略图显示控制方法,包括:In a first aspect, an embodiment of the present disclosure provides a thumbnail display control method, including:
接收用户在拍摄预览界面中的缩略图标识上的第一输入;Receiving a first input of a user on a thumbnail identifier in a shooting preview interface;
响应于所述第一输入,显示N个缩略图;Displaying N thumbnails in response to the first input;
接收用户在所述N个缩略图中的第一缩略图上的第二输入;Receiving a second input of the user on the first of the N thumbnails;
响应于所述第二输入,显示所述第一缩略图的原始数据;Displaying raw data of the first thumbnail in response to the second input;
其中,所述原始数据包括图像和视频,所述第一缩略图的原始数据与所述N个缩略图同屏显示。The original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
第二方面,本公开实施例提供一种移动终端,包括:In a second aspect, an embodiment of the present disclosure provides a mobile terminal, including:
第一接收模块,用于接收用户在拍摄预览界面中的缩略图标识上的第一输入;a first receiving module, configured to receive a first input of a user on a thumbnail identifier in the shooting preview interface;
第一响应模块,用于响应于所述第一输入,显示N个缩略图;a first response module, configured to display N thumbnails in response to the first input;
第二接收模块,用于接收用户在所述N个缩略图中的第一缩略图上的第二输入;a second receiving module, configured to receive a second input of the user on the first thumbnail of the N thumbnails;
第二响应模块,用于响应于所述第二输入,显示所述第一缩略图的原始数据;a second response module, configured to display original data of the first thumbnail in response to the second input;
其中,所述原始数据包括图像和视频,所述第一缩略图的原始数据与所述N个缩略图同屏显示。The original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
第三方面,本公开实施例提供一种移动终端,所述移动终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述第一方面所述的缩略图显示控制方法的步骤。In a third aspect, an embodiment of the present disclosure provides a mobile terminal, where the mobile terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is The steps of the thumbnail display control method as described in the first aspect above are implemented when the processor executes.
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的缩略图显示控制方法的步骤。In a fourth aspect, an embodiment of the present disclosure provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, implements thumbnail display as described in the first aspect above. The steps of the control method.
附图说明DRAWINGS
图1为本公开实施例提供的缩略图显示控制方法的流程图之一;FIG. 1 is a flowchart of a thumbnail display control method according to an embodiment of the present disclosure;
图2为本公开实施例提供的一种拍摄预览界面示意图;FIG. 2 is a schematic diagram of a shooting preview interface according to an embodiment of the present disclosure;
图3为本公开实施例提供的多个缩略图显示示意图之一;FIG. 3 is a schematic diagram of multiple thumbnail display according to an embodiment of the present disclosure;
图4为本公开实施例提供的缩略图显示控制方法的流程图之一;FIG. 4 is a flowchart of a thumbnail display control method according to an embodiment of the present disclosure;
图5为本公开实施例提供的一种滑动缩略图标识的滑动轨迹示意图;FIG. 5 is a schematic diagram of a sliding track of a sliding thumbnail identifier according to an embodiment of the present disclosure;
图6为本公开实施例提供的多个缩略图显示示意图之一;FIG. 6 is a schematic diagram of multiple thumbnail display according to an embodiment of the present disclosure;
图7为本公开实施例提供的缩略图显示控制方法的流程图之一;FIG. 7 is a flowchart of a thumbnail display control method according to an embodiment of the present disclosure;
图8为本公开实施例提供的移动终端的结构示意图之一;FIG. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure;
图9为本公开实施例提供的移动终端的结构示意图之一。FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
图例说明:illustration:
100-拍摄预览界面,110-缩略图标识,120-拍照按键,130-摄像按键,140-滑动轨迹,150-缩略图。100-shooting preview interface, 110-thumbnail logo, 120-photograph button, 130-camera button, 140-sliding track, 150-thumbnail.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本公开中的技术方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。In order to make those skilled in the art better understand the technical solutions in the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the drawings in the embodiments of the present disclosure. The embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope should fall within the scope of the disclosure.
如图1所示,本公开实施例提供一种缩略图显示控制方法,该方法的执行主体可以为终端设备,该终端设备可以如个人计算机等设备,也可以如手机、平板电脑等移动终端设备,该终端设备可以为用户使用的终端设备。该终端设备中可以安装有摄像头,在摄像头的拍摄预览界面中可以包括缩略图标识等,该缩略图标识中可以包括一个缩略图,该缩略图的原始数据可以是终端设备中存储的图像和视频中拍摄时间最早的图像或视频。该方法可以用于通过对缩略图的操作来实现对终端设备拍摄的图像进行处理的应用中。下面从整体上对本方法进行详细说明,该方法具体可以包括以下步骤:As shown in FIG. 1 , an embodiment of the present disclosure provides a thumbnail display control method. The execution body of the method may be a terminal device, and the terminal device may be a device such as a personal computer, or may be a mobile terminal device such as a mobile phone or a tablet computer. The terminal device can be a terminal device used by the user. A camera may be installed in the terminal device, and a thumbnail identifier or the like may be included in the camera preview interface. The thumbnail identifier may include a thumbnail, and the original data of the thumbnail may be an image and a video stored in the terminal device. The oldest image or video was taken. The method can be used in an application for processing an image taken by a terminal device by operation of a thumbnail. The method is described in detail below as a whole, and the method may specifically include the following steps:
在步骤101中,接收用户在拍摄预览界面中的缩略图标识上的第一输入。In step 101, a first input by the user on the thumbnail identification in the capture preview interface is received.
其中,拍摄预览界面100可以是用于向用户提供待拍摄的图像的预览界面,例如,手机中相机应用程序的拍照界面。缩略图标识110可以是拍摄预览界面100中用于展示最近拍摄的图像或视频的缩略图150的标志性区域,例如,如图2所示,手机左下角显示的一张最近拍摄的图像的缩略图150,该缩略图150可以在如图2所示的方形区域的缩略图标识110内显示,除此外,该缩略图标识110还可以是圆形、矩形或椭圆形等,本公开实施例对此不做限定。第一输入可以根据实际情况设定,第一输入可以是某一种对终端设备的操作的输入,例如,第一输入可以是多次连续的点击操作(如双击操 作或连续3次的点击操作等)对应的用户输入,也可以是滑动操作对应的用户输入等,第一输入可以是用户通过手指或用户手上所握持的触控笔或手写笔等操作工具在终端设备的触摸屏上进行上述操作对应的用户输入。The shooting preview interface 100 may be a preview interface for providing an image to be captured to a user, for example, a camera interface of a camera application in a mobile phone. The thumbnail identifier 110 may be an iconic area of the thumbnail image 150 in the shooting preview interface 100 for displaying the most recently captured image or video, for example, as shown in FIG. 2, a recently photographed image displayed in the lower left corner of the mobile phone. In the thumbnail 150, the thumbnail 150 may be displayed in the thumbnail identifier 110 of the square area as shown in FIG. 2, and the thumbnail identifier 110 may be circular, rectangular or elliptical, etc., in the embodiment of the present disclosure. This is not limited. The first input may be set according to an actual situation, and the first input may be an input of an operation on the terminal device, for example, the first input may be multiple consecutive click operations (such as a double tap operation or three consecutive click operations). The corresponding user input may also be a user input corresponding to the sliding operation, and the first input may be performed on the touch screen of the terminal device by the user through a finger or an operation tool such as a stylus or a stylus held by the user's hand. User input corresponding to the above operation.
在实施中,用户的终端设备中可以安装有摄像头,并且终端设备中还安装有相机应用程序。当用户需要使用相机或需要查看近期拍摄的图像时,可以启动终端设备中安装的相机应用程序,此时,终端设备开启摄像头,并通过摄像头获取其对应的空间范围内的实际景物数据作为预览数据,并可以将该预览数据显示在拍摄预览界面100内。如图2所示,拍摄预览界面100中还可以包括缩略图标识110、拍照按键120、摄像按键130、闪光灯开启设置和相机设置按键等。In an implementation, a camera may be installed in the user's terminal device, and a camera application is also installed in the terminal device. When the user needs to use the camera or needs to view the recently taken image, the camera application installed in the terminal device can be activated. At this time, the terminal device turns on the camera, and obtains the actual scene data in the corresponding spatial range as the preview data through the camera. And the preview data can be displayed in the shooting preview interface 100. As shown in FIG. 2, the photographing preview interface 100 may further include a thumbnail logo 110, a photographing button 120, a camera button 130, a flash-on setting, a camera setting button, and the like.
相关技术中,拍摄预览界面100中的缩略图标识110通常用于显示相机应用程序最新拍摄的一张图像或视频的缩略图150,通常,用户点击该缩略图标识110时,终端设备会开启相册应用程序,并显示其中存储的图像,此时,用户可以查看、删除或编辑其中的图像,基于此,当前的缩略图标识110仅是作为相册应用程序的入口使用,然而,在很多情况下,用户点击缩略图标识110的目的并不是进入相册应用程序,而是想要对近期拍摄的图像或视频等原始数据进行查看、删除或编辑等操作,为了实现此目的,提高用户体验,本公开实施例提供一种实现方式,具体可以包括以下内容:In the related art, the thumbnail identifier 110 in the shooting preview interface 100 is generally used to display a thumbnail image 150 of an image or video newly captured by the camera application. Generally, when the user clicks the thumbnail identifier 110, the terminal device opens the album. The application displays and displays the image stored therein, at which point the user can view, delete or edit the image therein, based on which the current thumbnail identifier 110 is only used as an entry for the photo album application, however, in many cases, The purpose of the user clicking the thumbnail identifier 110 is not to enter the photo album application, but to view, delete or edit the original data such as the recently taken image or video. To achieve this, the user experience is improved. An example provides an implementation manner, which may specifically include the following content:
终端设备中可以预先设置有缩略图标识110的操作设置页面,用户可以通过缩略图标识110的操作设置页面来设置启动对多张预先拍摄的图像或视频的原始数据进行处理的输入或操作,例如,对缩略图标识110进行双击操作的输入,或对缩略图标识110进行滑动操作的输入等,设置完成后,用户可以将设置的输入或操作存储在终端设备中。其中,设置输入或操作的方式可以包括多种,例如,缩略图标识110的操作设置页面中提供多个待选择的输入或操作,用户可以从中选择一个待选择的输入或操作作为第一输入,或者,缩略图标识110的操作设置页面中也可以提供操作输入框或操作输入页面,用户可以根据实际情况输入一个操作作为第一输入等。此外,终端设备中也可以是不设置上述缩略图标识110的操作设置页面,而是由终端设备提供商在终端设备出厂时预先将第一输入设置到终端设备中,这样,用户可以 通过固定的第一输入来实现上述过程。An operation setting page of the thumbnail identifier 110 may be preset in the terminal device, and the user may set an input or operation for starting processing of the original data of the plurality of pre-captured images or videos through the operation setting page of the thumbnail identifier 110, for example, for example, The thumbnail mark 110 is input by a double tap operation, or the thumbnail mark 110 is subjected to a slide operation input or the like, and after the setting is completed, the user can store the set input or operation in the terminal device. The manner of setting the input or the operation may include multiple types. For example, the operation setting page of the thumbnail identifier 110 provides a plurality of inputs or operations to be selected, and the user may select an input or operation to be selected as the first input. Alternatively, the operation input box or the operation input page may be provided in the operation setting page of the thumbnail identifier 110, and the user may input an operation as the first input or the like according to actual conditions. In addition, the terminal device may also be an operation setting page that does not set the thumbnail identifier 110, but the terminal device provider sets the first input to the terminal device in advance when the terminal device is shipped, so that the user can pass the fixed The first input is used to implement the above process.
终端设备在开启了拍摄预览界面100后,终端设备可以实时监测用户在拍摄预览界面100的输入,其中,用户在拍摄预览界面100中进行输入的具体方式可以是用户通过手指进行输入来实现,还可以是用户通过触控笔进行输入来实现等,本公开实施例对此不做限定。如果检测到用户点击了拍摄预览界面100中的拍照按键120,则终端设备可以获取拍摄预览界面100中的预览数据,可以基于此预览数据生成图像,并可以将该图像进行压缩处理,形成缩略图150,并可以使用该缩略图150替换当前拍摄预览界面100中的缩略图标识110中的缩略图150,并将该缩略图150显示在拍摄预览界面100中。如果用户点击摄像按键130,则终端设备可以将当前的拍照页面装换为摄像页面。终端设备还可以实时监测用户是否对缩略图标识110进行操作,并判断用户的输入是否为第一输入,如果用户点击了缩略图标识110,则终端设备可以开启相册应用程序,并显示其中存储的图像,此时,用户可以查看、删除或编辑其中的图像,如果接收用户在拍摄预览界面100中的缩略图标识110上的第一输入,则可以执行下述步骤102的处理。After the shooting preview interface 100 is turned on, the terminal device can monitor the input of the user in the shooting preview interface 100 in real time, wherein the specific manner in which the user inputs in the shooting preview interface 100 can be implemented by the user inputting through the finger. It can be implemented by the user through the input of the stylus pen, and the like, which is not limited by the embodiment of the present disclosure. If it is detected that the user clicks the photo button 120 in the shooting preview interface 100, the terminal device may acquire preview data in the shooting preview interface 100, may generate an image based on the preview data, and may compress the image to form a thumbnail. 150, and the thumbnail 150 in the thumbnail identifier 110 in the current shooting preview interface 100 can be replaced with the thumbnail 150, and the thumbnail 150 is displayed in the shooting preview interface 100. If the user clicks on the camera button 130, the terminal device can replace the current camera page with the camera page. The terminal device can also monitor whether the user operates the thumbnail identifier 110 in real time, and determine whether the user input is the first input. If the user clicks the thumbnail identifier 110, the terminal device can open the album application and display the stored therein. The image, at this time, the user can view, delete or edit the image therein, and if the first input on the thumbnail identifier 110 in the shooting preview interface 100 is received by the user, the processing of step 102 below can be performed.
在步骤102中,响应于上述第一输入,显示N个缩略图。In step 102, N thumbnails are displayed in response to the first input described above.
其中,缩略图150可以是图像或视频的原始数据经过压缩处理后得到的相对于该原始数据的尺寸较小的图像,缩略图150相对于原始数据,在尺寸和大小方面都相对较小。The thumbnail image 150 may be an image obtained by compressing the original data of the image or video and having a smaller size relative to the original data. The thumbnail image 150 is relatively small in size and size with respect to the original data.
在实施中,以第一输入为双击操作对应的用户输入为例,当终端设备检测到用户对拍摄预览界面100中的缩略图标识110的点击操作时,终端设备可以启动计时器,并开始计时,如果在预定时长内(如3秒内或2秒内等)检测到用户再一次对缩略图标识110进行了点击操作,则终端设备可以确定用户对缩略图标识110进行了双击操作,此时,终端设备可以获取当前终端设备中存储的N(其中,N为大于或等于1的正整数)张图像或视频的原始数据,或者数据库(如相册应用程序的图像数据库等)中的图像或视频的原始数据,终端设备可以从上述图像或视频的原始数据中选择N个原始数据,其中原始数据的选择方式可以包括多种,以下提供两种可选的选取方式,具体可以包括以下内容:In an implementation, the first input is a user input corresponding to the double-click operation as an example. When the terminal device detects a click operation of the thumbnail identifier 110 in the shooting preview interface 100, the terminal device may start a timer and start timing. If it is detected within the predetermined duration (eg, within 3 seconds or within 2 seconds, etc.) that the user clicks the thumbnail identifier 110 again, the terminal device may determine that the user performs a double-click operation on the thumbnail identifier 110. The terminal device may acquire original data of N (where N is a positive integer greater than or equal to 1) image or video stored in the current terminal device, or an image or video in a database (such as an image database of an album application, etc.) The original data, the terminal device may select N original data from the original data of the image or the video, wherein the selection manner of the original data may include multiple types. The following two alternative manners are provided, which may specifically include the following:
方式一,考虑到用户通常会对其近期拍摄的图像或视频进行查看或编辑等处理,因此,可以获取终端设备中存储的原始数据的拍摄时间,并根据原始数据的拍摄时间对其进行排序,可以将拍摄时间距离当前时刻最近的原始数据排在第一位,然后,按照拍摄时间的先后顺序依次排列各个原始数据。终端设备可以根据需要选取的原始数据的数量,以及拍摄时间的先后顺序,从其中选取排序在前的上述数量的原始数据,从而得到预先拍摄的N个图像或视频的原始数据。In the first method, considering that the user usually views or edits the image or video taken recently, the shooting time of the original data stored in the terminal device can be acquired, and the original data is sorted according to the shooting time of the original data. The original data whose shooting time is closest to the current time can be ranked first, and then the original data is sequentially arranged in the order of shooting time. The terminal device may select the first quantity of the original data sorted in advance according to the quantity of the original data selected and the sequence of the shooting time, thereby obtaining the original data of the N images or videos captured in advance.
方式二,考虑到用户可能需要对指定的N个图像或视频进行查看或编辑等处理,因此,可以在终端设备中预先设定需要进行处理的N个原始数据或数据库,例如,终端设备中包括用户建立的数据收藏夹,用于存储用户需要收藏的图像或视频的原始数据等,用户可以将该数据收藏夹中的图像或视频的原始数据作为需要处理的原始数据。当接收到用户在拍摄预览界面100中的缩略图标识110上的第一输入时,终端设备可以获取数据收藏夹中存储的原始数据。In the second method, it is considered that the user may need to perform processing such as viewing or editing the specified N images or videos. Therefore, N pieces of original data or a database that needs to be processed may be preset in the terminal device, for example, included in the terminal device. The data collection created by the user is used to store the original data of the image or video that the user needs to collect, and the user can use the original data of the image or video in the data collection as the original data to be processed. When receiving the first input of the user on the thumbnail identification 110 in the shooting preview interface 100, the terminal device can acquire the raw data stored in the data collection.
此外,除了上述两种原始数据的选择方式外,还可以根据实际情况设定其它原始数据的选择方式,例如,随机选取或设定一个或多个选取条件(如设定拍摄时间或拍摄时间的时间段等)来选取等。In addition, in addition to the selection of the above two kinds of original data, other methods of selecting the original data may be set according to actual conditions, for example, randomly selecting or setting one or more selection conditions (such as setting the shooting time or shooting time). Time period, etc.) to select and so on.
为了方便用户快速浏览N个原始数据,可以通过某些处理机制来加快终端设备对N个原始数据的加载速度,本公开实施例以缩略图150的方式来实现终端设备的快速加载,具体地,终端设备中可以预先设置有缩略图150的尺寸等参数数据,当终端设备获取到N个原始数据后,可以基于预先设置的缩略图150的尺寸对N个原始数据中的每个原始数据进行压缩处理,使得每一个原始数据的尺寸都达到缩略图150的尺寸或小于缩略图150的尺寸,然后,如图3所示,可以将N个缩略图150依次展示在拍摄预览界面100中。其中,在拍摄预览界面100中显示N个缩略图150可以是在拍摄预览界面100中按照图像的拍摄时间的先后顺序依次展示N个缩略图150,也可以是在拍摄预览界面100中随机展示N个缩略图150等。In order to facilitate the user to quickly browse the N pieces of data, the loading speed of the N pieces of the original data can be speeded up by the processing mechanism. The embodiment of the present disclosure implements the fast loading of the terminal device by using the thumbnail 150. Specifically, Parameter data such as the size of the thumbnail image 150 may be preset in the terminal device. After the N pieces of original data are acquired by the terminal device, each of the N original data may be compressed based on the size of the preset thumbnail 150. The processing is such that the size of each of the original data reaches the size of the thumbnail 150 or is smaller than the size of the thumbnail 150, and then, as shown in FIG. 3, N thumbnails 150 may be sequentially displayed in the shooting preview interface 100. The N thumbnails 150 may be displayed in the shooting preview interface 100 in sequence according to the shooting time of the images, or may be randomly displayed in the shooting preview interface 100. Thumbnails 150 and so on.
此外,终端设备在拍摄预览界面100中显示N个缩略图150后,用户可以对其中的一个或多个缩略图150进行处理,例如查看其中的某一个或多个 缩略图150的原始数据等。其中,当用户对其中的一个或多个缩略图150的原始数据进行处理的过程中,可以先获取待处理的一个或多个缩略图150的原始数据,然后,可以将该原始数据显示在拍摄预览界面100中,具体可以参见下述步骤103和步骤104。Further, after the terminal device displays N thumbnail images 150 in the shooting preview interface 100, the user can process one or more of the thumbnail images 150, such as viewing original data of one or more of the thumbnail images 150 therein. Wherein, when the user processes the original data of the one or more thumbnails 150, the original data of the one or more thumbnails 150 to be processed may be acquired first, and then the original data may be displayed in the shooting. For the preview interface 100, refer to step 103 and step 104 below.
在步骤103中,接收用户在上述N个缩略图中的第一缩略图上的第二输入。In step 103, a second input by the user on the first of the N thumbnails is received.
其中,第二输入可以是用户针对某一个缩略图150进行的操作输入,第二输入可以根据实际情况设定,第二输入可以是某一种对终端设备的操作的输入,例如,第二输入可以是点击操作对应的用户输入,也可以是双击操作或连续3次的点击操作对应的用户输入等,第二输入可以是用户通过手指或用户手上所握持的触控笔或手写笔等操作工具在终端设备的触摸屏上进行上述操作对应的用户输入,第二输入可以与第一输入相同,也可以与第一输入不同。The second input may be an operation input performed by the user for a certain thumbnail 150. The second input may be set according to an actual situation, and the second input may be an input of an operation on the terminal device, for example, a second input. It may be a user input corresponding to a click operation, or may be a double-click operation or a user input corresponding to three consecutive click operations, and the second input may be a stylus or a stylus that the user holds by a finger or a user's hand. The operation tool performs the user input corresponding to the above operation on the touch screen of the terminal device, and the second input may be the same as the first input or may be different from the first input.
在实施中,如果用户需要查看某一个缩略图150的原始数据或需要对某一个缩略图150的原始数据进行处理,则可以从显示的N个缩略图150中查找到相应原始数据对应的缩略图150(即第一缩略图),然后,可以对该第一缩略图进行相应的操作输入(即第二输入),例如,第二输入为点击操作对应的用户输入,则用户可以点击N个缩略图150中的第一缩略图,此时,终端设备可以接收到用户在上述N个缩略图150中的第一缩略图上的第二输入。In the implementation, if the user needs to view the original data of a certain thumbnail 150 or needs to process the original data of a certain thumbnail 150, the thumbnail corresponding to the original data can be found from the displayed N thumbnails 150. 150 (ie, the first thumbnail), then, the corresponding operation input (ie, the second input) can be performed on the first thumbnail. For example, if the second input is a user input corresponding to the click operation, the user can click N thumbnails. The first thumbnail in the thumbnail 150, at this time, the terminal device can receive the second input of the user on the first thumbnail of the N thumbnails 150 described above.
在步骤104中,响应于上述第二输入,显示第一缩略图的原始数据,其中,原始数据包括图像和视频,第一缩略图的原始数据与N个缩略图同屏显示。In step 104, raw data of the first thumbnail is displayed in response to the second input, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
在实施中,当终端设备接收到用户在上述N个缩略图150中的第一缩略图上的第二输入时,可以获取第一缩略图的相关信息,该相关信息中可以包括第一缩略图的原始数据的信息,终端设备可以基于上述相关信息确定第一缩略图的原始数据的标识等相关信息,然后,终端设备可以获取第一缩略图的原始数据,并将其与N个缩略图150同时显示在终端设备的显示界面中。In an implementation, when the terminal device receives the second input of the user on the first thumbnail of the N thumbnails 150, the related information of the first thumbnail may be acquired, and the related information may include the first thumbnail. The information of the original data, the terminal device may determine related information such as the identifier of the original data of the first thumbnail based on the related information, and then the terminal device may acquire the original data of the first thumbnail and compare it with the N thumbnails 150. Also displayed in the display interface of the terminal device.
本公开实施例提供一种缩略图显示控制方法,通过用户在拍摄预览界面中的缩略图标识上的第一输入,显示N个缩略图,并且在接收到用户在N个 缩略图中的第一缩略图上的第二输入时,显示第一缩略图的原始数据,其中,原始数据包括图像和视频,第一缩略图的原始数据与N个缩略图同屏显示,这样,通过对缩略图标识的第一输入,触发终端设备获取拍摄的图像或视频的缩略图进行显示,方便用户及时对拍摄的图像或视频等原始数据进行查看或方便用户后续对原始数据的管理,从而使得用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程中不需要用户在拍摄图像后,需要进入相册应用程序中逐一查找并查看拍摄的图像,然后,再返回拍摄预览界面再次进行拍照的方式实现,从而简化了用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程,提高了对缩略图显示控制操作或处理的效率。An embodiment of the present disclosure provides a thumbnail display control method for displaying N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receiving a first of the N thumbnails of the user When the second input on the thumbnail is displayed, the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the thumbnail is identified by The first input triggers the terminal device to obtain a thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview. During the process of switching between the interface and viewing the taken photos, the user does not need to go to the photo album application to find and view the captured images after taking the images, and then return to the shooting preview interface to take photos again. , which simplifies the user's access to the shooting preview interface and viewing the taken photos. The process of switching between improves the efficiency of the thumbnail display control operation or processing.
上述步骤101~步骤104的处理过程可以包括多种可实现的具体方式,以下提供两种可实现方式,以下对其中的一种可实现方式进行说明,具体可以包括以下内容:The processing of the foregoing steps 101 to 104 may include multiple specific implementation manners. The following two implementation manners are provided. The following describes an implementation manner, and specifically includes the following content:
为了方便用户的操作,使得用户能够快速浏览到原始数据的缩略图150,并对相应的原始数据进行操作,本实现方式提供一种对缩略图标识110的滑动操作,基于此,上述步骤102的处理可以通过以下方式实现,如图4所示,以第一输入为用户以缩略图标识110为滑动起始位置的滑动操作为例进行说明,具体如下:In order to facilitate the user's operation, the user can quickly browse to the thumbnail 150 of the original data, and operate the corresponding original data, the implementation provides a sliding operation on the thumbnail identifier 110, based on the above step 102. The processing may be implemented in the following manner. As shown in FIG. 4, the first input is a sliding operation in which the thumbnail identifier 110 is the sliding starting position of the user, as follows:
在步骤401中,响应于上述滑动操作(即第一输入),显示该滑动操作的滑动轨迹。In step 401, in response to the sliding operation (ie, the first input), the sliding trajectory of the sliding operation is displayed.
在实施中,如图5所示,用户滑动缩略图标识110在拍摄预览界面100中移动,在滑动的过程中,终端设备可以记录缩略图标识110中心的初始位置及缩略图标识110的第三尺寸w2*h2,其中,w2为缩略图标识110的宽度,h2为缩略图标识110的高度。同时记录滑动的滑动轨迹140,将滑动轨迹140经过的坐标位置保存在内存空间中,并且记录该滑动轨迹140的长度,该滑动轨迹140的长度可以以滑动轨迹140经过的像素点的个数表示。在用户的手指或触控笔停止对缩略图标识110的滑动,且用户的手指或触控笔离开屏幕时,终端设备可以记录此时的坐标位置,然后,终端设备可以显示该滑动操作的滑动轨迹140。In an implementation, as shown in FIG. 5, the user slide thumbnail identifier 110 moves in the photographing preview interface 100, and during the sliding process, the terminal device can record the initial position of the thumbnail identifier 110 center and the third size of the thumbnail logo 110. W2*h2, where w2 is the width of the thumbnail identifier 110 and h2 is the height of the thumbnail identifier 110. At the same time, the sliding track 140 is recorded, the coordinate position through which the sliding track 140 passes is stored in the memory space, and the length of the sliding track 140 is recorded, and the length of the sliding track 140 can be represented by the number of pixels through which the sliding track 140 passes. . When the user's finger or the stylus stops sliding the thumbnail identifier 110, and the user's finger or stylus leaves the screen, the terminal device can record the coordinate position at this time, and then the terminal device can display the sliding of the sliding operation. Track 140.
在步骤402中,根据上述滑动轨迹,确定N个原始数据。In step 402, N raw data are determined based on the above sliding trajectory.
上述步骤402的处理可以参见上述步骤102中的相关内容,在实际应用中,上述步骤402的处理方式可以多种多样,以下提供一种可选的处理方式,具体可以参见下述步骤4021~步骤4023。For the processing of the foregoing step 402, refer to the related content in the foregoing step 102. In an actual application, the processing manner of the foregoing step 402 may be various. The following provides an optional processing manner. For details, refer to the following steps 4021 to 4023.
在步骤4021中,获取缩略图标识的第三尺寸、预设的相邻两个缩略图之间的间隔和上述滑动轨迹的长度。In step 4021, a third size of the thumbnail identifier, an interval between the preset adjacent two thumbnails, and a length of the above-described sliding track are acquired.
其中,缩略图标识110的第三尺寸可以是根据缩略图标识110的形状进行设定,例如,如果缩略图标识110的形状为方形,则第三尺寸可以包括方形的边长,如果缩略图标识110的形状为矩形,则第三尺寸可以包括矩形的长度和宽度,如果缩略图标识110的形状为圆形,则第三尺寸可以包括圆形的半径等,其中的第三尺寸可以以包含的像素点个数的方式表示。相邻两个缩略图150之间的间隔可以包括左右相邻两个缩略图150之间的间隔和上下相邻两个缩略图150之间的间隔等,其中的间隔大小也可以以包含的像素点个数的方式表示。滑动轨迹140的长度也可以以包含的像素点个数的方式表示。The third size of the thumbnail identifier 110 may be set according to the shape of the thumbnail identifier 110. For example, if the shape of the thumbnail identifier 110 is a square, the third size may include the side length of the square, if the thumbnail identifier The shape of 110 is a rectangle, and the third size may include the length and width of the rectangle. If the shape of the thumbnail identifier 110 is a circle, the third size may include a radius of a circle or the like, and the third size may be included. The number of pixels is represented by the number of pixels. The interval between two adjacent thumbnails 150 may include an interval between two adjacent thumbnails 150 and an interval between two adjacent thumbnails 150, etc., wherein the interval may also be included in the included pixels. Point number is expressed. The length of the sliding track 140 can also be expressed in terms of the number of pixels included.
在实施中,当检测到用户停止拖拽缩略图标识110时,终端设备可以依次从终端设备中获取缩略图标识110的第三尺寸、相邻两个缩略图150之间的间隔和滑动轨迹140的长度等数据。In an implementation, when detecting that the user stops dragging the thumbnail identifier 110, the terminal device may sequentially acquire the third size of the thumbnail identifier 110, the interval between the adjacent two thumbnail images 150, and the sliding track 140 from the terminal device. The length and other data.
在步骤4022中,根据上述第三尺寸、相邻两个缩略图之间的间隔和滑动轨迹的长度,确定原始数据的个数N。In step 4022, the number N of original data is determined according to the third size, the interval between adjacent two thumbnails, and the length of the sliding track.
其中,原始数据的个数N可以为10张或15张等。The number N of the original data may be 10 or 15 sheets or the like.
在实施中,终端设备通过上述步骤4021的处理分别得到缩略图标识110的第三尺寸w2*h2、相邻两个缩略图150之间的间隔s2和上述滑动轨迹140的长度L后,可以将得到的缩略图标识110的第三尺寸w2*h2、相邻两个缩略图150之间的间隔s2和上述滑动轨迹140的长度L等代入下述公式(1)和公式(2)中进行计算In the implementation, after the terminal device obtains the third size w2*h2 of the thumbnail identifier 110, the interval s2 between the adjacent two thumbnail images 150, and the length L of the sliding track 140, respectively, by the processing of the above step 4021. The third size w2*h2 of the obtained thumbnail image 110, the interval s2 between the adjacent two thumbnail images 150, and the length L of the above-described sliding track 140 are substituted into the following formulas (1) and (2) for calculation.
step=s+max(w,h)    (1)Step=s+max(w,h) (1)
Figure PCTCN2018118908-appb-000001
Figure PCTCN2018118908-appb-000001
其中,max(w2,h2)表示w2和h2中的最大值,w2为缩略图标识110的宽度,h2为缩略图标识110的高度,step为中间变量。Where max(w2, h2) represents the maximum value in w2 and h2, w2 is the width of the thumbnail identifier 110, h2 is the height of the thumbnail identifier 110, and step is an intermediate variable.
用户可以通过上述公式(1)和公式(2)计算得到原始数据的个数N。例如,缩略图标识110的第三尺寸为2*2,滑动轨迹140的长度为15,相邻两个缩略图150之间的间隔为1,则原始数据的个数NThe user can calculate the number N of the original data by the above formula (1) and formula (2). For example, the third size of the thumbnail identifier 110 is 2*2, the length of the sliding track 140 is 15, and the interval between two adjacent thumbnails 150 is 1, the number of original data N
Figure PCTCN2018118908-appb-000002
Figure PCTCN2018118908-appb-000002
在步骤4023中,确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据。In step 4023, N pieces of raw data whose shooting time distance from the current time is less than a preset threshold are determined.
其中,预设阈值可以根据实际情况设定,具体如24小时或12小时等。The preset threshold may be set according to actual conditions, such as 24 hours or 12 hours.
在实施中,基于上述示例,目标数量5,终端设备可以获取数据库中的图像或视频的原始数据的拍摄时间,然后,可以将每个原始数据的拍摄时间与当前时刻进行比较,得到两者的时间间隔,如果得到的时间间隔小于预设阈值,则将该原始数据作为N个原始数据中的一个,直到获取的原始数据的数量达到N为止,即直到得到5个原始数据为止。In the implementation, based on the above example, the target number 5, the terminal device can acquire the shooting time of the original data of the image or video in the database, and then, the shooting time of each original data can be compared with the current time to obtain the two. The time interval, if the obtained time interval is less than the preset threshold, the original data is taken as one of the N original data until the number of acquired original data reaches N, that is, until 5 pieces of original data are obtained.
在步骤403中,沿着上述滑动轨迹,显示N个原始数据对应的N个缩略图。In step 403, N thumbnail images corresponding to N pieces of original data are displayed along the above-described sliding track.
在实施中,终端设备获取到N个原始数据后,可以依次获取每个原始数据的存储路径,可以根据存储路径读取对应的图像或视频,然后可以对每一张图像或视频的图像进行压缩操作,将压缩后的缩略图150显示在滑动轨迹140上。In an implementation, after acquiring the N pieces of original data, the terminal device may sequentially obtain a storage path of each original data, and may read a corresponding image or video according to the storage path, and then compress the image of each image or video. Operation, the compressed thumbnail 150 is displayed on the sliding track 140.
考虑到用户最希望查看或处理的图像是用户最近拍摄的图像或视频,为此,可以根据拍摄时间来显示N个缩略图150,以方便用户快速查找到相应的缩略图150及相应的原始数据,基于此,上述步骤403的具体处理还可以通过以下方式实现,具体可以包括:按照拍摄时间由近至远的顺序,将N个缩略图150均匀分布在滑动轨迹140上;其中,每个缩略图150的拍摄时间与滑动轨迹140的滑动起始位置正相关。本公开实施例中,用户可以自定义缩略图的排列的形式,缩略图可沿着用户的任意形状的滑动轨迹进行排列,例如,用户在单手操作的时候,用户可将滑动轨迹靠近手握持的那一侧,方便单手操作,能够满足用户的不同操作场景的操作需求。Considering that the image that the user most wants to view or process is the image or video that the user recently took, for this purpose, N thumbnails 150 can be displayed according to the shooting time, so that the user can quickly find the corresponding thumbnail 150 and the corresponding original data. Based on this, the specific processing of the foregoing step 403 may also be implemented in the following manner, which may include: uniformly distributing the N thumbnail images 150 on the sliding track 140 according to the shooting time from near to far; wherein each shrinking The shooting time of the thumbnail 150 is positively correlated with the sliding start position of the sliding track 140. In the embodiment of the present disclosure, the user can customize the form of the arrangement of the thumbnails, and the thumbnails can be arranged along the sliding track of the user's arbitrary shape. For example, when the user operates with one hand, the user can close the sliding track to the hand. The side that is held is convenient for one-hand operation and can meet the operation requirements of different operation scenarios of the user.
其中,拍摄时间与滑动轨迹140的滑动起始位置正相关可以如:若拍摄时间为2017年9月20日的原始数据的缩略图在滑动轨迹140上的位置与滑 动起始位置为1厘米,则拍摄时间为2017年9月25日的原始数据的缩略图在滑动轨迹140上的位置与滑动起始位置为3厘米,拍摄时间为2017年10月1日的原始数据的缩略图在滑动轨迹140上的位置与滑动起始位置为5厘米,即随着拍摄时间越靠近当前时刻,滑动轨迹140上的相应缩略图越远离滑动起始位置。Wherein, the shooting time is positively correlated with the sliding starting position of the sliding track 140. For example, if the shooting time of the original data of the shooting date is September 20, 2017, the position of the thumbnail on the sliding track 140 and the sliding starting position are 1 cm. Then the shooting time is the original data of September 25, 2017. The thumbnail of the original data on the sliding track 140 and the sliding start position is 3 cm, and the shooting time is the thumbnail of the original data on October 1, 2017 in the sliding track. The position on the 140 and the start position of the slide are 5 cm, that is, as the photographing time is closer to the current time, the corresponding thumbnail on the slide track 140 is farther away from the slide start position.
在实施中,如图6所示,终端设备获取到N个原始数据后,可以依次获取每个原始数据的存储路径,可以根据存储路径读取对应的原始数据,然后可以对每个原始数据进行压缩处理,以此得到N个缩略图150。然后,可以根据N个原始数据的拍摄时间,对N个原始数据进行排序,将拍摄时间距离当前时刻最短的原始数据的缩略图150显示在滑动轨迹140的滑动结束位置,然后按照拍摄时间由近至远的顺序依次向下设置相应的缩略图150,直到滑动轨迹140的滑动起始位置上设置第N个缩略图为止,而且,N个缩略图150在滑动轨迹140上均匀分布。其中,需要说明的是,如果当前缩略图150为第Index个缩略图150,则有:当Index=1时,当前缩略图150的坐标为滑动轨迹140中的最后一个点(即滑动轨迹140的结束点);当Index=N,当前缩略图150的坐标为滑动轨迹140中的第一个点(即滑动轨迹140的起始点)。当Index=m,当前缩略图150的坐标为滑动轨迹140中的第m个点,其对应坐标可以为(x (Num-m)*step,y (Num-m)*step)。 In an implementation, as shown in FIG. 6 , after acquiring the N pieces of original data, the terminal device may sequentially acquire a storage path of each original data, and may read corresponding original data according to the storage path, and then perform each original data. The compression process is performed to obtain N thumbnail images 150. Then, N pieces of original data may be sorted according to the shooting time of the N pieces of original data, and the thumbnail image 150 of the original data whose shooting time is the shortest at the current time is displayed at the sliding end position of the sliding track 140, and then according to the shooting time. The corresponding thumbnails 150 are sequentially set downward in the farthest order until the Nth thumbnail is set on the slide start position of the slide track 140, and the N thumbnails 150 are evenly distributed on the slide track 140. It should be noted that, if the current thumbnail 150 is the index thumbnail 150, there is: when Index=1, the coordinates of the current thumbnail 150 are the last point in the sliding track 140 (ie, the sliding track 140) End point); When Index=N, the coordinates of the current thumbnail 150 are the first point in the sliding track 140 (ie, the starting point of the sliding track 140). When Index=m, the coordinates of the current thumbnail 150 are the mth point in the sliding track 140, and the corresponding coordinates may be (x (Num-m)*step , y (Num-m)*step ).
此外,基于上述步骤401~步骤403的内容,上述步骤104中响应于第二输入,显示第一缩略图的原始数据的处理可以包括:用户可以对上述滑动轨迹140上显示的N个缩略图150中的第一缩略图上进行第二输入,终端设备接收到第二输入后,可以从终端设备中存储的原始数据中获取第一缩略图的原始数据,并将第一缩略图的原始数据加载到拍摄预览界面100中,此时,终端设备可以在拍摄预览界面100中显示该第一缩略图的原始数据,其中第一缩略图的原始数据与N个缩略图150同屏显示。In addition, based on the content of the foregoing steps 401 to 403, the process of displaying the original data of the first thumbnail in the above step 104 in response to the second input may include: the N thumbnails 150 displayed by the user on the sliding track 140. The second input is performed on the first thumbnail, and after the terminal device receives the second input, the original data of the first thumbnail may be obtained from the original data stored in the terminal device, and the original data of the first thumbnail is loaded. In the shooting preview interface 100, at this time, the terminal device can display the original data of the first thumbnail in the shooting preview interface 100, wherein the original data of the first thumbnail is displayed on the same screen as the N thumbnails 150.
另外,可以对第一缩略图的原始数据进行删除等管理操作,具体可以参见下述步骤404和步骤405。In addition, the management operation of deleting the original data of the first thumbnail may be performed. For details, refer to the following steps 404 and 405.
在步骤404中,接收用户对N个缩略图中的第二缩略图的第三输入。In step 404, a third input by the user to the second of the N thumbnails is received.
其中,第二缩略图可以是N个缩略图150中的任意缩略图150。第三输 入可以根据实际情况设定,第三输入可以是用户通过手指或用户手上所握持的触控笔或手写笔等操作工具在终端设备的触摸屏上进行某操作对应的用户输入。The second thumbnail may be any of the N thumbnails 150. The third input may be set according to actual conditions, and the third input may be a user input corresponding to the user performing an operation on the touch screen of the terminal device by using a finger or a stylus or a stylus pen held by the user's hand.
在步骤405中,在第三输入为对第二缩略图的拖动操作且拖动操作的拖动结束位置位于滑动轨迹外的情况下,删除第二缩略图。In step 405, in a case where the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the slide track, the second thumbnail is deleted.
需要说明的是,在第三输入为对第二缩略图的拖动操作且拖动操作的拖动结束位置位于滑动轨迹140外的情况下,终端设备可以仅删除第二缩略图,此外,可以根据实际情况,在删除第二缩略图的情况,也可以将第二缩略图的原始数据删除。It should be noted that, in a case where the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the sliding track 140, the terminal device may delete only the second thumbnail, and further, may According to the actual situation, in the case of deleting the second thumbnail, the original data of the second thumbnail may also be deleted.
上述步骤401~步骤405的处理过程其中的一种可实现方式,下面对另一种可实现方式进行详细说明,具体可以包括以下内容:One of the implementable processes of the foregoing steps 401 to 405 is as follows. The following describes another possible implementation manner, and specifically includes the following content:
为了方便用户的操作,本实现方式提供一种对缩略图标识110的操作输入方式,基于此,上述步骤102的处理可以通过以下方式实现,如图7所示,以第一输入为用户以缩略图标识110为滑动起始位置的滑动操作为例进行说明,具体如下:In order to facilitate the user's operation, the present embodiment provides an operation input mode for the thumbnail identifier 110. Based on this, the processing of the above step 102 can be implemented by using the following method as shown in FIG. The sliding operation in which the thumbnail identifier 110 is the sliding starting position is taken as an example, as follows:
在步骤701中,获取预设的缩略图的第一尺寸、相邻两个缩略图之间的间隔和拍摄预览界面的第二尺寸。In step 701, a first size of a preset thumbnail, an interval between adjacent two thumbnails, and a second size of the shooting preview interface are acquired.
其中,缩略图150的第一尺寸可以是根据缩略图150的形状进行设定,例如,如果缩略图150的形状为方形,则第一尺寸可以包括方形的边长,如果缩略图150的形状为矩形,则第一尺寸可以包括矩形的长度和宽度,如果缩略图150的形状为圆形,则第一尺寸可以包括圆形的半径等,其中的第一尺寸可以以包含的像素点个数的方式表示。相邻两个缩略图150之间的间隔可以包括左右相邻两个缩略图150之间的间隔和上下相邻两个缩略图150之间的间隔等,其中的间隔大小也可以以包含的像素点个数的方式表示,拍摄预览界面100的第二尺寸可以包括拍摄预览界面100的长度和宽度,或者可以是拍摄预览界面100的对角线长度等,第二尺寸也可以以包含的像素点个数的方式表示。The first size of the thumbnail 150 may be set according to the shape of the thumbnail 150. For example, if the shape of the thumbnail 150 is a square, the first size may include the side length of the square, if the shape of the thumbnail 150 is a rectangle, the first size may include the length and width of the rectangle, and if the shape of the thumbnail 150 is a circle, the first size may include a radius of a circle, etc., wherein the first size may be the number of pixels included Way of representation. The interval between two adjacent thumbnails 150 may include an interval between two adjacent thumbnails 150 and an interval between two adjacent thumbnails 150, etc., wherein the interval may also be included in the included pixels. The number of points indicates that the second size of the shooting preview interface 100 may include the length and width of the shooting preview interface 100, or may be the diagonal length of the shooting preview interface 100, etc., and the second size may also include the pixel points. The number of ways to represent.
在实施中,当接收到用户在缩略图标识110上的第一输入时,终端设备可以确定需要获取原始数据的个数N,具体确定方式可以包括多种,在此提 供一种可选的处理方式,即当检测到用户对上述缩略图标识110进行多次连续点击操作时,终端设备可以依次从终端设备中获取预设的缩略图150的第一尺寸、相邻两个缩略图150之间的间隔和拍摄预览界面100的第二尺寸等数据。In an implementation, when receiving the first input of the user on the thumbnail identifier 110, the terminal device may determine that the number N of the original data needs to be acquired, and the specific determination manner may include multiple types, and an optional processing is provided herein. In a manner, when detecting that the user performs multiple consecutive click operations on the thumbnail identifier 110, the terminal device may sequentially acquire the first size of the preset thumbnail 150 and the adjacent two thumbnails 150 from the terminal device. The interval and the data of the second size of the preview interface 100 are taken.
在步骤702中,根据第一尺寸、相邻两个缩略图之间的间隔和第二尺寸,确定原始数据的个数N。In step 702, the number N of raw data is determined according to the first size, the interval between adjacent two thumbnails, and the second size.
在实施中,终端设备通过上述步骤701的处理分别得到缩略图150的第一尺寸、相邻两个缩略图150之间的间隔和上述拍摄预览界面100的第二尺寸后,可以将得到的第一尺寸、相邻两个缩略图150之间的间隔和第二尺寸等代入公式(4)中进行计算In an implementation, after the terminal device obtains the first size of the thumbnail image 150, the interval between the adjacent two thumbnail images 150, and the second size of the shooting preview interface 100 by the processing of the above step 701, the obtained One size, the interval between two adjacent thumbnail images 150, and the second size are substituted into equation (4) for calculation.
Figure PCTCN2018118908-appb-000003
Figure PCTCN2018118908-appb-000003
其中,wt为缩略图150的宽度,ht为缩略图150的高度,wt*ht为第一尺寸;w1*h1为第二尺寸,w1为拍摄预览界面100的宽度,h1为拍摄预览界面100的高度,s1为相邻两个缩略图150之间的间隔。Where wt is the width of the thumbnail 150, ht is the height of the thumbnail 150, wt*ht is the first size; w1*h1 is the second size, w1 is the width of the shooting preview interface 100, and h1 is the shooting preview interface 100. Height, s1 is the interval between two adjacent thumbnails 150.
用户可以通过上述公式(4)计算得到原始数据的个数N,例如,预设的缩略图150的第一尺寸为2*2,拍摄预览界面100的第二尺寸为10*15,相邻两个缩略图150之间的间隔为1,则原始数据的个数NThe user can calculate the number N of the original data by using the above formula (4). For example, the first size of the preset thumbnail image 150 is 2*2, and the second size of the shooting preview interface 100 is 10*15, adjacent to the two. The interval between thumbnails 150 is 1, and the number of original data N
Figure PCTCN2018118908-appb-000004
Figure PCTCN2018118908-appb-000004
在步骤703中,确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据。In step 703, N pieces of original data whose shooting time distance from the current time is less than a preset threshold are determined.
考虑到用户通常会对其近期拍摄的图像或视频等原始数据进行查看或编辑等处理,因此,可以获取终端设备中存储的原始数据的拍摄时间,并根据原始数据的拍摄时间对其进行由近及远的排序,最近拍摄的图像靠前显示,符合用户的操作习惯,这样,用户可以非常方便快捷的查找到需要的原始数据,具体可以参见下述步骤704和步骤705。Considering that the user usually processes or edits the original data such as images or videos recently taken, the shooting time of the original data stored in the terminal device can be acquired, and the original data is taken according to the shooting time of the original data. And the far-ordering, the recently-captured image is displayed in front of the user, in accordance with the user's operating habits, so that the user can find the original data that is needed very conveniently and quickly. For details, refer to the following steps 704 and 705.
在步骤704中,将N个原始数据对应的N个缩略图按照拍摄时间由近及远的顺序进行排序。In step 704, the N thumbnails corresponding to the N original data are sorted in order of near and far according to the shooting time.
在步骤705中,在拍摄预览界面中,显示经过排序后的N个缩略图。In step 705, the sorted N thumbnails are displayed in the shooting preview interface.
对于上述步骤701~步骤705的处理方式,也可以对显示的N个缩略图 150中的一张或多张进行删除操作,其删除处理过程可以参照下述步骤107和步骤108中编辑输入的相关内容执行,在此不再赘述。For the processing manner of the above steps 701 to 705, one or more of the displayed N thumbnails 150 may be deleted. For the deletion processing, refer to the following steps 107 and 108 for editing the input correlation. The content is executed and will not be described here.
其中,对于删除缩略图150和其相应的原始数据的实现方式可以包括多种,以下提供两种可选的实现方式,具体可以参见下述方式一和方式二。The implementation manners of deleting the thumbnails 150 and the corresponding original data may include multiple types. The following two implementations are provided. For details, refer to the following manners 1 and 2.
方式一,从数据库中删除第二缩略图的原始数据,得到删除后的数据库;根据删除后的数据库中原始数据的拍摄时间和上述确定的原始数据的个数N,从删除后的数据库中按照拍摄时间由近至远的顺序获取N个原始数据;在拍摄预览界面100中显示N个原始数据的缩略图150。In the first method, the original data of the second thumbnail is deleted from the database, and the deleted database is obtained; according to the shooting time of the original data in the deleted database and the number N of the original data determined above, the database is deleted from the deleted database. The shooting time is obtained from the near to far order of N pieces of raw data; the thumbnails 150 of the N original data are displayed in the shooting preview interface 100.
在实施中,如果用户删除了N个原始数据中的一个或多个,则终端设备可以重新从数据库中选取N个原始数据,然后,将重新选取的N个原始数据进行压缩处理,得到相应的缩略图150。可以将N个缩略图150显示在拍摄预览界面100中(或上述滑动轨迹140上)。In the implementation, if the user deletes one or more of the N original data, the terminal device may re-select N original data from the database, and then compress the re-selected N original data to obtain corresponding Thumbnail 150. N thumbnail images 150 may be displayed in the shooting preview interface 100 (or on the above-described sliding track 140).
方式二,从数据库中删除第二缩略图的原始数据,得到删除后的数据库,并从拍摄预览界面100中删除第二缩略图;获取拍摄预览界面100中剩余缩略图150对应的最晚拍摄时间和最晚拍摄时间对应的第三缩略图;从删除后的数据库中获取与第三缩略图的原始数据相邻,且拍摄时间晚于上述最晚拍摄时间的原始数据;将获取的原始数据的缩略图150显示在拍摄预览界面100中。In the second mode, the original data of the second thumbnail is deleted from the database, the deleted database is obtained, and the second thumbnail is deleted from the shooting preview interface 100; and the latest shooting time corresponding to the remaining thumbnails 150 in the shooting preview interface 100 is obtained. a third thumbnail corresponding to the latest shooting time; acquiring the original data adjacent to the original data of the third thumbnail from the deleted database, and the shooting time is later than the latest shooting time; the raw data to be acquired The thumbnail 150 is displayed in the shooting preview interface 100.
在实施中,为了降低终端设备的处理压力,可以从数据库中提取满足条件的缩略图150补充到拍摄预览界面100中,具体地,例如,拍摄预览界面100中剩余缩略图150对应的最晚拍摄时间为2017年11月1日18:31:54,删除后的数据库中包括2张图像,其拍摄时间分别为2017年9月20日10:15:28和2017年11月2日15:18:25,则可以从删除后的数据库中获取拍摄时间为2017年11月2日15:18:25的第四图像,可以将拍摄时间为2017年11月2日15:18:25的第四图像的缩略图150显示在拍摄预览界面100中(或上述滑动轨迹140上)。In an implementation, in order to reduce the processing pressure of the terminal device, the thumbnails 150 satisfying the condition may be extracted from the database and added to the shooting preview interface 100, specifically, for example, the latest shooting corresponding to the remaining thumbnails 150 in the shooting preview interface 100. The time is 18:31:54 on November 1, 2017. The deleted database includes 2 images, which are taken at 10:15:28 on September 20, 2017 and 15:18 on November 2, 2017. :25, you can get the fourth image taken from the deleted database at 15:18:25 on November 2, 2017. You can take the shooting time as the fourth of 15:18:25 on November 2, 2017. The thumbnail image 150 of the image is displayed in the shooting preview interface 100 (or on the above-described sliding track 140).
另外,第一缩略图的原始数据与N个缩略图150同屏显示的处理可以包括多种不同的实现方式,以下提供三种可选的方式,可以包括以下方式一~方式三:In addition, the process of displaying the original data of the first thumbnail with the N thumbnails 150 on the same screen may include a plurality of different implementation manners. The following three manners are provided, which may include the following manners:
方式一,第一缩略图的原始数据显示为第一透明度,且N个缩略图150显示为第二透明度,其中,第一透明度大于第二透明度。In a first mode, the original data of the first thumbnail is displayed as the first transparency, and the N thumbnails 150 are displayed as the second transparency, wherein the first transparency is greater than the second transparency.
在实施中,由于第一缩略图的原始数据与N个缩略图150同屏显示,为了让用户兼顾缩略图150和原始数据,可以将第一缩略图的原始数据与N个缩略图150设置不同的透明度,基于不同的透明度,终端设备可以同屏显示第一缩略图的原始数据与N个缩略图150,其中,考虑到同屏显示第一缩略图的原始数据和N个缩略图150时,由于第一缩略图的原始数据往往较大,而缩略图150往往较小,为了能够使得N个缩略图150清楚显示,可以设置第一透明度大于第二透明度,此外,考虑到用户的主要意图可能是对第一缩略图的原始数据进行查看或处理,因此,还可以设置第二透明度大于第一透明度等。In the implementation, since the original data of the first thumbnail is displayed on the same screen as the N thumbnails 150, in order to allow the user to take care of the thumbnail 150 and the original data, the original data of the first thumbnail may be set differently from the N thumbnails 150. Transparency, based on different transparency, the terminal device can display the original data of the first thumbnail and the N thumbnails 150 on the same screen, wherein, in view of displaying the original data of the first thumbnail and the N thumbnails 150 on the same screen, Since the original data of the first thumbnail tends to be large, and the thumbnail 150 tends to be small, in order to enable the N thumbnails 150 to be clearly displayed, the first transparency may be set larger than the second transparency, and further, considering the main intention of the user The original data of the first thumbnail is viewed or processed, and therefore, the second transparency may be set to be larger than the first transparency or the like.
方式二,N个缩略图150与第一缩略图的原始数据分栏显示。In the second mode, the N thumbnails 150 are displayed in the original data column of the first thumbnail.
在实施中,可以将当前显示界面(不包括工具栏,工具栏可以包括如图2、图3、图5或图6中拍照按键和摄像按键所在的工具栏和闪关灯设置按键所在的工具栏)划分为两栏,具体可以是左右两栏和上下两栏,每一栏的区域大小可以根据实际需要进行调整,例如,可以设置上下两栏,其中,下方的一栏位于拍摄预览界面下方,且该栏的区域较小,该栏可以放置N个缩略图,上方的一栏位于拍摄预览界面上方,且该栏的区域较大,该栏可以显示第一缩略图的原始数据。In the implementation, the current display interface (excluding the toolbar, the toolbar may include the tool bar and the flashing light setting button where the camera button and the camera button are located as shown in FIG. 2, FIG. 3, FIG. 5 or FIG. The column is divided into two columns, specifically the left and right columns and the upper and lower columns. The size of each column can be adjusted according to actual needs. For example, the upper and lower columns can be set, wherein the lower column is located below the shooting preview interface. And the area of the column is small, the column can be placed with N thumbnails, the upper column is located above the shooting preview interface, and the area of the column is larger, and the column can display the original data of the first thumbnail.
方式三,N个缩略图150为第一层显示,且第一缩略图的原始数据为第二层显示,其中,第一层为拍摄预览界面的顶层,第二层为拍摄预览界面中的非顶层的图层。In the third mode, the N thumbnails 150 are displayed in the first layer, and the original data of the first thumbnail is the second layer display, wherein the first layer is the top layer of the shooting preview interface, and the second layer is the non-photo in the shooting preview interface. The top layer.
在实施中,为了便于用户查看原始数据和缩略图,可以为显示界面设置不同的图层,例如设置三个图层,即顶层、中间层和底层,或者,还可以设置四个或五个图层等。可以将顶层设定为第一层,将除了顶层外的其它图层中的任一个图层(如上述的中间层或底层等)设定为第二层,可以设置N个缩略图150为第一层显示,第一缩略图的原始数据为第二层显示,以此来区分缩略图150和原始数据。In the implementation, in order to facilitate the user to view the original data and thumbnails, you can set different layers for the display interface, for example, set three layers, namely the top layer, the middle layer and the bottom layer, or you can set four or five maps. Layers, etc. The top layer can be set to the first layer, and any one of the layers other than the top layer (such as the middle layer or the bottom layer described above) can be set to the second layer, and N thumbnails 150 can be set as the first layer. The first layer displays that the original data of the first thumbnail is displayed on the second layer, thereby distinguishing the thumbnail 150 from the original data.
需要说明的是,对于上述方式三的处理,还可以在第一层显示N个缩略 图150,第二层显示第一缩略图的原始数据的基础上,设置N个缩略图150和第一缩略图的原始数据以不同的透明度显示,例如,第二透明度大于第一透明度等。It should be noted that, for the processing of the foregoing mode 3, N thumbnails 150 may be displayed on the first layer, and the second layer 150 and the first thumbnail may be set on the basis of the second layer displaying the original data of the first thumbnail. The raw data of the thumbnail is displayed with different transparency, for example, the second transparency is greater than the first transparency, and the like.
另外,基于上述N个缩略图150为第一层显示,且第一缩略图的原始数据为第二层显示的情况下,终端设备执行上述响应于第二输入,显示第一缩略图的原始数据的处理之后,还可以对显示的第一缩略图的原始数据进行处理,从而方便用户对终端设备中存储的图像或视频等原始数据的快速管理,具体可以包括以下步骤105~步骤108,如图4或图7所示。In addition, in a case where the N thumbnails 150 are displayed as the first layer, and the original data of the first thumbnail is the second layer display, the terminal device performs the above-described response to the second input to display the original data of the first thumbnail. After the processing, the original data of the displayed first thumbnail is processed, so that the user can quickly manage the original data such as the image or the video stored in the terminal device, which may include the following steps 105 to 108. 4 or as shown in Figure 7.
为了便于用户对第一缩略图的原始数据进行处理,如果第一缩略图的原始数据为第二层显示,则可以通过用户操作,将第一缩略图的原始数据切换至第一层显示,具体可以参见下述步骤105和步骤106。In order to facilitate the user to process the original data of the first thumbnail, if the original data of the first thumbnail is the second layer display, the original data of the first thumbnail may be switched to the first layer display by a user operation, specifically See steps 105 and 106 below.
在步骤105中,接收用户在第一缩略图的原始数据上的第四输入。In step 105, a fourth input of the user on the raw data of the first thumbnail is received.
其中,第四输入可以根据实际情况设定,第四输入可以是某一种对终端设备的操作的输入,例如,第四输入可以是多次连续的点击操作(如双击操作或连续3次的点击操作等)对应的用户输入,也可以是按压操作对应的用户输入等。The fourth input may be set according to an actual situation, and the fourth input may be an input of an operation on the terminal device. For example, the fourth input may be multiple consecutive click operations (such as a double-click operation or three consecutive times). The user input corresponding to the click operation or the like may be a user input corresponding to the pressing operation or the like.
在步骤106中,响应于上述第四输入,将第一缩略图的原始数据切换至第一层显示。In step 106, the raw data of the first thumbnail is switched to the first layer display in response to the fourth input described above.
在步骤107中,接收用户对第一缩略图的原始数据的编辑输入。In step 107, an edit input by the user to the raw data of the first thumbnail is received.
其中,编辑输入至少包括图像或视频修改和图像或视频的美化中的一种或多种操作对应的用户输入。Wherein, the edit input includes at least user input corresponding to one or more operations of image or video modification and landscaping of the image or video.
在实施中,用户可以对N个缩略图150的原始数据中一个或多个原始数据进行管理,如图6所示,为了便于用户管理多个原始数据,当拍摄预览界面100中显示某一原始数据(即第一缩略图的原始数据)时,可以在拍摄预览界面100中提供编辑选项,例如修改和美化等选项。如果用户选择选择修改或美化选项,则终端设备可以接收用户对第一缩略图的原始数据的编辑输入。In an implementation, the user may manage one or more original data in the original data of the N thumbnails 150. As shown in FIG. 6, in order to facilitate the user to manage a plurality of original data, a certain original is displayed in the shooting preview interface 100. When data (ie, raw data of the first thumbnail) is available, editing options such as modification and beautification may be provided in the shooting preview interface 100. If the user chooses to select the modify or beautify option, the terminal device can receive the user's edit input to the original data of the first thumbnail.
在步骤108中,响应于上述编辑输入,执行该编辑输入对应的编辑操作。In step 108, in response to the above-described edit input, an edit operation corresponding to the edit input is performed.
在实施中,如果操作体选择修改或美化等编辑选项,则终端设备可以根 据编辑输入获取预先设置的编辑图像或视频所需要的编辑工具,可以将第一缩略图的原始数据输入到该编辑工具中,此时,用户可以通过该编辑工具对该第一缩略图的原始数据进行编辑,编辑完成后,可以保存编辑后的原始数据,例如,如果用户选择美化选项,则终端设备可以根据编辑输入获取预先设置的美化图像或视频所需要的美化工具,可以将第一缩略图的原始数据输入到该美化工具中进行处理,此时,用户可以通过该美化工具对该第一缩略图的原始数据进行处理,处理完成后,可以保存美化后的原始数据。In the implementation, if the operator selects an editing option such as modification or beautification, the terminal device can acquire an editing tool required for editing the preset image or video according to the editing input, and input the original data of the first thumbnail into the editing tool. In this case, the user can edit the original data of the first thumbnail by using the editing tool. After the editing is completed, the edited original data can be saved. For example, if the user selects the beautification option, the terminal device can input according to the editing. The landscaping tool required to obtain the preset landscaping image or video can input the original data of the first thumbnail into the landscaping tool for processing. At this time, the user can use the landscaping tool to obtain the original data of the first thumbnail. After processing, after processing is completed, the original data after the beautification can be saved.
需要说明的是,编辑输入除了可以包括修改和美化等操作对应的用户输入外,还可以包括其他任何可以对图像或视频等进行处理的输入。It should be noted that the edit input may include any other input that can process images or videos, in addition to user input corresponding to operations such as modification and beautification.
基于上述标记输入,还可以对缩略图150进行更新,具体可以包括以下内容:更新拍摄预览界面100中显示的多张图像的缩略图150,以及图像数据库中图像。The thumbnail image 150 may also be updated based on the above-described mark input, and may specifically include the following: updating the thumbnail image 150 of the plurality of images displayed in the shooting preview interface 100, and the image in the image database.
在实施中,由于通过上述步骤108的处理,终端设备已对N个缩略图150中的一个或多个缩略图150的原始数据进行了相应的处理,处理后的原始数据可能已经发生变化,此时可以将处理后的原始数据进行压缩处理,得到处理后的缩略图150,可以使用得到的缩略图150更新第一缩略图,以此对拍摄预览界面100中显示的N个缩略图150进行更新。同时,还可以将处理后的原始数据存储到终端设备(或终端设备的数据库)中。In the implementation, since the terminal device has processed the original data of one or more of the N thumbnails 150 by the processing of the above step 108, the processed original data may have changed. The processed raw data can be compressed to obtain the processed thumbnail 150, and the first thumbnail can be updated by using the obtained thumbnail 150, thereby updating the N thumbnails 150 displayed in the shooting preview interface 100. . At the same time, the processed raw data can also be stored in the terminal device (or the database of the terminal device).
本公开实施例提供一种缩略图显示控制方法,通过用户在拍摄预览界面中的缩略图标识上的第一输入,显示N个缩略图,并且在接收到用户在N个缩略图中的第一缩略图上的第二输入时,显示第一缩略图的原始数据,其中,原始数据包括图像和视频,第一缩略图的原始数据与N个缩略图同屏显示,这样,通过对缩略图标识的第一输入,触发终端设备获取拍摄的图像或视频的缩略图进行显示,方便用户及时对拍摄的图像或视频等原始数据进行查看或方便用户后续对原始数据的管理,从而使得用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程中不需要用户在拍摄图像后,需要进入相册应用程序中逐一查找并查看拍摄的图像,然后,再返回拍摄预览界面再次进行拍照的方式实现,从而简化了用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程,提高了对缩略图显示控制操作或处理的效率。An embodiment of the present disclosure provides a thumbnail display control method for displaying N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receiving a first of the N thumbnails of the user When the second input on the thumbnail is displayed, the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the thumbnail is identified by The first input triggers the terminal device to obtain a thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview. During the process of switching between the interface and viewing the taken photos, the user does not need to go to the photo album application to find and view the captured images after taking the images, and then return to the shooting preview interface to take photos again. , which simplifies the user's access to the shooting preview interface and viewing the taken photos. Switching process, improves the efficiency of the operation or the thumbnail display control process.
以上为本公开实施例提供的缩略图显示控制方法,基于同样的思路,本公开实施例还提供一种移动终端,如图8所示。The above is a thumbnail display control method provided by the embodiment of the present disclosure. Based on the same idea, the embodiment of the present disclosure further provides a mobile terminal, as shown in FIG. 8 .
所述移动终端包括第一接收模块801、第一响应模块802、第二接收模块803和第二响应模块804,其中:The mobile terminal includes a first receiving module 801, a first response module 802, a second receiving module 803, and a second response module 804, where:
第一接收模块801,用于接收用户在拍摄预览界面中的缩略图标识上的第一输入;The first receiving module 801 is configured to receive a first input of the user on the thumbnail identifier in the shooting preview interface;
第一响应模块802,用于响应于所述第一输入,显示N个缩略图;a first response module 802, configured to display N thumbnails in response to the first input;
第二接收模块803,用于接收用户在所述N个缩略图中的第一缩略图上的第二输入;a second receiving module 803, configured to receive a second input of the user on the first thumbnail of the N thumbnails;
第二响应模块804,用于响应于所述第二输入,显示所述第一缩略图的原始数据;a second response module 804, configured to display original data of the first thumbnail in response to the second input;
其中,所述原始数据包括图像和视频,所述第一缩略图的原始数据与所述N个缩略图同屏显示。The original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
本公开实施例中,所述第一响应模块802,包括:In the embodiment of the present disclosure, the first response module 802 includes:
第一数据确定单元,用于确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据;a first data determining unit, configured to determine N pieces of original data whose shooting time is less than a preset threshold from a current time interval;
排序单元,用于将所述N个原始数据对应的N个缩略图按照拍摄时间由近及远的顺序进行排序;a sorting unit, configured to sort the N thumbnails corresponding to the N pieces of original data in order of shooting time from near to far;
第一显示单元,用于在所述拍摄预览界面中,显示经过排序后的所述N个缩略图。a first display unit, configured to display the sorted N thumbnails in the shooting preview interface.
本公开实施例中,所述移动终端还包括:In the embodiment of the disclosure, the mobile terminal further includes:
尺寸获取模块,用于获取预设的缩略图的第一尺寸、相邻两个缩略图之间的间隔和所述拍摄预览界面的第二尺寸;a size obtaining module, configured to acquire a first size of the preset thumbnail, an interval between two adjacent thumbnails, and a second size of the shooting preview interface;
个数确定模块,用于根据所述第一尺寸、相邻两个缩略图之间的间隔和所述第二尺寸,确定原始数据的个数N。The number determining module is configured to determine the number N of the original data according to the first size, the interval between two adjacent thumbnails, and the second size.
本公开实施例中,所述个数确定模块,用于:In the embodiment of the present disclosure, the number determining module is configured to:
根据公式
Figure PCTCN2018118908-appb-000005
计算得到原始数据的个数N;
According to the formula
Figure PCTCN2018118908-appb-000005
Calculating the number N of the original data;
其中,wt为缩略图的宽度,ht为缩略图的高度,wt*ht为所述第一尺寸;w1*h1为所述第二尺寸,w1为拍摄预览界面的宽度,h1为拍摄预览界面的高 度,s1为相邻两个缩略图之间的间隔。Where wt is the width of the thumbnail, ht is the height of the thumbnail, wt*ht is the first size; w1*h1 is the second size, w1 is the width of the shooting preview interface, and h1 is the shooting preview interface. Height, s1 is the interval between two adjacent thumbnails.
本公开实施例中,所述第一输入为用户以所述缩略图标识为滑动起始位置的滑动操作;In the embodiment of the present disclosure, the first input is a sliding operation in which the user identifies the thumbnail as a sliding start position;
所述第一响应模块802,包括:The first response module 802 includes:
第二显示单元,用于响应于所述滑动操作,显示所述滑动操作的滑动轨迹;a second display unit, configured to display a sliding track of the sliding operation in response to the sliding operation;
第二数据确定单元,用于根据所述滑动轨迹,确定N个原始数据;a second data determining unit, configured to determine N pieces of original data according to the sliding track;
第三显示单元,用于沿着所述滑动轨迹,显示所述N个原始数据对应的N个缩略图。And a third display unit, configured to display N thumbnails corresponding to the N pieces of original data along the sliding track.
本公开实施例中,所述第三显示单元,用于按照拍摄时间由近至远的顺序,将所述N个缩略图均匀分布在所述滑动轨迹上;其中,每个缩略图的拍摄时间与所述滑动轨迹的滑动起始位置正相关。In the embodiment of the present disclosure, the third display unit is configured to evenly distribute the N thumbnails on the sliding track in order of shooting time from near to far; wherein, each thumbnail shooting time Positively correlated with the sliding start position of the sliding track.
本公开实施例中,还包括:In the embodiment of the disclosure, the method further includes:
第三接收模块,用于接收用户对所述N个缩略图中的第二缩略图的第三输入;a third receiving module, configured to receive a third input of a second thumbnail of the N thumbnails by a user;
删除模块,用于在所述第三输入为对所述第二缩略图的拖动操作且所述拖动操作的拖动结束位置位于所述滑动轨迹外的情况下,删除所述第二缩略图。a deleting module, configured to delete the second contraction if the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the sliding track Sketch map.
本公开实施例中,所述第二数据确定单元,用于获取所述缩略图标识的第三尺寸、预设的相邻两个缩略图之间的间隔和所述滑动轨迹的长度;根据所述第三尺寸、相邻两个缩略图之间的间隔和所述滑动轨迹的长度,确定原始数据的个数N;确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据。In the embodiment of the present disclosure, the second data determining unit is configured to acquire a third size of the thumbnail identifier, a preset interval between two adjacent thumbnails, and a length of the sliding track; The third size, the interval between two adjacent thumbnails, and the length of the sliding track determine the number N of the original data; and determine N pieces of original data whose shooting time is less than a preset threshold from the current time.
本公开实施例中,所述第二数据确定单元,用于:In the embodiment of the present disclosure, the second data determining unit is configured to:
根据公式
Figure PCTCN2018118908-appb-000006
计算得到原始数据的个数N;
According to the formula
Figure PCTCN2018118908-appb-000006
Calculating the number N of the original data;
其中,w2为缩略图标识的宽度,h2为缩略图标识的高度,w2*h2为缩略图标识的第三尺寸,s2为相邻两个缩略图之间的间隔,L为所述滑动轨迹的长度,max(w2,h2)表示w2和h2中的最大值。Where w2 is the width of the thumbnail identifier, h2 is the height of the thumbnail identifier, w2*h2 is the third size of the thumbnail identifier, s2 is the interval between the adjacent two thumbnails, and L is the sliding track. The length, max(w2, h2), represents the maximum value in w2 and h2.
本公开实施例中,所述第一缩略图的原始数据显示为第一透明度,且所 述N个缩略图显示为第二透明度,其中,所述第一透明度大于所述第二透明度;In an embodiment of the present disclosure, the original data of the first thumbnail is displayed as a first transparency, and the N thumbnails are displayed as a second transparency, wherein the first transparency is greater than the second transparency;
所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示,其中,第一层为显示界面的顶层,第二层为所述显示界面中的非顶层的图层。The N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display, wherein the first layer is a top layer of the display interface, and the second layer is a non-display interface The top layer.
本公开实施例中,所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示,还包括:In the embodiment of the present disclosure, the N thumbnails are displayed in the first layer, and the original data of the first thumbnail is displayed in the second layer, and further includes:
第四接收模块,用于接收用户在所述第一缩略图的原始数据上的第四输入;a fourth receiving module, configured to receive a fourth input of the user on the original data of the first thumbnail;
第四响应模块,用于响应于所述第四输入,将所述第一缩略图的原始数据切换至第一层显示;a fourth response module, configured to switch the original data of the first thumbnail to the first layer display in response to the fourth input;
第五接收模块,用于接收用户对所述第一缩略图的原始数据的编辑输入;a fifth receiving module, configured to receive an edit input of the original data of the first thumbnail by the user;
第五响应模块,用于响应于所述编辑输入,执行所述编辑输入对应的编辑操作。And a fifth response module, configured to perform an editing operation corresponding to the edit input in response to the edit input.
本公开实施例提供的移动终端能够实现图1至图7的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The mobile terminal provided by the embodiment of the present disclosure can implement various processes implemented by the terminal device in the method embodiment of FIG. 1 to FIG. 7. To avoid repetition, details are not described herein again.
本公开实施例提供一种移动终端,通过用户在拍摄预览界面中的缩略图标识上的第一输入,显示N个缩略图,并且在接收到用户在N个缩略图中的第一缩略图上的第二输入时,显示第一缩略图的原始数据,其中,原始数据包括图像和视频,第一缩略图的原始数据与N个缩略图同屏显示,这样,通过对缩略图标识的第一输入,触发终端设备获取拍摄的图像或视频的缩略图进行显示,方便用户及时对拍摄的图像或视频等原始数据进行查看或方便用户后续对原始数据的管理,从而使得用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程中不需要用户在拍摄图像后,需要进入相册应用程序中逐一查找并查看拍摄的图像,然后,再返回拍摄预览界面再次进行拍照的方式实现,从而简化了用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程,提高了对缩略图显示控制操作或处理的效率。An embodiment of the present disclosure provides a mobile terminal that displays N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receives a user on a first thumbnail of the N thumbnails. The second input, the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the first identifier is identified by the thumbnail Input, trigger the terminal device to obtain the thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview interface and view The process of switching between the two operations does not require the user to search for and view the captured image one by one after entering the image, and then return to the shooting preview interface to take the photo again, thus simplifying The user has switched between shooting the preview interface and viewing the taken photos. To improve the efficiency or operation of the thumbnail display control process.
图9为实现本公开各个实施例的一种移动终端的硬件结构示意图。FIG. 9 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure.
该移动终端900包括但不限于:射频单元901、网络模块902、音频输出 单元903、输入单元904、传感器905、显示单元906、操作体输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 900 includes, but is not limited to, a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, an operation body input unit 907, an interface unit 908, a memory 909, a processor 910, And power 911 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 9 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement. In the embodiments of the present disclosure, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
输入单元904,用于接收用户在拍摄预览界面中的缩略图标识上的第一输入;The input unit 904 is configured to receive a first input of the user on the thumbnail identifier in the shooting preview interface;
处理器910,用于响应于所述第一输入,显示N个缩略图;The processor 910 is configured to display N thumbnails in response to the first input;
输入单元904,还用于接收用户在所述N个缩略图中的第一缩略图上的第二输入;The input unit 904 is further configured to receive a second input of the user on the first thumbnail of the N thumbnails;
处理器910,还用于响应于所述第二输入,显示所述第一缩略图的原始数据;The processor 910 is further configured to display original data of the first thumbnail in response to the second input;
其中,所述原始数据包括图像和视频,所述第一缩略图的原始数据与所述N个缩略图同屏显示。The original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
另外,处理器910,还用于确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据;In addition, the processor 910 is further configured to determine N pieces of original data whose shooting time distance from the current time is less than a preset threshold;
处理器910,还用于将所述N个原始数据对应的N个缩略图按照拍摄时间由近及远的顺序进行排序;The processor 910 is further configured to sort the N thumbnails corresponding to the N pieces of original data in order of shooting time from near to far;
处理器910,还用于在所述拍摄预览界面中,显示经过排序后的所述N个缩略图。The processor 910 is further configured to display the sorted N thumbnails in the shooting preview interface.
此外,处理器910,还用于获取预设的缩略图的第一尺寸、相邻两个缩略图之间的间隔和所述拍摄预览界面的第二尺寸;In addition, the processor 910 is further configured to acquire a first size of the preset thumbnail, an interval between two adjacent thumbnails, and a second size of the shooting preview interface;
处理器910,还用于根据所述第一尺寸、相邻两个缩略图之间的间隔和所述第二尺寸,确定原始数据的个数N。The processor 910 is further configured to determine the number N of the original data according to the first size, the interval between two adjacent thumbnails, and the second size.
另外,处理器910,还用于根据公式
Figure PCTCN2018118908-appb-000007
计算得到原始数据的个数N;
In addition, the processor 910 is further configured according to a formula
Figure PCTCN2018118908-appb-000007
Calculating the number N of the original data;
其中,wt为缩略图的宽度,ht为缩略图的高度,wt*ht为所述第一尺寸;w1*h1为所述第二尺寸,w1为拍摄预览界面的宽度,h1为拍摄预览界面的高 度,s1为相邻两个缩略图之间的间隔。Where wt is the width of the thumbnail, ht is the height of the thumbnail, wt*ht is the first size; w1*h1 is the second size, w1 is the width of the shooting preview interface, and h1 is the shooting preview interface. Height, s1 is the interval between two adjacent thumbnails.
此外,处理器910,还用于响应于所述滑动操作,显示所述滑动操作的滑动轨迹;In addition, the processor 910 is further configured to display a sliding track of the sliding operation in response to the sliding operation;
处理器910,还用于根据所述滑动轨迹,确定N个原始数据;The processor 910 is further configured to determine N pieces of original data according to the sliding track;
处理器910,还用于沿着所述滑动轨迹,显示所述N个原始数据对应的N个缩略图。The processor 910 is further configured to display, according to the sliding track, N thumbnails corresponding to the N pieces of original data.
另外,处理器910,还用于按照拍摄时间由近至远的顺序,将所述N个缩略图均匀分布在所述滑动轨迹上;In addition, the processor 910 is further configured to evenly distribute the N thumbnails on the sliding track according to a shooting time from near to far;
其中,每个缩略图的拍摄时间与所述滑动轨迹的滑动起始位置正相关。Wherein, the shooting time of each thumbnail is positively correlated with the sliding starting position of the sliding track.
此外,输入单元904,还用于接收用户对所述N个缩略图中的第二缩略图的第三输入;In addition, the input unit 904 is further configured to receive a third input of the second thumbnail of the N thumbnails by the user;
处理器910,还用于在所述第三输入为对所述第二缩略图的拖动操作且所述拖动操作的拖动结束位置位于所述滑动轨迹外的情况下,删除所述第二缩略图。The processor 910 is further configured to: when the third input is a drag operation on the second thumbnail, and the drag end position of the drag operation is outside the sliding track, deleting the first Two thumbnails.
另外,处理器910,还用于获取所述缩略图标识的第三尺寸、预设的相邻两个缩略图之间的间隔和所述滑动轨迹的长度;In addition, the processor 910 is further configured to acquire a third size of the thumbnail identifier, a preset interval between two adjacent thumbnails, and a length of the sliding track;
处理器910,还用于根据所述第三尺寸、相邻两个缩略图之间的间隔和所述滑动轨迹的长度,确定原始数据的个数N;The processor 910 is further configured to determine, according to the third size, an interval between two adjacent thumbnails, and a length of the sliding track, a number N of original data;
处理器910,还用于确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据。The processor 910 is further configured to determine N pieces of original data whose shooting time distance from the current time is less than a preset threshold.
此外,处理器910,还用于根据公式
Figure PCTCN2018118908-appb-000008
计算得到原始数据的个数N;
In addition, the processor 910 is further configured according to a formula
Figure PCTCN2018118908-appb-000008
Calculating the number N of the original data;
其中,w2为缩略图标识的宽度,h2为缩略图标识的高度,w2*h2为缩略图标识的第三尺寸,s2为相邻两个缩略图之间的间隔,L为所述滑动轨迹的长度,max(w2,h2)表示w2和h2中的最大值。Where w2 is the width of the thumbnail identifier, h2 is the height of the thumbnail identifier, w2*h2 is the third size of the thumbnail identifier, s2 is the interval between the adjacent two thumbnails, and L is the sliding track. The length, max(w2, h2), represents the maximum value in w2 and h2.
可选地,所述第一缩略图的原始数据显示为第一透明度,且所述N个缩略图显示为第二透明度,其中,所述第一透明度大于所述第二透明度;Optionally, the original data of the first thumbnail is displayed as a first transparency, and the N thumbnails are displayed as a second transparency, wherein the first transparency is greater than the second transparency;
所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示,其中,第一层为显示界面的顶层,第二层为所述显示界面中的非顶层 的图层。The N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display, wherein the first layer is a top layer of the display interface, and the second layer is a non-display interface The top layer.
另外,输入单元904,还用于接收用户在所述第一缩略图的原始数据上的第四输入;In addition, the input unit 904 is further configured to receive a fourth input of the user on the original data of the first thumbnail;
处理器910,还用于响应于所述第四输入,将所述第一缩略图的原始数据切换至第一层显示;The processor 910 is further configured to switch the original data of the first thumbnail to the first layer display in response to the fourth input;
输入单元904,还用于接收用户对所述第一缩略图的原始数据的编辑输入;The input unit 904 is further configured to receive an edit input of the original data of the first thumbnail by the user;
处理器910,还用于响应于所述编辑输入,执行所述编辑输入对应的编辑操作。The processor 910 is further configured to perform an editing operation corresponding to the edit input in response to the edit input.
本公开实施例提供一种移动终端,通过用户在拍摄预览界面中的缩略图标识上的第一输入,显示N个缩略图,并且在接收到用户在N个缩略图中的第一缩略图上的第二输入时,显示第一缩略图的原始数据,其中,原始数据包括图像和视频,第一缩略图的原始数据与N个缩略图同屏显示,这样,通过对缩略图标识的第一输入,触发终端设备获取拍摄的图像或视频的缩略图进行显示,方便用户及时对拍摄的图像或视频等原始数据进行查看或方便用户后续对原始数据的管理,从而使得用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程中不需要用户在拍摄图像后,需要进入相册应用程序中逐一查找并查看拍摄的图像,然后,再返回拍摄预览界面再次进行拍照的方式实现,从而简化了用户进入拍摄预览界面和查看已拍摄照片两种操作之间切换的过程,提高了对缩略图显示控制操作或处理的效率。An embodiment of the present disclosure provides a mobile terminal that displays N thumbnails by a first input of a user on a thumbnail identifier in a shooting preview interface, and receives a user on a first thumbnail of the N thumbnails. The second input, the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the first identifier is identified by the thumbnail Input, trigger the terminal device to obtain the thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby allowing the user to enter the shooting preview interface and view The process of switching between the two operations does not require the user to search for and view the captured image one by one after entering the image, and then return to the shooting preview interface to take the photo again, thus simplifying The user has switched between shooting the preview interface and viewing the taken photos. To improve the efficiency or operation of the thumbnail display control process.
应理解的是,本公开实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信***与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 901 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 910; The uplink data is sent to the base station. Generally, radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 901 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块902为操作体提供了无线的宽带互联网访问,如帮助操作体收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides wireless broadband Internet access to the operating body through the network module 902, such as helping the operating body to send and receive emails, browse web pages, and access streaming media.
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输 出单元903还可以提供与移动终端900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。The audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as a sound. Moreover, the audio output unit 903 can also provide audio output (e.g., call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 900. The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The input unit 904 is for receiving an audio or video signal. The input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042 that images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The data is processed. The processed image frame can be displayed on the display unit 906. The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio unit 901 or the network module 902. The microphone 9042 can receive sound and can process such sound as audio data. The processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 901 in the case of a telephone call mode.
移动终端900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在移动终端900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 900 also includes at least one type of sensor 905, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 9061 when the mobile terminal 900 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; sensor 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
显示单元906用于显示由操作体输入的信息或提供给操作体的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。The display unit 906 is for displaying information input by the operating body or information supplied to the operating body. The display unit 906 can include a display panel 9061. The display panel 9061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
操作体输入单元907可用于接收输入的数字或字符信息,以及产生与移动终端的操作体设置以及功能控制有关的键信号输入。具体地,操作体输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称 为触摸屏,可收集操作体在其上或附近的触摸操作(比如操作体使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测操作体的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,操作体输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The operating body input unit 907 can be configured to receive input numeric or character information, and generate key signal inputs related to the operating body settings and function control of the mobile terminal. Specifically, the operation body input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, can collect touch operations on or near the operating body (such as the operating body using a finger, a stylus, or the like on the touch panel 9071 or the touch panel 9071 Nearby operations). The touch panel 9071 may include two parts of a touch detection device and a touch controller. Wherein, the touch detecting device detects a touch orientation of the operating body, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detecting device, and converts the touch information into a contact coordinate, The processor 910 is again sent to receive the command sent by the processor 910 and executed. In addition, the touch panel 9071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 9071, the operation body input unit 907 may further include other input devices 9072. Specifically, other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, and are not described herein again.
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 9071 may be overlaid on the display panel 9061. When the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel 9071 transmits to the processor 910 to determine the type of the touch event, and then the processor 910 according to the touch. The type of event provides a corresponding visual output on display panel 9061. Although in FIG. 9, the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
接口单元908为外部装置与移动终端900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端900内的一个或多个元件或者可以用于在移动终端900和外部装置之间传输数据。The interface unit 908 is an interface in which an external device is connected to the mobile terminal 900. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The interface unit 908 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 900 or can be used at the mobile terminal 900 and externally Data is transferred between devices.
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例 如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 Memory 909 can be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Further, the memory 909 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器910是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器910可包括一个或多个处理单元;可选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、操作体界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 909, and recalling data stored in the memory 909. The mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal. The processor 910 can include one or more processing units; optionally, the processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, an operating body interface, an application, etc., and modulates The demodulation processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 910.
移动终端900还可以包括给各个部件供电的电源911(比如电池),可选的,电源911可以通过电源管理***与处理器910逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The mobile terminal 900 may further include a power source 911 (such as a battery) for supplying power to various components. Alternatively, the power source 911 may be logically connected to the processor 910 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
可选的,本公开实施例还提供一种移动终端,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述缩略图显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a mobile terminal, including a processor 910, a memory 909, a computer program stored on the memory 909 and executable on the processor 910, where the computer program is executed by the processor 910. The various processes of the foregoing thumbnail display control method embodiment are implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述缩略图显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements various processes of the thumbnail display control method embodiment, and can achieve the same The technical effect, in order to avoid duplication, will not be repeated here. The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
本公开实施例提供一种计算机可读存储介质,通过用户在拍摄预览界面中的缩略图标识上的第一输入,显示N个缩略图,并且在接收到用户在N个缩略图中的第一缩略图上的第二输入时,显示第一缩略图的原始数据,其中,原始数据包括图像和视频,第一缩略图的原始数据与N个缩略图同屏显示,这样,通过对缩略图标识的第一输入,触发终端设备获取拍摄的图像或视频的缩略图进行显示,方便用户及时对拍摄的图像或视频等原始数据进行查看或方便用户后续对原始数据的管理,从而使得用户对拍摄的图像或视频等原始数据进行查找或编辑的过程中不需要用户先进入相册应用程序中逐一查找的方式实现,从而提高了对缩略图显示控制操作或处理的效率。An embodiment of the present disclosure provides a computer readable storage medium that displays N thumbnails by a first input on a thumbnail identifier in a shooting preview interface, and receives a first of the N thumbnails of the user When the second input on the thumbnail is displayed, the original data of the first thumbnail is displayed, wherein the original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails, so that the thumbnail is identified by The first input triggers the terminal device to obtain a thumbnail of the captured image or video for display, so that the user can view the original data such as the captured image or video in time or facilitate the subsequent management of the original data by the user, thereby enabling the user to shoot the image. In the process of searching or editing original data such as images or videos, the user does not need to first enter the album application to search one by one, thereby improving the efficiency of the thumbnail display control operation or processing.
本领域内的技术人员应明白,本公开的实施例可提供为方法、***、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may employ computer usable storage media (including but not limited to disk storage, compact disc read-on memory (CD-ROM), optical storage, etc., in one or more of the computer usable program code embodied therein. The form of the computer program product implemented on.
本公开是参照根据本公开实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(Central Processing Unit,CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (Central Processing Units, CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、 程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-change Random Access memory,PRAM)、静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器((Dynamic RAM,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(Electrically Erasable PROM,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(Digital Video Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory ((Dynamic RAM, DRAM), Other types of random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, read-only optical ROM (CD-ROM), Digital Video Disc (DVD) or other optical storage, magnetic cassette, magnetic tape storage or other magnetic storage device or any other non-transportable medium that can be used to store computing devices Information Accessed. As defined herein, computer readable media does not include temporary storage computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本公开的实施例可提供为方法、***或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
以上所述仅为本公开的实施例而已,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above description is only for the embodiments of the present disclosure, and is not intended to limit the disclosure. Various changes and modifications of the present disclosure are possible to those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present disclosure are intended to be included within the scope of the appended claims.

Claims (24)

  1. 一种缩略图显示控制方法,包括:A thumbnail display control method includes:
    接收用户在拍摄预览界面中的缩略图标识上的第一输入;Receiving a first input of a user on a thumbnail identifier in a shooting preview interface;
    响应于所述第一输入,显示N个缩略图;Displaying N thumbnails in response to the first input;
    接收用户在所述N个缩略图中的第一缩略图上的第二输入;Receiving a second input of the user on the first of the N thumbnails;
    响应于所述第二输入,显示所述第一缩略图的原始数据;Displaying raw data of the first thumbnail in response to the second input;
    其中,所述原始数据包括图像和视频,所述第一缩略图的原始数据与所述N个缩略图同屏显示。The original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  2. 根据权利要求1所述的方法,其中,所述显示N个缩略图,包括:The method of claim 1 wherein said displaying N thumbnails comprises:
    确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据;Determining N pieces of original data whose shooting time is less than a preset threshold from a current time interval;
    将所述N个原始数据对应的N个缩略图按照拍摄时间由近及远的顺序进行排序;N thumbnails corresponding to the N pieces of original data are sorted in order of near and far according to shooting time;
    在所述拍摄预览界面中,显示经过排序后的所述N个缩略图。In the shooting preview interface, the sorted N thumbnails are displayed.
  3. 根据权利要求2所述的方法,还包括:所述确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据之前,The method according to claim 2, further comprising: before the N pieces of original data determining that the time interval of the shooting time is less than a preset threshold
    获取预设的缩略图的第一尺寸、相邻两个缩略图之间的间隔和所述拍摄预览界面的第二尺寸;Obtaining a first size of the preset thumbnail, an interval between two adjacent thumbnails, and a second size of the shooting preview interface;
    根据所述第一尺寸、相邻两个缩略图之间的间隔和所述第二尺寸,确定原始数据的个数N。The number N of original data is determined according to the first size, the interval between adjacent two thumbnails, and the second size.
  4. 根据权利要求3所述的方法,其中,所述根据所述第一尺寸、相邻两个缩略图之间的间隔和所述第二尺寸,确定原始数据的个数N,包括:The method according to claim 3, wherein said determining the number N of raw data according to said first size, an interval between adjacent two thumbnails, and said second size comprises:
    根据公式
    Figure PCTCN2018118908-appb-100001
    计算得到原始数据的个数N;
    According to the formula
    Figure PCTCN2018118908-appb-100001
    Calculating the number N of the original data;
    其中,wt为缩略图的宽度,ht为缩略图的高度,wt*ht为所述第一尺寸;w1*h1为所述第二尺寸,w1为拍摄预览界面的宽度,h1为拍摄预览界面的高度,s1为相邻两个缩略图之间的间隔。Where wt is the width of the thumbnail, ht is the height of the thumbnail, wt*ht is the first size; w1*h1 is the second size, w1 is the width of the shooting preview interface, and h1 is the shooting preview interface. Height, s1 is the interval between two adjacent thumbnails.
  5. 根据权利要求1所述的方法,其中,所述第一输入为用户以所述缩略图标识为滑动起始位置的滑动操作;The method of claim 1, wherein the first input is a sliding operation in which the user identifies the thumbnail as a sliding start position;
    所述响应于所述第一输入,显示N个缩略图,包括:In response to the first input, displaying N thumbnails, including:
    响应于所述滑动操作,显示所述滑动操作的滑动轨迹;Displaying a sliding trajectory of the sliding operation in response to the sliding operation;
    根据所述滑动轨迹,确定N个原始数据;Determining N pieces of original data according to the sliding trajectory;
    沿着所述滑动轨迹,显示所述N个原始数据对应的N个缩略图。Along the sliding track, N thumbnails corresponding to the N original data are displayed.
  6. 根据权利要求5所述的方法,其中,所述沿着所述滑动轨迹,显示所述N个原始数据对应的N个缩略图,包括:The method according to claim 5, wherein the displaying the N thumbnails corresponding to the N pieces of original data along the sliding track comprises:
    按照拍摄时间由近至远的顺序,将所述N个缩略图均匀分布在所述滑动轨迹上;Locating the N thumbnails evenly on the sliding track in order of shooting time from near to far;
    其中,每个缩略图的拍摄时间与所述滑动轨迹的滑动起始位置正相关。Wherein, the shooting time of each thumbnail is positively correlated with the sliding starting position of the sliding track.
  7. 根据权利要求5所述的方法,还包括:所述沿着所述滑动轨迹,显示所述N个原始数据对应的N个缩略图之后,The method according to claim 5, further comprising: after displaying the N thumbnails corresponding to the N pieces of original data along the sliding track,
    接收用户对所述N个缩略图中的第二缩略图的第三输入;Receiving a third input of a second thumbnail of the N thumbnails by a user;
    在所述第三输入为对所述第二缩略图的拖动操作且所述拖动操作的拖动结束位置位于所述滑动轨迹外的情况下,删除所述第二缩略图。In a case where the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the sliding track, the second thumbnail is deleted.
  8. 根据权利要求5所述的方法,其中,所述根据所述滑动轨迹,确定N个原始数据,包括:The method of claim 5, wherein the determining the N pieces of raw data according to the sliding trajectory comprises:
    获取所述缩略图标识的第三尺寸、预设的相邻两个缩略图之间的间隔和所述滑动轨迹的长度;Obtaining a third size of the thumbnail identifier, a spacing between preset adjacent two thumbnails, and a length of the sliding track;
    根据所述第三尺寸、相邻两个缩略图之间的间隔和所述滑动轨迹的长度,确定原始数据的个数N;Determining the number N of the original data according to the third size, the interval between two adjacent thumbnails, and the length of the sliding track;
    确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据。Determining N pieces of raw data whose shooting time is less than a preset threshold from a current time interval.
  9. 根据权利要求8所述的方法,其中,所述根据所述第三尺寸、相邻两个缩略图之间的间隔和所述滑动轨迹的长度,确定原始数据的个数N,包括:The method according to claim 8, wherein said determining the number N of raw data according to said third size, an interval between adjacent two thumbnails, and a length of said sliding track comprises:
    根据公式
    Figure PCTCN2018118908-appb-100002
    计算得到原始数据的个数N;
    According to the formula
    Figure PCTCN2018118908-appb-100002
    Calculating the number N of the original data;
    其中,w2为缩略图标识的宽度,h2为缩略图标识的高度,w2*h2为缩略图标识的第三尺寸,s2为相邻两个缩略图之间的间隔,L为所述滑动轨迹的长度,max(w2,h2)表示w2和h2中的最大值。Where w2 is the width of the thumbnail identifier, h2 is the height of the thumbnail identifier, w2*h2 is the third size of the thumbnail identifier, s2 is the interval between the adjacent two thumbnails, and L is the sliding track. The length, max(w2, h2), represents the maximum value in w2 and h2.
  10. 根据权利要求1所述的方法,还包括以下至少一项:The method of claim 1 further comprising at least one of the following:
    所述第一缩略图的原始数据显示为第一透明度,且所述N个缩略图显示为第二透明度,其中,所述第一透明度大于所述第二透明度;The original data of the first thumbnail is displayed as a first transparency, and the N thumbnails are displayed as a second transparency, wherein the first transparency is greater than the second transparency;
    所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示,其中,第一层为显示界面的顶层,第二层为所述显示界面中的非顶层的图层。The N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display, wherein the first layer is a top layer of the display interface, and the second layer is a non-display interface The top layer.
  11. 根据权利要求10所述的方法,其中,所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示;The method of claim 10, wherein the N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display;
    所述响应于所述第二输入,显示所述第一缩略图的原始数据之后,所述方法还包括:After the displaying the original data of the first thumbnail in response to the second input, the method further includes:
    接收用户在所述第一缩略图的原始数据上的第四输入;Receiving a fourth input of the user on the original data of the first thumbnail;
    响应于所述第四输入,将所述第一缩略图的原始数据切换至第一层显示;Switching the original data of the first thumbnail to the first layer display in response to the fourth input;
    接收用户对所述第一缩略图的原始数据的编辑输入;Receiving an edit input of the user's original data of the first thumbnail;
    响应于所述编辑输入,执行所述编辑输入对应的编辑操作。In response to the edit input, an edit operation corresponding to the edit input is performed.
  12. 一种移动终端,包括:A mobile terminal includes:
    第一接收模块,用于接收用户在拍摄预览界面中的缩略图标识上的第一输入;a first receiving module, configured to receive a first input of a user on a thumbnail identifier in the shooting preview interface;
    第一响应模块,用于响应于所述第一输入,显示N个缩略图;a first response module, configured to display N thumbnails in response to the first input;
    第二接收模块,用于接收用户在所述N个缩略图中的第一缩略图上的第二输入;a second receiving module, configured to receive a second input of the user on the first thumbnail of the N thumbnails;
    第二响应模块,用于响应于所述第二输入,显示所述第一缩略图的原始数据;a second response module, configured to display original data of the first thumbnail in response to the second input;
    其中,所述原始数据包括图像和视频,所述第一缩略图的原始数据与所述N个缩略图同屏显示。The original data includes an image and a video, and the original data of the first thumbnail is displayed on the same screen as the N thumbnails.
  13. 根据权利要求12所述的移动终端,其中,所述第一响应模块,包括:The mobile terminal of claim 12, wherein the first response module comprises:
    第一数据确定单元,用于确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据;a first data determining unit, configured to determine N pieces of original data whose shooting time is less than a preset threshold from a current time interval;
    排序单元,用于将所述N个原始数据对应的N个缩略图按照拍摄时间由近及远的顺序进行排序;a sorting unit, configured to sort the N thumbnails corresponding to the N pieces of original data in order of shooting time from near to far;
    第一显示单元,用于在所述拍摄预览界面中,显示经过排序后的所述N个缩略图。a first display unit, configured to display the sorted N thumbnails in the shooting preview interface.
  14. 根据权利要求13所述的移动终端,还包括:The mobile terminal of claim 13, further comprising:
    尺寸获取模块,用于获取预设的缩略图的第一尺寸、相邻两个缩略图之间的间隔和所述拍摄预览界面的第二尺寸;a size obtaining module, configured to acquire a first size of the preset thumbnail, an interval between two adjacent thumbnails, and a second size of the shooting preview interface;
    个数确定模块,用于根据所述第一尺寸、相邻两个缩略图之间的间隔和所述第二尺寸,确定原始数据的个数N。The number determining module is configured to determine the number N of the original data according to the first size, the interval between two adjacent thumbnails, and the second size.
  15. 根据权利要求14所述的移动终端,其中,所述个数确定模块,用于:The mobile terminal of claim 14, wherein the number determining module is configured to:
    根据公式
    Figure PCTCN2018118908-appb-100003
    计算得到原始数据的个数N;
    According to the formula
    Figure PCTCN2018118908-appb-100003
    Calculating the number N of the original data;
    其中,wt为缩略图的宽度,ht为缩略图的高度,wt*ht为所述第一尺寸;w1*h1为所述第二尺寸,w1为拍摄预览界面的宽度,h1为拍摄预览界面的高度,s1为相邻两个缩略图之间的间隔。Where wt is the width of the thumbnail, ht is the height of the thumbnail, wt*ht is the first size; w1*h1 is the second size, w1 is the width of the shooting preview interface, and h1 is the shooting preview interface. Height, s1 is the interval between two adjacent thumbnails.
  16. 根据权利要求12所述的移动终端,其中,所述第一输入以用户对所述缩略图标识为滑动起始位置的滑动操作;The mobile terminal of claim 12, wherein the first input is a sliding operation in which the user identifies the thumbnail as a sliding start position;
    所述第一响应模块,包括:The first response module includes:
    第二显示单元,用于响应于所述滑动操作,显示所述滑动操作的滑动轨迹;a second display unit, configured to display a sliding track of the sliding operation in response to the sliding operation;
    第二数据确定单元,用于根据所述滑动轨迹,确定N个原始数据;a second data determining unit, configured to determine N pieces of original data according to the sliding track;
    第三显示单元,用于沿着所述滑动轨迹,显示所述N个原始数据对应的N个缩略图。And a third display unit, configured to display N thumbnails corresponding to the N pieces of original data along the sliding track.
  17. 根据权利要求16所述的移动终端,其中,所述第三显示单元,用于按照拍摄时间由近至远的顺序,将所述N个缩略图均匀分布在所述滑动轨迹上;其中,每个缩略图的拍摄时间与所述滑动轨迹的滑动起始位置正相关。The mobile terminal according to claim 16, wherein the third display unit is configured to evenly distribute the N thumbnails on the sliding track in order of shooting time from near to far; wherein each The shooting time of the thumbnails is positively correlated with the sliding start position of the sliding track.
  18. 根据权利要求16所述的移动终端,还包括:The mobile terminal of claim 16, further comprising:
    第三接收模块,用于接收用户对所述N个缩略图中的第二缩略图的第三输入;a third receiving module, configured to receive a third input of a second thumbnail of the N thumbnails by a user;
    删除模块,用于在所述第三输入为对所述第二缩略图的拖动操作且所述拖动操作的拖动结束位置位于所述滑动轨迹外的情况下,删除所述第二缩略图。a deleting module, configured to delete the second contraction if the third input is a drag operation on the second thumbnail and the drag end position of the drag operation is outside the sliding track Sketch map.
  19. 根据权利要求16所述的移动终端,其中,所述第二数据确定单元,用于获取所述缩略图标识的第三尺寸、预设的相邻两个缩略图之间的间隔和所述滑动轨迹的长度;根据所述第三尺寸、相邻两个缩略图之间的间隔和所 述滑动轨迹的长度,确定原始数据的个数N;确定拍摄时间距离当前时刻的时间间隔小于预设阈值的N个原始数据。The mobile terminal according to claim 16, wherein the second data determining unit is configured to acquire a third size of the thumbnail identifier, a spacing between preset two adjacent thumbnails, and the sliding Length of the track; determining the number N of the original data according to the third size, the interval between the adjacent two thumbnails, and the length of the sliding track; determining that the time interval between the shooting time and the current time is less than a preset threshold N raw data.
  20. 根据权利要求19所述的移动终端,其中,所述第二数据确定单元,用于:The mobile terminal of claim 19, wherein the second data determining unit is configured to:
    根据公式
    Figure PCTCN2018118908-appb-100004
    计算得到原始数据的个数N;
    According to the formula
    Figure PCTCN2018118908-appb-100004
    Calculating the number N of the original data;
    其中,w2为缩略图标识的宽度,h2为缩略图标识的高度,w2*h2为缩略图标识的第三尺寸,s2为相邻两个缩略图之间的间隔,L为所述滑动轨迹的长度,max(w2,h2)表示w2和h2中的最大值。Where w2 is the width of the thumbnail identifier, h2 is the height of the thumbnail identifier, w2*h2 is the third size of the thumbnail identifier, s2 is the interval between the adjacent two thumbnails, and L is the sliding track. The length, max(w2, h2), represents the maximum value in w2 and h2.
  21. 根据权利要求12所述的移动终端,其中,所述第一缩略图的原始数据显示为第一透明度,且所述N个缩略图显示为第二透明度,其中,所述第一透明度大于所述第二透明度;The mobile terminal of claim 12, wherein the original data of the first thumbnail is displayed as a first transparency, and the N thumbnails are displayed as a second transparency, wherein the first transparency is greater than the Second transparency;
    所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示,其中,第一层为所述拍摄预览界面的顶层,第二层为所述拍摄预览界面中的非顶层的图层。The N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display, wherein the first layer is a top layer of the shooting preview interface, and the second layer is the shooting preview A non-top layer in the interface.
  22. 根据权利要求21所述的移动终端,其中,所述N个缩略图为第一层显示,且所述第一缩略图的原始数据为第二层显示;The mobile terminal of claim 21, wherein the N thumbnails are displayed in a first layer, and the original data of the first thumbnail is a second layer display;
    所述移动终端还包括:The mobile terminal further includes:
    第四接收模块,用于接收用户在所述第一缩略图的原始数据上的第四输入;a fourth receiving module, configured to receive a fourth input of the user on the original data of the first thumbnail;
    第四响应模块,用于响应于所述第四输入,将所述第一缩略图的原始数据切换至第一层显示;a fourth response module, configured to switch the original data of the first thumbnail to the first layer display in response to the fourth input;
    第五接收模块,用于接收用户对所述第一缩略图的原始数据的编辑输入;a fifth receiving module, configured to receive an edit input of the original data of the first thumbnail by the user;
    第五响应模块,用于响应于所述编辑输入,执行所述编辑输入对应的编辑操作。And a fifth response module, configured to perform an editing operation corresponding to the edit input in response to the edit input.
  23. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至11中任一项所述的缩略图显示控制方法的步骤。A mobile terminal comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the computer program being executed by the processor to implement any of claims 1 to 11 A step of displaying the thumbnail display control method.
  24. 一种计算机可读存储介质,存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至11中任一所述的缩略图显示控制方法的步骤。A computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps of the thumbnail display control method according to any one of claims 1 to 11.
PCT/CN2018/118908 2017-12-19 2018-12-03 Thumbnail display control method and mobile terminal WO2019120068A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711378450.4A CN108089788B (en) 2017-12-19 2017-12-19 Thumbnail display control method and mobile terminal
CN201711378450.4 2017-12-19

Publications (1)

Publication Number Publication Date
WO2019120068A1 true WO2019120068A1 (en) 2019-06-27

Family

ID=62177380

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/118908 WO2019120068A1 (en) 2017-12-19 2018-12-03 Thumbnail display control method and mobile terminal

Country Status (2)

Country Link
CN (1) CN108089788B (en)
WO (1) WO2019120068A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089788B (en) * 2017-12-19 2019-12-06 维沃移动通信有限公司 Thumbnail display control method and mobile terminal
CN108905203B (en) * 2018-07-11 2022-04-29 网易(杭州)网络有限公司 Information processing method, information processing apparatus, storage medium, and electronic apparatus
CN109359218A (en) * 2018-09-20 2019-02-19 传线网络科技(上海)有限公司 Multimedia resource methods of exhibiting and device
CN109348137B (en) * 2018-11-30 2021-11-16 努比亚技术有限公司 Mobile terminal photographing control method and device, mobile terminal and storage medium
CN109829070B (en) 2019-01-29 2021-01-08 维沃移动通信有限公司 Image searching method and terminal equipment
CN110673772B (en) * 2019-10-10 2021-07-02 北京无限光场科技有限公司 Page returning method and device, electronic equipment and computer readable medium
CN110891144B (en) * 2019-11-28 2021-11-19 维沃移动通信有限公司 Image display method and electronic equipment
CN113055585B (en) * 2019-12-27 2022-06-10 青岛海信移动通信技术股份有限公司 Thumbnail display method of shooting interface and mobile terminal
CN111159449B (en) * 2019-12-31 2024-04-16 维沃移动通信有限公司 Image display method and electronic equipment
CN112000250B (en) * 2020-07-29 2023-09-05 北京达佳互联信息技术有限公司 Information processing method, device, electronic equipment and storage medium
CN112492205B (en) * 2020-11-30 2023-05-09 维沃移动通信(杭州)有限公司 Image preview method and device and electronic equipment
CN112637507B (en) * 2020-12-30 2023-03-28 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN112836086B (en) * 2020-12-31 2023-06-23 维沃移动通信有限公司 Video processing method and device and electronic equipment
CN115484398B (en) * 2021-06-16 2023-12-08 荣耀终端有限公司 Video shooting method and electronic equipment
CN113918766B (en) * 2021-08-12 2023-10-13 荣耀终端有限公司 Video thumbnail display method, apparatus and storage medium
CN114594883A (en) * 2022-02-25 2022-06-07 北京达佳互联信息技术有限公司 Shooting method, shooting device, shooting equipment and storage medium
CN116528038B (en) * 2023-07-03 2023-10-20 荣耀终端有限公司 Image processing method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902615A (en) * 2012-12-28 2014-07-02 腾讯科技(深圳)有限公司 Photo processing method, photo processing device and mobile terminal
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment
CN108089788A (en) * 2017-12-19 2018-05-29 维沃移动通信有限公司 A kind of thumbnail display control method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010250766A (en) * 2009-04-20 2010-11-04 Olympus Imaging Corp Device, method and program for controlling operation
KR102230267B1 (en) * 2014-09-04 2021-03-19 삼성전자주식회사 Apparatus and method of displaying images
CN105183346B (en) * 2015-08-27 2019-03-01 努比亚技术有限公司 Image display apparatus and method
KR101832966B1 (en) * 2015-11-10 2018-02-28 엘지전자 주식회사 Mobile terminal and method of controlling the same
CN105760100A (en) * 2016-02-01 2016-07-13 广东欧珀移动通信有限公司 Shoot interface control method and device and mobile terminal
CN106161931A (en) * 2016-06-28 2016-11-23 广东欧珀移动通信有限公司 The method and device of image preview

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902615A (en) * 2012-12-28 2014-07-02 腾讯科技(深圳)有限公司 Photo processing method, photo processing device and mobile terminal
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment
CN108089788A (en) * 2017-12-19 2018-05-29 维沃移动通信有限公司 A kind of thumbnail display control method and mobile terminal

Also Published As

Publication number Publication date
CN108089788B (en) 2019-12-06
CN108089788A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
WO2019120068A1 (en) Thumbnail display control method and mobile terminal
WO2019137429A1 (en) Picture processing method and mobile terminal
CN108108114B (en) A kind of thumbnail display control method and mobile terminal
CN107995429B (en) Shooting method and mobile terminal
CN110020140B (en) Recommended content display method, device and system
CN109145142B (en) Management method and terminal for shared information of pictures
WO2021104236A1 (en) Method for sharing photographing parameter, and electronic apparatus
CN110069181B (en) File processing method, device, equipment and storage medium crossing folders
CN111010510A (en) Shooting control method and device and electronic equipment
WO2018171047A1 (en) Photographing guide method, device and system
CN108182271B (en) Photographing method, terminal and computer readable storage medium
KR20180133743A (en) Mobile terminal and method for controlling the same
CN111159449B (en) Image display method and electronic equipment
CN109862266B (en) Image sharing method and terminal
JP2023502326A (en) Video display methods, electronics and media
WO2022048398A1 (en) Multimedia data photographing method and terminal
CN111597370B (en) Shooting method and electronic equipment
CN109618192B (en) Method, device, system and storage medium for playing video
CN108769374A (en) A kind of image management method and mobile terminal
CN109684277B (en) Image display method and terminal
WO2021104159A1 (en) Display control method and electronic device
EP3842906A1 (en) Photograph album presentation method, electronic device and storage medium
WO2019076377A1 (en) Image viewing method and mobile terminal
WO2020011080A1 (en) Display control method and terminal device
CN107888833A (en) A kind of image capturing method and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18891762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18891762

Country of ref document: EP

Kind code of ref document: A1