Image display method and device, electronic device, and storage medium

By analyzing and processing the images to be displayed and dynamically laying out the map identification controls, the problem of a single display form of logistics information is solved, and the user experience and the stickiness of the e-commerce app are improved.

CN110390570BActive Publication Date: 2024-08-23BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810344938.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-04-17
Publication Date
2024-08-23
Estimated Expiration
2038-04-17

AI Technical Summary

Technical Problem

The display form of logistics information in the existing technology is single, resulting in poor user experience and affecting the stickiness between e-commerce Apps and users.

Method used

By obtaining the image to be displayed, parsing, processing and dynamic layout are performed to generate a map identification control and display it on the background view to increase the diversity and adaptability of the display form.

Benefits of technology

It improves the diversity of logistics pages and the compatibility with e-commerce operation scenarios, improves users’ experience when checking logistics status, and enhances the stickiness between e-commerce apps and users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110390570B
    Figure CN110390570B
Patent Text Reader

Abstract

The present disclosure is about a method and device for displaying pictures, an electronic device, and a storage medium, and relates to the field of e-commerce technology. The method includes: obtaining pictures to be displayed; parsing the pictures to be displayed to output target picture objects; dynamically laying out the target picture objects through picture loading controls to obtain map identification controls; and displaying the map identification controls on a background view to display pictures. The present disclosure can increase the diversity of picture display and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of Internet technology, users can view the logistics information of purchased goods through text (order tracking page) and map (order track page) on e-commerce websites or e-commerce apps.

[0003] In the related art, Figure 2 The flowchart shown in , that is, creating a mobile map and a map pin respectively, displaying the mobile map on the interface, and making the map pin comply with the mobile map protocol method. Next, the mobile map inserts the map pin into the map, creates a map pin in the protocol method, reads the local image and assigns the local image to the map pin, and finally refreshes the interface to display the local image on the interface. Figure 1 In the method of, in the order track, if the delivery vehicle or delivery person sets out, you can see the vehicle pin or person pin icon moving in real time on the map.

[0004] However, in the above method, users can only see fixed icons moving in real time, and the display form is relatively simple, which is not very suitable for the diversified operation scenarios of e-commerce. In addition, the user experience when checking the logistics status is poor, and it affects the stickiness between the e-commerce app and users.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a picture display method and device, an electronic device, and a storage medium, thereby overcoming the problem of a single picture display format caused by the limitations and defects of related technologies at least to a certain extent.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of the present disclosure, a method for displaying an image is provided, including: obtaining an image to be displayed; parsing the image to be displayed to output a target image object; dynamically laying out the target image object through an image loading control to obtain a map logo control; and displaying the map logo control on a background view to display the image.

[0009] In an exemplary embodiment of the present disclosure, parsing the image to be displayed to output a target image object includes: if binary data corresponding to the image to be displayed meets preset conditions, processing the binary data to generate image data; determining the image type of the image to be displayed through the image data; and obtaining the target image object through the image type.

[0010] In an exemplary embodiment of the present disclosure, obtaining the target picture object through the picture type includes: if the picture type of the picture to be displayed is a dynamic picture, reading the animation information of the picture to be displayed; extracting the playback information of the picture to be displayed according to the animation information to determine the cover frame picture.

[0011] In an exemplary embodiment of the present disclosure, the method also includes: determining a current index position corresponding to a current frame image in the image to be displayed; determining an index position of a frame image to be generated according to a cache strategy and the current index position; and generating the frame image to be generated according to the index position to extract the frame image to be generated.

[0012] In an exemplary embodiment of the present disclosure, the cache strategy is determined according to memory information of the dynamic image.

[0013] In an exemplary embodiment of the present disclosure, acquiring the target picture object through the picture type includes: if it is determined through the picture data that the picture type of the picture to be displayed is a static picture, caching the picture data and using the picture data as the target picture object.

[0014] In an exemplary embodiment of the present disclosure, dynamically laying out the target picture object through a picture loading control to obtain a map identification control includes: matching the target picture object with a preset picture in a playback order; if the target picture object does not match the preset picture, setting the picture parameters of the target picture object; and dynamically laying out the target picture object through the picture parameters to obtain the map identification control.

[0015] In an exemplary embodiment of the present disclosure, the picture parameters include a cover frame picture, a current frame index position, a play count, and a play time.

[0016] In an exemplary embodiment of the present disclosure, displaying the map logo control on the background view for image display includes: adding the background view control associated with the background view to a preset map logo control; adjusting the size of the preset map logo control to obtain a preset map logo control of a specified size; determining the anchor point position of the preset map logo control of the specified size; and adding the map logo control to the background view control according to the anchor point position for image display.

[0017] In an exemplary embodiment of the present disclosure, the anchor point position is determined according to the bottom center of the background view control.

[0018] In an exemplary embodiment of the present disclosure, the distance from the map identification control to the anchor point in the vertical direction is a fixed distance, and the center point of the map identification control and the background view control in the horizontal direction are the same.

[0019] According to one aspect of the present disclosure, there is provided a picture display device, comprising: a picture acquisition module, used to acquire a picture to be displayed; a picture parsing module, used to parse and process the picture to be displayed to output a target picture object; a control acquisition module, used to dynamically layout the target picture object through a picture loading control to acquire a map logo control; and a control display module, used to display the map logo control on a background view to display the picture.

[0020] According to one aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned picture display methods by executing the executable instructions.

[0021] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the image display method described in any one of the above is implemented.

[0022] In an image display method, an image display device, an electronic device, and a computer-readable storage medium provided in an exemplary embodiment of the present disclosure, a target image object is output by analyzing the image to be displayed; the target image is dynamically laid out by an image loading control to obtain a map identification control; and the map identification control is displayed on a background view. On the one hand, by dynamically laying out the target image object to obtain a map identification control, the display form can be increased and the diversity can be improved; on the other hand, by displaying the map identification control on the background view, the scene fit between the logistics page and the diversified operation of e-commerce is improved, thereby improving the user experience when viewing the logistics status and enhancing the stickiness between the e-commerce App and the user.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0025] Figure 1 A schematic diagram of a picture display method in an exemplary embodiment of the present disclosure is schematically shown;

[0026] Figure 2 The flowchart of the picture display method in the related art is schematically shown;

[0027] Figure 3 Schematically shows the architecture of a picture display system in an exemplary embodiment of the present disclosure;

[0028] Figure 4 Schematically showing an interface diagram of picture display in an exemplary embodiment of the present disclosure;

[0029] Figure 5 A specific flow chart schematically showing the picture display in the exemplary embodiment of the present disclosure;

[0030] Figure 6 A block diagram schematically shows a picture display device in an exemplary embodiment of the present disclosure;

[0031] Figure 7 A block diagram schematically illustrates an electronic device in an exemplary embodiment of the present disclosure;

[0032] Figure 8 A program product in an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0034] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0035] This example implementation first provides a method for displaying pictures, which can be applied to logistics tracking scenarios in major e-commerce websites and e-commerce apps. Figure 1 As shown, the picture display method may include the following steps:

[0036] In step S110, the picture to be displayed is obtained;

[0037] In step S120, the image to be displayed is parsed to output a target image object;

[0038] In step S130, the target image object is dynamically laid out through an image loading control to obtain a map identification control;

[0039] In step S140, the map logo control is displayed on the background view to display the image.

[0040] In the image display method provided in this exemplary embodiment, on the one hand, by dynamically laying out the target image object to obtain a map identification control, the display form can be increased and the diversity can be improved; on the other hand, by displaying the map identification control on the background view, the fit between the logistics page and the diversified operation scenarios of e-commerce is improved, thereby improving the user experience when viewing the logistics status and enhancing the stickiness between the e-commerce App and the user.

[0041] Next, the picture display method in this exemplary embodiment is further explained with reference to the accompanying drawings.

[0042] In step S110, the picture to be displayed is obtained.

[0043] In this example, the images to be displayed can include various types of images, such as static images, dynamic images, etc. The images to be displayed can be pre-configured according to actual needs. For example, static images can be set according to the type of purchased goods, the holiday corresponding to the delivery date, the purchase merchant information or other information, or they can be directly configured as any dynamic images. Figure 3 As shown, the picture to be displayed can be configured by the picture configuration system of the server side 301, and the format of the configured picture to be displayed can include any one of the GIF format, JPG format and PNG format. The client may include a picture processing module and a mobile map display module. Among them, the picture processing module can use the HTTP protocol or HTTPS protocol or other communication protocols to request the download of the picture to be displayed configured by the server. Among them, the server can use CMS (Content Management System) for picture configuration. The content management system can include elements such as document templates, scripting languages ​​or markup languages, and the content management system is usually supported by languages ​​such as Python, Perl or Java. When using HTTP or HTTPS protocol to request the download of the picture to be displayed configured by the server CMS, a system request can be used, or a third-party request such as AFNetworking can be used.

[0044] In step S120, the image to be displayed is parsed to output a target image object.

[0045] In this example, the image to be displayed can still be parsed and processed by the image processing module. The target image object can be a custom image object for storing various types of auxiliary data. Specifically, parsing the image to be displayed to output the target image object includes: if the binary data corresponding to the image to be displayed meets the preset conditions, data processing is performed on the binary data to generate image data; the image type of the image to be displayed is determined by the image data; the target image object is obtained by the image type, and the target image object includes a cover frame image and a frame image to be generated.

[0046] The preset conditions may include legality. For example, a program may be written to determine whether the binary data of the image to be displayed is empty to determine whether the binary data is legal. After determining that the image binary data is legal data, the binary data may be processed to generate image data, and care should be taken to avoid the system caching the image data of the image to be displayed. Next, the image type of the image to be displayed may be read from the image data. The image type may be, for example, a static image or a dynamic image. Finally, the corresponding target image object may be determined based on the determined image type. It should be noted that the target image object may include a custom cover frame image and each frame image to be generated.

[0047] Specifically, for different picture types, the method of obtaining the target picture object is also different to improve the accuracy and efficiency of the determined target picture object. The first method of determining the corresponding target picture object according to the determined picture type includes: if the picture type of the picture to be displayed is a dynamic picture, then reading the animation information of the picture to be displayed; extracting the playback information of the picture to be displayed according to the animation information to determine the cover frame picture. In other words, if the picture type is a dynamic picture, the animation information of the picture to be displayed can be read, and the animation information here can include information such as the number of animation loops and the total number of animation frames. Furthermore, all frame pictures in the dynamic GIF picture can be traversed, and the playback information of each frame picture in the picture to be displayed can be extracted and saved according to the obtained animation information, and a frame picture is selected from all the frame pictures to be set as the cover frame picture.

[0048] Furthermore, after determining the cover frame image, the frame image to be generated can be determined, which specifically includes: determining the current index position corresponding to the current frame image in the image to be displayed; determining the index position of the frame image to be generated according to a cache strategy and the current index position; generating the frame image to be generated according to the index position to extract the frame image to be generated.

[0049] The current index position corresponding to the current frame image refers to the address of the current frame image in the time index file. This can be done by extracting the timestamp files of each frame in the dynamic image and composing the timestamp files into a time index file in chronological order. Caching strategies may include on-demand caching and pre-caching, for example. On-demand caching refers to placing the content obtained from the server in a certain format in the local file system, and then for each request, checking the cache to see if the data exists, and only obtaining it from the server if the data does not exist. In this way, the cache layer is similar to the processor's cache. On-demand caching can be achieved by caching the data model on demand when opening a viewcontroller, rather than doing it on a background thread, so that on-demand caching can be achieved when a URL request returns a successful response. Pre-caching refers to placing content locally for future access. For pre-caching, data loss or misses are unacceptable, for example, a user downloads an article to read on the subway, but finds that the device does not have these articles. Implementing pre-caching may require a background thread to access the data and save it in a meaningful format so that the local cache can be edited without reconnecting to the server. You can determine the cache strategy based on the settings or the memory size occupied by the GIF animation, combined with the advantages and disadvantages of each cache strategy.

[0050] Next, when it is determined that the image type is a dynamic image, i.e., a GIF image, its index position is first determined to avoid an out-of-bounds situation. Next, the current index position corresponding to the currently retrieved frame image, i.e., the current frame image, can be recorded. Then, the index position corresponding to the frame image to be generated that needs to be produced next can be determined based on the determined cache strategy and the current index position corresponding to the current frame image. It should be noted that each index position uniquely corresponds to a frame image. The index position of the frame image to be generated can be the index position of the frame image after the current frame image. Further, the frame image to be generated can be produced according to the determined index position of the frame image to be generated. For example, if the current frame image is the third frame image, the frame image to be generated is the fourth frame image. After the frame image to be generated is generated, the corresponding frame image to be generated can be taken out, and the relevant cache can be cleared according to the cache strategy after taking it out. By determining the index position, the accuracy of producing the frame image to be generated can be improved to avoid misoperation.

[0051] It should be noted that in this example implementation, when parsing GIF images, the implementation principle of FLAnimatedImage was referred to, and a layer of compatibility encapsulation was made on its basis. Among them, FLAnimatedImage is a library used to render GIF images in the App. One of the threads is responsible for rendering the image content of each frame of the GIF, where rendering refers to loading the GIF file data and then extracting the currently required frame. The process of loading images is performed through asynchronous threads. Then FLAnimatedImage will have a memory area dedicated to these rendered frames. Furthermore, the ImageView in the main thread will read the corresponding frames from this memory area according to current needs. In this way, the efficiency of image parsing can be improved.

[0052] In addition, the second method of determining the corresponding target image object according to the determined image type includes: if the image type of the image to be displayed is determined to be a static image through the image data, the system interface can be called to cache the image data. In addition, the static type image data can be directly used as the target image object for subsequent operations.

[0053] In step S130, the target image object is dynamically laid out through an image loading control to obtain a map identification control.

[0054] The image loading control can be a custom image loading control obtained by encapsulating the original image loading control imageView that comes with the system. After obtaining the image loading control, the target image object can be further dynamically laid out to obtain a map identification control. The specific process includes: matching the target image object with a preset image in the playback order; if the target image object does not match the preset image, setting the image parameters of the target image object; dynamically laying out the target image object through the image parameters to obtain the map identification control. The preset image here refers to the image to be displayed directly obtained from the server. If the custom target image object is a dynamic image, each frame of the image can be read in the order in which the target image object is played, and then it is determined whether the target image object matches the image to be displayed. If the two match, stop setting and directly display; if the two do not match, further set the image parameters of the target image object, which may include parameters such as the cover frame image, the current frame index position, the number of plays, and the play time. Next, the flag bit of whether to initiate the animation can be updated to determine whether to start the GIF animation. Finally, the layer display of the image loading control can be refreshed according to the obtained image parameters to obtain the map identification control.

[0055] Since there are various types of target image objects, different map marker controls can be obtained. The map marker control can be obtained according to the obtained target image object. For example, the map marker control can be associated with the type of goods purchased by the user. For example, if the user purchases a refrigerator, the map marker control can be set to the refrigerator; the map marker control can also be associated with the delivery date of the goods purchased by the user. For example, the map marker control on Christmas Day can be Santa Claus; the map marker control on the user's birthday can be a birthday cake. In addition, the map marker control can also be a dynamic picture type to be displayed. In this way, the diversity of map marker controls can be improved.

[0056] Next, in step S140, the map logo control is displayed on the background view to display the image.

[0057] The background view can be, for example, a map of a fixed size or other pictures, which can be created by a program developer using a program. The specific process includes: adding a background view control associated with the background view to a preset map logo control; adjusting the size of the preset map logo control to obtain a preset map logo control of a specified size; determining the anchor point position of the preset map logo control of the specified size; and adding the map logo control to the background view control according to the anchor point position to display the picture.

[0058] Among them, the created background view can be represented by a background view control to facilitate adjustment. The preset map logo control can be, for example, the default map logo control in the system, and the size of the customized map logo control can be determined by the preset map logo control. Furthermore, the background view control can be added to the preset map logo control, and the preset map logo control can be adjusted to a specified size. The specified size can be set according to actual needs, for example, it can be consistent with the size of the background view control. Next, the anchor position of the preset map logo control can be determined. The anchor position can be used to describe the point where the customized map logo control corresponds to the longitude and latitude on the map. Specifically, the position of the bottom center point of the background view control can be set as the anchor position of the map logo control. Next, the map logo control obtained by encapsulating the image loading control can be added to the background view control according to the anchor position of the preset map logo control. When adding a map logo control, refer to Figure 4 As shown in , the size of the map marker control A can be dynamically adapted according to the size of the image to be displayed. It should be noted that in the vertical direction, the distance from one end of the map marker control A to the anchor point is a fixed height, such as 10 cm; in the horizontal direction, the center point position of the map marker control A is the same as the center point position of the background view control. After determining the display position, the configured map marker control can be displayed on the map.

[0059] For example, if a package is delivered to a user on Christmas Day, the user will see a Santa Claus pin image moving toward him on the map; if a package is delivered to a user on his birthday, the user will see a blessing GIF from an e-commerce platform moving toward him on the map; or if the product purchased by the user is a refrigerator, the user will see a refrigerator moving toward him on the map. Through the method in this example, the fixed pin image on the map can be turned into a dynamically configurable image or dynamic GIF image.

[0060] Through the implementation in this example, users can see the movement of various map mark controls on the logistics page, enriching the display form, increasing diversity, and improving the fit between the logistics page and the diversified operation scenarios of e-commerce. In addition, it improves the user experience when viewing the logistics status and enhances the stickiness between the e-commerce App and users.

[0061] refer to Figure 3 The entire system 300 includes a server 301 and a client 302, wherein the client 302 includes an image processing module 3021 and a MapView display module 3022. The MapView display module 3022 includes a custom pin identification module 30221 and a MapView module 30222.

[0062] Figure 5 A flowchart showing a map marker control is shown, which specifically includes the following steps:

[0063] Step S510, creating a mobile terminal map;

[0064] Step S511, displaying the mobile terminal map on the interface;

[0065] Step S520, creating a pin;

[0066] Step S521, comply with the mobile terminal map protocol method;

[0067] Step S512, the mobile terminal map inserts a pin into the map;

[0068] Step S513, creating a pin identifier corresponding to the pin in the protocol method;

[0069] S5131, requesting the picture configuration system;

[0070] S5132, parsing pictures;

[0071] S5133, encapsulate the image through the image loading control, and go to step S515;

[0072] Step S514, defining the anchor point position by customizing the pin mark;

[0073] Step S515, customizing the dynamic layout of pin marks;

[0074] Step S516, refresh the interface and display it.

[0075] The present disclosure also provides a picture display device. Figure 6 As shown, the picture display device 600 may include:

[0076] The picture acquisition module 601 can be used to acquire the picture to be displayed;

[0077] The picture parsing module 602 may be used to parse the picture to be displayed to output a target picture object;

[0078] The control acquisition module 603 may be used to dynamically layout the target image object through the image loading control to acquire a map identification control;

[0079] The control display module 604 can be used to display the map logo control on the background view to display the image.

[0080] It should be noted that the specific details of each module in the above-mentioned picture display device have been described in detail in the corresponding picture display method, so they will not be repeated here.

[0081] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0082] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0083] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0084] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0085] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0086] Refer to the following Figure 7 An electronic device 700 according to this embodiment of the present invention will be described. Figure 7 The electronic device 700 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0087] like Figure 7 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include but are not limited to: at least one processing unit 710, at least one storage unit 720, and a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710).

[0088] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 710 can perform the following steps: Figure 1 The steps shown in: in step S110, the picture to be displayed is obtained; in step S120, the picture to be displayed is parsed and processed to output a target picture object; in step S130, the target picture object is dynamically laid out through a picture loading control to obtain a map logo control; in step S140, the map logo control is displayed on the background view to display the picture.

[0089] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and / or a cache storage unit 7202 , and may further include a read-only storage unit (ROM) 7203 .

[0090] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0091] Bus 730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0092] The electronic device 700 may also communicate with one or more external devices 800 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 760. As shown, the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0093] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0094] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0095] refer to Figure 8 As shown, a program product 900 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0096] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0097] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0098] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0099] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0100] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0101] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for displaying a picture, characterized in that: include: Get the picture to be displayed; Parsing the image to be displayed to output a target image object; Dynamically layout the target image object through an image loading control to obtain a map identification control; Displaying the map logo control on the background view to display the image; Among them, when the target picture object is a dynamic picture, the target picture object is dynamically laid out through the picture loading control to obtain a map identification control, including: matching the target picture object with a preset picture according to the playback order; if the target picture object does not match the preset picture, setting the picture parameters of the target picture object; dynamically laying out the target picture object through the picture parameters to obtain the map identification control, wherein the map identification control is obtained according to the target picture object, and the map identification control is associated with at least one of the types of goods purchased by the user, the delivery date, and the dynamic picture type of the picture to be displayed.

2. The picture display method according to claim 1, characterized in that: Parsing the image to be displayed to output a target image object includes: If the binary data corresponding to the image to be displayed meets the preset conditions, data processing is performed on the binary data to generate image data; Determine the picture type of the picture to be displayed through the picture data; The target picture object is obtained by the picture type.

3. The picture display method according to claim 2, characterized in that: Acquiring the target picture object by using the picture type includes: If the image type of the image to be displayed is a dynamic image, then reading the animation information of the image to be displayed; The playback information of the picture to be displayed is extracted according to the animation information to determine the cover frame picture.

4. The picture display method according to claim 3, characterized in that: The method further comprises: Determine a current index position corresponding to a current frame of the picture to be displayed; Determine the index position of the frame image to be generated according to a cache strategy and the current index position; The frame picture to be generated is generated according to the index position to extract the frame picture to be generated.

5. The picture display method according to claim 4, characterized in that: The cache strategy is determined according to the memory information of the dynamic image.

6. The picture display method according to claim 2, characterized in that: Acquiring the target picture object by using the picture type includes: If it is determined through the picture data that the picture type of the picture to be displayed is a static picture, the picture data is cached and used as a target picture object.

7. The picture display method according to claim 1, characterized in that: The picture parameters include the cover frame picture, the current frame index position, the number of play times and the play time.

8. The picture display method according to claim 1, characterized in that: Displaying the map logo control on the background view to display the image includes: Add the background view control associated with the background view to the preset map marker control; Adjusting the size of the preset map marker control to obtain a preset map marker control of a specified size; Determine the anchor point position of the preset map marker control of a specified size; The map logo control is added to the background view control according to the anchor point position to display the image.

9. The picture display method according to claim 8, characterized in that: The anchor point position is determined according to the bottom center of the background view control.

10. The picture display method according to claim 8, characterized in that: The distance from the map logo control to the anchor point in the vertical direction is a fixed distance, and the center point of the map logo control and the background view control in the horizontal direction are the same.

11. A picture display device, characterized in that: include: Image acquisition module, used to acquire images to be displayed; An image parsing module is used to parse the image to be displayed to output a target image object; A control acquisition module, used for dynamically laying out the target image object through an image loading control to obtain a map identification control; A control display module, used to display the map logo control on the background view to display the image; Among them, the control acquisition module is also used to match the target picture object with a preset picture according to the playback order when the target picture object is a dynamic picture; if the target picture object does not match the preset picture, set the picture parameters of the target picture object; dynamically layout the target picture object according to the picture parameters to obtain the map identification control, wherein the map identification control is obtained based on the target picture object, and the map identification control is associated with at least one of the types of goods purchased by the user, the delivery date, and the dynamic picture type of the picture to be displayed.

12. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the picture display method described in any one of claims 1-10 by executing the executable instructions.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the image display method according to any one of claims 1 to 10 is implemented.