WO2017024964A1 - Object-associated image quick preview method and device - Google Patents

Object-associated image quick preview method and device Download PDF

Info

Publication number
WO2017024964A1
WO2017024964A1 PCT/CN2016/092817 CN2016092817W WO2017024964A1 WO 2017024964 A1 WO2017024964 A1 WO 2017024964A1 CN 2016092817 W CN2016092817 W CN 2016092817W WO 2017024964 A1 WO2017024964 A1 WO 2017024964A1
Authority
WO
WIPO (PCT)
Prior art keywords
item
picture
viewed
preview
preset
Prior art date
Application number
PCT/CN2016/092817
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 WO2017024964A1 publication Critical patent/WO2017024964A1/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

Definitions

  • the present application relates to the field of picture preview technology, and in particular, to a method for quickly previewing an item-related picture.
  • the application also relates to a device for quickly previewing an item-associated picture, and a mobile terminal.
  • the image previewing method provided by the prior art in the list of items to be viewed displayed on the screen of the mobile terminal, generally adopts the following process to implement a preview of the image of the item to be viewed: “List of items to be viewed-> items to be viewed Details->View item to preview item->Detailed item to be viewed”; the user first selects the item to be viewed in the list, selects the item to be viewed, and enters the detail page of the item to be viewed in the selected item, in which to view The item details page selects the corresponding preview image click to enter the view page of the detailed map corresponding to the selected preview image.
  • the image preview method provided by the above-mentioned prior art, when applied to the mobile terminal to preview the picture of the item to be viewed, the process of the user acquiring the picture information of the item to be viewed is complicated, the path is too long, and the waiting time is generated in the middle, which is time consuming. Power consumption, once the user has viewed a large number of items to be viewed, it needs to repeat a large number of actions, and the operation is cumbersome; at the same time, due to the large number of pages loaded during the preview process, the data traffic is expensive.
  • the present application provides a method for quickly previewing an item-related picture to solve the problem of cumbersome operation and serious traffic consumption in the prior art.
  • the application also relates to a device for quickly previewing an item-associated picture, and a mobile terminal.
  • the application provides a method for quickly previewing an item-related image, including:
  • the preview identifier includes:
  • the associated image of the item to be viewed includes:
  • the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner including:
  • the preview image is aggregated and displayed in the determined arrangement and the display size of each preview.
  • the preview image when the preview image is displayed on the new layer, the preview image is displayed on the new layer in an animated manner according to position coordinate information and displacement track information preset by each preview image. A corresponding animation of the displacement occurs, and finally the preview image after the aggregation is displayed in the available display area.
  • the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
  • the original picture corresponding to the selected preview image is displayed in the available display area in a single format in a size compatible with the available display area.
  • the displaying, in a single format, the original image corresponding to the selected preview image in a size suitable for the available display area specifically, the original image is animated Move from home to new The display position is enlarged while its size is enlarged.
  • the displacement trajectory information of the original picture is corresponding to the position coordinate information of the selected preview image and the selected preview image.
  • the center of the original picture and the preset displacement trajectory are determined.
  • the predetermined ranking rule includes:
  • the picture number is displayed in the order of the top size and the left to right.
  • the available display area includes at least one picture display block, and the picture display block includes at least one item preview image.
  • the size of the picture display block is specifically determined according to a display size of the preview image included in the picture display block;
  • the size of the picture display block is specifically determined according to a preset ratio of the available display area
  • the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
  • the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner including:
  • the original picture is displayed in a single format in a size that is compatible with the available display area in a single format in accordance with a preset display order.
  • the displaying sequence includes:
  • the method for quickly previewing the associated image of the item includes:
  • the method for quickly previewing the associated image of the item includes:
  • the preset edge area includes:
  • the button control is located above the preview image of the item to be viewed.
  • the display is performed according to a preset animation effect
  • the animation effects include: fade in animation effects.
  • the number of associated pictures of the to-be-viewed item is less than a preset first preset number threshold, and the number of picture display blocks included in the available display area is less than a preset second preset number threshold;
  • the number of the preview images included in the picture display block is smaller than a preset third preset number threshold
  • the third preset number threshold is equal to the first preset number threshold divided by the second preset number threshold, and the quotient is incremented by one.
  • the item to be viewed includes:
  • the application also provides a device for quickly previewing an item associated picture, comprising:
  • the instruction receiving unit is configured to receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
  • An associated picture obtaining unit configured to acquire an associated picture of the item to be viewed
  • an associated picture display unit configured to generate a new layer on a preset area of the mobile terminal screen, and display an associated picture of the item to be viewed on the new layer; the new layer is located in the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
  • the associated picture display unit includes:
  • a quantity obtaining unit of the preview image configured to acquire a quantity of the preview image of the item to be viewed
  • An arrangement determining unit configured to determine, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
  • a display size determining unit configured to determine a display size of each preview image according to the arrangement manner and the available display area size
  • a preview display unit for collectively displaying the preview image on the new layer in the determined arrangement and the display size of each preview image.
  • the device for quickly previewing the associated image of the item includes:
  • Selecting an operation receiving unit configured to receive a selection operation for displaying the preview image by aggregation
  • the original picture reading unit is configured to read the original picture corresponding to the selected preview image
  • the original picture display unit is configured to display the original picture corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format.
  • the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner including:
  • a second original picture display unit configured to display the original picture in a single format in a size that is compatible with the available display area in a single format according to a preset display order.
  • the device for quickly previewing the associated image of the item includes:
  • a switching instruction receiving unit configured to receive a switching instruction for the original picture displayed in the single format manner
  • the original picture unit is switched, and is used to display another original picture according to the display order preset by the original picture according to the switching direction determined by the switching instruction.
  • the device for quickly previewing the associated image of the item includes:
  • a touch instruction receiving unit configured to receive a touch instruction inputting a preset edge area on the new layer
  • a new layer closes the unit to close the new layer.
  • the application further provides a mobile terminal, including:
  • the processor receives a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed by the display;
  • the memory is configured to store the acquired associated picture of the item to be viewed
  • the processor renders a new layer in a preset area of the display, and displays an associated picture of the item to be viewed on the new layer; the new layer is displayed on a screen of the mobile terminal
  • the item to be viewed corresponds to the top of the layer.
  • the method for quickly previewing an item-related image includes: receiving a viewing instruction input by a user for a preview identifier corresponding to an item to be viewed displayed on a screen of the mobile terminal; acquiring an associated picture of the item to be viewed; and displaying the related picture of the item to be viewed;
  • the preset area is rendered to generate a new layer, and the associated picture of the item to be viewed is displayed on the new layer; the new layer is located above the corresponding layer of the item to be viewed displayed on the screen of the mobile terminal .
  • the method for quickly previewing an item-related image provided by the present application, in advance, setting a corresponding preview identifier for the item to be viewed in the list of items to be viewed displayed on the screen of the mobile terminal, and receiving the preview identifier input corresponding to the item to be viewed by the user.
  • the method for quickly previewing the associated image of the item is simple and convenient to operate, and provides convenience for the user; at the same time, in the process of viewing the associated picture of the item to be viewed, the mobile terminal does not need to be loaded and displayed with the to-be-viewed A plurality of pages related to the item, in the interface corresponding to the to-be-viewed item list displayed on the screen of the mobile terminal, the associated picture preview of the item to be viewed is realized, and the loading of the item to be viewed by the mobile terminal is avoided. The data traffic caused by related pages is wasted.
  • FIG. 1 is a process flow diagram of an embodiment of a method for quickly previewing an item-related picture provided by the present application
  • FIG. 2 is a schematic diagram of a list of items to be viewed provided by the present application.
  • FIG. 3 is a schematic diagram of a preview view of an item to be viewed provided by the present application.
  • FIG. 4 is a schematic diagram of a preview view of another item to be viewed provided by the present application.
  • FIG. 5 is a schematic diagram of a preview layout effect provided by the present application.
  • FIG. 6 is a schematic diagram of another preview layout effect provided by the present application.
  • Figure 7 is a schematic diagram of a displacement trajectory curve provided by the present application.
  • Figure 8 is a schematic view of an original picture of an item to be viewed provided by the present application.
  • FIG. 9 is a schematic diagram of an apparatus for quickly previewing an item-related picture provided by the present application.
  • FIG. 10 is a schematic diagram of a mobile terminal provided by the present application.
  • the present application provides a method for quickly previewing an item-related image.
  • the present application further provides an apparatus for quickly previewing an item-related picture, and a mobile terminal.
  • the following is a detailed description of the embodiment of the present application. And the various steps of the method are explained.
  • the method for quickly previewing an item-related image is as follows:
  • FIG. 1 is a process flowchart of an embodiment of a method for quickly previewing an item-related picture provided by the present application
  • FIG. 2 shows a method provided by the embodiment
  • FIG. 3 is a schematic diagram of a preview view of an item to be viewed provided by the embodiment
  • FIG. 4 is a schematic diagram of a preview view of another item to be viewed provided by the embodiment.
  • Figure 5 is a preview image provided by this embodiment.
  • FIG. 6 is a schematic diagram of another preview layout effect provided by the embodiment
  • FIG. 7 is a schematic diagram of a displacement trajectory curve provided by the embodiment
  • FIG. 8 is a schematic diagram of the displacement trajectory curve provided by the embodiment;
  • FIG. 1 a process flow diagram of an embodiment of a method for quickly previewing an item-related picture provided by the present application is shown. Furthermore, the relationship between the various steps of the method embodiment of the item-associated picture quick preview is determined according to FIG.
  • Step S101 Receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal.
  • the APP client of the electronic trading platform presents the to-be-viewed item to the user in the form of a list, and the user can conduct a transaction for the selected item to be viewed after selecting the item to be viewed in the selected list.
  • the user In the process of selecting an item to be viewed in the list, the user needs to view and compare the items to be viewed in the list; in the process of viewing and comparing the items in the list, the user needs to view each item to be viewed.
  • the process of "list of items to be viewed -> details of items to be viewed -> preview of items to be viewed -> detailed map of items to be viewed” is used to view and compare information of items to be viewed layer by layer, and the user obtains to be viewed.
  • the path of the item image is too long to quickly and comprehensively understand the item to be viewed, and the operation is extremely cumbersome; at the same time, the data traffic consumed in this process is more.
  • the picture of the item to be viewed is quickly previewed, so that the operation of the user is more convenient and convenient; at the same time, data traffic can be saved.
  • the item to be viewed refers to an item in an electronic trading platform. And, for each item to be viewed, a corresponding preview identifier is preset.
  • the preview identifier is set to facilitate the user to quickly view the image of the item to be viewed, such as displaying the to-be-viewed item list on the screen of the mobile terminal, and displaying the preview identifier corresponding to the item to be viewed, when passing the mobile terminal.
  • the picture of the item to be viewed may be quickly viewed.
  • the preview identifier of the item to be viewed refers to a trigger mark corresponding to the item to be viewed preset in the list of items to be viewed displayed on the screen of the mobile terminal, such as a button control.
  • the viewing instruction refers to a touch action input through the mobile terminal.
  • the associated picture of the item to be viewed includes all pictures related to the item to be viewed.
  • the associated picture of the item to be viewed refers to an original picture of the item to be viewed and a preview image of the item to be viewed, and the original picture and the preview picture are in one-to-one correspondence.
  • the original picture refers to a picture with relatively high definition and large size of the product, such as a picture submitted by the merchant to the electronic trading platform for the product; the original picture is larger than the preview image.
  • the definition is higher. Therefore, the original picture is generally used to observe the details of the product, and the preview picture is generally used to observe the general appearance of the product.
  • the preview map is generally generated according to the original image according to a specific scale reduction, and therefore may also be referred to as a thumbnail.
  • a button control is used as the preview identifier of the item to be viewed; preferably, the button control is located above the preview of the preview of the item to be viewed, as shown in FIG. 2
  • the button control 201 is shown.
  • step S102 and the following step S103 are performed to view the item to be viewed corresponding to the view instruction. Associated picture.
  • Step S102 Acquire an associated picture of the item to be viewed.
  • step S101 when the merchant publishes the to-be-viewed item in the electronic trading platform for the item to be viewed in the electronic trading platform, the related information of the item to be viewed, such as the name of the item to be viewed, related description information, and price, is simultaneously uploaded.
  • Information such as transaction volume and the original picture of the item to be viewed; for the electronic trading platform, when receiving the original picture of the item to be viewed uploaded by the merchant, the corresponding processing is performed, and a preview image is generated at the same time, and the original is stored. The picture and the preview.
  • obtaining the associated picture of the item to be viewed refers to acquiring an original picture and a preview image of the item to be viewed stored by the electronic transaction platform through the mobile terminal. It should be noted that the item to be viewed in this step refers to the item to be viewed corresponding to the viewing instruction described in the above step S101, that is, the item to be viewed selected by the user.
  • Step S103 generating a new layer in a preset area of the mobile terminal screen, and displaying the associated picture of the item to be viewed on the new layer.
  • step S101 displays the list of the items to be viewed on the screen of the mobile terminal, and after receiving the viewing instruction input by the user for the item to be viewed in the list of the items to be viewed, the step S102 is used to obtain the corresponding view instruction.
  • the associated picture of the item to be viewed in this step, displaying the associated picture of the item to be viewed on the screen of the mobile terminal to implement previewing the item to be viewed.
  • the first preview mode first displaying a preview image of the item to be viewed on the screen of the mobile terminal, and when receiving the selection operation of the preview image by the user, displaying the original corresponding to the preview image on the screen of the mobile terminal Picture
  • the second preview mode directly displaying the original picture of the item to be viewed on the screen of the mobile terminal.
  • the mobile terminal screen displays a list of the items to be viewed, as shown in FIG. 2, where a new layer is rendered in a preset area of the screen of the mobile terminal.
  • the new layer is generated and generated on the top of the corresponding item list to be viewed displayed on the screen of the mobile terminal.
  • the preset area may be a partial area of the screen of the mobile terminal, or may be an entire area of the screen of the mobile terminal, which is not limited thereto.
  • the preview image of the item to be viewed is displayed on the screen of the mobile terminal according to the following steps:
  • the preview image is aggregated and displayed in the determined arrangement and the display size of each preview.
  • the predetermined arrangement rule of the preview image includes:
  • the picture number is displayed in the order of the top size and the left to right.
  • the position information and the displacement track information preset by each preview image are displayed on the new layer in an animated manner.
  • the corresponding animation in which the preview image is displaced, and finally the preview image after the aggregation is displayed in the available display area.
  • the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
  • FIG. 3 is a schematic diagram of a preview of an item to be viewed provided by the embodiment
  • FIG. 4 is a schematic diagram of another preview of the item to be viewed provided by the embodiment.
  • FIG. 3 is an initial state of the corresponding animation in which the preview image is displaced on the new layer in an animated manner
  • FIG. 4 is an animated manner to display the preview image on the new layer. The final state of the corresponding animation where the displacement occurred.
  • the picture 1 in FIG. 3 takes its own center point as a starting point, and ends the center point of the available display area (generally refers to the center point of the mobile terminal screen), and performs parabola according to a preset displacement trajectory algorithm. Picture 1 moves from the start point to the end point in a parabolic trajectory, and the movement process is displayed in an animated manner. Other pictures are similar to picture 1, and will not be described again.
  • the position coordinate information of each preview image may be preset. For example, for the pictures 1 to 6, six coordinate points are respectively set as the respective center points.
  • the position coordinate information of the preview image may also be obtained according to a preset coordinate algorithm, for example, obtaining a coordinate point according to a coordinate algorithm as a corresponding position coordinate information.
  • the preview image of the item to be viewed is displayed on the screen of the mobile terminal, it is displayed in a preset order, and correspondingly, when the preview image is displayed in an aggregated display area, the corresponding order is also provided. .
  • the available display area includes at least one picture display block, and the picture display block includes at least one item preview image.
  • the first picture display block includes one preview image, that is, the picture 1; the second picture display block includes two preview images, that is, the picture 2 and the picture 3; and the third picture display block includes one preview picture, that is, Picture 4; the fourth picture display block includes two preview images, namely picture 5 and picture 6.
  • the display is performed according to a preset animation effect; wherein the animation effect includes: a fade-in animation effect.
  • the size of the preview image is limited to a certain range.
  • the number of associated pictures of the item to be viewed is smaller than a preset. a first preset number threshold, where the number of picture display blocks included in the available display area is less than a preset second preset number threshold;
  • the number of the preview images included in the picture display block is smaller than a preset third preset number threshold
  • the third preset number threshold is equal to the quotient of the first preset number threshold divided by the second preset number threshold.
  • the maximum number of preview images that can be displayed in each display block is three.
  • the size of the picture display block is specifically determined according to a display size of a preview image included in the picture display block;
  • the size of the picture display block is specifically determined according to a preset ratio of the available display area
  • the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
  • the layout effect of the preview image and the image display block is as follows:
  • FIG. 5 it is a schematic diagram of a preview layout effect provided by this embodiment.
  • the manner of dividing the layout of the left side may be adopted, such as the layout mode shown by 501 in FIG. 5;
  • a manner of centering the layout may be employed, such as the layout shown in 503 of FIG.
  • the layout effect of the preview image and the image display block is as follows:
  • FIG. 6 it is a schematic diagram of another preview layout effect provided by this embodiment.
  • a layout as shown by 604 and 605 in Fig. 6 can also be employed.
  • the preview image when the preview image is displayed on the screen of the mobile terminal, if the size of the preview image does not match the available display area or the image display block, the preview image may be processed accordingly. For example, the preview image is cropped to match the displayable area or the image display block. In addition, the processing may be performed in other manners, such as zooming in, stretching, etc., which is not limited thereto.
  • the displaying the original image corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format specifically, animating the original picture from The original position is moved to the new display position and its size is enlarged.
  • the displacement trajectory information of the original picture is based on the position coordinate information of the selected preview image and the original corresponding to the selected preview image. The center of the picture and the preset displacement trajectory are determined.
  • the picture 1 receives the selection operation for displaying the preview image in aggregate.
  • the displacement track of the original picture corresponding to the preview image shown in the picture 1 is as shown in FIG. 7, where the point A is the starting point and the point B is The end point, the displacement trajectory is as shown by the curve in FIG.
  • the image displayed on the mobile terminal is as shown in FIG. 8, that is, in the displayable area in a single format.
  • the size corresponding to the available display area displays the original picture corresponding to the selected preview.
  • the original picture is displayed on the new layer in a horizontal layout in combination with a single format.
  • the original image may be displayed on the new layer in a vertical layout combined with a single format.
  • the picture is not limited here.
  • the original picture switching operation is further included:
  • the method further includes a recovery operation, where the recovery operation is used to restore the list interface of the item to be viewed;
  • the preset edge area comprises: an area outside the available display area on the new layer, such as the area shown by 801 in FIG.
  • the mobile terminal screen displays the original picture in a single format
  • the original picture is enlarged by a set ratio; on this basis, when When the double-tap touch action input by the user is detected, the original picture is reduced by the set ratio.
  • the second preview method is a first preview method
  • the second preview mode is basically similar to the first preview mode described above. For related content, refer to the description in the first preview mode, and details are not described herein again.
  • the second preview mode is different from the first preview mode described above in that the original picture of the item to be viewed is directly displayed on the new layer, and the item to be viewed is not displayed on the new layer. Preview image.
  • the displaying sequence comprises: displaying sequentially according to the size of the picture number of the original picture, and preferentially displaying the original picture with a small picture number.
  • the method for quickly previewing an item-related image in advance, sets a corresponding preview identifier for the item to be viewed in the list of items to be viewed displayed on the screen of the mobile terminal, and when receiving the item for the item to be viewed
  • the corresponding preview identifies the input viewing instruction
  • the associated image of the to-be-viewed item corresponding to the viewing instruction is obtained, and a new layer is generated in the preset area of the mobile terminal screen, and the associated image of the item to be viewed is obtained. Displayed on the new layer, the operation is simple and fast, and provides convenience for the user.
  • the method for quickly previewing an item-related picture provided by the present application can realize previewing the associated picture of the item to be viewed on the interface of the item to be viewed displayed on the screen of the mobile terminal, thereby avoiding the movement through the moving
  • the terminal loads the data traffic caused by the related page of the item to be viewed, and saves the waiting time when the related page of the item to be viewed is loaded in the mobile terminal.
  • An apparatus for quickly previewing an item-related picture is as follows:
  • a method for quickly previewing an item-related picture is provided.
  • the present application further provides a device for quickly previewing an item-related picture, which will be described below with reference to the accompanying drawings.
  • FIG. 9 a schematic diagram of an apparatus embodiment for quickly previewing an item-related picture provided by the present application is shown.
  • the application provides a device for quickly previewing an item-related image, including:
  • the viewing instruction receiving unit 901 is configured to receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
  • the associated picture obtaining unit 902 is configured to acquire an associated picture of the item to be viewed;
  • the associated picture display unit 903 is configured to generate a new layer in a preset area of the mobile terminal screen, and display an associated picture of the item to be viewed on the new layer; the new layer is located at the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
  • the preview identifier includes:
  • the associated image of the item to be viewed includes:
  • the associated picture display unit 903 includes:
  • a quantity obtaining unit of the preview image configured to acquire a quantity of the preview image of the item to be viewed
  • An arrangement determining unit configured to determine, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
  • a display size determining unit configured to determine a display size of each preview image according to the arrangement manner and the available display area size
  • a preview display unit for collectively displaying the preview image on the new layer in the determined arrangement and the display size of each preview image.
  • the new position information and the displacement track information preset according to each preview image are animated in the new A corresponding animation in which the preview image is displaced is displayed on the layer, and finally the preview image after the aggregation is displayed in the available display area.
  • the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
  • the device for quickly previewing the associated image of the item includes:
  • Selecting an operation receiving unit configured to receive a selection operation for displaying the preview image by aggregation
  • the original picture reading unit is configured to read the original picture corresponding to the selected preview image
  • the original picture display unit is configured to display the original picture corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format.
  • the original picture is moved from the original position to the new display position in an animated manner, and the size thereof is enlarged.
  • the displacement track information of the original picture is selected according to the position coordinate information of the selected preview picture.
  • the center of the original picture corresponding to the preview image and the preset displacement track are determined.
  • the predetermined ranking rule includes:
  • the picture number is displayed in the order of the top size and the left to right.
  • the available display area includes at least one picture display block, and the picture display block includes at least one item preview image.
  • the size of the picture display block is specifically determined according to a display size of the preview image included in the picture display block;
  • the size of the picture display block is specifically determined according to a preset ratio of the available display area
  • the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
  • the associated picture display unit 903 includes:
  • a second original picture display unit configured to display the original picture in a single format in a size that is compatible with the available display area in a single format according to a preset display order.
  • the displaying sequence includes:
  • the device for quickly previewing the associated image of the item includes:
  • a switching instruction receiving unit configured to receive a switching instruction for the original picture displayed in the single format manner
  • the original picture unit is switched, and is used to display another original picture according to the display order preset by the original picture according to the switching direction determined by the switching instruction.
  • the device for quickly previewing the associated image of the item includes:
  • a touch instruction receiving unit configured to receive a touch instruction inputting a preset edge area on the new layer
  • a new layer closes the unit to close the new layer.
  • the preset edge area includes:
  • the display when the preview image of the item to be viewed is displayed at a corresponding position on the new layer, the display is performed according to the preset animation special effect;
  • the animation effects include: fade in animation effects.
  • the number of associated pictures of the item to be viewed is less than a preset first preset number threshold, where The number of picture display blocks included in the display area is less than a preset second preset number threshold;
  • the number of the preview images included in the picture display block is smaller than a preset third preset number threshold
  • the third preset number threshold is equal to the first preset number threshold divided by the second preset number threshold, and the quotient is incremented by one.
  • the item to be viewed includes:
  • the present application further provides a mobile terminal for implementing the method, which will be described below with reference to the accompanying drawings.
  • FIG. 10 a schematic diagram of a mobile terminal provided by the present application is shown.
  • the mobile terminal is used to implement the method for quickly previewing the item-related picture provided by the present application. Therefore, the embodiment of the mobile terminal is basically similar to the method embodiment, so the description is relatively simple, and the related part is as follows. A corresponding description of the provided method embodiment is sufficient.
  • the embodiments of the mobile terminal described below are merely illustrative.
  • the application provides a mobile terminal, including:
  • the processor 10-02 receives a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed by the display 10-01;
  • the memory 10-03 is configured to store the acquired associated picture of the item to be viewed
  • the processor 10-02 renders a new layer in a preset area of the display 10-01, and displays an associated picture of the item to be viewed on the new layer; the new layer is located at the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
  • the preview identifier includes:
  • the associated image of the item to be viewed includes:
  • the displayable area of the display 10-01 includes at least one picture display block, and the picture display block includes at least one item preview image.
  • the button control is located above the preview image of the item to be viewed.
  • the display 10-01 displays the preview image of the item to be viewed, displaying according to the preset animation special effect
  • the animation effects include: fade in animation effects.
  • the item to be viewed includes:
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output 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 including both permanent and non-persistent, removable and non-removable media may 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 memory (PRAM), static random access memory (SRAM), dynamic random access memory (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, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can 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.

Abstract

An object-associated image quick preview method and device. The object-associated image quick preview method comprises: receiving a viewing command input by a user and with respect to a preview tag corresponding to an object to be viewed and displayed on a mobile terminal screen (S101); obtaining an image associated with the object to be viewed (S102); generating and rendering a new layer on a predefined area of the mobile terminal screen, and displaying the image associated with the object to be viewed on the new layer (S103); wherein the new layer is located above an layer corresponding to the object to be viewed and displayed on the mobile terminal screen. The object-associated image quick preview method is simple and easy in operation, provides convenience to a user, and prevents a waste in data traffic owing to the mobile terminal loading a page associated with the object to be viewed.

Description

一种物品关联图片快速预览的方法以及装置Method and device for quickly previewing item associated pictures
本申请要求2015年08月11日递交的申请号为201510491382.7、发明名称为“一种物品关联图片快速预览的方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510491382.7, filed on Aug. 11, 2015, the disclosure of which is incorporated herein by reference. .
技术领域Technical field
本申请涉及图片预览技术领域,具体涉及一种物品关联图片快速预览的方法。本申请同时涉及一种物品关联图片快速预览的装置,以及一种移动终端。The present application relates to the field of picture preview technology, and in particular, to a method for quickly previewing an item-related picture. The application also relates to a device for quickly previewing an item-associated picture, and a mobile terminal.
背景技术Background technique
随着移动互联网的快速发展和普及,围绕电子交易平台的用户交易行为也发生改变,越来越多的用户从PC端转移到移动终端上安装的App客户端上进行交易,并且随着移动终端的不断普及,可在移动终端上通过App客户端进行交易的电子交易平台也越来越多,比如有手机淘宝、手机天猫、聚划算、京东手机客户端、唯品会手机客户端等,在移动终端上安装的各种电子交易平台的App客户端中,图片预览成为一种必要的技术手段,并且成为制约电子交易平台发展的重要因素。With the rapid development and popularization of the mobile Internet, the behavior of users around the electronic trading platform has also changed. More and more users are transferring from the PC to the App client installed on the mobile terminal for transaction, and with the mobile terminal. With the continuous popularization, there are more and more electronic trading platforms for trading on the mobile terminal through the App client, such as mobile phone Taobao, mobile phone Tmall, poly cost-effective, Jingdong mobile client, Vipshop mobile client, etc. In the App client of various electronic trading platforms installed on mobile terminals, image preview has become a necessary technical means and has become an important factor restricting the development of electronic trading platforms.
目前,现有技术提供的图片预览方法,在移动终端屏幕显示的由待查看物品组成的列表中,通常采用如下流程实现所述待查看物品的图片预览:“待查看物品列表->待查看物品详情->待查看物品预览图->待查看物品详细图”;用户首先选择所述列表中的待查看物品,选中待查看物品后,进入所选中待查看物品的详情页面,在所述待查看物品的详情页面选择相应的预览图点击,进入所选择的预览图对应的详细图的查看页面。At present, the image previewing method provided by the prior art, in the list of items to be viewed displayed on the screen of the mobile terminal, generally adopts the following process to implement a preview of the image of the item to be viewed: “List of items to be viewed-> items to be viewed Details->View item to preview item->Detailed item to be viewed"; the user first selects the item to be viewed in the list, selects the item to be viewed, and enters the detail page of the item to be viewed in the selected item, in which to view The item details page selects the corresponding preview image click to enter the view page of the detailed map corresponding to the selected preview image.
上述现有技术提供的图片预览方法存在明显的缺陷。The picture preview method provided by the above prior art has obvious drawbacks.
上述现有技术提供的图片预览方法,在应用于移动终端中进行待查看物品的图片预览时,用户获取待查看物品的图片信息的流程复杂,路径太冗长,中间还附带产生等待时间,耗时耗力,一旦用户查看的待查看物品较多,则需要重复大量动作,操作繁琐;同时,由于预览过程中加载的页面较多,数据流量耗费严重。The image preview method provided by the above-mentioned prior art, when applied to the mobile terminal to preview the picture of the item to be viewed, the process of the user acquiring the picture information of the item to be viewed is complicated, the path is too long, and the waiting time is generated in the middle, which is time consuming. Power consumption, once the user has viewed a large number of items to be viewed, it needs to repeat a large number of actions, and the operation is cumbersome; at the same time, due to the large number of pages loaded during the preview process, the data traffic is expensive.
发明内容Summary of the invention
本申请提供一种物品关联图片快速预览的方法,以解决现有技术的存在操作繁琐和流量耗费严重的问题。 The present application provides a method for quickly previewing an item-related picture to solve the problem of cumbersome operation and serious traffic consumption in the prior art.
本申请同时涉及一种物品关联图片快速预览的装置,以及一种移动终端。The application also relates to a device for quickly previewing an item-associated picture, and a mobile terminal.
本申请提供一种物品关联图片快速预览的方法,包括:The application provides a method for quickly previewing an item-related image, including:
接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令;Receiving a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
获取所述待查看物品的关联图片;Obtaining an associated picture of the item to be viewed;
在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。Generating a new layer on a preset area of the mobile terminal screen, and displaying an associated picture of the item to be viewed on the new layer; the new layer is located on the screen of the mobile terminal to be viewed The item corresponds to the top of the layer.
可选的,所述预览标识包括:Optionally, the preview identifier includes:
按钮控件。Button control.
可选的,所述待查看物品的关联图片,包括:Optionally, the associated image of the item to be viewed includes:
所述待查看物品的原图片和所述待查看物品的预览图;所述原图片和所述预览图一一对应。An original picture of the item to be viewed and a preview image of the item to be viewed; the original picture and the preview picture are in one-to-one correspondence.
可选的,所述将所述待查看物品的关联图片以预定的方式在所述新图层上显示,包括:Optionally, the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner, including:
获取所述待查看物品的预览图的数量;Obtaining a number of preview images of the item to be viewed;
根据所述预览图的数量,按照预定排列规则确定所述预览图的排列方式;Determining, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
根据所述排列方式,以及可供显示区域尺寸,确定各个预览图的显示尺寸;Determining display sizes of the respective preview images according to the arrangement manner and the available display area size;
在所述新图层上,以所述确定的排列方式和各个预览图的所述显示尺寸,聚合显示所述预览图。On the new layer, the preview image is aggregated and displayed in the determined arrangement and the display size of each preview.
可选的,在所述新图层上显示所述预览图时,根据各个预览图各自预设的位置坐标信息和位移轨迹信息,以动画的方式在所述新图层上显示所述预览图发生位移的相应动画,并最终在所述可供显示区域显示聚合之后的所述预览图。Optionally, when the preview image is displayed on the new layer, the preview image is displayed on the new layer in an animated manner according to position coordinate information and displacement track information preset by each preview image. A corresponding animation of the displacement occurs, and finally the preview image after the aggregation is displayed in the available display area.
可选的,所述位移轨迹信息根据预设的位移轨迹算法,结合所述位置坐标信息确定。Optionally, the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
可选的,在所述聚合显示所述预览图的步骤之后,执行如下步骤:Optionally, after the step of displaying the preview image by the aggregation, performing the following steps:
接收对聚合显示所述预览图的选择操作;Receiving a selection operation for displaying the preview image by aggregation;
读取被选择的预览图对应的原图片;Reading the original picture corresponding to the selected preview image;
以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片。The original picture corresponding to the selected preview image is displayed in the available display area in a single format in a size compatible with the available display area.
可选的,所述以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片,具体是以动画的方式将所述原图片从原位置移动到新 的显示位置,同时对其尺寸进行放大。Optionally, the displaying, in a single format, the original image corresponding to the selected preview image in a size suitable for the available display area, specifically, the original image is animated Move from home to new The display position is enlarged while its size is enlarged.
可选的,在移动所述被选择的预览图对应的原图片时,所述原图片的位移轨迹信息,根据所述被选择的预览图的位置坐标信息、所述被选择的预览图对应的原图片的中心以及预设的位移轨迹算确定。Optionally, when the original picture corresponding to the selected preview image is moved, the displacement trajectory information of the original picture is corresponding to the position coordinate information of the selected preview image and the selected preview image. The center of the original picture and the preset displacement trajectory are determined.
可选的,所述预定排列规则,包括:Optionally, the predetermined ranking rule includes:
按照所述预览图预设的图片编号的大小顺序,从图片编号较小物品预览图开始,按照从上大小、从左到右的排列顺序进行排列。According to the order of the size of the picture number preset by the preview picture, the picture number is displayed in the order of the top size and the left to right.
可选的,所述可供显示区域包括至少一个图片显示区块,所述图片显示区块中包含至少一张物品预览图。Optionally, the available display area includes at least one picture display block, and the picture display block includes at least one item preview image.
可选的,所述图片显示区块的尺寸具体是根据该图片显示区块内包含的预览图的显示尺寸确定;Optionally, the size of the picture display block is specifically determined according to a display size of the preview image included in the picture display block;
或者,所述图片显示区块的尺寸具体是根据预设比例对所述可供显示区域的划分确定;Or the size of the picture display block is specifically determined according to a preset ratio of the available display area;
或者,所述图片显示区块的尺寸具体是根据预设划分算法对所述可供显示区域随机划分确定。Alternatively, the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
可选的,所述将所述待查看物品的关联图片以预定的方式在所述新图层上显示,包括:Optionally, the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner, including:
按照预设的显示顺序,以单幅方式在可供显示区域以与该可供显示区域相适应的尺寸显示所述原图片。The original picture is displayed in a single format in a size that is compatible with the available display area in a single format in accordance with a preset display order.
可选的,所述显示顺序包括:Optionally, the displaying sequence includes:
按照所述原图片的图片编号的大小顺序依次显示,并且优先显示图片编号较小的原图片。Displayed in order of the size of the picture number of the original picture, and the original picture with a small picture number is preferentially displayed.
可选的,所述物品关联图片快速预览的方法,包括:Optionally, the method for quickly previewing the associated image of the item includes:
接收对所述单幅方式显示的原图片的切换指令;Receiving a switching instruction for the original picture displayed in the single format manner;
根据所述切换指令确定的切换方向,根据所述原图片预设的显示顺序,显示另一原图片。According to the switching direction determined by the switching instruction, another original picture is displayed according to the display order preset by the original picture.
可选的,所述物品关联图片快速预览的方法,包括:Optionally, the method for quickly previewing the associated image of the item includes:
接收对所述新图层上的预设边缘区域输入的触控指令;Receiving a touch instruction inputting a preset edge area on the new layer;
关闭所述新图层。Close the new layer.
可选的,所述预设边缘区域包括: Optionally, the preset edge area includes:
所述新图层上所述可供显示区域之外的区域。The area outside the available display area on the new layer.
可选的,所述述按钮控件位于所述待查看物品的预览图上方。Optionally, the button control is located above the preview image of the item to be viewed.
可选的,所述在所述新图层上的对应位置显示所述待查看物品的预览图时,根据预设的动画特效进行显示;Optionally, when the preview position of the item to be viewed is displayed on the corresponding position on the new layer, the display is performed according to a preset animation effect;
其中,所述动画特效包括:淡入动画效果。The animation effects include: fade in animation effects.
可选的,所述待查看物品的关联图片的数目小于预设的第一预设数目阈值,所述可供显示区域包含的图片显示区块的数目小于预设的第二预设数目阈值;Optionally, the number of associated pictures of the to-be-viewed item is less than a preset first preset number threshold, and the number of picture display blocks included in the available display area is less than a preset second preset number threshold;
相应的,所述图片显示区块包含的所述预览图的数目小于预设的第三预设数目阈值;Correspondingly, the number of the preview images included in the picture display block is smaller than a preset third preset number threshold;
其中,所述第三预设数目阈值等于所述第一预设数目阈值除以所述第二预设数目阈值所得的商取整后加一。The third preset number threshold is equal to the first preset number threshold divided by the second preset number threshold, and the quotient is incremented by one.
可选的,所述待查看物品包括:Optionally, the item to be viewed includes:
电子交易平台中的商品。Goods in an electronic trading platform.
本申请还提供一种物品关联图片快速预览的装置,包括:The application also provides a device for quickly previewing an item associated picture, comprising:
查看指令接收单元,用于接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令;The instruction receiving unit is configured to receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
关联图片获取单元,用于获取所述待查看物品的关联图片;An associated picture obtaining unit, configured to acquire an associated picture of the item to be viewed;
关联图片显示单元,用于在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。And an associated picture display unit, configured to generate a new layer on a preset area of the mobile terminal screen, and display an associated picture of the item to be viewed on the new layer; the new layer is located in the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
可选的,所述关联图片显示单元,包括:Optionally, the associated picture display unit includes:
预览图的数量获取单元,用于获取所述待查看物品的预览图的数量;a quantity obtaining unit of the preview image, configured to acquire a quantity of the preview image of the item to be viewed;
排列方式确定单元,用于根据所述预览图的数量,按照预定排列规则确定所述预览图的排列方式;An arrangement determining unit, configured to determine, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
显示尺寸确定单元,用于根据所述排列方式,以及可供显示区域尺寸,确定各个预览图的显示尺寸;a display size determining unit, configured to determine a display size of each preview image according to the arrangement manner and the available display area size;
预览图显示单元,用于在所述新图层上,以所述确定的排列方式和各个预览图的所述显示尺寸,聚合显示所述预览图。a preview display unit for collectively displaying the preview image on the new layer in the determined arrangement and the display size of each preview image.
可选的,所述物品关联图片快速预览的装置,包括:Optionally, the device for quickly previewing the associated image of the item includes:
选择操作接收单元,用于接收对聚合显示所述预览图的选择操作;Selecting an operation receiving unit, configured to receive a selection operation for displaying the preview image by aggregation;
原图片读取单元,用于读取被选择的预览图对应的原图片; The original picture reading unit is configured to read the original picture corresponding to the selected preview image;
原图片显示单元,用于以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片。The original picture display unit is configured to display the original picture corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format.
可选的,所述将所述待查看物品的关联图片以预定的方式在所述新图层上显示,包括:Optionally, the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner, including:
第二原图片显示单元,用于按照预设的显示顺序,以单幅方式在可供显示区域以与该可供显示区域相适应的尺寸显示所述原图片。And a second original picture display unit, configured to display the original picture in a single format in a size that is compatible with the available display area in a single format according to a preset display order.
可选的,所述物品关联图片快速预览的装置,包括:Optionally, the device for quickly previewing the associated image of the item includes:
切换指令接收单元,用于接收对所述单幅方式显示的原图片的切换指令;a switching instruction receiving unit, configured to receive a switching instruction for the original picture displayed in the single format manner;
原图片单元切换,用于根据所述切换指令确定的切换方向,根据所述原图片预设的显示顺序,显示另一原图片。The original picture unit is switched, and is used to display another original picture according to the display order preset by the original picture according to the switching direction determined by the switching instruction.
可选的,所述物品关联图片快速预览的装置,包括:Optionally, the device for quickly previewing the associated image of the item includes:
触控指令接收单元,用于接收对所述新图层上的预设边缘区域输入的触控指令;a touch instruction receiving unit, configured to receive a touch instruction inputting a preset edge area on the new layer;
新图层关闭单元,用于关闭所述新图层。A new layer closes the unit to close the new layer.
本申请另外提供一种移动终端,包括:The application further provides a mobile terminal, including:
显示器、处理器和存储器;Display, processor and memory;
其中,所述处理器接收用户针对所述显示器显示的待查看物品对应的预览标识输入的查看指令;The processor receives a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed by the display;
所述存储器,用于存储获取的所述待查看物品的关联图片;The memory is configured to store the acquired associated picture of the item to be viewed;
所述处理器在所述显示器的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。The processor renders a new layer in a preset area of the display, and displays an associated picture of the item to be viewed on the new layer; the new layer is displayed on a screen of the mobile terminal The item to be viewed corresponds to the top of the layer.
与现有技术相比,本申请具有以下优点:Compared with the prior art, the present application has the following advantages:
本申请提供的物品关联图片快速预览的方法,包括:接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令;获取所述待查看物品的关联图片;在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。The method for quickly previewing an item-related image provided by the present application includes: receiving a viewing instruction input by a user for a preview identifier corresponding to an item to be viewed displayed on a screen of the mobile terminal; acquiring an associated picture of the item to be viewed; and displaying the related picture of the item to be viewed; The preset area is rendered to generate a new layer, and the associated picture of the item to be viewed is displayed on the new layer; the new layer is located above the corresponding layer of the item to be viewed displayed on the screen of the mobile terminal .
本申请提供的物品关联图片快速预览的方法,预先针对移动终端屏幕显示的待查看物品列表中的待查看物品,设置对应的预览标识,当接收到用户针对所述待查看物品对应的预览标识输入的查看指令时,获取所述查看指令对应的待查看物品的关联图片,在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述 新图层上显示。所述物品关联图片快速预览的方法,操作简单方便,为用户提供了方便;同时,在查看所述待查看物品的关联图片的过程中,无需通过所述移动终端加载和显示与所述待查看物品相关的多个页面,在所述移动终端屏幕显示的待查看物品列表对应的界面,即可实现所述待查看物品的关联图片预览,避免了通过所述移动终端加载所述待查看物品的相关页面造成的数据流量浪费。The method for quickly previewing an item-related image provided by the present application, in advance, setting a corresponding preview identifier for the item to be viewed in the list of items to be viewed displayed on the screen of the mobile terminal, and receiving the preview identifier input corresponding to the item to be viewed by the user. Obtaining an associated picture of the item to be viewed corresponding to the viewing instruction, and generating a new layer in a preset area of the screen of the mobile terminal, and the associated picture of the item to be viewed is in the Displayed on the new layer. The method for quickly previewing the associated image of the item is simple and convenient to operate, and provides convenience for the user; at the same time, in the process of viewing the associated picture of the item to be viewed, the mobile terminal does not need to be loaded and displayed with the to-be-viewed A plurality of pages related to the item, in the interface corresponding to the to-be-viewed item list displayed on the screen of the mobile terminal, the associated picture preview of the item to be viewed is realized, and the loading of the item to be viewed by the mobile terminal is avoided. The data traffic caused by related pages is wasted.
附图说明DRAWINGS
附图1是本申请提供的一种物品关联图片快速预览的方法实施例的处理流程图;1 is a process flow diagram of an embodiment of a method for quickly previewing an item-related picture provided by the present application;
附图2是本申请提供的一种待查看物品列表的示意图;2 is a schematic diagram of a list of items to be viewed provided by the present application;
附图3是本申请提供的一种待查看物品的预览图的示意图;3 is a schematic diagram of a preview view of an item to be viewed provided by the present application;
附图4是本申请提供的另一种待查看物品的预览图的示意图;4 is a schematic diagram of a preview view of another item to be viewed provided by the present application;
附图5是本申请提供的一种预览图布局效果的示意图;FIG. 5 is a schematic diagram of a preview layout effect provided by the present application; FIG.
附图6是本申请提供的另一种预览图布局效果的示意图;6 is a schematic diagram of another preview layout effect provided by the present application;
附图7是本申请提供的一种位移轨迹曲线的示意图;Figure 7 is a schematic diagram of a displacement trajectory curve provided by the present application;
附图8是本申请提供的一种待查看物品的原图片的示意图;Figure 8 is a schematic view of an original picture of an item to be viewed provided by the present application;
附图9是本申请提供的一种物品关联图片快速预览的装置实施例的示意图;9 is a schematic diagram of an apparatus for quickly previewing an item-related picture provided by the present application;
附图10是本申请提供的一种移动终端的示意图。FIG. 10 is a schematic diagram of a mobile terminal provided by the present application.
具体实施方式detailed description
在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其他方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此本申请不受下面公开的具体实施的限制。Numerous specific details are set forth in the description below in order to provide a thorough understanding of the application. However, the present invention can be implemented in many other ways than those described herein, and those skilled in the art can make similar promotion without departing from the scope of the present application, and thus the present application is not limited by the specific embodiments disclosed below.
本申请提供一种物品关联图片快速预览的方法,本申请还提供一种物品关联图片快速预览的装置,以及一种移动终端,以下分别结合本申请提供的实施例的附图逐一进行详细说明,并且对方法的各个步骤进行说明。The present application provides a method for quickly previewing an item-related image. The present application further provides an apparatus for quickly previewing an item-related picture, and a mobile terminal. The following is a detailed description of the embodiment of the present application. And the various steps of the method are explained.
本申请提供的一种物品关联图片快速预览的方法实施例如下:The method for quickly previewing an item-related image provided by the present application is as follows:
参照附图1至附图8,其中,附图1示出了本申请提供的一种物品关联图片快速预览的方法实施例的处理流程图,附图2示出了本实施例提供的一种待查看物品列表的示意图,附图3示出了本实施例提供的一种待查看物品的预览图的示意图,附图4是本实施例提供的另一种待查看物品的预览图的示意图,附图5是本实施例提供的一种预览图 布局效果的示意图,附图6是本实施例提供的另一种预览图布局效果的示意图,附图7是本实施例提供的一种位移轨迹曲线的示意图;附图8是本实施例提供的一种待查看物品的原图片的示意图。Referring to FIG. 1 to FIG. 8 , FIG. 1 is a process flowchart of an embodiment of a method for quickly previewing an item-related picture provided by the present application, and FIG. 2 shows a method provided by the embodiment. FIG. 3 is a schematic diagram of a preview view of an item to be viewed provided by the embodiment, and FIG. 4 is a schematic diagram of a preview view of another item to be viewed provided by the embodiment. Figure 5 is a preview image provided by this embodiment. FIG. 6 is a schematic diagram of another preview layout effect provided by the embodiment, FIG. 7 is a schematic diagram of a displacement trajectory curve provided by the embodiment; FIG. 8 is a schematic diagram of the displacement trajectory curve provided by the embodiment; A schematic diagram of an original picture of an item to be viewed.
参照附图1,其示出了本申请提供的一种物品关联图片快速预览的方法实施例的处理流程图。此外,所述物品关联图片快速预览的方法实施例的各个步骤之间的关系,请根据附图1确定。Referring to FIG. 1, a process flow diagram of an embodiment of a method for quickly previewing an item-related picture provided by the present application is shown. Furthermore, the relationship between the various steps of the method embodiment of the item-associated picture quick preview is determined according to FIG.
步骤S101,接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令。Step S101: Receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal.
在移动终端中,电子交易平台的APP客户端以列表的形式向用户展示待查看物品,用户在选定列表中的待查看物品之后,可针对选定的待查看物品进行交易。用户在列表中选择待查看物品的过程中,需要用户对列表中的待查看物品进行查看和比对;在用户查看和比对列表中物品的过程中,针对每一件待查看物品,用户需要以“待查看物品列表->待查看物品详情->待查看物品预览图->待查看物品详细图”这样的流程,来一层一层地查看和比对待查看物品的信息,用户获取待查看物品图片的路径太长,不能快速全面的了解待查看物品,操作极其繁琐;同时,在这一过程中消耗的数据流量较多。在这种情况下,采用本申请提供的方法,在移动终端显示待查看物品列表的场景下,快速预览待查看物品的图片,使用户的操作更加方便快捷;同时,也可以节省数据流量。In the mobile terminal, the APP client of the electronic trading platform presents the to-be-viewed item to the user in the form of a list, and the user can conduct a transaction for the selected item to be viewed after selecting the item to be viewed in the selected list. In the process of selecting an item to be viewed in the list, the user needs to view and compare the items to be viewed in the list; in the process of viewing and comparing the items in the list, the user needs to view each item to be viewed. The process of "list of items to be viewed -> details of items to be viewed -> preview of items to be viewed -> detailed map of items to be viewed" is used to view and compare information of items to be viewed layer by layer, and the user obtains to be viewed. The path of the item image is too long to quickly and comprehensively understand the item to be viewed, and the operation is extremely cumbersome; at the same time, the data traffic consumed in this process is more. In this case, using the method provided by the present application, in the scene in which the mobile terminal displays the list of items to be viewed, the picture of the item to be viewed is quickly previewed, so that the operation of the user is more convenient and convenient; at the same time, data traffic can be saved.
所述待查看物品,是指电子交易平台中的物品。并且,针对每一件待查看物品,都预设对应的预览标识。The item to be viewed refers to an item in an electronic trading platform. And, for each item to be viewed, a corresponding preview identifier is preset.
所述预览标识是为方便用户快速查看所述待查看物品图片而设置的,比如在移动终端的屏幕显示所述待查看物品列表,并显示所述待查看物品对应的预览标识,当通过移动终端接收到用户针对所述待查看物品对应的预览标识输入的查看指令时,可快速查看所述待查看物品的图片。The preview identifier is set to facilitate the user to quickly view the image of the item to be viewed, such as displaying the to-be-viewed item list on the screen of the mobile terminal, and displaying the preview identifier corresponding to the item to be viewed, when passing the mobile terminal. When receiving a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed, the picture of the item to be viewed may be quickly viewed.
所述待查看物品的预览标识,是指在所述移动终端屏幕显示的述待查看物品列表中预设的、与所述待查看物品对应的触发标记,比如按钮控件。The preview identifier of the item to be viewed refers to a trigger mark corresponding to the item to be viewed preset in the list of items to be viewed displayed on the screen of the mobile terminal, such as a button control.
所述查看指令,是指通过所述移动终端输入的触控动作。The viewing instruction refers to a touch action input through the mobile terminal.
所述待查看物品的关联图片,包括与所述待查看物品相关的所有图片。优选的,所述待查看物品的关联图片,是指所述待查看物品的原图片和所述待查看物品的预览图,所述原图片和所述预览图一一对应。The associated picture of the item to be viewed includes all pictures related to the item to be viewed. Preferably, the associated picture of the item to be viewed refers to an original picture of the item to be viewed and a preview image of the item to be viewed, and the original picture and the preview picture are in one-to-one correspondence.
优选的,为了更加清楚明确的说明表征预览图和原图片的定义,以电子交易平台中 的商品为例,所述原图片,是指商品的清晰度比较高、尺寸比较大的图片,比如商户针对商品向所述电子交易平台提交的图片;相比预览图,原图片的尺寸更大、清晰度更高,因此,原图片一般用于观察商品的细节,预览图一般用于观察商品的大致外观形状。在实际应用中,所述预览图一般是根据所述原图片按照特定比例缩小生成的,因此,也可以称作缩略图。Preferably, in order to more clearly and clearly explain the definition of the preview image and the original image, in an electronic trading platform For example, the original picture refers to a picture with relatively high definition and large size of the product, such as a picture submitted by the merchant to the electronic trading platform for the product; the original picture is larger than the preview image. The definition is higher. Therefore, the original picture is generally used to observe the details of the product, and the preview picture is generally used to observe the general appearance of the product. In practical applications, the preview map is generally generated according to the original image according to a specific scale reduction, and therefore may also be referred to as a thumbnail.
在本实施例的一个具体例子中,采用按钮控件作为所述待查看物品的预览标识;优选的,所述按钮控件位于所述待查看物品的预览图上方的按钮控件,如附图2中所示的按钮控件201。In a specific example of the embodiment, a button control is used as the preview identifier of the item to be viewed; preferably, the button control is located above the preview of the preview of the item to be viewed, as shown in FIG. 2 The button control 201 is shown.
当接收到用户针对所述移动终端屏幕显示的物品列表中的待查看物品对应的按钮控件输入的查看指令时,执行下述步骤S102和下述步骤S103,查看所述查看指令对应的待查看物品的关联图片。When the user receives the view command input by the button control corresponding to the item to be viewed in the item list displayed on the screen of the mobile terminal, the following step S102 and the following step S103 are performed to view the item to be viewed corresponding to the view instruction. Associated picture.
步骤S102,获取所述待查看物品的关联图片。Step S102: Acquire an associated picture of the item to be viewed.
根据上述步骤S101,对于电子交易平台中的待查看物品,商户在电子交易平台中发布该待查看物品时,同时上传了待查看物品的相关信息,比如待查看物品的名称、相关描述信息、价格、成交量等信息,以及待查看物品的原图片;对于电子交易平台而言,在接收到商户上传的待查看物品的原图片时,进行相应处理,并同时生成预览图,并存储所述原图片和所述预览图。According to the above step S101, when the merchant publishes the to-be-viewed item in the electronic trading platform for the item to be viewed in the electronic trading platform, the related information of the item to be viewed, such as the name of the item to be viewed, related description information, and price, is simultaneously uploaded. Information such as transaction volume and the original picture of the item to be viewed; for the electronic trading platform, when receiving the original picture of the item to be viewed uploaded by the merchant, the corresponding processing is performed, and a preview image is generated at the same time, and the original is stored. The picture and the preview.
本步骤中,获取所述待查看物品的关联图片,是指通过所述移动终端,获取所述电子交易平台存储的所述待查看物品的原图片和预览图。需要说明的是,本步骤所述的待查看物品,是指上述步骤S101中所述的查看指令对应的待查看物品,即用户选中的待查看物品。In this step, obtaining the associated picture of the item to be viewed refers to acquiring an original picture and a preview image of the item to be viewed stored by the electronic transaction platform through the mobile terminal. It should be noted that the item to be viewed in this step refers to the item to be viewed corresponding to the viewing instruction described in the above step S101, that is, the item to be viewed selected by the user.
步骤S103,在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示。Step S103, generating a new layer in a preset area of the mobile terminal screen, and displaying the associated picture of the item to be viewed on the new layer.
上述步骤S101在所述移动终端屏幕显示所述待查看物品的列表,接收到用户针对所述待查看物品的列表中的待查看物品输入的查看指令之后,通过上述步骤S102获取所述查看指令对应的待查看物品的关联图片,本步骤中,在所述移动终端屏幕显示所述待查看物品的关联图片,以实现对所述待查看物品的预览。The above step S101 displays the list of the items to be viewed on the screen of the mobile terminal, and after receiving the viewing instruction input by the user for the item to be viewed in the list of the items to be viewed, the step S102 is used to obtain the corresponding view instruction. The associated picture of the item to be viewed, in this step, displaying the associated picture of the item to be viewed on the screen of the mobile terminal to implement previewing the item to be viewed.
优选的,本步骤中,提供两种预览方式:Preferably, in this step, two preview modes are provided:
第一种预览方式:首先在所述移动终端屏幕显示所述待查看物品的预览图,当接收到用户所述预览图的选择操作时,在所述移动终端屏幕显示选中的预览图对应的原图片; The first preview mode: first displaying a preview image of the item to be viewed on the screen of the mobile terminal, and when receiving the selection operation of the preview image by the user, displaying the original corresponding to the preview image on the screen of the mobile terminal Picture
第二种预览方式:直接在所述动终端屏幕显示所述待查看物品的原图片。The second preview mode: directly displaying the original picture of the item to be viewed on the screen of the mobile terminal.
下面结合附图,对两种预览方式进行详细说明。The two preview modes will be described in detail below with reference to the accompanying drawings.
第一种预览方式:The first way to preview:
1、在所述移动终端屏幕的预设区域渲染生成新图层;1. Rendering a new layer in a preset area of the mobile terminal screen;
在本步骤执行前,所述移动终端屏幕显示的是所述待查看物品的列表,如附图2所示,在此,在所述移动终端屏幕的预设区域渲染新图层。Before the step is performed, the mobile terminal screen displays a list of the items to be viewed, as shown in FIG. 2, where a new layer is rendered in a preset area of the screen of the mobile terminal.
优选的,在所述移动终端屏幕显示的所述待查看物品列表对应图层的上方,渲染生成所述新图层。Preferably, the new layer is generated and generated on the top of the corresponding item list to be viewed displayed on the screen of the mobile terminal.
所述预设区域可以是所述移动终端屏幕的部分区域,也可以是所述移动终端屏幕的全部区域,对此不做限定。The preset area may be a partial area of the screen of the mobile terminal, or may be an entire area of the screen of the mobile terminal, which is not limited thereto.
2、在所述新图层上显示所述待查看物品的预览图;2. displaying a preview image of the item to be viewed on the new layer;
优选的,按照下述步骤在所述移动终端屏幕显示所述待查看物品的预览图:Preferably, the preview image of the item to be viewed is displayed on the screen of the mobile terminal according to the following steps:
获取所述待查看物品的预览图的数量;Obtaining a number of preview images of the item to be viewed;
根据所述预览图的数量,按照预定排列规则确定所述预览图的排列方式;Determining, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
根据所述排列方式,以及可供显示区域尺寸,确定各个预览图的显示尺寸;Determining display sizes of the respective preview images according to the arrangement manner and the available display area size;
在所述新图层上,以所述确定的排列方式和各个预览图的所述显示尺寸,聚合显示所述预览图。On the new layer, the preview image is aggregated and displayed in the determined arrangement and the display size of each preview.
优选的,所述预览图的预定排列规则,包括:Preferably, the predetermined arrangement rule of the preview image includes:
按照所述预览图预设的图片编号的大小顺序,从图片编号较小物品预览图开始,按照从上大小、从左到右的排列顺序进行排列。According to the order of the size of the picture number preset by the preview picture, the picture number is displayed in the order of the top size and the left to right.
优选的,在所述新图层上显示所述待查看物品的预览图时,根据各个预览图各自预设的位置坐标信息和位移轨迹信息,以动画的方式在所述新图层上显示所述预览图发生位移的相应动画,并最终在所述可供显示区域显示聚合之后的所述预览图。Preferably, when the preview image of the item to be viewed is displayed on the new layer, the position information and the displacement track information preset by each preview image are displayed on the new layer in an animated manner. The corresponding animation in which the preview image is displaced, and finally the preview image after the aggregation is displayed in the available display area.
优选的,所述位移轨迹信息根据预设的位移轨迹算法,结合所述位置坐标信息确定。Preferably, the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
下面通过举例说明在所述移动终端屏幕显示所述待查看物品的预览图的详细实现:A detailed implementation of displaying a preview of the item to be viewed on the screen of the mobile terminal is illustrated by way of example:
参照附图3和附图4,附图3是本实施例提供的一种待查看物品的预览图的示意图,附图4是本实施例提供的另一种待查看物品的预览图的示意图。Referring to FIG. 3 and FIG. 4, FIG. 3 is a schematic diagram of a preview of an item to be viewed provided by the embodiment, and FIG. 4 is a schematic diagram of another preview of the item to be viewed provided by the embodiment.
其中,附图3是以动画的方式在所述新图层上显示所述预览图发生位移的相应动画最初状态,附图4是以动画的方式在所述新图层上显示所述预览图发生位移的相应动画最终状态。 3 is an initial state of the corresponding animation in which the preview image is displaced on the new layer in an animated manner, and FIG. 4 is an animated manner to display the preview image on the new layer. The final state of the corresponding animation where the displacement occurred.
比如附图3中的图片1,以自身的中心点为起点,以所述可供显示区域的中心点为终点(一般指所述移动终端屏幕中心点),根据预设的位移轨迹算法做抛物线,图片1以抛物线的轨迹从起点移动到终点,并且以动画的方式显示这一移动过程。其他图片与图片1相类似,不再赘述。For example, the picture 1 in FIG. 3 takes its own center point as a starting point, and ends the center point of the available display area (generally refers to the center point of the mobile terminal screen), and performs parabola according to a preset displacement trajectory algorithm. Picture 1 moves from the start point to the end point in a parabolic trajectory, and the movement process is displayed in an animated manner. Other pictures are similar to picture 1, and will not be described again.
附图3中示出的6张预览图时,各张预览图的位置坐标信息,可以是预先设置的,比如针对图片1至图6,预先设置了6个坐标点分别作为各自的中心点。In the six preview images shown in FIG. 3, the position coordinate information of each preview image may be preset. For example, for the pictures 1 to 6, six coordinate points are respectively set as the respective center points.
此外,所述预览图的位置坐标信息也可以根据预设的坐标算法计算获得,比如根据坐标算法计算获得坐标点作为相应的位置坐标信息。In addition, the position coordinate information of the preview image may also be obtained according to a preset coordinate algorithm, for example, obtaining a coordinate point according to a coordinate algorithm as a corresponding position coordinate information.
需要说明的是,在所述移动终端屏幕显示所述待查看物品的预览图时,按照预先设定的顺序显示,相应的,所述预览图在可供显示区域聚合显示时,同样具有相应顺序。It should be noted that when the preview image of the item to be viewed is displayed on the screen of the mobile terminal, it is displayed in a preset order, and correspondingly, when the preview image is displayed in an aggregated display area, the corresponding order is also provided. .
优选的,所述可供显示区域包括至少一个图片显示区块,所述图片显示区块中包含至少一张物品预览图。Preferably, the available display area includes at least one picture display block, and the picture display block includes at least one item preview image.
如附图4所示,其中包括四个图片显示区块,从上到下依次是第一图片显示区块、第二图片显示区块、第三图片显示区块和第四图片显示区块,其中,第一图片显示区块包括1张预览图,即图片1;第二图片显示区块包括2张预览图,即图片2和图片3;第三图片显示区块包括1张预览图,即图片4;第四图片显示区块包括2张预览图,即图片5和图片6。As shown in FIG. 4, there are four picture display blocks, which are, in order from top to bottom, a first picture display block, a second picture display block, a third picture display block, and a fourth picture display block. The first picture display block includes one preview image, that is, the picture 1; the second picture display block includes two preview images, that is, the picture 2 and the picture 3; and the third picture display block includes one preview picture, that is, Picture 4; the fourth picture display block includes two preview images, namely picture 5 and picture 6.
优选的,在所述新图层上的对应位置显示所述待查看物品的预览图时,根据预设的动画特效进行显示;其中,所述动画特效包括:淡入动画效果。Preferably, when the preview image of the item to be viewed is displayed at a corresponding position on the new layer, the display is performed according to a preset animation effect; wherein the animation effect includes: a fade-in animation effect.
优选的,为了确保所述移动终端屏幕显示的所述预览图的清晰度,将所述预览图的尺寸限定在一定范围内,优选的,所述待查看物品的关联图片的数目小于预设的第一预设数目阈值,所述可供显示区域包含的图片显示区块的数目小于预设的第二预设数目阈值;Preferably, in order to ensure the clarity of the preview image displayed on the screen of the mobile terminal, the size of the preview image is limited to a certain range. Preferably, the number of associated pictures of the item to be viewed is smaller than a preset. a first preset number threshold, where the number of picture display blocks included in the available display area is less than a preset second preset number threshold;
相应的,所述图片显示区块包含的所述预览图的数目小于预设的第三预设数目阈值;Correspondingly, the number of the preview images included in the picture display block is smaller than a preset third preset number threshold;
其中,所述第三预设数目阈值等于所述第一预设数目阈值除以所述第二预设数目阈值所得的商取整加一。The third preset number threshold is equal to the quotient of the first preset number threshold divided by the second preset number threshold.
比如在所述移动终端屏幕最多显示10张预览图,同时从上之下分为4个图片显示区块,则每个显示区块最多可显示的预览图为3张。For example, if at most 10 preview images are displayed on the screen of the mobile terminal and 4 image display blocks are divided from the top and bottom, the maximum number of preview images that can be displayed in each display block is three.
优选的,所述图片显示区块的尺寸具体是根据该图片显示区块内包含的预览图的显示尺寸确定; Preferably, the size of the picture display block is specifically determined according to a display size of a preview image included in the picture display block;
或者,所述图片显示区块的尺寸具体是根据预设比例对所述可供显示区域的划分确定;Or the size of the picture display block is specifically determined according to a preset ratio of the available display area;
或者,所述图片显示区块的尺寸具体是根据预设划分算法对所述可供显示区域随机划分确定。Alternatively, the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
例如:E.g:
2张预览图时,所述预览图和所述图片显示区块的布局效果如下:When two preview images are displayed, the layout effect of the preview image and the image display block is as follows:
参照附图5,其为本实施例提供的一种预览图布局效果的示意图。Referring to FIG. 5, it is a schematic diagram of a preview layout effect provided by this embodiment.
当图片1的尺寸较小、图片2的尺寸较大时,可采用居左分割布局的方式,如附图5中501所示的布局方式;When the size of the picture 1 is small and the size of the picture 2 is large, the manner of dividing the layout of the left side may be adopted, such as the layout mode shown by 501 in FIG. 5;
当图片1的尺寸较大、图片2的尺寸较小时,可采用居右分割布局的方式,如附图5中502所示的布局方式;When the size of the picture 1 is large and the size of the picture 2 is small, a way of dividing the layout to the right may be adopted, such as the layout mode shown by 502 in FIG. 5;
当图片1的尺寸和图片2的尺寸相等时,可采用居中分割布局的方式,如附图5中503所示的布局方式。When the size of the picture 1 and the size of the picture 2 are equal, a manner of centering the layout may be employed, such as the layout shown in 503 of FIG.
3张预览图时,所述预览图和所述图片显示区块的布局效果如下:When three preview images are displayed, the layout effect of the preview image and the image display block is as follows:
参照附图6,其为本实施例提供的另一种预览图布局效果的示意图。Referring to FIG. 6, it is a schematic diagram of another preview layout effect provided by this embodiment.
当图片1和图片2的尺寸较小、图片3的尺寸较大时,可采用如附图6中601所示的布局方式;When the size of the picture 1 and the picture 2 is small and the size of the picture 3 is large, a layout manner as shown by 601 in FIG. 6 may be employed;
当图片1的尺寸较大、图片2和图片3的尺寸较小时,可采用如附图6中602所示的布局方式;When the size of the picture 1 is large and the size of the picture 2 and the picture 3 is small, a layout manner as shown by 602 in FIG. 6 may be employed;
当图片1、图片2、图片3的尺寸相等时,可采用如附图6中603所示的布局方式;When the sizes of the picture 1, the picture 2, and the picture 3 are equal, a layout manner as shown by 603 in FIG. 6 may be employed;
此外,还可以采用如附图6中604和605所示的布局方式。Further, a layout as shown by 604 and 605 in Fig. 6 can also be employed.
需要说明的是,在所述移动终端屏幕显示所述预览图时,如果预览图的尺寸与所述可供显示区域或者所述图片显示区块不匹配,则可对所述预览图进行相应处理,比如裁剪预览图,以使其匹配所述可供显示区域或者所述图片显示区块,此外,也可以采用其他方式进行处理,比如放大、拉伸等,对此不做限定。It should be noted that, when the preview image is displayed on the screen of the mobile terminal, if the size of the preview image does not match the available display area or the image display block, the preview image may be processed accordingly. For example, the preview image is cropped to match the displayable area or the image display block. In addition, the processing may be performed in other manners, such as zooming in, stretching, etc., which is not limited thereto.
3、在所述新图层上显示所述待查看物品的原图片。3. Display the original picture of the item to be viewed on the new layer.
在所述新图层上显示所述待查看物品的预览图之后,执行如下步骤:After displaying the preview of the item to be viewed on the new layer, performing the following steps:
接收对聚合显示所述预览图的选择操作;Receiving a selection operation for displaying the preview image by aggregation;
读取被选择的预览图对应的原图片;Reading the original picture corresponding to the selected preview image;
以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预 览图对应的原图片。Displaying the selected pre-selection in the available display area in a size that is compatible with the available display area in a single format The original picture corresponding to the map.
优选的,所述以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片,具体是以动画的方式将所述原图片从原位置移动到新的显示位置,同时对其尺寸进行放大。Preferably, the displaying the original image corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format, specifically, animating the original picture from The original position is moved to the new display position and its size is enlarged.
优选的,在移动所述被选择的预览图对应的原图片时,所述原图片的位移轨迹信息,根据所述被选择的预览图的位置坐标信息、所述被选择的预览图对应的原图片的中心以及预设的位移轨迹算确定。Preferably, when the original picture corresponding to the selected preview image is moved, the displacement trajectory information of the original picture is based on the position coordinate information of the selected preview image and the original corresponding to the selected preview image. The center of the picture and the preset displacement trajectory are determined.
如附图3中图片1接收到对聚合显示所述预览图的选择操作,图片1所示的预览图对应的原图片的位移轨迹如附图7所示,其中点A是起点、点B是终点,位移轨迹如附图7中的曲线所示。As shown in FIG. 3, the picture 1 receives the selection operation for displaying the preview image in aggregate. The displacement track of the original picture corresponding to the preview image shown in the picture 1 is as shown in FIG. 7, where the point A is the starting point and the point B is The end point, the displacement trajectory is as shown by the curve in FIG.
所述原图片移动到点B时,即所述原图片的动画播放完成后,在所述移动终端显示的图像如附图8所示,即:以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片。When the original picture is moved to the point B, that is, after the animation of the original picture is completed, the image displayed on the mobile terminal is as shown in FIG. 8, that is, in the displayable area in a single format. The size corresponding to the available display area displays the original picture corresponding to the selected preview.
需要说明的是,上述举例中,以横向布局结合单幅方式在所述新图层上显示所述原图片,此外,还可以纵向布局结合单幅方式在所述新图层上显示所述原图片,在此不做限定。It should be noted that, in the above example, the original picture is displayed on the new layer in a horizontal layout in combination with a single format. In addition, the original image may be displayed on the new layer in a vertical layout combined with a single format. The picture is not limited here.
优选的,在所述新图层上显示所述待查看物品的原图片步骤之后,还包括原图片切换操作:Preferably, after the step of displaying the original picture of the item to be viewed on the new layer, the original picture switching operation is further included:
接收对所述单幅方式显示的原图片的切换指令;Receiving a switching instruction for the original picture displayed in the single format manner;
根据所述切换指令确定的切换方向,根据所述原图片预设的显示顺序,显示另一原图片。According to the switching direction determined by the switching instruction, another original picture is displayed according to the display order preset by the original picture.
优选的,在所述新图层上显示所述待查看物品的原图片步骤之后,还包括恢复操作,所述恢复操作用于恢复所述待查看物品的列表界面;Preferably, after the step of displaying the original picture of the item to be viewed on the new layer, the method further includes a recovery operation, where the recovery operation is used to restore the list interface of the item to be viewed;
接收对所述新图层上的预设边缘区域输入的触控指令;Receiving a touch instruction inputting a preset edge area on the new layer;
关闭所述新图层。Close the new layer.
优选的,所述预设边缘区域包括:所述新图层上所述可供显示区域之外的区域,如附图8中801所示区域。Preferably, the preset edge area comprises: an area outside the available display area on the new layer, such as the area shown by 801 in FIG.
除此之外,当所述移动终端屏幕以单幅方式显示所述原图片时,当检测到用户输入的双击触控动作时,以设定比例放大所述原图片;在此基础上,当检测到用户输入的双击触控动作时,以所述设定比例缩小所述原图片。 In addition, when the mobile terminal screen displays the original picture in a single format, when the double-touch action input by the user is detected, the original picture is enlarged by a set ratio; on this basis, when When the double-tap touch action input by the user is detected, the original picture is reduced by the set ratio.
第二种预览方式:The second preview method:
第二种预览方式与上述第一种预览方式基本相似,相关内容请参照上述第一种预览方式中的说明,在此不再赘述。第二种预览方式与上述第一种预览方式的区别之处在于,直接在所述新图层上显示所述待查看物品的原图片,并不在所述新图层上显示所述待查看物品的预览图。The second preview mode is basically similar to the first preview mode described above. For related content, refer to the description in the first preview mode, and details are not described herein again. The second preview mode is different from the first preview mode described above in that the original picture of the item to be viewed is directly displayed on the new layer, and the item to be viewed is not displayed on the new layer. Preview image.
1、在所述移动终端屏幕的预设区域渲染生成新图层;1. Rendering a new layer in a preset area of the mobile terminal screen;
2、按照预设的显示顺序,以单幅方式在可供显示区域以与该可供显示区域相适应的尺寸显示所述原图片。2. Displaying the original picture in a displayable area in a size corresponding to the available display area in a single format according to a preset display order.
优选的,所述显示顺序包括:按照所述原图片的图片编号的大小顺序依次显示,并且优先显示图片编号较小的原图片。Preferably, the displaying sequence comprises: displaying sequentially according to the size of the picture number of the original picture, and preferentially displaying the original picture with a small picture number.
综上所述,本申请提供的物品关联图片快速预览的方法,预先针对移动终端屏幕显示的待查看物品列表中的待查看物品,设置对应的预览标识,当接收到用户针对所述待查看物品对应的预览标识输入的查看指令时,获取所述查看指令对应的待查看物品的关联图片,在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示,操作简单快捷,为用户提供了方便。In summary, the method for quickly previewing an item-related image provided by the present application, in advance, sets a corresponding preview identifier for the item to be viewed in the list of items to be viewed displayed on the screen of the mobile terminal, and when receiving the item for the item to be viewed When the corresponding preview identifies the input viewing instruction, the associated image of the to-be-viewed item corresponding to the viewing instruction is obtained, and a new layer is generated in the preset area of the mobile terminal screen, and the associated image of the item to be viewed is obtained. Displayed on the new layer, the operation is simple and fast, and provides convenience for the user.
此外,本申请提供的物品关联图片快速预览的方法,在所述移动终端屏幕显示的待查看物品列表这一界面,即可实现所述待查看物品的关联图片的预览,避免了通过所述移动终端加载所述待查看物品相关页面造成的数据流量浪费,同时节省了在所述移动终端中加载所述待查看物品的相关页面附带产生等待时间。In addition, the method for quickly previewing an item-related picture provided by the present application can realize previewing the associated picture of the item to be viewed on the interface of the item to be viewed displayed on the screen of the mobile terminal, thereby avoiding the movement through the moving The terminal loads the data traffic caused by the related page of the item to be viewed, and saves the waiting time when the related page of the item to be viewed is loaded in the mobile terminal.
本申请提供的一种物品关联图片快速预览的装置实施例如下:An apparatus for quickly previewing an item-related picture provided by the present application is as follows:
在上述的实施例中,提供了一种物品关联图片快速预览的方法,与之相对应的,本申请还提供了一种物品关联图片快速预览的装置,下面结合附图进行说明。In the above embodiment, a method for quickly previewing an item-related picture is provided. Correspondingly, the present application further provides a device for quickly previewing an item-related picture, which will be described below with reference to the accompanying drawings.
参照附图9,其示出了本申请提供的一种物品关联图片快速预览的装置实施例的示意图。Referring to FIG. 9, a schematic diagram of an apparatus embodiment for quickly previewing an item-related picture provided by the present application is shown.
由于装置实施例基本相似于方法实施例,所以描述得比较简单,相关的部分请参见上述提供的方法实施例的对应说明即可。下述描述的装置实施例仅仅是示意性的。Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For related parts, refer to the corresponding description of the method embodiment provided above. The device embodiments described below are merely illustrative.
本申请提供一种物品关联图片快速预览的装置,包括:The application provides a device for quickly previewing an item-related image, including:
查看指令接收单元901,用于接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令;The viewing instruction receiving unit 901 is configured to receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
关联图片获取单元902,用于获取所述待查看物品的关联图片; The associated picture obtaining unit 902 is configured to acquire an associated picture of the item to be viewed;
关联图片显示单元903,用于在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。The associated picture display unit 903 is configured to generate a new layer in a preset area of the mobile terminal screen, and display an associated picture of the item to be viewed on the new layer; the new layer is located at the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
可选的,所述预览标识包括:Optionally, the preview identifier includes:
按钮控件。Button control.
可选的,所述待查看物品的关联图片,包括:Optionally, the associated image of the item to be viewed includes:
所述待查看物品的原图片和所述待查看物品的预览图;所述原图片和所述预览图一一对应。An original picture of the item to be viewed and a preview image of the item to be viewed; the original picture and the preview picture are in one-to-one correspondence.
可选的,所述关联图片显示单元903,包括:Optionally, the associated picture display unit 903 includes:
预览图的数量获取单元,用于获取所述待查看物品的预览图的数量;a quantity obtaining unit of the preview image, configured to acquire a quantity of the preview image of the item to be viewed;
排列方式确定单元,用于根据所述预览图的数量,按照预定排列规则确定所述预览图的排列方式;An arrangement determining unit, configured to determine, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
显示尺寸确定单元,用于根据所述排列方式,以及可供显示区域尺寸,确定各个预览图的显示尺寸;a display size determining unit, configured to determine a display size of each preview image according to the arrangement manner and the available display area size;
预览图显示单元,用于在所述新图层上,以所述确定的排列方式和各个预览图的所述显示尺寸,聚合显示所述预览图。a preview display unit for collectively displaying the preview image on the new layer in the determined arrangement and the display size of each preview image.
可选的,所述预览图显示单元中,在所述新图层上显示所述预览图时,根据各个预览图各自预设的位置坐标信息和位移轨迹信息,以动画的方式在所述新图层上显示所述预览图发生位移的相应动画,并最终在所述可供显示区域显示聚合之后的所述预览图。Optionally, in the preview image display unit, when the preview image is displayed on the new layer, the new position information and the displacement track information preset according to each preview image are animated in the new A corresponding animation in which the preview image is displaced is displayed on the layer, and finally the preview image after the aggregation is displayed in the available display area.
可选的,所述位移轨迹信息根据预设的位移轨迹算法,结合所述位置坐标信息确定。Optionally, the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
可选的,所述的物品关联图片快速预览的装置,包括:Optionally, the device for quickly previewing the associated image of the item includes:
选择操作接收单元,用于接收对聚合显示所述预览图的选择操作;Selecting an operation receiving unit, configured to receive a selection operation for displaying the preview image by aggregation;
原图片读取单元,用于读取被选择的预览图对应的原图片;The original picture reading unit is configured to read the original picture corresponding to the selected preview image;
原图片显示单元,用于以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片。The original picture display unit is configured to display the original picture corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format.
所述原图片显示单元中,具体是以动画的方式将所述原图片从原位置移动到新的显示位置,同时对其尺寸进行放大。In the original picture display unit, the original picture is moved from the original position to the new display position in an animated manner, and the size thereof is enlarged.
所述原图片显示单元中,在移动所述被选择的预览图对应的原图片时,所述原图片的位移轨迹信息,根据所述被选择的预览图的位置坐标信息、所述被选择的预览图对应的原图片的中心以及预设的位移轨迹算确定。 In the original picture display unit, when the original picture corresponding to the selected preview image is moved, the displacement track information of the original picture is selected according to the position coordinate information of the selected preview picture. The center of the original picture corresponding to the preview image and the preset displacement track are determined.
可选的,所述预定排列规则,包括:Optionally, the predetermined ranking rule includes:
按照所述预览图预设的图片编号的大小顺序,从图片编号较小物品预览图开始,按照从上大小、从左到右的排列顺序进行排列。According to the order of the size of the picture number preset by the preview picture, the picture number is displayed in the order of the top size and the left to right.
可选的,所述可供显示区域包括至少一个图片显示区块,所述图片显示区块中包含至少一张物品预览图。Optionally, the available display area includes at least one picture display block, and the picture display block includes at least one item preview image.
可选的,所述图片显示区块的尺寸具体是根据该图片显示区块内包含的预览图的显示尺寸确定;Optionally, the size of the picture display block is specifically determined according to a display size of the preview image included in the picture display block;
或者,所述图片显示区块的尺寸具体是根据预设比例对所述可供显示区域的划分确定;Or the size of the picture display block is specifically determined according to a preset ratio of the available display area;
或者,所述图片显示区块的尺寸具体是根据预设划分算法对所述可供显示区域随机划分确定。Alternatively, the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
可选的,所述关联图片显示单元903,包括:Optionally, the associated picture display unit 903 includes:
第二原图片显示单元,用于按照预设的显示顺序,以单幅方式在可供显示区域以与该可供显示区域相适应的尺寸显示所述原图片。And a second original picture display unit, configured to display the original picture in a single format in a size that is compatible with the available display area in a single format according to a preset display order.
可选的,所述显示顺序包括:Optionally, the displaying sequence includes:
按照所述原图片的图片编号的大小顺序依次显示,并且优先显示图片编号较小的原图片。Displayed in order of the size of the picture number of the original picture, and the original picture with a small picture number is preferentially displayed.
可选的,所述物品关联图片快速预览的装置,包括:Optionally, the device for quickly previewing the associated image of the item includes:
切换指令接收单元,用于接收对所述单幅方式显示的原图片的切换指令;a switching instruction receiving unit, configured to receive a switching instruction for the original picture displayed in the single format manner;
原图片单元切换,用于根据所述切换指令确定的切换方向,根据所述原图片预设的显示顺序,显示另一原图片。The original picture unit is switched, and is used to display another original picture according to the display order preset by the original picture according to the switching direction determined by the switching instruction.
可选的,所述物品关联图片快速预览的装置,包括:Optionally, the device for quickly previewing the associated image of the item includes:
触控指令接收单元,用于接收对所述新图层上的预设边缘区域输入的触控指令;a touch instruction receiving unit, configured to receive a touch instruction inputting a preset edge area on the new layer;
新图层关闭单元,用于关闭所述新图层。A new layer closes the unit to close the new layer.
可选的,所述预设边缘区域包括:Optionally, the preset edge area includes:
所述新图层上所述可供显示区域之外的区域。The area outside the available display area on the new layer.
可选的,所述预览图显示单元中,在所述新图层上的对应位置显示所述待查看物品的预览图时,根据预设的动画特效进行显示;Optionally, in the preview image display unit, when the preview image of the item to be viewed is displayed at a corresponding position on the new layer, the display is performed according to the preset animation special effect;
其中,所述动画特效包括:淡入动画效果。The animation effects include: fade in animation effects.
可选的,所述待查看物品的关联图片的数目小于预设的第一预设数目阈值,所述可 供显示区域包含的图片显示区块的数目小于预设的第二预设数目阈值;Optionally, the number of associated pictures of the item to be viewed is less than a preset first preset number threshold, where The number of picture display blocks included in the display area is less than a preset second preset number threshold;
相应的,所述图片显示区块包含的所述预览图的数目小于预设的第三预设数目阈值;Correspondingly, the number of the preview images included in the picture display block is smaller than a preset third preset number threshold;
其中,所述第三预设数目阈值等于所述第一预设数目阈值除以所述第二预设数目阈值所得的商取整后加一。The third preset number threshold is equal to the first preset number threshold divided by the second preset number threshold, and the quotient is incremented by one.
可选的,所述待查看物品包括:Optionally, the item to be viewed includes:
电子交易平台中的商品。Goods in an electronic trading platform.
本申请提供的一种移动终端的实施例如下:An implementation of a mobile terminal provided by the present application is as follows:
在上述的实施例中,提供了一种物品关联图片快速预览的方法,与之相对应的,本申请还提供了一种用于实现该方法的移动终端,下面结合附图进行说明。In the above embodiment, a method for quickly previewing an item-related picture is provided. Correspondingly, the present application further provides a mobile terminal for implementing the method, which will be described below with reference to the accompanying drawings.
参照附图10,其示出了本申请提供的一种移动终端的示意图。Referring to Figure 10, a schematic diagram of a mobile terminal provided by the present application is shown.
在此,所述移动终端用于实现本申请提供的物品关联图片快速预览的方法,因此,所述移动终端的实施例基本相似于方法实施例,所以描述得比较简单,相关的部分请参见上述提供的方法实施例的对应说明即可。下述描述的移动终端的实施例仅仅是示意性的。Here, the mobile terminal is used to implement the method for quickly previewing the item-related picture provided by the present application. Therefore, the embodiment of the mobile terminal is basically similar to the method embodiment, so the description is relatively simple, and the related part is as follows. A corresponding description of the provided method embodiment is sufficient. The embodiments of the mobile terminal described below are merely illustrative.
本申请提供一种移动终端,包括:The application provides a mobile terminal, including:
显示器10-01、处理器10-02和存储器10-03;Display 10-01, processor 10-02 and memory 10-03;
其中,所述处理器10-02接收用户针对所述显示器10-01显示的待查看物品对应的预览标识输入的查看指令;The processor 10-02 receives a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed by the display 10-01;
所述存储器10-03,用于存储获取的所述待查看物品的关联图片;The memory 10-03 is configured to store the acquired associated picture of the item to be viewed;
所述处理器10-02在所述显示器10-01的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。The processor 10-02 renders a new layer in a preset area of the display 10-01, and displays an associated picture of the item to be viewed on the new layer; the new layer is located at the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
可选的,所述预览标识包括:Optionally, the preview identifier includes:
按钮控件。Button control.
可选的,所述待查看物品的关联图片,包括:Optionally, the associated image of the item to be viewed includes:
所述待查看物品的原图片和所述待查看物品的预览图;所述原图片和所述预览图一一对应。An original picture of the item to be viewed and a preview image of the item to be viewed; the original picture and the preview picture are in one-to-one correspondence.
可选的,所述显示器10-01的可供显示区域包括至少一个图片显示区块,所述图片显示区块中包含至少一张物品预览图。Optionally, the displayable area of the display 10-01 includes at least one picture display block, and the picture display block includes at least one item preview image.
可选的,所述述按钮控件位于所述待查看物品的预览图上方。 Optionally, the button control is located above the preview image of the item to be viewed.
可选的,在所述显示器10-01显示所述待查看物品的预览图时,根据预设的动画特效进行显示;Optionally, when the display 10-01 displays the preview image of the item to be viewed, displaying according to the preset animation special effect;
其中,所述动画特效包括:淡入动画效果。The animation effects include: fade in animation effects.
可选的,所述待查看物品包括:Optionally, the item to be viewed includes:
电子交易平台中的商品。Goods in an electronic trading platform.
本申请虽然以较佳实施例公开如上,但其并不是用来限定本申请,任何本领域技术人员在不脱离本申请的精神和范围内,都可以做出可能的变动和修改,因此本申请的保护范围应当以本申请权利要求所界定的范围为准。The present application is disclosed in the above preferred embodiments, but it is not intended to limit the present application, and any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present application. The scope of protection should be based on the scope defined by the claims of the present application.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (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.
1、计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。1. Computer readable media including both permanent and non-persistent, removable and non-removable media may 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 memory (PRAM), static random access memory (SRAM), dynamic random access memory (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, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
2、本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 2. Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the application can 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.

Claims (28)

  1. 一种物品关联图片快速预览的方法,其特征在于,包括:A method for quickly previewing an item-related image, comprising:
    接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令;Receiving a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
    获取所述待查看物品的关联图片;Obtaining an associated picture of the item to be viewed;
    在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。Generating a new layer on a preset area of the mobile terminal screen, and displaying an associated picture of the item to be viewed on the new layer; the new layer is located on the screen of the mobile terminal to be viewed The item corresponds to the top of the layer.
  2. 根据权利要求1所述的物品关联图片快速预览的方法,其特征在于,所述预览标识包括:The method of claim 1, wherein the preview identifier comprises:
    按钮控件。Button control.
  3. 根据权利要求1所述的物品关联图片快速预览的方法,其特征在于,所述待查看物品的关联图片,包括:The method for quickly previewing an item-related image according to claim 1, wherein the associated picture of the item to be viewed includes:
    所述待查看物品的原图片和所述待查看物品的预览图;所述原图片和所述预览图一一对应。An original picture of the item to be viewed and a preview image of the item to be viewed; the original picture and the preview picture are in one-to-one correspondence.
  4. 根据权利要求1所述的物品关联图片快速预览的方法,其特征在于,所述将所述待查看物品的关联图片以预定的方式在所述新图层上显示,包括:The method for quickly previewing an item-related image according to claim 1, wherein the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner comprises:
    获取所述待查看物品的预览图的数量;Obtaining a number of preview images of the item to be viewed;
    根据所述预览图的数量,按照预定排列规则确定所述预览图的排列方式;Determining, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
    根据所述排列方式,以及可供显示区域尺寸,确定各个预览图的显示尺寸;Determining display sizes of the respective preview images according to the arrangement manner and the available display area size;
    在所述新图层上,以所述确定的排列方式和各个预览图的所述显示尺寸,聚合显示所述预览图。On the new layer, the preview image is aggregated and displayed in the determined arrangement and the display size of each preview.
  5. 根据权利要求4所述的物品关联图片快速预览的方法,其特征在于,在所述新图层上显示所述预览图时,根据各个预览图各自预设的位置坐标信息和位移轨迹信息,以动画的方式在所述新图层上显示所述预览图发生位移的相应动画,并最终在所述可供显示区域显示聚合之后的所述预览图。The method for quickly previewing an item-related image according to claim 4, wherein when the preview image is displayed on the new layer, according to position coordinate information and displacement track information preset by each preview image, An animation manner displays a corresponding animation in which the preview image is displaced on the new layer, and finally displays the preview image after the aggregation in the available display area.
  6. 根据权利要求5所述的物品关联图片快速预览的方法,其特征在于,所述位移轨迹信息根据预设的位移轨迹算法,结合所述位置坐标信息确定。The method for quickly previewing an item-related image according to claim 5, wherein the displacement trajectory information is determined according to a preset displacement trajectory algorithm in combination with the position coordinate information.
  7. 根据权利要求4所述的物品关联图片快速预览的方法,其特征在于,在所述聚合显示所述预览图的步骤之后,执行如下步骤:The method for quickly previewing an item-related picture according to claim 4, wherein after the step of displaying the preview image by aggregation, performing the following steps:
    接收对聚合显示所述预览图的选择操作; Receiving a selection operation for displaying the preview image by aggregation;
    读取被选择的预览图对应的原图片;Reading the original picture corresponding to the selected preview image;
    以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片。The original picture corresponding to the selected preview image is displayed in the available display area in a single format in a size compatible with the available display area.
  8. 根据权利要求7所述的物品关联图片快速预览的方法,其特征在于,所述以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片,具体是以动画的方式将所述原图片从原位置移动到新的显示位置,同时对其尺寸进行放大。The method for quickly previewing an item-related picture according to claim 7, wherein the displaying of the selected preview image in the available display area in a size corresponding to the available display area in a single format The original picture is specifically animated to move the original picture from the original position to the new display position, and at the same time enlarge the size thereof.
  9. 根据权利要求8所述的物品关联图片快速预览的方法,其特征在于,在移动所述被选择的预览图对应的原图片时,所述原图片的位移轨迹信息,根据所述被选择的预览图的位置坐标信息、所述被选择的预览图对应的原图片的中心以及预设的位移轨迹算确定。The method for quickly previewing an item-related image according to claim 8, wherein when the original picture corresponding to the selected preview image is moved, the displacement track information of the original picture is based on the selected preview The position coordinate information of the map, the center of the original picture corresponding to the selected preview image, and the preset displacement trajectory are determined.
  10. 根据权利要求4所述的物品关联图片快速预览的方法,其特征在于,所述预定排列规则,包括:The method for quickly previewing an item-related image according to claim 4, wherein the predetermined arrangement rule comprises:
    按照所述预览图预设的图片编号的大小顺序,从图片编号较小物品预览图开始,按照从上大小、从左到右的排列顺序进行排列。According to the order of the size of the picture number preset by the preview picture, the picture number is displayed in the order of the top size and the left to right.
  11. 根据权利要求4所述的物品关联图片快速预览的方法,其特征在于,所述可供显示区域包括至少一个图片显示区块,所述图片显示区块中包含至少一张物品预览图。The method for quickly previewing an item-related picture according to claim 4, wherein the available display area comprises at least one picture display block, and the picture display block includes at least one item preview image.
  12. 根据权利要求11所述的物品关联图片快速预览的方法,其特征在于,所述图片显示区块的尺寸具体是根据该图片显示区块内包含的预览图的显示尺寸确定;The method for quickly previewing an item-related image according to claim 11, wherein the size of the picture display block is determined according to a display size of a preview image included in the picture display block;
    或者,所述图片显示区块的尺寸具体是根据预设比例对所述可供显示区域的划分确定;Or the size of the picture display block is specifically determined according to a preset ratio of the available display area;
    或者,所述图片显示区块的尺寸具体是根据预设划分算法对所述可供显示区域随机划分确定。Alternatively, the size of the picture display block is specifically determined by randomly dividing the available display area according to a preset dividing algorithm.
  13. 根据权利要求1所述的物品关联图片快速预览的方法,其特征在于,所述将所述待查看物品的关联图片以预定的方式在所述新图层上显示,包括:The method for quickly previewing an item-related image according to claim 1, wherein the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner comprises:
    按照预设的显示顺序,以单幅方式在可供显示区域以与该可供显示区域相适应的尺寸显示所述原图片。The original picture is displayed in a single format in a size that is compatible with the available display area in a single format in accordance with a preset display order.
  14. 根据权利要求13所述的物品关联图片快速预览的方法,其特征在于,所述显示顺序包括:The method for quickly previewing an item-related picture according to claim 13, wherein the display order comprises:
    按照所述原图片的图片编号的大小顺序依次显示,并且优先显示图片编号较小的原 图片。Displaying in order of the size of the picture number of the original picture, and preferentially displaying the original picture number image.
  15. 根据权利要求7或13所述的物品关联图片快速预览的方法,其特征在于,包括:The method for quickly previewing an item-related image according to claim 7 or claim 13, comprising:
    接收对所述单幅方式显示的原图片的切换指令;Receiving a switching instruction for the original picture displayed in the single format manner;
    根据所述切换指令确定的切换方向,根据所述原图片预设的显示顺序,显示另一原图片。According to the switching direction determined by the switching instruction, another original picture is displayed according to the display order preset by the original picture.
  16. 根据权利要求7或13所述的物品关联图片快速预览的方法,其特征在于,包括:The method for quickly previewing an item-related image according to claim 7 or claim 13, comprising:
    接收对所述新图层上的预设边缘区域输入的触控指令;Receiving a touch instruction inputting a preset edge area on the new layer;
    关闭所述新图层。Close the new layer.
  17. 根据权利要求16所述的物品关联图片快速预览的方法,其特征在于,所述预设边缘区域包括:The method for quickly previewing an item-related image according to claim 16, wherein the preset edge area comprises:
    所述新图层上所述可供显示区域之外的区域。The area outside the available display area on the new layer.
  18. 根据权利要求2所述的物品关联图片快速预览的方法,其特征在于,所述述按钮控件位于所述待查看物品的预览图上方。The method for quickly previewing an item-related picture according to claim 2, wherein the button control is located above a preview image of the item to be viewed.
  19. 根据权利要求5所述的物品关联图片快速预览的方法,其特征在于,所述在所述新图层上的对应位置显示所述待查看物品的预览图时,根据预设的动画特效进行显示;The method for quickly previewing an item-related image according to claim 5, wherein when the preview position of the item to be viewed is displayed at a corresponding position on the new layer, the display is performed according to a preset animation effect. ;
    其中,所述动画特效包括:淡入动画效果。The animation effects include: fade in animation effects.
  20. 根据权利要求11所述的物品关联图片快速预览的方法,其特征在于,所述待查看物品的关联图片的数目小于预设的第一预设数目阈值,所述可供显示区域包含的图片显示区块的数目小于预设的第二预设数目阈值;The method for quickly previewing an item-related image according to claim 11, wherein the number of associated pictures of the item to be viewed is less than a preset first preset number threshold, and the image display included in the available display area The number of blocks is less than a preset second preset number threshold;
    相应的,所述图片显示区块包含的所述预览图的数目小于预设的第三预设数目阈值;Correspondingly, the number of the preview images included in the picture display block is smaller than a preset third preset number threshold;
    其中,所述第三预设数目阈值等于所述第一预设数目阈值除以所述第二预设数目阈值所得的商取整后加一。The third preset number threshold is equal to the first preset number threshold divided by the second preset number threshold, and the quotient is incremented by one.
  21. 根据权利要求1所述的物品关联图片快速预览的方法,其特征在于,所述待查看物品包括:The method for quickly previewing an item-related image according to claim 1, wherein the item to be viewed includes:
    电子交易平台中的商品。Goods in an electronic trading platform.
  22. 一种物品关联图片快速预览的装置,其特征在于,包括: A device for quickly previewing an item-related image, comprising:
    查看指令接收单元,用于接收用户针对移动终端屏幕显示的待查看物品对应的预览标识输入的查看指令;The instruction receiving unit is configured to receive a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed on the screen of the mobile terminal;
    关联图片获取单元,用于获取所述待查看物品的关联图片;An associated picture obtaining unit, configured to acquire an associated picture of the item to be viewed;
    关联图片显示单元,用于在所述移动终端屏幕的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。And an associated picture display unit, configured to generate a new layer on a preset area of the mobile terminal screen, and display an associated picture of the item to be viewed on the new layer; the new layer is located in the The item to be viewed displayed on the screen of the mobile terminal corresponds to the top of the layer.
  23. 根据权利要求22所述的物品关联图片快速预览的装置,其特征在于,所述关联图片显示单元,包括:The apparatus for displaying a quick view of an item associated with an image according to claim 22, wherein the associated picture display unit comprises:
    预览图的数量获取单元,用于获取所述待查看物品的预览图的数量;a quantity obtaining unit of the preview image, configured to acquire a quantity of the preview image of the item to be viewed;
    排列方式确定单元,用于根据所述预览图的数量,按照预定排列规则确定所述预览图的排列方式;An arrangement determining unit, configured to determine, according to a predetermined arrangement rule, an arrangement manner of the preview images according to the number of the preview images;
    显示尺寸确定单元,用于根据所述排列方式,以及可供显示区域尺寸,确定各个预览图的显示尺寸;a display size determining unit, configured to determine a display size of each preview image according to the arrangement manner and the available display area size;
    预览图显示单元,用于在所述新图层上,以所述确定的排列方式和各个预览图的所述显示尺寸,聚合显示所述预览图。a preview display unit for collectively displaying the preview image on the new layer in the determined arrangement and the display size of each preview image.
  24. 根据权利要求23所述的物品关联图片快速预览的装置,其特征在于,包括:The apparatus for quickly previewing an item-related image according to claim 23, comprising:
    选择操作接收单元,用于接收对聚合显示所述预览图的选择操作;Selecting an operation receiving unit, configured to receive a selection operation for displaying the preview image by aggregation;
    原图片读取单元,用于读取被选择的预览图对应的原图片;The original picture reading unit is configured to read the original picture corresponding to the selected preview image;
    原图片显示单元,用于以单幅方式在所述可供显示区域以与该可供显示区域相适应的尺寸显示被选择的预览图对应的原图片。The original picture display unit is configured to display the original picture corresponding to the selected preview image in the available display area in a size corresponding to the available display area in a single format.
  25. 根据权利要求22所述的物品关联图片快速预览的装置,其特征在于,所述将所述待查看物品的关联图片以预定的方式在所述新图层上显示,包括:The apparatus for quickly previewing an item-related image according to claim 22, wherein the displaying the associated picture of the item to be viewed on the new layer in a predetermined manner comprises:
    第二原图片显示单元,用于按照预设的显示顺序,以单幅方式在可供显示区域以与该可供显示区域相适应的尺寸显示所述原图片。And a second original picture display unit, configured to display the original picture in a single format in a size that is compatible with the available display area in a single format according to a preset display order.
  26. 根据权利要求24或25所述的物品关联图片快速预览的装置,其特征在于,包括:The apparatus for quickly previewing an item-related image according to claim 24 or 25, comprising:
    切换指令接收单元,用于接收对所述单幅方式显示的原图片的切换指令;a switching instruction receiving unit, configured to receive a switching instruction for the original picture displayed in the single format manner;
    原图片单元切换,用于根据所述切换指令确定的切换方向,根据所述原图片预设的显示顺序,显示另一原图片。The original picture unit is switched, and is used to display another original picture according to the display order preset by the original picture according to the switching direction determined by the switching instruction.
  27. 根据权利要求24或25所述的物品关联图片快速预览的装置,其特征在于,包 括:A device for quickly previewing an item-related picture according to claim 24 or 25, characterized in that include:
    触控指令接收单元,用于接收对所述新图层上的预设边缘区域输入的触控指令;a touch instruction receiving unit, configured to receive a touch instruction inputting a preset edge area on the new layer;
    新图层关闭单元,用于关闭所述新图层。A new layer closes the unit to close the new layer.
  28. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    显示器、处理器和存储器;Display, processor and memory;
    其中,所述处理器接收用户针对所述显示器显示的待查看物品对应的预览标识输入的查看指令;The processor receives a viewing instruction input by the user for the preview identifier corresponding to the item to be viewed displayed by the display;
    所述存储器,用于存储获取的所述待查看物品的关联图片;The memory is configured to store the acquired associated picture of the item to be viewed;
    所述处理器在所述显示器的预设区域渲染生成新图层,并将所述待查看物品的关联图片在所述新图层上显示;所述新图层位于所述移动终端屏幕显示的待查看物品对应图层的上方。 The processor renders a new layer in a preset area of the display, and displays an associated picture of the item to be viewed on the new layer; the new layer is displayed on a screen of the mobile terminal The item to be viewed corresponds to the top of the layer.
PCT/CN2016/092817 2015-08-11 2016-08-02 Object-associated image quick preview method and device WO2017024964A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510491382.7 2015-08-11
CN201510491382.7A CN106468984A (en) 2015-08-11 2015-08-11 A kind of method of item associations picture rapid preview and device

Publications (1)

Publication Number Publication Date
WO2017024964A1 true WO2017024964A1 (en) 2017-02-16

Family

ID=57983009

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092817 WO2017024964A1 (en) 2015-08-11 2016-08-02 Object-associated image quick preview method and device

Country Status (2)

Country Link
CN (1) CN106468984A (en)
WO (1) WO2017024964A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654737A (en) * 2020-06-24 2020-09-11 西安诺瓦星云科技股份有限公司 Program synchronization management method and device
CN113191726A (en) * 2021-04-22 2021-07-30 五八有限公司 Task detail interface display method, device, equipment and computer readable medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213332B (en) * 2017-06-29 2022-11-08 北京搜狗科技发展有限公司 Input method and device of expression picture
CN107783709B (en) * 2017-10-20 2021-02-09 维沃移动通信有限公司 Image viewing method and mobile terminal
CN110020322A (en) * 2018-07-24 2019-07-16 携程计算机技术(上海)有限公司 The image display method and system at interface
CN109657086B (en) * 2018-12-14 2020-05-19 苏州好玩友网络科技有限公司 Image preview method, device, equipment and storage medium
CN109712694B (en) * 2018-12-20 2021-01-12 武汉联影医疗科技有限公司 Image processing method, device and system and image processing workstation
CN109587547B (en) * 2018-12-30 2021-07-23 北京奇艺世纪科技有限公司 Advertisement playing control method and device
CN110443772B (en) * 2019-08-20 2022-07-12 百度在线网络技术(北京)有限公司 Picture processing method and device, computer equipment and storage medium
CN110716782B (en) * 2019-09-30 2023-05-23 北京乐蜜科技有限责任公司 Information display method and device and electronic equipment
CN114092370A (en) * 2021-11-19 2022-02-25 北京字节跳动网络技术有限公司 Image display method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012914A (en) * 2010-11-22 2011-04-13 深圳市斯尔顿科技有限公司 Method and device for processing web page images
KR101442611B1 (en) * 2008-03-06 2014-09-23 삼성전자주식회사 Apparatus for displaying and overlapping a plurality of layers and method for controlling the apparatus
CN104182430A (en) * 2013-05-28 2014-12-03 腾讯科技(深圳)有限公司 Method and device for displaying image in text message
CN104765809A (en) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 Preview method and device of search pictures of mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914495A (en) * 2013-01-09 2014-07-09 阿里巴巴集团控股有限公司 Page preview method and system
CN103616983B (en) * 2013-11-25 2017-11-10 小米科技有限责任公司 A kind of picture display method, device and terminal device
CN104731480B (en) * 2015-03-31 2020-03-17 努比亚技术有限公司 Image display method and device based on touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101442611B1 (en) * 2008-03-06 2014-09-23 삼성전자주식회사 Apparatus for displaying and overlapping a plurality of layers and method for controlling the apparatus
CN102012914A (en) * 2010-11-22 2011-04-13 深圳市斯尔顿科技有限公司 Method and device for processing web page images
CN104182430A (en) * 2013-05-28 2014-12-03 腾讯科技(深圳)有限公司 Method and device for displaying image in text message
CN104765809A (en) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 Preview method and device of search pictures of mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654737A (en) * 2020-06-24 2020-09-11 西安诺瓦星云科技股份有限公司 Program synchronization management method and device
CN111654737B (en) * 2020-06-24 2022-07-12 北京嗨动视觉科技有限公司 Program synchronization management method and device
CN113191726A (en) * 2021-04-22 2021-07-30 五八有限公司 Task detail interface display method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN106468984A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
WO2017024964A1 (en) Object-associated image quick preview method and device
US10810781B2 (en) Systems and methods for displaying representative images
US9092455B2 (en) Image curation
WO2017173781A1 (en) Video frame capturing method and device
US9240070B2 (en) Methods and systems for viewing dynamic high-resolution 3D imagery over a network
US8836728B2 (en) Techniques to magnify images
JP2020500357A (en) Method and device for presenting animated images on a mobile device
KR101932675B1 (en) Terminal, method for contrlling thereof and program written in a recording medium for implementing the method
WO2017032078A1 (en) Interface control method and mobile terminal
US10424009B1 (en) Shopping experience using multiple computing devices
JPWO2016043161A1 (en) Display device, display system, and display control program
CN110717790A (en) Method and equipment for viewing media files
US20140022396A1 (en) Systems and Methods for Live View Photo Layer in Digital Imaging Applications
US9792717B2 (en) Interactive slide deck
WO2023226812A1 (en) Video processing method and apparatus, and computer device, storage medium and program product
CN104063796B (en) Object information display method, system and device
CN114913277A (en) Method, device, equipment and medium for three-dimensional interactive display of object
CN111198684A (en) Method, apparatus, device and medium for data processing and graphic engine establishment
US9483237B2 (en) Method and system for providing an image effects interface
KR102223554B1 (en) Terminal, method for contrlling thereof and recording medium on which a program for implemeting the method
CN105376510A (en) Projection method and projection device
EP3210191B1 (en) Accelerated image gradient based on one-dimensional data
KR102223553B1 (en) Terminal, method for contrlling thereof and recording medium on which a program for implemeting the method
US20160125915A1 (en) Electronic Video Division and Transmission System and Method
CN116882911A (en) Financial card application method, apparatus, device, storage medium and product

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: 16834588

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: 16834588

Country of ref document: EP

Kind code of ref document: A1