Data processing method and device, electronic equipment and computer readable storage medium
By receiving and splicing pictures of product settlement information, generating and compressing splicing pictures, the problem of slow acquisition of product settlement information is solved, and settlement efficiency and interaction efficiency are improved.
Patent Information
- Application Number
- CN202311062981.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-22
- Publication Date
- 2025-02-28
AI Technical Summary
During the product settlement process, the client obtains product settlement information slowly, resulting in low settlement efficiency and affecting order conversion and order volume.
By receiving product settlement requests from the first device, obtaining product settlement data, including multiple product settlement pictures, strategically splicing generates product settlement styling, compressing and sending it to the first device for analysis and display.
It improves the speed and efficiency of product settlement data acquisition, reduces data size, saves communication resources, and improves interaction efficiency.
Smart Images

Figure CN119540041A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer and Internet technology, and in particular to a data processing method, device, electronic device and computer-readable storage medium. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the application that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] When the client performs commodity settlement, it usually requests the settlement information of the commodity from the interface of the backend server. The commodity settlement information involves rich content, such as commodity settlement coupons, commodity main pictures, commodity promotion pictures, logistics pictures and other pictures, as well as commodity discount text information, commodity description text information and commodity promotion text information.
[0004] If the client obtains the above-mentioned commodity settlement information through an interface request, the request speed of the above-mentioned commodity settlement information will be affected by the number of interfaces and the interface performance, resulting in the client obtaining the commodity settlement information very slowly and the commodity settlement efficiency being very low, thus affecting the conversion of commodity orders and further affecting the order volume. Summary of the invention
[0005] The purpose of the present disclosure is to provide a data processing method, device, electronic device and computer-readable storage medium, which can improve the speed and efficiency of a first device obtaining product settlement data.
[0006] 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.
[0007] The embodiment of the present disclosure provides a data processing method, including: receiving a product settlement request of a first product from a first device; acquiring product settlement data of the first product, the product settlement data of the first product including a plurality of product settlement pictures corresponding to the first product; splicing the plurality of product settlement pictures according to a strategy to generate a product settlement splicing picture;
[0008] The product settlement spliced image is compressed to obtain a product settlement compressed image; the product settlement compressed image is sent to the first device, so that the first device parses the product settlement compressed image and displays the multiple product settlement images after parsing one by one.
[0009] In some embodiments, the product settlement data of the first product also includes product settlement business data corresponding to the first product; wherein the method also includes: compressing the product settlement business data corresponding to the first product to obtain product settlement business compressed data; wherein the product settlement compression map is sent to the first device so that the first device divides the product settlement compression map and displays the divided multiple product settlement pictures one by one, including: returning the product settlement compression map and the product settlement business compressed data to the first device so that the first device parses the product settlement compression map and the product settlement business compressed data and displays the multiple product settlement pictures and product settlement business data obtained by the parsing one by one.
[0010] In some embodiments, the product settlement compressed image is sent to the first device so that the first device parses the product settlement compressed image and displays the multiple product settlement pictures after parsing one by one, including: the first device decompresses the product settlement compressed image to obtain the product settlement spliced image; the first device cuts the product settlement spliced image according to the strategy to obtain the multiple product settlement pictures; the first device displays the multiple product settlement pictures one by one.
[0011] In some embodiments, sending the product settlement compression map to the first device includes: storing the product settlement compression map in a first address; returning the first address to the first device so that the first device accesses and obtains the product settlement compression map according to the first address.
[0012] In some embodiments, before receiving a product settlement request for the first product from the first device, the method also includes: requesting a product interface to obtain a product image and a product introduction of the first product; obtaining a coupon image and a discount description corresponding to the first product from a coupon interface; obtaining a promotion image and a promotion description corresponding to the first product from a promotion interface; obtaining a logistics image and a logistics description corresponding to the first product from a logistics interface; using the product image, the coupon image, the promotion image, and the logistics image as multiple product settlement images corresponding to the first product; and using the product introduction, the discount description, the promotion description, and the logistics description as business data in the product settlement data corresponding to the first product.
[0013] In some embodiments, receiving a product settlement request sent by a first device for a first product includes: receiving a product settlement request sent by the first device for multiple products at the same time, the multiple products including the first product; wherein obtaining product settlement data of the first product includes: obtaining product settlement data corresponding to the multiple products; filtering out image data corresponding to the multiple products from the product settlement data corresponding to the multiple products; wherein splicing the multiple product settlement images according to a strategy to generate a product settlement splicing graph includes: splicing multiple product settlement images corresponding to the multiple products according to a strategy to generate the splicing graph.
[0014] In some embodiments, the multiple products also include a second product and a third product; the multiple product settlement pictures include product pictures, coupon pictures, promotional pictures and logistics pictures; wherein, the multiple product settlement pictures are spliced together according to a strategy to generate a product settlement splicing picture, including: splicing the product picture, coupon picture, promotional picture and logistics picture of the first product in sequence to obtain a first splicing picture; splicing the product picture, coupon picture, promotional picture and logistics picture of the second product in sequence to obtain a second splicing picture; splicing the product picture, coupon picture, promotional picture and logistics picture of the third product in sequence to obtain a third splicing picture; splicing the first splicing picture, the second splicing picture and the third splicing picture in sequence to obtain the product settlement splicing picture.
[0015] The embodiment of the present disclosure provides a data processing device, including: a product settlement request acquisition module, a product settlement data acquisition module, a picture stitching module, a compression module and a compressed picture sending module.
[0016] Among them, the product settlement request acquisition module is used to receive a product settlement request for a first product from a first device; the product settlement data acquisition module can be used to acquire the product settlement data of the first product, and the product settlement data of the first product includes multiple product settlement pictures corresponding to the first product; the picture stitching module can be used to stitch the multiple product settlement pictures according to the strategy to generate a product settlement stitching picture; the compression module can be used to compress the product settlement stitching picture to obtain a product settlement compressed picture; the compressed picture sending module can be used to send the product settlement compressed picture to the first device, so that the first device can parse the product settlement compressed picture and display the multiple product settlement pictures after parsing one by one.
[0017] An embodiment of the present disclosure provides an electronic device, which includes: a memory and a processor; the memory is used to store computer program instructions; the processor calls the computer program instructions stored in the memory to implement any of the data processing methods described above.
[0018] The embodiment of the present disclosure provides a computer-readable storage medium on which computer program instructions are stored to implement any of the data processing methods described above.
[0019] The embodiment of the present disclosure provides a computer program product or a computer program, which includes computer program instructions stored in a computer-readable storage medium. The computer program instructions are read from the computer-readable storage medium, and a processor executes the computer program instructions to implement the above data processing method.
[0020] The data processing method, device, electronic device and computer-readable storage medium provided by the embodiments of the present disclosure will, when the first device requests to obtain the product settlement data of the first product, stitch together the product settlement images in the product settlement data of the first product and compress them, and return the compressed product settlement compressed image to the first device. The above method, on the one hand, can pre-acquire the product settlement image of the first product and send it to the first device after integration. Compared with the method in which the first device requests different interfaces for each product settlement image, the above method can improve data acquisition efficiency; on the other hand, stitching together the product settlement images of the first product and returning them to the first device can improve interaction efficiency compared with returning the product settlement images of the first product to the first device separately; in addition, compressing the product settlement stitching image of the first product and sending it to the first device can reduce the data size and save communication resources.
[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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.
[0023] Figure 1 A schematic diagram of a scenario that can be applied to a data processing method or a data processing device in an embodiment of the present disclosure is shown.
[0024] Figure 2 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0025] Figure 3 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0026] Figure 4 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0027] Figure 5 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0028] Figure 6 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0029] Figure 7 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0030] Figure 8 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0031] Fig. 9 It is a schematic diagram of a structural diagram of a data processing method according to an exemplary embodiment.
[0032] Fig.10 It is a schematic diagram of a structural diagram of a data processing method according to an exemplary embodiment.
[0033] Fig.11 It is a block diagram of a data processing device according to an exemplary embodiment.
[0034] Fig.12 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0036] Those skilled in the art know that the implementation of the present application can be a system, device, equipment, method or computer program product. Therefore, the present application can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0037] The features, structures or characteristics described in the present disclosure 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 methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0038] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0039] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0040] In the description of the present application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a kind of association relationship describing the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different; the terms "comprising", "including" and "having" are used to express the meaning of open inclusion and mean that in addition to the listed elements / components / etc., there may be other elements / components / etc.
[0041] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0042] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0043] With the continuous development of the e-commerce industry, online shopping on e-commerce platforms has become a very common way to purchase goods. At present, when checking out goods on e-commerce platforms, the content displayed on the front end of the e-commerce platform generally requests the back-end service interface through HTTP. At this time, the performance of the interface and the loading performance are very critical to the efficiency of the e-commerce platform in obtaining data.
[0044] However, in actual application scenarios, a commodity settlement may involve multiple products. For example, multiple products can be settled in a shopping cart; each product may involve rich content (such as coupon images, product main images, promotional images, logistics images, product descriptions, logistics information, discount information, etc.).
[0045] For example, in an actual pharmaceutical e-commerce platform, multiple pharmaceutical products can be settled at one time, and each settlement page involves rich content [coupon image + product main image + promotional image + logistics image, etc.], and each content needs to request an interface separately. For example, the coupon image needs to be obtained by requesting the coupon interface, and the product main image needs to be obtained by requesting the product image interface, etc. In the above settlement scenario, the data interaction content between the front end and the interface is large, which greatly reduces the interface performance.
[0046] In addition, in the actual ordering process of the current supply chain's B2B (Business to Business) business, since B2B business users can order a large number of goods, with each item exceeding 5,000, the settlement page has a lot of data and a heavy hierarchy. The settlement page loads slowly and often experiences serious freezes, which affects order conversion and order volume.
[0047] In the actual scenarios of the current supply chain pharmaceutical platform, the following problems often occur when loading multi-element content in user coupon lists and products: due to poor interface performance, freezes often occur, and there are many image elements involved, and the display and settlement pages respond slowly; poor experience affects user use and leads to user loss; poor performance and slow loading affect user purchases, leading to the loss of a large number of users.
[0048] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0049] Figure 1A schematic diagram of a scenario that can be applied to a data processing method or a data processing device in an embodiment of the present disclosure is shown.
[0050] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
[0051] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0052] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, virtual reality devices, smart homes, etc.
[0053] The server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received request data, and feed back the processing results to the terminal device.
[0054] The server can be an independent physical server or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as basic cloud computing services such as big data and artificial intelligence platforms, etc. The present disclosure does not impose any restrictions on this.
[0055] The server 105 may, for example, receive a product settlement request for the first product from the first device; the server 105 may, for example, obtain product settlement data for the first product, where the product settlement data for the first product includes multiple product settlement pictures corresponding to the first product; the server 105 may, for example, splice the multiple product settlement pictures according to a strategy to generate a product settlement splicing picture; the server 105 may, for example, compress the product settlement splicing picture to obtain a product settlement compressed picture; the server 105 may, for example, send the product settlement compressed picture to the first device, so that the first device parses the product settlement compressed picture and displays the parsed multiple product settlement pictures one by one.
[0056] It should be understood that Figure 1 The number of terminal devices, networks and servers in the figure is only for illustration. The server 105 may be a physical server or may be composed of multiple servers. According to actual needs, it may have any number of terminal devices, networks and servers.
[0057] Figure 2 is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0058] Reference Figure 2 The data processing method provided by the embodiment of the present disclosure may include the following steps.
[0059] Step S202: receiving a product settlement request for a first product from a first device.
[0060] The first device may be any device such as a server, a smart phone, a tablet computer, a laptop computer, a desktop computer, a wearable device, a virtual reality device, a smart home, etc., and this application does not impose any restrictions on this.
[0061] The first product can be any product that needs to be settled, such as medicine, clothes, mobile phones, computers, food, etc., and this application does not impose any restrictions on this.
[0062] The product settlement request may be used to request product settlement data of the first product.
[0063] The above-mentioned product settlement data may include product information of the first product (such as product pictures or product introductions, etc.), product promotion information (such as promotion pictures or promotion information, etc.), logistics information (such as logistics pictures or logistics information or predicted logistics time, etc.), discount information (such as discount pictures or discount information, etc.), and any other data related to the settlement of the first product. This application does not impose any restrictions on this.
[0064] Step S204: acquiring product settlement data of the first product, where the product settlement data of the first product includes a plurality of product settlement pictures corresponding to the first product.
[0065] In some embodiments, the product settlement data of the first product may include picture-type data or text-type data, which is not limited in this application.
[0066] In some embodiments, the picture type settlement data of the first product may include multiple product settlement pictures such as product pictures, product promotion pictures, logistics pictures, and discount pictures.
[0067] In the related art, the first device needs to request multiple interfaces when obtaining the above-mentioned multiple product settlement diagrams of the first product.
[0068] In some embodiments of the present application, the server may pre-acquire the above-mentioned multiple product settlement pictures of the first product. For example, assuming that the first product is a flash sale product or a hot-selling product, the server may pre-acquire the above-mentioned multiple product settlement pictures of the first product from different interfaces and store them.
[0069] In some other embodiments of the present application, the server may be able to obtain the above-mentioned multiple product settlement images from the interface more easily, quickly and conveniently. Then, when the server receives the product settlement request, it can request the above-mentioned multiple product settlement images of the first product from multiple interfaces respectively, which can also improve the data interaction efficiency compared with the first device obtaining data from multiple interfaces by itself.
[0070] Step S206, stitching the multiple product settlement pictures according to the strategy to generate a product settlement stitching picture.
[0071] In some embodiments, the server may stitch together multiple product settlement pictures of the first product according to a strategy, for example, stitching together the multiple product settlement pictures in the order of product pictures, product promotion pictures, logistics pictures, and discount pictures to obtain a product settlement stitching picture.
[0072] It is understandable that the above strategy may refer to the stitching order, position, direction, etc. set for the stitching of multiple product settlement pictures, and this application does not impose any limitation on this.
[0073] Step S208, compressing the product settlement splicing image to obtain a product settlement compression image.
[0074] In some embodiments, a GAN (Generative Adversarial Nets) algorithm may be used to compress the product settlement spliced graph to obtain a product settlement compressed graph.
[0075] Step S210: sending the compressed product settlement image to the first device, so that the first device parses the compressed product settlement image and displays the multiple parsed product settlement images one by one.
[0076] In some embodiments, the product settlement compression map may be sent directly to the first device; or the product settlement compression map may be stored in the first address and then the first address may be returned to the first device so that the first device can access and obtain the product settlement compression map according to the first address.
[0077] It can be understood that the present application is to stitch multiple product settlement images into a whole according to a strategy and then store them in a first address for access by the first device. Compared with the solution of storing each product settlement image in a different address for access by the first device, the number of accesses by the first device can be greatly reduced, thereby improving the efficiency of the first device in obtaining interactive data.
[0078] In the above embodiment, when the first device requests to obtain the product settlement data of the first product, the product settlement images in the product settlement data of the first product requested by the first device are stitched together and compressed, and the compressed product settlement compressed image is returned to the first device. In the above embodiment, on the one hand, the product settlement images of the first product can be pre-acquired and integrated and then sent to the first device, which can improve the data acquisition efficiency compared to the first device requesting different interfaces for each product settlement image; on the other hand, stitching the product settlement images of the first product together and returning them to the first device can improve the interaction efficiency compared to returning the product settlement images of the first product to the first device separately; in addition, compressing the product settlement stitched image of the first product and sending it to the first device can reduce the data size and save communication resources.
[0079] Figure 3 is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0080] Reference Figure 3 The data processing method provided by the embodiment of the present disclosure may include the following steps.
[0081] In some embodiments, the product settlement data of the first product also includes product settlement business data corresponding to the first product. The product settlement business data can be text information (such as information recorded in characters, Chinese characters, English characters, Arabic characters, etc.), video type information, audio type information, etc. This application does not impose any restrictions on this.
[0082] Step S302: receiving a product settlement request for a first product from a first device.
[0083] Step S304: Acquire product settlement data of the first product, where the product settlement data of the first product includes a plurality of product settlement pictures corresponding to the first product.
[0084] Step S306, stitching the multiple product settlement pictures according to the strategy to generate a product settlement stitching picture.
[0085] Step S308, compressing the product settlement splicing image to obtain a product settlement compression image.
[0086] This application does not limit the above-mentioned compression method for compressing the spliced image.
[0087] Step S310: compress the product settlement business data corresponding to the first product to obtain compressed product settlement business data.
[0088] This application does not limit the above-mentioned compression method for compressing product settlement business data.
[0089] Step S312: Return the compressed product settlement image and the compressed product settlement business data to the first device, so that the first device parses the compressed product settlement image and the compressed product settlement business data and displays the multiple product settlement images and product settlement business data obtained by the parsing one by one.
[0090] In some embodiments, the compressed product settlement compression image and the product settlement service compression data may be sent to the first device.
[0091] In some embodiments, the compressed product settlement compression map and product settlement business compressed data can be sent directly to the first device; or the compressed product settlement compression map and product settlement business compressed data can be stored in the first address, and then the first address is returned to the first device, so that the first device can access and obtain the product settlement compression map according to the first address.
[0092] It can be understood that the present application is to stitch multiple product settlement images into a whole according to a strategy and then store them in a first address for access by the first device. Compared with the solution of storing each product settlement image in a different address for access by the first device, the number of accesses of the first device can be greatly saved, thereby improving the efficiency of the first device in obtaining interactive data.
[0093] In addition, by packaging and compressing different product settlement service data and then sending the compressed data to the first device, the first device can obtain all product settlement data at one time, reduce the number of times the first device requests to obtain data, and improve interaction efficiency.
[0094] Figure 4is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0095] Reference Figure 4 The data processing method provided by the embodiment of the present disclosure may include the following steps.
[0096] Step S402: receiving a product settlement request for a first product from a first device.
[0097] Step S404: Acquire product settlement data of the first product, where the product settlement data of the first product includes a plurality of product settlement pictures corresponding to the first product.
[0098] Step S406, stitching the multiple product settlement pictures according to the strategy to generate a product settlement stitching picture.
[0099] Step S408, compressing the product settlement splicing image to obtain a product settlement compression image.
[0100] Step S410: Send the product settlement compression map to the first device.
[0101] Step S412: the first device decompresses the compressed product settlement image to obtain a spliced product settlement image.
[0102] Step S414: the first device cuts the product settlement mosaic image according to the strategy to obtain multiple product settlement images.
[0103] In some embodiments, the segmentation strategy of the product settlement mosaic image can be reversely determined according to the stitching strategy of the product settlement mosaic image. For example, if it is known that the product main image is spliced at the first position during stitching, the product main image can be cut from the first position, etc.
[0104] Step S416: The first device displays the multiple product settlement pictures one by one.
[0105] In the above embodiment, the product settlement mosaic image of the first product is obtained on the first device, and the product settlement mosaic image can be cut according to the strategy to obtain multiple product settlement images corresponding to the first product, thereby completing the display of the product settlement data of the first product.
[0106] Figure 5is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0107] Reference Figure 5 The data processing method provided by the embodiment of the present disclosure may include the following steps.
[0108] Step S502: receiving a product settlement request for a first product from a first device.
[0109] Step S504: Acquire product settlement data of the first product, where the product settlement data of the first product includes a plurality of product settlement pictures corresponding to the first product.
[0110] Step S506, stitching the multiple product settlement pictures according to the strategy to generate a product settlement stitching picture.
[0111] Step S508, compressing the product settlement splicing image to obtain a product settlement compression image.
[0112] Step S510: compress the product settlement business data corresponding to the first product to obtain compressed product settlement business data.
[0113] Step S512: Return the product settlement compression image and the product settlement service compression data to the first device.
[0114] Step S514: the first device decompresses the compressed product settlement image to obtain a spliced product settlement image.
[0115] Step S516: The first device cuts the product settlement mosaic image according to the strategy to obtain multiple product settlement images.
[0116] Step S518: The first device decompresses the compressed product settlement service data to obtain product settlement service data corresponding to the first product.
[0117] Step S520: The first device displays a plurality of product settlement pictures and product settlement business data.
[0118] In the above embodiment, on the one hand, when the first device obtains the product settlement mosaic image of the first product, the product settlement mosaic image can be cut according to the strategy, so as to obtain multiple product settlement images corresponding to the first product, and then complete the display of the product settlement data of the first product; on the other hand, after the first device receives the product settlement business compressed data, the product settlement business compressed data can be decompressed to obtain the product settlement business data corresponding to the first product.
[0119] Figure 6 is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0120] Reference Figure 6 Before receiving a product settlement request for a first product from a first device, the embodiment of the present disclosure further provides the following data processing method.
[0121] Step S602: Request the product interface to obtain the product image and product introduction of the first product.
[0122] In some embodiments, the server may request the product interface to obtain the product image and product introduction of the first product in advance. For example, assuming that the first product is a hot-selling product, a flash sale product, etc., the server may request the product interface to obtain the product image and product introduction of the first product in advance.
[0123] Step S604: Obtain a coupon image and discount description corresponding to the first product from the coupon interface.
[0124] As above, this application does not impose any limitation on this.
[0125] Step S606: Obtain the promotion picture and promotion description corresponding to the first product from the promotion interface.
[0126] As above, this application does not impose any limitation on this.
[0127] Step S608, obtaining the logistics map and logistics description corresponding to the first product from the logistics interface.
[0128] As above, this application does not impose any limitation on this.
[0129] Step S610: Use the product image, coupon image, promotion image and logistics image as multiple product settlement images corresponding to the first product.
[0130] In some embodiments, the product image, coupon image, promotion image, and logistics image corresponding to the first product can be used as multiple product settlement images corresponding to the first product. Of course, the product settlement image corresponding to the first product may also include other images related to the settlement of the first product, and this application does not limit this.
[0131] Step S612: The product introduction, discount description, promotion description and logistics description are used as business data in the product settlement data corresponding to the first product.
[0132] In some embodiments, the product introduction, preferential description, promotional description and logistics description can be used as the business data in the product settlement data corresponding to the first product. Of course, the business data in the product settlement data corresponding to the first product may also include other pictures related to the settlement of the first product, and this application does not limit this.
[0133] The above embodiment can, for some special products, specifically request and store the product settlement data corresponding to the special products in advance, which is beneficial to reducing the request time when the first device requests the product settlement data of the first product and improving the interaction efficiency.
[0134] Figure 7 is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0135] Reference Figure 7 The data processing method provided by the embodiment of the present disclosure may include the following steps.
[0136] Step S702: receiving a product settlement request sent simultaneously by a first device for a plurality of products, where the plurality of products include a first product.
[0137] In some embodiments, the first device may initiate a product settlement request for multiple products including the first product, so as to settle the multiple products simultaneously.
[0138] Step S704, obtaining product settlement data corresponding to multiple products.
[0139] Step S706, filtering out image data corresponding to the multiple products from the product settlement data corresponding to the multiple products.
[0140] In some embodiments, the product settlement data corresponding to each product may be divided into image data and text-type business data.
[0141] Step S708, stitching together the multiple product settlement pictures corresponding to the multiple products according to the strategy to generate a stitching picture.
[0142] Step S710, compressing the product settlement splicing image to obtain a product settlement compression image.
[0143] Step S712: Send the compressed product settlement image to the first device, so that the first device parses the compressed product settlement image and displays the multiple parsed product settlement images one by one.
[0144] The technical solution provided by this implementation can pre-store product settlement data corresponding to multiple products, filter out image data in the product settlement data corresponding to multiple products, and then splice the image data corresponding to the multiple products into one image for compressed transmission, which can improve data interaction efficiency.
[0145] Figure 8 is a flow chart of a data processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0146] Reference Figure 8 The data processing method provided by the embodiment of the present disclosure may include the following steps.
[0147] In some embodiments, the plurality of products may include a first product, a second product, and a third product.
[0148] In some embodiments, the plurality of product checkout pictures may include product pictures, coupon pictures, promotion pictures, and logistics pictures.
[0149] In some embodiments, the product images, coupon images, promotional images, and logistics images corresponding to the first product, the second product, and the third product may be spliced together according to a predetermined strategy to generate a finished product settlement splicing image.
[0150] For example, according to steps S802 to S808, the product images, coupon images, promotional images and logistics images corresponding to the first product, the second product and the third product may be spliced together to generate a finished product settlement splicing image.
[0151] Step S802: splice the product image, coupon image, promotion image and logistics image of the first product in order to obtain a first spliced image.
[0152] Step S804, stitching the product image, coupon image, promotion image and logistics image of the second product in order to obtain a second stitched image.
[0153] Step S806, stitching the product image, coupon image, promotion image and logistics image of the third product in order to obtain a third stitched image.
[0154] Step S808, stitching the first stitching picture, the second stitching picture and the third stitching picture in sequence to obtain a product settlement stitching picture.
[0155] It can be understood that as long as the server's stitching strategy for the product settlement image corresponds to the first device's cutting strategy for the product settlement stitching image, then the above-mentioned strategies in the stitching process and the cutting process are both strategies protected by this application.
[0156] In other words, as long as the cutting strategy can be used to accurately cut out all product settlement diagrams from the product settlement splicing diagram and the corresponding function of each product settlement diagram can be accurately known, then the cutting strategy is also the strategy to be protected by this application.
[0157] Fig. 9 is a structural diagram of a data processing method according to an exemplary embodiment.
[0158] In some embodiments, the interface data corresponding to the product settlement data may be divided into two types: file image data and business data.
[0159] like Fig. 9 As shown, when the backend server receives a request from the frontend, it can merge the original scattered image file information (such as the product's coupon image, product main image, promotional image, logistics image, etc.) into one image, thereby reducing the number of interactions; then the merged image data is compressed through the neural network GAN algorithm, thereby reducing the size of the file data; the compressed image is returned to the frontend; the frontend can use the GAN algorithm to reshape the file image data, and then sort the "product coupon image, product main image, promotional image, logistics image" and so on by x and y coordinates vertically according to business rules, and cut the image through CSS-Image-Sprites (web page image application processing method) switching technology to complete the display.
[0160] Go as Fig. 9 As shown, the business data of the interface can be compressed by a compression algorithm, and then the compressed business data can be transmitted to the front end to reduce the size of the transmitted data and improve the response speed.
[0161] Specifically, the above process can be specifically described as follows: Fig.10 Steps shown. Fig.10The method shown can fundamentally solve the performance problem of interaction through efficient processing of image files and segmented compression of business data.
[0162] like Fig.10 As shown, the overall process of the above data processing method can be divided into two dimensions: file image processing and business data processing. Among them, the file image processing process can include the following steps.
[0163] (1) The first step is to integrate the original scattered image file information [positioning is performed through the combination of background-image (attribute), background-repeat, and background-position. Background-position accurately locates the position of the image according to the business number (1001, 2002, 3003)] and merge it into one image file, which greatly reduces the number of interactions and improves performance.
[0164] (2) The second step: losslessly compress the integrated image file through the GAN compression method: during the encoding process, the entire image is no longer encoded, but only a part of it is encoded. When restoring the original image, the encoded part is restored through decoding, and the unencoded part is automatically generated by the generator G. Only a part of the image needs to be encoded, which can greatly improve the compression rate and reduce the size of the transmitted data.
[0165] (3) Step 3: Use CSS-Image-Sprites to cut the location where the business rule is encoded and obtain specific business images for display
[0166] Among them, [GAN Compression]: We use a Global generative compression (GC) method to save the entire image. The network automatically decides which part needs to be saved and which part needs to be generated based on the semantic graph and optimization goals.
[0167] Among them, the business data processing method may include the following steps.
[0168] (1) Step 1: We use Brotli (br for short) to compress business data. Compared with the same level of compression processing, br is more efficient, has faster compression speed and faster response.
[0169] (2) The second step: the overall data compression process, through nginx integrated Brotli module to carry, compress and return the data.
[0170] Among them, Nginx (engine x) is a high-performance HTTP and reverse proxy web server.
[0171] (3) Step 3: The front end receives the response business data and performs Br decoding processing, thus completing the overall data transmission.
[0172] [Brotli Compression]: Brotli compressed files are composed of a set of meta-blocks, each of which can hold 16 megabytes. They are mainly divided into two parts: data and header. The data can be stored in blocks compressed by LZ77. The header uses a high-quality LZ77 compression scheme to compress each block, and the overall processing is completed by LZ77 parsing and calculating LZ phrases.
[0173] LZ77: A lossless compression algorithm using a sliding window approach.
[0174] It should be particularly pointed out that each step in each embodiment of the above data processing method can be mutually crossed, replaced, added, or deleted. Therefore, these reasonable permutations, combinations, and transformations of the data processing method should also fall within the scope of protection of this application, and the scope of protection of this application should not be limited to the embodiments.
[0175] Based on the same inventive concept, the present disclosure also provides a data processing device in the following embodiments. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0176] Fig.11 is a block diagram of a data processing device according to an exemplary embodiment. Fig.11 The data processing device 1100 provided in the embodiment of the present disclosure may include: a product settlement request acquisition module 1101, a product settlement data acquisition module 1102, an image stitching module 1103, a compression module 1104 and a compressed image sending module 1105.
[0177] Among them, the product settlement request acquisition module 1101 can be used to receive a product settlement request for the first product from the first device; the product settlement data acquisition module 1102 can be used to obtain the product settlement data of the first product, and the product settlement data of the first product includes multiple product settlement pictures corresponding to the first product; the picture stitching module 1103 can be used to stitch multiple product settlement pictures according to the strategy to generate a product settlement stitching picture; the compression module 1104 can be used to compress the product settlement stitching picture to obtain a product settlement compressed picture; the compressed picture sending module 1105 can be used to send the product settlement compressed picture to the first device, so that the first device can parse the product settlement compressed picture and display the multiple product settlement pictures after parsing one by one.
[0178] It should be noted that the above-mentioned product settlement request acquisition module 1101, product settlement data acquisition module 1102, image stitching module 1103, compression module 1104 and compressed image sending module 1105 correspond to S202 to S210 in the method embodiment, and the examples and application scenarios implemented by the above-mentioned modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned method embodiment. It should be noted that the above-mentioned modules as part of the device can be executed in a computer system such as a set of computer executable instructions.
[0179] In some embodiments, the product settlement data of the first product also includes product settlement business data corresponding to the first product; wherein the data processing device may also include: a business data compression module; wherein the compression graph sending module 1105 may include: a common return unit.
[0180] Among them, the business data compression module can be used to compress the product settlement business data corresponding to the first product to obtain product settlement business compressed data; wherein, the common return unit can be used to return the product settlement compression image and the product settlement business compressed data to the first device, so that the first device can parse the product settlement compression image and the product settlement business compressed data and display the multiple product settlement pictures and product settlement business data obtained by the analysis one by one.
[0181] In some embodiments, the compressed image sending module 1105 may include: a decompression unit, a cutting unit and a display unit.
[0182] Among them, the decompression unit can be used by the first device to decompress the product settlement compression image to obtain the product settlement splicing image; the cutting unit can be used by the first device to cut the product settlement splicing image according to the strategy to obtain multiple product settlement pictures; the display unit can be used by the first device to display multiple product settlement pictures one by one.
[0183] In some embodiments, the compressed graph sending module 1105 may include: a storage unit and an address storage return unit.
[0184] The storage unit may be used to store the product settlement compression map in the first address; the address storage return unit may be used to return the first address to the first device so that the first device can access and obtain the product settlement compression map according to the first address.
[0185] In some embodiments, before receiving a product checkout request for a first product from a first device, the data processing device may further include: a product interface request module, a coupon interface request module, a promotion interface request module, a logistics interface request module, a product checkout picture determination module, and a business data determination module.
[0186] Among them, the product interface request module can be used to request the product interface to obtain the product picture and product introduction of the first product; the coupon interface request module can be used to obtain the coupon picture and discount description corresponding to the first product from the coupon interface; the promotion interface request module can be used to obtain the promotion picture and promotion description corresponding to the first product from the promotion interface; the logistics interface request module can be used to obtain the logistics picture and logistics description corresponding to the first product from the logistics interface; the product settlement picture determination module can be used to use the product picture, coupon picture, promotion picture and logistics picture as multiple product settlement pictures corresponding to the first product; the business data determination module can be used to use the product introduction, discount description, promotion description and logistics description as business data in the product settlement data corresponding to the first product.
[0187] In some embodiments, the product settlement request acquisition module 1101 may include: multiple product settlement request receiving units; the product settlement data acquisition module 1102 may include: a settlement data acquisition unit and a screening unit; the image stitching module 1103 may include: a stitching unit.
[0188] Among them, the multiple product settlement request receiving unit can be used to receive product settlement requests sent by the first device for multiple products at the same time, and the multiple products include the first product; the settlement data acquisition unit can be used to obtain product settlement data corresponding to multiple products; the screening unit can be used to filter out image data corresponding to multiple products from the product settlement data corresponding to multiple products; the splicing unit can be used to splice multiple product settlement images corresponding to multiple products according to a strategy to generate a spliced image.
[0189] In some embodiments, the multiple products also include a second product and a third product; the multiple product settlement pictures include product pictures, coupon pictures, promotional pictures and logistics pictures; wherein the picture stitching module 1103 may include: a first stitching unit, a second stitching unit, a third stitching unit and a fourth stitching unit.
[0190] Among them, the first splicing unit can be used to splice the product image, coupon image, promotional image and logistics image of the first product in sequence to obtain a first spliced image; the second splicing unit can be used to splice the product image, coupon image, promotional image and logistics image of the second product in sequence to obtain a second spliced image; the third splicing unit can be used to splice the product image, coupon image, promotional image and logistics image of the third product in sequence to obtain a third spliced image; the fourth splicing unit can be used to splice the first spliced image, the second spliced image and the third spliced image in sequence to obtain a product settlement spliced image.
[0191] Since the functions of the device 1100 have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.
[0192] The module units involved in the embodiments described in the present application may be implemented by software or hardware. The module units described may also be set in a processor. The names of these module units do not, in some cases, constitute limitations on the module units themselves.
[0193] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module or program segment, and a part of the above-mentioned module or program segment contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer program instructions.
[0194] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, 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.
[0195] Fig.12 The structure diagram of the electronic device suitable for implementing the embodiment of the present disclosure is shown. It should be noted that: Fig.12 The electronic device 1200 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0196] like Fig.12 As shown, the electronic device 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage part 1208 into a random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the electronic device 1200 are also stored. The CPU 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0197] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage section 1208 as needed.
[0198] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains computer program instructions for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 1209, and / or installed from a removable medium 1211. When the computer program is executed by the central processing unit (CPU) 1201, the above-mentioned functions defined in the system of the present application are executed.
[0199] It should be noted that the computer-readable storage medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-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 of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program instruction. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The computer program instructions contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0200] As another aspect, the present application also provides a computer-readable storage medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by a device, the device can implement functions including: receiving a product settlement request for a first product from a first device; obtaining product settlement data for the first product, the product settlement data for the first product including multiple product settlement pictures corresponding to the first product; splicing multiple product settlement pictures according to a strategy to generate a product settlement splicing picture; compressing the product settlement splicing picture to obtain a product settlement compressed picture; sending the product settlement compressed picture to the first device, so that the first device parses the product settlement compressed picture and displays the parsed multiple product settlement pictures one by one.
[0201] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer program instructions, the computer program instructions being stored in a computer-readable storage medium. The computer program instructions are read from the computer-readable storage medium, and a processor executes the computer program instructions to implement the methods provided in various optional implementations of the above embodiments.
[0202] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution of the embodiment 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.), including a number of computer program instructions for enabling an electronic device (which can be a server or a terminal device, etc.) to execute the method according to the embodiment of the present disclosure.
[0203] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure 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 applied for by the present disclosure. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0204] It should be understood that the present disclosure is not limited to the detailed structures, drawings or implementations shown herein, but rather the present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. A data processing method, characterized in that: include: receiving a product checkout request for a first product from a first device; Acquire product settlement data of the first product, where the product settlement data of the first product includes a plurality of product settlement pictures corresponding to the first product; splicing the multiple product settlement pictures according to the strategy to generate a product settlement splicing picture; Compressing the product settlement mosaic graph to obtain a product settlement compression graph; The product settlement compressed image is sent to the first device, so that the first device parses the product settlement compressed image and displays the parsed multiple product settlement images one by one.
2. The method according to claim 1, characterized in that: The product settlement data of the first product also includes product settlement business data corresponding to the first product; wherein the method further includes: Compressing the product settlement business data corresponding to the first product to obtain compressed product settlement business data; The step of sending the product settlement compressed image to the first device so that the first device parses the product settlement compressed image and displays the parsed multiple product settlement images one by one includes: The product settlement compression image and the product settlement business compression data are returned to the first device, so that the first device parses the product settlement compression image and the product settlement business compression data and displays the multiple product settlement images and product settlement business data obtained by the parsing one by one.
3. The method according to claim 1 or 2, characterized in that: Sending the product settlement compressed image to the first device so that the first device parses the product settlement compressed image and displays the parsed multiple product settlement images one by one, including: The first device decompresses the product settlement compressed image to obtain the product settlement spliced image; The first device cuts the product settlement mosaic image according to the strategy to obtain the multiple product settlement images; The first device displays the multiple product settlement pictures one by one.
4. The method according to claim 1, characterized in that: Sending the product settlement compression graph to the first device includes: Storing the product settlement compression map in a first address; The first address is returned to the first device, so that the first device can access and obtain the product settlement compression map according to the first address.
5. The method according to claim 1, characterized in that: Before receiving a product checkout request for the first product from the first device, the method further includes: Requesting the product interface to obtain the product image and product introduction of the first product; Obtaining a coupon image and discount description corresponding to the first product from a coupon interface; Obtaining a promotional image and promotional description corresponding to the first product from a promotional interface; Obtaining a logistics map and logistics description corresponding to the first product from a logistics interface; The product image, the coupon image, the promotion image, and the logistics image are used as a plurality of product settlement images corresponding to the first product; The product introduction, the preferential description, the promotion description and the logistics description are used as business data in the product settlement data corresponding to the first product.
6. The method according to claim 1, characterized in that: Receiving a product checkout request for a first product from a first device includes: receiving a product settlement request sent simultaneously by the first device for a plurality of products, the plurality of products including the first product; Wherein, obtaining the product settlement data of the first product includes: Obtain product settlement data corresponding to the multiple products; Filtering out the picture data corresponding to the multiple products from the product settlement data corresponding to the multiple products; The multiple product settlement pictures are spliced according to the strategy to generate a product settlement splicing picture, including: The multiple product settlement pictures corresponding to the multiple products are spliced according to the strategy to generate the spliced picture.
7. The method according to claim 6, characterized in that: The multiple products further include a second product and a third product; the multiple product settlement pictures include a product picture, a coupon picture, a promotion picture, and a logistics picture; wherein the multiple product settlement pictures are spliced according to a strategy to generate a product settlement splicing picture, including: splicing the product image, coupon image, promotion image, and logistics image of the first product in order to obtain a first spliced image; splicing the product image, coupon image, promotion image, and logistics image of the second product in order to obtain a second spliced image; splicing the product image, coupon image, promotion image, and logistics image of the third product in order to obtain a third spliced image; The first mosaic image, the second mosaic image and the third mosaic image are sequentially mosaicked to obtain the product settlement mosaic image.
8. A data processing device, characterized in that: include: A product settlement request acquisition module, configured to receive a product settlement request for a first product from a first device; A product settlement data acquisition module, used to acquire product settlement data of the first product, where the product settlement data of the first product includes a plurality of product settlement pictures corresponding to the first product; A picture stitching module, used for stitching the multiple product settlement pictures according to the strategy to generate a product settlement stitching picture; A compression module, used for compressing the product settlement mosaic graph to obtain a product settlement compression graph; The compressed image sending module is used to send the product settlement compressed image to the first device, so that the first device parses the product settlement compressed image and displays the multiple product settlement images after parsing one by one.
9. An electronic device, characterized in that: include: Memory and processor; The memory is used to store computer program instructions; the processor calls the computer program instructions stored in the memory to implement the data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the data processing method according to any one of claims 1 to 7.