Order information query system, order information query method, device and equipment

CN114722262BActive Publication Date: 2026-06-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-01-04
Publication Date
2026-06-19

Smart Images

  • Figure CN114722262B_ABST
    Figure CN114722262B_ABST
Patent Text Reader

Abstract

This application discloses an order information query system, method, apparatus, and device, belonging to the field of human-computer interaction. The order information query system includes: a query server and an e-commerce server based on a blockchain; a query client for sending order query requests to the query server, the order query request carrying an identity identifier; a query server for retrieving order information from the blockchain based on the identity identifier, the identity identifier corresponding to a user account, and the order information being stored on the blockchain by the e-commerce server; the query server for sending the order information to the query client; and the query client for displaying an order query page based on the order information, the order query page including order information from different e-commerce platforms. By storing order information on the same blockchain, the query client can retrieve purchase orders from multiple e-commerce platforms, improving the efficiency of information retrieval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of human-computer interaction, and in particular to an order information query system, order information query method, apparatus and equipment. Background Technology

[0002] Users can purchase goods on various e-commerce or live-streaming applications. Each e-commerce or live-streaming application has its own information management system to manage users' purchase orders.

[0003] To illustrate, a user purchases item 'a' on application A, where user account 1 is logged in. Then, the user purchases item 'b' on application B, where user account 2 is logged in. When the user wants to view the order information for items 'a' and 'b', they need to open both applications (application a is already logged in with the corresponding user account) and navigate to the respective order information pages to view the details of both items.

[0004] Based on the above technical solution, when a user needs to view order information for multiple products purchased on multiple applications, they need to open the application corresponding to each product separately, which is a cumbersome operation and results in low information retrieval efficiency. Summary of the Invention

[0005] This application provides an order information query system, method, apparatus, and device. By utilizing the query server corresponding to the e-commerce server and the client on the same blockchain, the query server can retrieve purchase orders from multiple e-commerce platforms based on identity identifiers, eliminating the need for users to open separate applications to view them, thus improving the efficiency of information query. The technical solution is as follows:

[0006] According to one aspect of this application, an order information query system is provided, the order information query system comprising: a query server and an e-commerce server set up based on blockchain, the query server being connected to a query client, and the e-commerce server comprising servers corresponding to at least two e-commerce platforms;

[0007] The query client is used to send an order query request to the query server. The order query request carries an identity identifier, which is used to identify the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0008] The query server is used to retrieve the order information from the blockchain based on the identity identifier, the identity identifier corresponding to a user account, the user account being a user account logged in on the e-commerce platform, the order information including the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs, and the order information being stored in the blockchain by the e-commerce server;

[0009] The query server is used to send the order information to the query client;

[0010] The query client is used to display an order query page based on the order information, and the order query page includes order information belonging to different e-commerce platforms.

[0011] According to another aspect of this application, a method for querying order information is provided, the method comprising:

[0012] Display the order query page;

[0013] The system receives a query operation on the order query page. The query operation is used to query purchase orders in different e-commerce platforms based on an identity identifier. The identity identifier is used to identify the identity information at the time of receipt, and different e-commerce platforms have the same identity identifier.

[0014] The query operation displays the order information of the purchase order, which includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs.

[0015] According to another aspect of this application, an order information query device is provided, the device comprising:

[0016] The display module is used to display the order query page;

[0017] The receiving module is used to receive the query operation on the order query page. The query operation is used to query purchase orders in different e-commerce platforms based on the identity identifier. The identity identifier is used to identify the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0018] The display module is used to display the order information of the purchase order according to the query operation. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs.

[0019] According to another aspect of this application, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the order information query method as described above.

[0020] According to another aspect of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the order information query method described above.

[0021] According to another aspect of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the order information query method as described above.

[0022] The beneficial effects of the technical solutions provided in this application include at least the following:

[0023] By querying the server and using the user's identity identifier, order information from different e-commerce platforms can be retrieved from the blockchain. This information is then sent to the query client, allowing users to view their orders across various e-commerce platforms on the client's order query page. This helps users consolidate their order information, eliminating the need to open separate applications to view each order when they have multiple orders, thus improving information retrieval efficiency. Furthermore, the use of blockchain for order information storage ensures the security and validity of order data from different e-commerce platforms. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a block diagram of a computer system provided in an exemplary embodiment of this application;

[0026] Figure 2 This is a flowchart of an exemplary embodiment of the order information query method provided in this application;

[0027] Figure 3 This is a schematic diagram of an order query page provided in an exemplary embodiment of this application;

[0028] Figure 4 This is a flowchart of a method for querying order information provided in another exemplary embodiment of this application;

[0029] Figure 5 This is a schematic diagram of a mini-program selection page provided in an exemplary embodiment of this application;

[0030] Figure 6 This is a schematic diagram of an order statistics page provided in an exemplary embodiment of this application;

[0031] Figure 7 This is a flowchart of an order information query method provided in another exemplary embodiment of this application;

[0032] Figure 8 This is a schematic diagram of an order submission page provided in an exemplary embodiment of this application;

[0033] Figure 9 This is a flowchart of an order information query method provided in another exemplary embodiment of this application;

[0034] Figure 10 This is a schematic diagram of the interface providing prompt information according to an exemplary embodiment of this application;

[0035] Figure 11 This is a schematic diagram of the interface providing prompt information, provided in another exemplary embodiment of this application.

[0036] Figure 12 This is a schematic diagram of the interface providing prompt information, provided in another exemplary embodiment of this application.

[0037] Figure 13 This is a flowchart of an exemplary embodiment of the order information query method provided in this application;

[0038] Figure 14 This is a schematic diagram of a block structure provided in an exemplary embodiment of this application;

[0039] Figure 15 This is a schematic diagram of a block structure provided in another exemplary embodiment of this application;

[0040] Figure 16 This is a block diagram of an order information query device provided in an exemplary embodiment of this application;

[0041] Figure 17 This is a block diagram of an order information query device provided in another exemplary embodiment of this application;

[0042] Figure 18 This is a block diagram of a server provided in an exemplary embodiment of this application;

[0043] Figure 19 This is a block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0045] First, let's introduce the terms used in the embodiments of this application:

[0046] Blockchain is an intelligent peer-to-peer network that uses a distributed database to identify, disseminate, and record information. Blockchain technology is based on a decentralized peer-to-peer network, combining cryptographic principles, time-series data, and consensus mechanisms using open-source programs. This ensures the continuity and consistency of each node in the distributed database, making information instantly verifiable, traceable, difficult to tamper with, and impossible to shield, thus forming a highly private, efficient, and secure sharing system. Each data block in a blockchain contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying platform, platform product services, and application service layers.

[0047] Smart contracts (SC) are contract programs that automatically execute according to specific conditions. They are an important way for users to interact with the blockchain and implement business logic using the blockchain. The basic idea of ​​smart contracts is that various contract terms can be embedded in the hardware and software we use, making it very costly for attackers to exploit them. Smart contracts are customized through the participation of multiple users, disseminated through a peer-to-peer (P2P) network, and stored on the blockchain. The smart contracts built on the blockchain automatically execute under trigger conditions. For example, various institutions can access the data storage system through smart contracts deployed on the blockchain on their servers to use the data storage and data query functions provided by the data storage system. The essence of a smart contract is a set of agreements defined, propagated, verified, or executed in digital form. This includes the ability of contract participants to execute agreements within the smart contract. Smart contracts also allow for trusted transactions without third parties, and these transactions are traceable and irreversible. For example, the order information query method provided in this application is executed according to a smart contract. After the e-commerce server determines the authenticity of the purchase order, it stores the order information in the blockchain according to the smart contract.

[0048] Figure 1This illustration shows a schematic diagram of a computer system provided in an exemplary embodiment of this application. The system includes multiple servers 101 and multiple storage devices 102. The multiple servers 101 can be configured with the same blockchain, meaning they can form a blockchain system, with each server 101 acting as a node in the blockchain system. Optionally, the nodes in the blockchain system include a master ledger node and other nodes. Any node in the blockchain system can elect a master ledger node. Schematic, the master ledger node in the blockchain system is obtained by any node using a distributed consensus leader election algorithm. Server 101 is the master ledger node in this blockchain system. The multiple servers 101 can be multiple servers belonging to the same organization or multiple servers belonging to different organizations. This embodiment of the application uses a query server and an e-commerce server as an example for illustration.

[0049] To provide services such as security verification and access control, the blockchain system is equipped with a Certificate Authority (CA) 103 to store the keys of various institutions. Each server in the blockchain system can obtain the keys from the CA for data encryption and decryption. Multiple storage devices 102 provide storage services to the multiple servers 101. It should be noted that these multiple storage devices 102 can form a distributed storage system to provide data storage in a distributed manner. This embodiment uses a blockchain system consisting of a query server corresponding to a query client and an e-commerce server as an example for illustration.

[0050] The blockchain system is connected to the storage system and CA center 103 via a network. Optionally, this network is the Internet or a wireless local area network.

[0051] When server 101 is the query server corresponding to the query client, as shown in the figure above, terminal 110 and server 101 communicate data through a communication network. Optionally, the communication network can be a wired network or a wireless network, and the communication network can be at least one of local area network, metropolitan area network and wide area network.

[0052] Terminal 110 has an application installed and running. This application aggregates user purchase orders from various e-commerce platforms. The application can be any of the following: a shopping application, a live streaming application, an instant messaging application, a social sharing application, or a video application (including short video applications). This embodiment uses an instant messaging application as an example. In some embodiments, terminal 110 has an instant messaging application installed and running. This instant messaging application includes a mini-program that depends on the instant messaging application (host application) to run. This mini-program has the function of aggregating user purchase orders from various e-commerce platforms.

[0053] Optionally, the terminal 110 can be a mobile terminal such as a smartphone, tablet computer, laptop computer, or intelligent robot, or a terminal such as a desktop computer or a projection computer. This application embodiment does not limit the type of terminal.

[0054] Server 101 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. In one possible implementation, server 101 is the backend server for the application in terminal 110.

[0055] like Figure 1 As shown, in this embodiment, an instant messaging application runs on terminal 110. This instant messaging application includes an order assistant mini-program, which is used to manage user purchase orders for goods on various e-commerce platforms. When a user uses the order assistant mini-program for the first time, identity verification is required, typically using the user's identity identifier on each e-commerce platform. This identity identifier includes at least one of the following: the user's real name, the user's contact number (usually a mobile phone number), the user's ID card number, and the user's commonly used shipping address. For illustrative purposes, the user's mobile phone number is used as an example for the identity identifier.

[0056] It should be noted that after the user completes identity authorization verification, server 101 retrieves the user's purchase orders across various e-commerce platforms. The identity identifier is identical across all e-commerce platforms and corresponds one-to-one with the user account logged in on each platform. When a user uses their account to purchase goods on e-commerce platform A, the e-commerce server (the server corresponding to the e-commerce platform) establishes a link between the user account, the purchase order, and the platform identifier of the e-commerce platform to which the purchase order belongs. For illustration, the e-commerce server uses the identity identifier as the key and the user account and platform identifier as the value, storing this key-value pair in the blockchain. Server 101 can then query the purchase orders corresponding to the user account based on the identity identifier and platform identifier.

[0057] As an illustration, terminal 110 also has applications installed for at least two e-commerce platforms used for online sales of various goods. User accounts are logged into the applications corresponding to each e-commerce platform; the user accounts for each e-commerce platform are different, but each user account shares the same identity identifier. For example, a user logs into user account 'a' on e-commerce platform A and user account 'b' on e-commerce platform B. Both user account 'a' and user account 'b' are associated with (or bound to) the same identity identifier (mobile phone number).

[0058] The instant messaging program sends an order query request to the server 101. The order query request includes the user's identity identifier. The server 101 performs the following steps: Step 11, receiving the order query request; Step 12, querying the purchase orders in various e-commerce platforms from the blockchain according to the identity identifier in the order query request; Step 13, sending the queried order information to the query client (terminal 110).

[0059] After receiving order information, the query client displays the order management page in the order assistant mini-program. This page includes the user's purchase orders across various e-commerce platforms, including order number, platform identifier (or tag), product name, product parameters, product price, logistics information, product image, order time, and payment time. In some embodiments, the order management page also includes an order search control, allowing users to search for purchase orders. In other embodiments, the order management page further includes a details control, allowing users to view detailed information about the purchase order on the corresponding e-commerce platform, and to perform actions such as confirming receipt, requesting invoicing, and requesting a refund.

[0060] It is understood that the above embodiments only take a mini-program (order assistant mini-program) that runs on the terminal and depends on the host program as an example, and the name of the mini-program is not limited in this application embodiment. In actual use, the above order information query method can also be applied to applications, and this application embodiment does not limit this.

[0061] Figure 2 A flowchart illustrating an exemplary embodiment of this application provides a method for querying order information. This method is applied to, for example... Figure 1 In the computer system 100 shown, the method includes the following steps:

[0062] Step 201: The query client sends an order query request to the query server. The order query request carries an identity identifier, which is used to represent the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0063] The query client aggregates purchase orders from different e-commerce platforms. It communicates with the query server via a network, and each e-commerce platform has its own dedicated e-commerce server. The query server and the e-commerce servers of at least two e-commerce platforms belong to the same node on the same blockchain.

[0064] For illustrative purposes only, the query client shown here is not the same as the e-commerce client used by the e-commerce platform. The query client is used to aggregate and display user orders from various e-commerce platforms, while the e-commerce client is used by users to purchase goods online.

[0065] An identity identifier is used to uniquely identify a user's identity information upon receiving goods; that is, each user has a different identity identifier. For illustrative purposes, an identity identifier includes at least one of the following: a contact phone number (usually a mobile phone number), an ID card number, a frequently used delivery address, and a real name. The identity identifier remains the same across different e-commerce platforms, such as when a user uses the same mobile phone number on different e-commerce platforms.

[0066] Schematic illustration: In response to receiving an order query operation, the query client generates an order query request based on the order query operation, which carries the user's mobile phone number (identification). In some embodiments, the query operation includes at least one of a single click, double click, long press, swipe, drag, hover, and combinations thereof; in other embodiments, the query operation includes input operations from an external input device, such as clicking a mouse or typing on a keyboard.

[0067] Step 202: The query server retrieves order information from the blockchain based on the identity identifier. The identity identifier corresponds to the user account, which is the user account logged in on the e-commerce platform. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs. The order information is stored on the blockchain by the e-commerce server.

[0068] Upon receiving an order query request, the query server retrieves the order information based on the identity identifier in the request. This order information is pre-stored on the blockchain by the e-commerce server and is illustrative. When a user purchases goods online on an e-commerce platform, the corresponding e-commerce server generates a purchase order and stores the order information on the blockchain. This order information corresponds to the platform identifier and the user account.

[0069] As an illustration, the query server pre-stores an identity identifier and a set of user accounts corresponding to that identity identifier. These user accounts are used to manage purchase orders on a specific e-commerce platform, and each user on the same e-commerce platform uses a different user account. Since the query server retrieves all purchase orders corresponding to that identity identifier across various e-commerce platforms, it also retrieves all purchase orders for all user accounts corresponding to that identity identifier and determines the source of the user account, i.e., the platform identifier of the e-commerce platform to which the user account belongs. The platform identifier is a string used to uniquely identify the e-commerce platform; illustratively, the platform identifier includes at least one of the following: numbers, English letters, Chinese characters, symbols, and graphic logos.

[0070] Step 203: The query server sends the order information to the query client.

[0071] The query server retrieves the order information corresponding to the user account from the blockchain based on the correspondence between the identity identifier, platform identifier, and user account, and then sends the order information to the query client.

[0072] Step 204: The client displays the order query page based on the order information. The order query page includes order information belonging to different e-commerce platforms.

[0073] After receiving the order information, the query client displays the order query page, which includes controls corresponding to each purchase order, such as... Figure 3 As shown. The controls corresponding to each purchase order include at least one of the following: product price, product quantity, product image (thumbnail), platform identifier, and store identifier. Illustratively, the order information is sorted according to the time sequence of the user's purchase, or according to the product type, or according to the platform identifier; this embodiment does not limit this to any particular order.

[0074] In summary, the method provided in this embodiment allows a query server to retrieve order information from the blockchain based on a user's identity, covering purchase orders across different e-commerce platforms. This order information is then sent to a query client, enabling the user to view their purchase orders from various e-commerce platforms on the client's order query page. This helps users consolidate their order information, eliminating the need to open separate applications to view order details when a user has multiple orders, thus improving information retrieval efficiency. Furthermore, the use of blockchain for order information storage ensures the security and validity of order information from different e-commerce platforms.

[0075] This section explains how to query order information in conjunction with the user interface (UI).

[0076] Figure 4 A flowchart illustrating a method for querying order information provided in another exemplary embodiment of this application is shown. This method is applied to, for example... Figure 1 In the computer system 100 shown, the method includes the following steps:

[0077] Step 401: The query client sends an order query request to the query server. The order query request carries an identity identifier, which is used to represent the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0078] As an illustration, the query client includes a mini-program that runs on the host program, that is, the query of order information is realized through the mini-program. In this embodiment of the application, the mini-program is named "Order Assistant Mini-program" as an example.

[0079] Users access the order assistant mini-program from the query client, such as... Figure 5 As shown, the user interface of the query client displays a mini-program selection page 21. This mini-program selection page 21 displays the program identifier 22 of the Order Assistant mini-program. Users click on the program identifier 22 to enter the user interface of the Order Assistant mini-program, as shown below. Figure 3 As shown.

[0080] When the user clicks program identifier 22, since the order assistant mini-program is a program that relies on the query client to run, the query client sends an order query request to the query server, which carries the user's identity identifier.

[0081] Step 402: Query the server to obtain the association relationship. The association relationship is used to represent the correspondence between identity identifier, platform identifier and user account.

[0082] As an illustration, the query server pre-stores the mapping between identity identifiers, platform identifiers, and user accounts. Since users log in with different accounts on different e-commerce platforms, one identity identifier corresponds to multiple user accounts. The query server determines the corresponding user account for each identity identifier on each e-commerce platform.

[0083] Table 1 illustrates the relationship between identity identifier, platform identifier, and user account.

[0084] Table 1

[0085]

[0086] The identity is identified by a mobile phone number, and one mobile phone number corresponds to different user accounts on different e-commerce platforms. The user account is determined by identifying the mobile phone number and the e-commerce platform. This application embodiment does not limit the type of platform identifier and user account.

[0087] To illustrate, the relationship between identity identifier, platform identifier, and user account is obtained through the following steps:

[0088] Step 4021a: The query server uses the identity identifier and platform identifier as key elements.

[0089] Step 4022a: The query server uses the user account as a value element, which is used to query purchase orders in the e-commerce platform.

[0090] Step 4023a: The query server associates the key element and the value element as a key-value pair to obtain the association relationship.

[0091] The query server stores the identity identifier, platform identifier, and user account in key-value pairs, with the identity identifier and platform identifier as the key elements and the user account as the value element. This allows the query server to determine the user account (value element) based on the identity identifier and platform identifier (key).

[0092] To illustrate, the relationship between identity identifier, platform identifier, and user account can also be obtained through the following steps:

[0093] Step 4021b: The query server uses the identity identifier as the key element.

[0094] In step 4022b, the query server uses the platform identifier and user account as value elements, with the user account used to query purchase orders in the e-commerce platform.

[0095] Step 4023b: The query server associates the key element and the value element as a key-value pair to obtain the association relationship.

[0096] The query server stores the identity identifier, platform identifier, and user account in key-value pairs, with the identity identifier as the key and the platform identifier and user account as the value.

[0097] By using different information as key and value elements, the query server can determine the user account corresponding to the identity identifier in various e-commerce platforms through multiple association methods.

[0098] Step 403: Query the server to obtain the identity identifier and platform identifier, and obtain the user account based on the identity identifier, platform identifier, and association relationship.

[0099] The query server determines the user account based on the relationships shown in Table 1.

[0100] Step 404: The query server retrieves order information from the blockchain based on the user account.

[0101] Order information is pre-stored on the blockchain by the e-commerce server. When storing the blockchain, the e-commerce server stores the user account, the platform identifier of the e-commerce platform, and the order information corresponding to the user account. When the query server retrieves orders from the blockchain, it determines the user account based on the relationship shown in Table 1, thereby determining the order information corresponding to the user account.

[0102] Step 405: The query server sends the order information to the query client.

[0103] The query server will send all the order information it finds to the query client, or send all the order information it finds to the order assistant mini-program.

[0104] Step 406: The query client displays the order query page based on the order information. The order query page includes order information belonging to different e-commerce platforms.

[0105] like Figure 3 As shown, the query client displays an order query page 23 based on the order information. The order query page includes controls 24 corresponding to the order information, which belong to different e-commerce platforms. The controls 24 display the product name, product image, product parameters, unit price (including total price), product quantity, the store where the product was purchased, and the platform identifier of the e-commerce platform selling the product. The platform identifier is represented by a label; for example, the platform identifier of the e-commerce platform to which the control corresponding to the order information belongs is label 1.

[0106] In summary, the method of this embodiment allows the query server to retrieve order information of a user's purchase orders across different e-commerce platforms from the blockchain based on the user's identity. This order information is then sent to the query client, enabling the user to view their purchase orders from different e-commerce platforms on the order query page displayed on the client. This helps users consolidate their purchase order information, eliminating the need to open separate applications to view order information when a user has multiple orders, thus improving information retrieval efficiency. Furthermore, the use of blockchain for storing order information ensures the security and validity of order information from different e-commerce platforms.

[0107] The method implemented in this way also binds the identity identifier, platform identifier and user account through association, so that the query server can determine the user account corresponding to each e-commerce platform based on the identity identifier, and further enable the query server to accurately find the corresponding order information based on the identity identifier.

[0108] The method in this embodiment also determines the association between the identity identifier and the user account by using the identity identifier as the key element and the platform identifier and user account as the value elements in the form of associated key-value pairs, so that the query server can accurately find the corresponding order information based on the identity identifier.

[0109] On the order query page 23, historical purchase orders can also be queried. The query method is implemented through steps 407a to 410a as follows:

[0110] Step 407a: In response to the query client receiving the first index information, the first order search request is sent to the query server based on the first index information. The first order search request carries an identity identifier.

[0111] Indicative, such as Figure 3 As shown, the user enters first index information in the search control 25 on the order query page 23. The type of the first index information includes at least one of text, audio, video, barcode, and QR code. In one example, the user enters the text "soap" in the search control 25, and the order assistant mini-program sends a first order search request to the query server. This first order search request carries an identity identifier.

[0112] Step 408a: The query server retrieves the first order information from the blockchain based on the identity identifier and the first index information.

[0113] As an illustration, the query server retrieves the order information corresponding to the user account from the blockchain based on the association between the identity identifier, platform identifier, and user account, and then queries the first order information from the retrieved order information corresponding to the user account based on the first index information.

[0114] In some embodiments, when a user enters the order assistant mini-program, the query server retrieves the user's purchase orders from various e-commerce platforms and displays them in the mini-program. When the query client receives the first index information, it directly retrieves the first order information from the order information obtained by the query client based on the first index information.

[0115] Step 409a: In response to the query client receiving the second index information, a second order search request is sent to the query server based on the first index information and the second index information. The second order search request carries an identity identifier, and the second index information is received after the first index information.

[0116] As an illustration, a user enters second index information in the search control 25 on the order query page 23. The type of second index information includes at least one of text, audio, video, barcode, and QR code. In one example, the user enters the text "Brand A" in the search control 25, and the order assistant mini-program sends a second order search request to the query server, which carries an identity identifier.

[0117] Step 410a: The query server retrieves the second order information from the blockchain based on the identity identifier, the first index information, and the second index information.

[0118] The query client will record the first index information. When the user performs a search again, the search will be based on the first index information to find the order information of the purchased order.

[0119] As an illustration, when a user enters the text "Brand A" into the search control 25, the order query page displays soaps from Brand A, which, combined with the first index information "soap", allows for a more precise search by combining the first and second index information.

[0120] As an illustration, the query server retrieves the order information corresponding to the user account from the blockchain based on the association between the identity identifier, platform identifier, and user account, and then queries the second order information from the retrieved order information corresponding to the user account based on the first index information and the second index information.

[0121] In some embodiments, when a user enters the order assistant mini-program, the query server retrieves the user's purchase orders from various e-commerce platforms and displays them in the mini-program. When the query client receives the second index information, it directly retrieves the second order information from the order information obtained by the query client based on the first and second index information.

[0122] In some embodiments, the query client has a preset search algorithm that determines the order information the user is looking for by judging the relationship between the first index information and the second index information.

[0123] As an illustration, when the second index information is a subset of the first index information, the query client performs a search based on both the first and second index information.

[0124] To illustrate, when the intersection of the second index information and the first index information is an empty set, the query client searches based on either the first index information or the second index information. For example, if the first index information is fruit and the second index information is daily necessities, then when the query client receives the second index information, the query client will not combine the first index information with the second index information to search for order information.

[0125] For illustrative purposes, the second index information and the first index information indicate a certain type of goods, but the goods indicated by the second index information are not within the scope of the first index information. For example, the first index information is microwave ovens, and the second index information is brand C, which produces other electronic products besides microwave ovens.

[0126] In summary, the method in this embodiment improves user search efficiency and enables users to quickly find order information by using a polling mechanism to associate the index information entered by the user.

[0127] On the order query page 23, users can also view the statistical results of order information from various e-commerce platforms.

[0128] Step 407b: In response to the query client receiving the statistical operation, an order statistics request is sent to the query server. The order statistics request carries an identity identifier and a statistical time range.

[0129] The statistical time interval represents a period of time during which a user makes purchases across various e-commerce platforms. Illustratively, a statistical control is displayed on the order query page 23. This control is used to statistically analyze a user's order information across various e-commerce platforms within a given time period. When a user enters the statistical time interval in the query client and clicks the statistical control, the query client sends an order statistics request to the query server. This order statistics request carries an identity identifier.

[0130] Step 408b: The query server retrieves order information from the blockchain based on the identity identifier and statistical time interval, and sends the order information to the query client.

[0131] The query server determines the identity identifier and statistical time range based on the received order statistics request, and identifies the user account corresponding to that identity identifier. It then retrieves the order information from the blockchain based on the user account and the statistical time range. The query server then sends the retrieved order information to the query client.

[0132] Step 409b: The query client displays statistical results based on order information. The statistical results include the consumption preferences corresponding to the identity identifiers on various e-commerce platforms within the statistical time interval.

[0133] like Figure 6 As shown, the query client displays statistical results based on order information. Order statistics page 26 displays a chart showing the user's spending amount from November to December 2020, as well as a pie chart of purchased goods. Food orders account for 40% of all orders. This indicates that the user's consumption preference leans towards purchasing food items. Illustratively, order statistics page 26 can be interpreted as follows: You purchased a large number of food items from November to December, and this is not significantly different from previous statistical results.

[0134] In summary, the method in this embodiment aggregates and statistically analyzes user order information, making it easier for users to manage their order information, understand their consumption tendencies, and avoid impulsive spending. Furthermore, it enriches user profiles based on user consumption preferences, allowing for targeted advertising recommendations.

[0135] This section explains how e-commerce servers store order information.

[0136] Step 701: In response to the e-commerce client receiving the order payment operation, send payment completion information to the e-commerce server.

[0137] E-commerce servers are connected to the corresponding e-commerce client applications of e-commerce platforms, allowing users to purchase goods online through these clients. For example... Figure 8 As shown, after the user selects a product, an order submission interface 27 is displayed. An order submission control 28 is displayed on the order submission interface 27. When the user clicks the order submission control 28, the e-commerce client calls the payment application to pay for the order. After the user completes the payment, a payment completion message is sent to the e-commerce server.

[0138] Step 702: The e-commerce server generates an order identifier for the purchase order corresponding to the user account based on the payment completion information.

[0139] After receiving payment completion information, the e-commerce server generates order information based on the user account and purchase order. This order information includes an order identifier (order number). The order information includes at least one of the following: the user account that purchased the goods, payment time (or transaction success time), order submission time, order identifier, goods shipping time, goods receipt time, and logistics information.

[0140] Step 703: The e-commerce server generates an order block based on the user account, the platform identifier corresponding to the user account, and the order identifier, and stores the order block in the blockchain.

[0141] Step 703 can be replaced with the following steps:

[0142] Step 7031: The e-commerce server verifies the authenticity of the purchase order and obtains the verification result.

[0143] Digital certificates employ a public-key cryptography mechanism, utilizing a pair of matched keys for encryption and decryption. Each user sets their own private key, known only to themselves, for decryption and signing; simultaneously, they set a public key, which is publicly disclosed and shared with a group of users for encryption and signature verification. When sending a confidential document, the sender encrypts the data using the recipient's public key, while the recipient decrypts it using their own private key, receiving the accurate document. Digital means ensure that the encryption process is irreversible; the private key cannot be obtained from the public key.

[0144] Users can also process information using their own private keys. Since the key is only owned by the user, this creates files that cannot be generated by others, thus forming a digital signature. Digital signatures can guarantee the authenticity of files in the following ways:

[0145] (1) The document is guaranteed to be signed and sent by the signatory himself, and the signatory cannot deny or finds it difficult to deny;

[0146] (2) Guarantee that the document has not been modified since it was issued until it was received, and that the issued document is a genuine document.

[0147] Each node in the blockchain corresponds to a public key and a private key. When verifying the authenticity of a purchase order, the e-commerce server first has the e-commerce client sign the purchase order using its private key, which is generated based on the user's account. The e-commerce client then sends the signed purchase order to the e-commerce server. The signed purchase order corresponds to a public key, which is required for verification. This public key is generated from the private key. The e-commerce server pre-stores the public key generated from the private key. Therefore, the e-commerce server uses the public key to perform a signature verification operation on the signed purchase order, obtaining the verification result. In this embodiment, the public key is named "First Public Key," and the private key is named "First Private Key."

[0148] Step 7032: In response to the verification result satisfying the smart contract, the e-commerce server stores the order block in the blockchain.

[0149] This illustration shows a smart contract set up for the blockchain storing order information. A smart contract is a computer protocol designed to disseminate, verify, or execute contracts in an informational manner. Smart contracts allow for trusted transactions without a third party; these transactions are traceable and irreversible. In this embodiment, the smart contract includes storing the order information in the blockchain when the order information for a purchase order is genuine. Therefore, when the e-commerce server verifies the order information as genuine through step 7031, the smart contract is satisfied, and the smart contract will execute, thereby generating an order block based on the order information and storing the order block in the blockchain.

[0150] When storing order information, blockchain nodes perform hash calculations on the target data and store the target data in a chained hash table corresponding to the user account, based on the hash result. After consensus is reached in the chained hash table, an order block is generated based on the chained hash table. This target data contains the user's order information from various e-commerce platforms.

[0151] A chained hash table consists of hash chains corresponding to the platform identifiers of more than one e-commerce platform. Blockchain nodes can use this chained hash table to store target data, storing the target data corresponding to each platform identifier on the same hash chain. Blockchain nodes can pass the key element from the target data to a hash function. The hash function determines the hash chain corresponding to the target data and its specific position within the hash chain through hashing. Illustratively, a hash function is defined to map the key value k to the position x in the chained hash table, where x is the hash code of k. The formal expression is: h(k) = x. The purpose of this hash function is to distribute the key elements as evenly and randomly as possible across the chained hash table.

[0152] Blockchain nodes broadcast target data to be added to the blockchain network. Consensus nodes in the network receive the broadcast and perform consensus operations. Once the target data passes consensus, the blockchain nodes generate an order block based on the corresponding chained hash table. Consensus nodes are used to verify the authenticity of order information. A consensus node is a node in the blockchain network that participates in the consensus process; the number of participating consensus nodes can be greater than six. The consensus algorithm used by the consensus nodes to perform consensus operations includes Proof of Work (PoW).

[0153] It should be noted that when e-commerce servers store order information, the private fields in the order information are encrypted before storage.

[0154] Once the e-commerce server receives payment completion information, it generates an order identifier based on this information. This order identifier uniquely identifies the order information. Since all nodes in the blockchain can access the user's identity and order information, and user-related information is publicly available, the e-commerce server processes the order information as follows when storing it on the blockchain:

[0155] 1. The information type to which the e-commerce server obtains order information.

[0156] The order information includes at least one of the following: product name, the user account that purchased the product, logistics information, user identification, shipping address, the platform identifier of the e-commerce platform to which the product belongs, product price, and the name of the store to which the product belongs. Among these, the user account, logistics information, product name, identification, and shipping address are considered private information, while the platform identifier, product price, and store name are considered public information.

[0157] 2. In response to the fact that the information type is privacy-related, the e-commerce server performs homomorphic encryption on the information contained in the order information to obtain the encrypted order information.

[0158] Homomorphic encryption (HE) is a cryptographic technique based on the computational complexity theory of mathematical problems. Processing homomorphically encrypted data to obtain an output and decrypting this output will yield the same result as processing the unencrypted original data using the same method.

[0159] The e-commerce server uses homomorphic encryption to homomorphically encrypt information classified as private, preventing other nodes from knowing the specific content of this private information when they obtain the order information. The query server uses a public key to homomorphically encrypt information classified as private, and this public key corresponds to the private key stored in the query client. The public and private keys in this embodiment are different from those used for signature verification in the previous embodiments. To distinguish them from the previous embodiments, the public key in this embodiment is named the second public key, and the private key in this embodiment is named the second private key.

[0160] To illustrate, order information includes product name 'a', delivery address in city A, and e-commerce platform C. The e-commerce server determines that product name 'a' and delivery address are privacy-sensitive information. It performs homomorphic encryption on product name 'a', logistics information, and delivery address, resulting in the encrypted order information: Product Name **, Delivery Address ** (city), belongs to Platform C (where "**" indicates encrypted information). Other nodes in the blockchain, upon obtaining this order information, can confirm that it belongs to Platform C but cannot determine other information. Other nodes can store and transmit this order information but cannot manipulate it. When a query client receives this order information, it can decrypt it using the private key to obtain the specific content of the order information: Product Name 'a', Delivery Address in city A, and e-commerce platform C.

[0161] 3. The e-commerce server generates an order block based on the encrypted order information and stores the order block in the blockchain.

[0162] When order information is homomorphically encrypted and stored in a blockchain, other nodes in the blockchain cannot know the specific content of the encrypted information. However, the query client can decrypt the order information using a private key to obtain the specific content of the order information, such as the purchased goods, logistics information, and delivery address.

[0163] Figure 9 A flowchart of a method for querying order information provided in another exemplary embodiment of this application is shown, which is applied to, for example... Figure 1 In the terminal 110 shown, the method includes the following steps:

[0164] Step 901: Display the mini-program selection page, which includes the program identifier of the order assistant mini-program.

[0165] like Figure 5 As shown, the program identifier 22 of the Order Assistant mini-program is displayed on the mini-program selection page 21.

[0166] Step 902: In response to the selection operation received from the program identifier, the order query page is displayed.

[0167] When the user's terminal is a terminal with a display screen, such as a smartphone or tablet, the selected operation includes at least one of the following: single-click operation, double-click operation, swipe operation, long-press operation, drag operation, hover operation, and combinations thereof. When the user's terminal is a terminal connected to an external input device, such as a desktop computer, the selected operation includes operations generated by the external input device, such as operations generated by the user clicking the mouse, double-clicking the mouse, clicking the right mouse button, or pressing a keyboard key.

[0168] In one example, the user is using a smartphone. After the user clicks on program identifier 22, the order query page is displayed.

[0169] When a user is using the Order Assistant mini-program for the first time, step 902 can be replaced with the following steps:

[0170] Step 9021: Obtain the identity identifier according to the selected operation.

[0171] When a user clicks on program identifier 22, the host program (query client) that the order assistant mini-program relies on obtains the user's identity identifier, which is, for example, the user's mobile phone number.

[0172] Step 9022: In response to the identity identifier not being authorized and verified, a first prompt message is displayed. The first prompt message is used to prompt the user to perform an authorization verification operation based on the identity identifier.

[0173] As an illustration, when a user first uses the query client to query order information, the user interface displays something like this: Figure 10 The first prompt message 30 shown is used to prompt the user to authenticate and authorize the Order Assistant mini-program. The Order Assistant mini-program obtains order information based on the user's authorized actions.

[0174] Step 9023: In response to the authorization verification operation received from the first prompt message, the order query page is displayed. The order query page includes the order information source of the purchase order corresponding to the identity identifier.

[0175] In some embodiments, when a user clicks the "OK" control, the user interface displays as follows: Figure 11 The data source prompt information 31 shown is used to inform the user that the prompt information in the order assistant mini-program comes from the blockchain, ensuring that the data is authentic and secure.

[0176] Step 903: Receive the query operation on the order query page. The query operation is used to query purchase orders in different e-commerce platforms based on the identity identifier. The identity identifier is used to identify the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0177] As an illustration, an order query control is displayed on the order query page, allowing users to retrieve order information from various e-commerce platforms by clicking the control. In some embodiments, the order query page is displayed after the user closes the data source prompt, directly showing the order information from each e-commerce platform.

[0178] Step 904: Display the order information of the purchase order according to the query operation. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs.

[0179] As an illustration, after the order assistant mini-program receives a query operation, it generates an order query request based on the query operation. This order query request carries an identity identifier, and the query client sends this order query request to the query server. The query server determines the user account corresponding to the identity identifier based on the association between the identity identifier, platform identifier, and user account, and retrieves the order information of the purchase order corresponding to the user account from the blockchain. The query server sends the order information to the query client, and the order assistant mini-program then displays the order information of the purchase order, which originates from various e-commerce platforms.

[0180] In summary, the method of this embodiment displays order information of purchase orders from various e-commerce platforms through the query operation received on the order query page, providing intuitive feedback on the user's order information, making it convenient for the user to view the order information, and improving the efficiency of order information management.

[0181] The method in this embodiment ensures user information security by prompting the user to perform identity authorization verification when the user uses the query client for the first time, and ensures that the order information obtained by the query client is true and valid.

[0182] based on Figure 9 In an optional embodiment, the user can also be redirected to the page corresponding to the e-commerce platform via the page corresponding to the order assistant mini-program.

[0183] Step 905a: In response to the triggered operation on the received order information, the order query page is switched to the order details page, which is the user interface of the e-commerce platform to which the purchase order belongs.

[0184] like Figure 3As shown, when a user clicks the control 24 corresponding to the order information, the terminal switches from the order query page 23 to the order details page, meaning the user page corresponding to the query client is redirected to the user interface of the e-commerce client corresponding to the e-commerce platform. On the e-commerce client's user page, the user can view detailed order information, such as return / exchange information, invoice information, etc.

[0185] In summary, the method provided in this embodiment allows the client to be redirected to the order details page, thereby enabling more detailed management of order information.

[0186] based on Figure 9 In an optional embodiment, users' consumption preferences can also be statistically analyzed through an order assistant mini-program.

[0187] Step 905b: Receive statistical operations from the order query page. The statistical operations carry an identity identifier and a statistical time range.

[0188] As an illustration, the order query page displays a statistics control and a time input control. The user enters a statistical time range in the statistics control and clicks the statistics control. The query client determines the corresponding order information based on the statistical time range and generates statistical results based on the order information.

[0189] Step 906b: Display the order statistics page according to the statistical operation. The order statistics page includes the consumption preferences corresponding to the identity identifiers on various e-commerce platforms within the statistical time interval.

[0190] like Figure 6 As shown, the order statistics page displays order information for user purchases made between November and December 2020. This information is presented in statistical charts for a more intuitive understanding, allowing users to clearly see their monthly spending and the proportion of different product types purchased. In some embodiments, the order statistics page displays the user's consumption preferences, such as a preference for purchasing goods on e-commerce platform A and a preference for food products.

[0191] In summary, the method provided in this embodiment can also be used to statistically analyze users' consumption preferences through a query client, making it easier for users to monitor their own consumption.

[0192] In some embodiments, when a user purchases goods again, the user's terminal displays an order completion page. This order completion page is the page displayed on the e-commerce client after the user completes payment. The order completion page includes the paid purchase order and a second notification message, which prompts the user to track the progress of the paid purchase order. In response to a confirmation operation received from the second notification message, the order completion page is switched to an order query page, which includes order information corresponding to the paid purchase order. Figure 12 As shown, a second prompt message 32 is displayed on the order completion page. This second prompt message 32 prompts whether to track the user's newly purchased item. When the user clicks the "Allow Authorization" control, the Order Assistant mini-program will retrieve the order information of the user's newly purchased item from the query server, and will redirect from the order completion page to the Order Assistant mini-program page, i.e., from the e-commerce client to the query client. It is understandable that if the user clicks the "Crucially Deny" control, the Order Assistant mini-program will not retrieve the order information of the user's newly purchased item.

[0193] In summary, the method of this embodiment can also track newly generated order information through the query client, enabling users to comprehensively manage their order information and improve information management efficiency.

[0194] It is understood that the above-mentioned implementation examples of order page redirection, order statistics, and order tracking can be implemented separately or in combination.

[0195] Figure 13 A flowchart illustrating an exemplary embodiment of this application provides a method for querying order information. The process includes the following steps:

[0196] Step 1301: The user places an order for goods in the application.

[0197] To illustrate, a user purchases goods in application A and application B respectively. User account 'a' is logged in in application A, and user account 'a' corresponds to purchase order 1. User account 'b' is logged in in application B, and user account 'b' corresponds to purchase order 2. Both user accounts 'a' and 'b' are linked to a user's identity identifier, which is, to illustrate, the user's mobile phone number.

[0198] Step 1302: The e-commerce server tracks whether the order information has been successfully placed.

[0199] The e-commerce server determines whether the page is a successful order page based on whether the user has completed the payment process. After the user completes the payment, the e-commerce client sends a payment completion message to the e-commerce server. If the e-commerce server receives this message, it means the user's order was successful; if the server does not receive this message, it means the order failed.

[0200] Step 1303: After the order is successfully placed, the e-commerce server generates a block based on the order information.

[0201] The e-commerce server determines the order information of a successfully placed order using the above method, retrieves order information from various e-commerce platforms, establishes a correlation between the user's identity and the order information, and generates a new block in the blockchain based on the identity and order information. Order information includes at least one of the following: order number, platform identifier of the e-commerce platform to which the order belongs, logistics information, product parameters, product price, product name, product image, order time, and payment time.

[0202] Step 1304: The e-commerce server stores the order information in the blockchain.

[0203] Once the consensus nodes in the blockchain system reach a consensus, the generated new block will be added to the blockchain.

[0204] Step 1305: The query server requests the stored order information from the blockchain system.

[0205] The query server sends an order retrieval request to the blockchain system. This order retrieval request carries an identity identifier, and the blockchain system queries the stored order information based on the identity identifier and the association relationship.

[0206] Step 1306: The blockchain system returns order information.

[0207] The blockchain system sends the retrieved order information to the query server.

[0208] Step 1307: The user opens the Order Assistant mini-program.

[0209] When users want to view their purchase orders, they can do so by opening the Order Assistant mini-program.

[0210] Step 1308: The client requests the query server to obtain order information.

[0211] This order assistant mini-program relies on a host program to run. The host program sends order query requests to the server, and these requests carry an identity identifier. Upon receiving the request, the query server retrieves the order information from the blockchain system based on the identity identifier and associated relationships. The query server then sends this order information to the query client.

[0212] Step 1309: Query the client to display order information in the Order Assistant mini-program.

[0213] After receiving the order information, the query client displays the order information in the order assistant mini-program.

[0214] Step 1311: The user clicks on the order information to be redirected to the corresponding application to view the order details.

[0215] As an illustration, the Order Assistant mini-program page displays controls corresponding to order information from various e-commerce platforms. For example, Order Information 1 includes Purchase Order 1 corresponding to Application A. Purchase Order 1 corresponds to Control 1. When the user clicks Control 1, the terminal jumps from the currently displayed page to the page corresponding to Application 1. The page corresponding to Application 1 displays the order details of Purchase Order 1, such as the receiving information, refund information, and invoice information corresponding to Purchase Order 1.

[0216] It should be noted that steps 1301 to 1304 are the storage methods for order information. In some embodiments, steps 1305 and 1306 can be executed after step 1308. That is, when the user uses the order assistant, the query client sends an order query request to the query server, the query server sends an order retrieval request to the blockchain system, and the query server retrieves the order information from the blockchain system and sends it to the query client.

[0217] The method provided in this embodiment allows users to view purchase orders from multiple e-commerce platforms, simplifying user operations and improving information retrieval efficiency.

[0218] Figure 14 This is a schematic diagram illustrating the structure of a distributed system 300 applied to a blockchain system, provided by an exemplary embodiment of this application. It consists of multiple nodes 400 (any form of computing device connected to the network, such as servers or user terminals) and clients 500. The nodes form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). In the distributed system, any machine, such as a server or terminal, can join and become a node. A node includes a hardware layer, a middleware layer, an operating system layer, and an application layer.

[0219] See Figure 14 The functions of each node in the blockchain system shown include:

[0220] 1) Routing: A basic function of nodes used to support communication between nodes.

[0221] In addition to routing capabilities, nodes can also have the following functions:

[0222] 2) Applications are deployed in the blockchain to implement specific business needs. They record data related to the implementation of functions to form record data, carry digital signatures in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system. When other nodes successfully verify the source and integrity of the record data, they add the record data to a temporary block.

[0223] For example, the business logic implemented by the application includes:

[0224] 2.1) A wallet provides the function of conducting electronic currency transactions, including initiating transactions. This involves sending the transaction record of the current transaction to other nodes in the blockchain system. After successful verification by other nodes, the transaction record data is stored in a temporary block of the blockchain as a response acknowledging the validity of the transaction. The wallet also supports querying the remaining electronic currency in an electronic currency address. For example, when adding target data (the transaction record of a purchase order) to the blockchain system, other nodes in the blockchain system verify the transaction (i.e., the target data to be added to the blockchain). Only after successful verification by other nodes can the transaction be stored in the blockchain.

[0225] 2.2) Shared ledger: This provides functions for storing, querying, and modifying ledger data. It sends records of operations on the ledger data to other nodes in the blockchain system. After other nodes verify the validity, they store the records in a temporary block as a response acknowledging the validity of the ledger data. They can also send confirmation to the node that initiated the operation. For example, an e-commerce server stores order information on the blockchain.

[0226] 2.3) Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented through code deployed on a shared ledger that executes when certain conditions are met. Based on actual business needs, this code is used to automate transactions, such as querying the logistics status of goods purchased by a buyer and transferring the buyer's electronic funds to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for transactions; they can also execute contracts that process received information. For example, after confirming the authenticity of order information, an e-commerce server stores the order information in the blockchain.

[0227] 3) A blockchain consists of a series of blocks sequentially ordered by their creation time. Once a new block is added to the blockchain, it cannot be removed. Each block records the data submitted by nodes within the blockchain system. In this application, the blockchain is an order blockchain; for example, an e-commerce server stores order information in an order blockchain.

[0228] Figure 15 This is a schematic diagram of a block structure provided in an exemplary embodiment of this application. Each block includes the hash value of the transaction records stored in this block (the hash value of this block) and the hash value of the previous block. The blocks are connected through their hash values ​​to form a blockchain. Additionally, the block may include information such as a timestamp when it was generated. A blockchain, essentially a decentralized database, is a chain of data blocks linked together using cryptographic methods. Each data block contains relevant information used to verify the validity of the information (anti-counterfeiting) and to generate the next block.

[0229] The following are device embodiments of this application, which can be used to execute the method embodiments of this application. For details not disclosed in the device embodiments of this application, please refer to the method embodiments of this application.

[0230] Figure 16 A block diagram of an order information query device according to an embodiment of this application is shown. The device includes:

[0231] The first display module 1610 is used to display the order query page;

[0232] The receiving module 1620 is used to receive query operations on the order query page. The query operation is used to query purchase orders in different e-commerce platforms based on the identity identifier. The identity identifier is used to identify the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0233] The first display module 1610 is used to display the order information of the purchase order according to the query operation. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs.

[0234] In an optional embodiment, the receiving module 1620 is configured to switch the order query page to an order details page in response to a trigger operation on the received order information. The order details page is the user interface corresponding to the e-commerce platform to which the purchase order belongs.

[0235] In an optional embodiment, the receiving module 1620 is used to receive statistical operations on the order query page, the statistical operations carrying an identity identifier and a statistical time interval; the display module 1610 is used to display the order statistics page according to the statistical operations, the order statistics page including the consumption preferences corresponding to the identity identifier in various e-commerce platforms within the statistical time interval.

[0236] In an optional embodiment, the first display module 1610 is used to display a mini-program selection page, which includes a program identifier for the order assistant mini-program; in response to receiving a selection operation of the program identifier, an order query page is displayed.

[0237] In an optional embodiment, the device includes a first acquisition module 1630;

[0238] The first acquisition module 1630 is used to acquire an identity identifier based on the selection operation;

[0239] The first display module 1610 is used to display a first prompt message in response to the identity identifier not being authorized and verified, the first prompt message being used to prompt for authorization and verification operation based on the identity identifier; in response to receiving the authorization and verification operation on the first prompt message, the order query page is displayed, the order query page including the order information source of the purchase order corresponding to the identity identifier.

[0240] In an optional embodiment, the first display module 1610 is used to display an order completion page, which includes a paid purchase order and a second prompt message, the second prompt message being used to prompt for progress tracking of the paid purchase order; the receiving module 1620 is used to switch the display of the order completion page to an order query page in response to a confirmation operation received from the second prompt message, the order query page including order information corresponding to the paid purchase order.

[0241] Figure 17 A block diagram of an order information query apparatus provided in an exemplary embodiment of this application is shown. The apparatus includes:

[0242] The sending module 1710 is used to send an order query request to the query server. The order query request carries an identity identifier, which is used to identify the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier.

[0243] The second acquisition module 1720 is used to retrieve order information from the blockchain based on the identity identifier. The identity identifier corresponds to the user account, which is the user account logged in on the e-commerce platform. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs. The order information is stored in the blockchain by the e-commerce server.

[0244] The sending module 1710 is used to send order information to the query client;

[0245] The second display module 1730 is used to display an order query page based on order information. The order query page includes order information belonging to different e-commerce platforms.

[0246] In an optional embodiment, the second acquisition module 1720 is used to acquire an association relationship, which represents the correspondence between the identity identifier, the platform identifier, and the user account; acquire the identity identifier and the platform identifier; acquire the user account based on the identity identifier, the platform identifier, and the association relationship; and acquire order information from the blockchain based on the user account.

[0247] In an optional embodiment, the second acquisition module 1720 is used to use the identity identifier and platform identifier as key elements; and the user account as value elements; or, the identity identifier as key element; and the platform identifier and user account as value elements, wherein the user account is used to query purchase orders in the e-commerce platform; and the key elements and value elements are associated as key-value pairs to obtain an association relationship.

[0248] In an optional embodiment, the e-commerce server is connected to the e-commerce client corresponding to the e-commerce platform; the device includes a generation module 1740 and a storage module 1750.

[0249] The sending module 1710 is used to send payment completion information to the e-commerce server in response to receiving an order payment operation;

[0250] The generation module 1740 is used to generate an order identifier for the purchase order corresponding to the user account based on the payment completion information;

[0251] The storage module 1750 is used to generate an order block based on the user account, the platform identifier corresponding to the user account, and the order identifier, and to store the order block in the blockchain.

[0252] In one optional embodiment, the blockchain is equipped with smart contracts;

[0253] The storage module 1750 is used to verify the authenticity of the purchase order and obtain the verification result; in response to the verification result satisfying the smart contract, the order block is stored in the blockchain.

[0254] In an optional embodiment, the storage module 1750 is used to sign the purchase order using a private key, which is generated based on the user account; send the signed purchase order to the e-commerce server, where the signed purchase order corresponds to a public key, which is generated from the private key; and perform a signature verification operation on the signed purchase order using the public key to obtain a verification result.

[0255] In an optional embodiment, the second acquisition module 1720 is used to acquire the information type to which the information contained in the order information belongs; the generation module 1740 is used to perform homomorphic encryption on the information contained in the order information in response to the information type being a privacy type, to obtain encrypted order information; and to generate an order block based on the encrypted order information.

[0256] In an optional embodiment, the sending module 1710 is configured to, in response to receiving the first index information, send a first order search request to the query server based on the first index information, wherein the first order search request carries an identity identifier;

[0257] The second acquisition module 1720 is used to obtain the first order information from the blockchain based on the identity identifier and the first index information;

[0258] The sending module 1710 is used to send a second order search request to the query server in response to receiving the second index information, based on the first index information and the second index information. The second order search request carries an identity identifier, and the second index information is received after the first index information.

[0259] The second acquisition module 1720 is used to acquire the second order information from the blockchain based on the identity identifier, the first index information and the second index information.

[0260] In an optional embodiment, the sending module 1710 is configured to send an order statistics request to the query server in response to receiving a statistics operation. The order statistics request carries an identity identifier and a statistics time interval.

[0261] The second acquisition module 1720 is used to retrieve order information from the blockchain based on the identity identifier and statistical time interval; and send the order information to the query client;

[0262] The second display module 1730 is used to display statistical results based on order information. The statistical results include the consumption preferences corresponding to the identity identifiers on various e-commerce platforms within the statistical time interval.

[0263] Figure 18 This illustration shows a schematic diagram of a server provided in an exemplary embodiment of this application. The server may be as follows: Figure 1 The server 101 in the computer system 100 shown. Specifically:

[0264] Server 1800 includes a central processing unit (CPU) 1801, a system memory 1804 including random access memory (RAM) 1802 and read-only memory (ROM) 1803, and a system bus 1805 connecting the system memory 1804 and the CPU 1801. Server 1800 also includes a basic input / output system (I / O system) 1806 that facilitates the transfer of information between various devices within the computer, and a mass storage device 1807 for storing the operating system 1813, application programs 1814, and other program modules 1815.

[0265] The basic input / output system 1806 includes a display 1808 for displaying information and an input device 1809 for user input, such as a mouse or keyboard. Both the display 1808 and the input device 1809 are connected to the central processing unit 1801 via an input / output controller 1810 connected to the system bus 1805. The basic input / output system 1806 may also include the input / output controller 1810 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1810 also provides output to a display screen, printer, or other types of output devices.

[0266] Mass storage device 1807 is connected to central processing unit 1801 via a mass storage controller (not shown) connected to system bus 1805. Mass storage device 1807 and its associated computer-readable media provide non-volatile storage for server 1800. That is, mass storage device 1807 may include computer-readable media (not shown) such as hard disk or compact disc read-only memory (CD-ROM) drives.

[0267] Computer-readable media can include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, digital versatile optical disc (DVD), or solid-state drives (SSD), other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Random access memory can include resistive random access memory (ReRAM) and dynamic random access memory (DRAM). Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types. The system memory 1804 and the mass storage device 1807 mentioned above can be collectively referred to as memory.

[0268] According to various embodiments of this application, server 1800 can also be connected to a remote computer on a network, such as the Internet. That is, server 1800 can be connected to network 1812 via network interface unit 1811 connected to system bus 1805, or it can also use network interface unit 1811 to connect to other types of networks or remote computer systems (not shown).

[0269] The aforementioned memory also includes one or more programs, which are stored in the memory and configured to be executed by the CPU.

[0270] Figure 19 This illustration shows a structural block diagram of a computer device 1900 provided in an exemplary embodiment of this application. The computer device may be as follows: Figure 1The terminal 110 shown, the computer device 1900, can be: a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The computer device 1900 may also be referred to as user equipment, portable computer device, laptop computer device, desktop computer device, or other names.

[0271] Typically, computer device 1900 includes a processor 1901 and a memory 1902.

[0272] Processor 1901 may include one or more processing cores, such as a 19-core processor, an 8-core processor, etc. Processor 1901 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1901 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1901 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1901 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0273] The memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1902 is used to store at least one instruction, which is executed by the processor 1901 to implement the order information query method provided in the method embodiments of this application.

[0274] In some embodiments, the computer device 1900 may also optionally include a peripheral device interface 1903 and at least one peripheral device. The processor 1901, memory 1902, and peripheral device interface 1903 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1904, a touch display screen 1905, a camera 1906, an audio circuit 1907, and a power supply 1908.

[0275] Peripheral interface 1903 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1901 and memory 1902. In some embodiments, processor 1901, memory 1902 and peripheral interface 1903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1901, memory 1902 and peripheral interface 1903 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0276] The radio frequency (RF) circuit 1904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1904 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1904 can communicate with other computer devices through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 19G, and 5G), wireless local area networks (WLANs), and / or Wi-Fi (Wireless-Fidelity) networks. In some embodiments, the RF circuit 1904 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0277] Display screen 1905 is used to display a UI (User Interface). This UI may include graphics, text, icons, video, and any combination thereof. When display screen 1905 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1901 for processing. In this case, display screen 1905 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1905, positioned on the front panel of computer device 1900; in other embodiments, there may be at least two display screens 1905, respectively positioned on different surfaces of computer device 1900 or in a folded design; in still other embodiments, display screen 1905 may be a flexible display screen, positioned on a curved or folded surface of computer device 1900. Furthermore, display screen 1905 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1905 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0278] The camera assembly 1906 is used to acquire images or videos. Optionally, the camera assembly 1906 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the computer device, and the rear-facing camera is located on the back of the computer device. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1906 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0279] The audio circuit 1907 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 1901 for processing, or to the radio frequency circuit 1904 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, positioned at different locations within the computer device 1900. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1901 or the radio frequency circuit 1904 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1907 may also include a headphone jack.

[0280] Power supply 1908 is used to supply power to the various components in computer device 1900. Power supply 1908 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1908 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0281] In some embodiments, the computer device 1900 further includes one or more sensors 1909. The one or more sensors 1909 include, but are not limited to: an accelerometer 1910, a gyroscope 1911, a pressure sensor 1912, a fingerprint sensor 1914, an optical sensor 1913, and a proximity sensor 1914.

[0282] Accelerometer 1910 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by computer device 1900. For example, accelerometer 1910 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1901 can control touchscreen display 1905 to display the user interface in landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1910. Accelerometer 1910 can also be used for games or for acquiring user motion data.

[0283] The gyroscope sensor 1911 can detect the orientation and rotation angle of the computer device 1900. The gyroscope sensor 1911 can work in conjunction with the accelerometer sensor 1910 to acquire the user's 3D movements of the computer device 1900. Based on the data acquired by the gyroscope sensor 1911, the processor 1901 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0284] The pressure sensor 1912 can be disposed on the side bezel of the computer device 1900 and / or on the lower layer of the touch display screen 1905. When the pressure sensor 1912 is disposed on the side bezel of the computer device 1900, it can detect the user's grip signal on the computer device 1900, and the processor 1901 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1912. When the pressure sensor 1912 is disposed on the lower layer of the touch display screen 1905, the processor 1901 can control the operable controls on the UI interface based on the user's pressure operation on the touch display screen 1905. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0285] The fingerprint sensor 1914 is used to collect a user's fingerprint. The processor 1901 identifies the user based on the fingerprint collected by the fingerprint sensor 1914, or vice versa. When the user's identity is verified as trusted, the processor 1901 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 1914 can be located on the front, back, or side of the computer device 1900. When the computer device 1900 has physical buttons or a manufacturer's logo, the fingerprint sensor 1914 can be integrated with the physical buttons or the manufacturer's logo.

[0286] An optical sensor 1913 is used to collect ambient light intensity. In one embodiment, the processor 1901 can control the display brightness of the touch screen 1905 based on the ambient light intensity collected by the optical sensor 1913. Specifically, when the ambient light intensity is high, the display brightness of the touch screen 1905 is increased; when the ambient light intensity is low, the display brightness of the touch screen 1905 is decreased. In another embodiment, the processor 1901 can also dynamically adjust the shooting parameters of the camera assembly 1906 based on the ambient light intensity collected by the optical sensor 1913.

[0287] The proximity sensor 1914, also known as a distance sensor, is typically located on the front panel of the computer device 1900. The proximity sensor 1914 is used to detect the distance between the user and the front of the computer device 1900. In one embodiment, when the proximity sensor 1914 detects that the distance between the user and the front of the computer device 1900 is gradually decreasing, the processor 1901 controls the touchscreen display 1905 to switch from a screen-on state to a screen-off state; when the proximity sensor 1914 detects that the distance between the user and the front of the computer device 1900 is gradually increasing, the processor 1901 controls the touchscreen display 1905 to switch from a screen-off state to a screen-on state.

[0288] Those skilled in the art will understand that Figure 19 The structure shown does not constitute a limitation on the computer device 1900, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0289] Embodiments of this application also provide a computer device, which includes a processor and a memory. The memory stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor to implement the order information query method in the above embodiments.

[0290] Embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the order information query method described in the above embodiments.

[0291] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0292] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0293] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. An order information query system, characterized in that, The order information query system includes: a query server and an e-commerce server set up based on blockchain. The query server is connected to the query client. The e-commerce server includes servers corresponding to at least two e-commerce platforms. The e-commerce server is connected to the e-commerce client corresponding to the e-commerce platform. The e-commerce client is used to send payment completion information to the e-commerce server in response to receiving an order payment operation; the e-commerce server is used to generate an order identifier for the purchase order corresponding to the user account based on the payment completion information; the e-commerce server is used to perform hash operation on the target data through blockchain nodes, and store the target data in the hash chain corresponding to the user account in the chained hash table according to the hash operation result; after the chained hash table passes consensus, an order block is generated according to the chained hash table, and the order block is stored in the blockchain; the target data includes data on the user's order information in various e-commerce platforms, and the chained hash table includes hash chains corresponding to the platform identifiers of more than one e-commerce platform; The query client is used to send an order query request to the query server. The order query request carries an identity identifier, which is used to identify the identity information at the time of receipt. Different e-commerce platforms have the same identity identifier. The query server is used to obtain a relationship, which represents the correspondence between the identity identifier, the platform identifier, and the user account; obtain the identity identifier and the platform identifier; obtain the user account based on the identity identifier, the platform identifier, and the relationship; and obtain the order information from the blockchain based on the user account. The identity identifier corresponds to the user account, which is a user account logged into the e-commerce platform. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs. The order information is stored in the blockchain by the e-commerce server, and the purchase order is an order generated based on the user's online purchase of goods on the e-commerce platform. The query server is used to send the order information to the query client; The query client is used to display an order query page based on the order information, and the order query page includes order information belonging to different e-commerce platforms; The e-commerce server is used to obtain the information type of the information contained in the order information; in response to the information type being a privacy type, it performs homomorphic encryption on the information contained in the order information using a public key to obtain encrypted order information; and generates the order block based on the encrypted order information; the query client is used to decrypt the order information using a private key after receiving it to obtain the specific content of the order information. The query client is configured to, in response to receiving first index information, send a first order search request to the query server based on the first index information, wherein the first order search request carries the identity identifier; the query server is configured to retrieve first order information from the blockchain based on the identity identifier and the first index information; the query client is configured to, in response to receiving second index information, determine that the second index information is a subset of the first index information, and send a second order search request to the query server based on the first index information and the second index information, wherein the second order search request carries the identity identifier, and the second index information is received after the first index information; the query server is configured to retrieve second order information from the blockchain based on the identity identifier, the first index information, and the second index information.

2. The system according to claim 1, characterized in that, The query server is used for: Use the identity identifier and the platform identifier as key elements and the user account as value elements; or, use the identity identifier as the key element and the platform identifier and the user account as the value element. The user account is used to query purchase orders on the e-commerce platform; The association relationship is obtained by associating the key element and the value element as a key-value pair.

3. The system according to claim 1, characterized in that, The blockchain is equipped with smart contracts; The e-commerce server is used for: The authenticity of the purchase order was verified, and the verification result was obtained; In response to the verification result satisfying the smart contract, the order block is stored in the blockchain.

4. The system according to claim 3, characterized in that, The e-commerce client is used to sign the purchase order using a private key, which is generated based on the user account; and to send the signed purchase order to the e-commerce server. The signed purchase order corresponds to a public key, which is generated from the private key. The e-commerce server is used to perform signature verification on the signed purchase order using the public key, and obtain the verification result.

5. The system according to claim 1 or 2, characterized in that, The query client is used to send an order statistics request to the query server in response to receiving a statistical operation. The order statistics request carries the identity identifier and the statistical time range. The query server is used to obtain the order information from the blockchain based on the identity identifier and the statistical time interval; Send the order information to the query client; The query client is used to display statistical results based on the order information. The statistical results include the consumption preferences corresponding to the identity identifier on various e-commerce platforms within the statistical time interval.

6. A method for querying order information, characterized in that, The method includes: Display the order query page; The system receives a query operation on the order query page. This query operation is used to query purchase orders from different e-commerce platforms based on an identity identifier. The identity identifier identifies the recipient's identity information; different e-commerce platforms correspond to the same identity identifier. The identity identifier is used by the query server to obtain the user account based on the identity identifier, platform identifier, and association relationship. Order information is then retrieved from the blockchain based on the user account. The identity identifier corresponds to the user account, which is the user account logged into the e-commerce platform. The association relationship represents the correspondence between the identity identifier, platform identifier, and user account. The order information of the purchase order is displayed according to the query operation. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs. The purchase order is generated based on the user's online purchase of goods on the e-commerce platform. The e-commerce client corresponding to the e-commerce platform is connected to the e-commerce server. The e-commerce client is used to send payment completion information to the e-commerce server in response to receiving an order payment operation. The e-commerce server is used to generate an order identifier for the purchase order corresponding to the user account based on the payment completion information. The e-commerce server is used to perform hash operations on the target data through blockchain nodes, and store the target data in the hash chain corresponding to the user account in a chained hash table based on the hash operation result. After the chained hash table passes consensus, an order block is generated based on the chained hash table, and the order block is stored in the blockchain. The target data includes order information of the user in various e-commerce platforms. The chained hash table includes hash chains corresponding to the platform identifiers of more than one e-commerce platform. The e-commerce server is used to obtain the information type of the information contained in the order information; in response to the information type being a privacy type, it performs homomorphic encryption on the information contained in the order information using a public key to obtain encrypted order information; it generates the order block based on the encrypted order information; the query server is connected to the query client; the query client is used to decrypt the specific content of the order information using a private key after receiving the order information; The query client is configured to, in response to receiving first index information, send a first order search request to the query server based on the first index information, wherein the first order search request carries the identity identifier; the query server is configured to retrieve first order information from the blockchain based on the identity identifier and the first index information; the query client is configured to, in response to receiving second index information, determine that the second index information is a subset of the first index information, and send a second order search request to the query server based on the first index information and the second index information, wherein the second order search request carries the identity identifier, and the second index information is received after the first index information; the query server is configured to retrieve second order information from the blockchain based on the identity identifier, the first index information, and the second index information.

7. The method according to claim 6, characterized in that, The method further includes: In response to a trigger operation upon receiving the order information, the order query page is switched to display as an order details page, which is the user interface of the e-commerce platform to which the purchase order belongs.

8. The method according to claim 6, characterized in that, The method further includes: Receive statistical operations from the order query page, wherein the statistical operations carry the identity identifier and the statistical time range; The statistical operation displays an order statistics page, which includes the consumption preferences corresponding to the identity identifiers on various e-commerce platforms within the statistical time interval.

9. The method according to any one of claims 6 to 8, characterized in that, Before displaying the order query page, the following is included: Display a mini-program selection page, which includes the program identifier of the order assistant mini-program; In response to receiving the selection operation of the program identifier, the order query page is displayed.

10. The method according to claim 9, characterized in that, The step of displaying the order query page in response to receiving the selection operation of the program identifier includes: The identity identifier is obtained based on the selection operation; In response to the fact that the identity identifier has not been authorized and verified, a first prompt message is displayed, which prompts the user to perform an authorization verification operation based on the identity identifier. In response to the authorization verification operation received from the first prompt message, the order query page is displayed, which includes the order information source of the purchase order corresponding to the identity identifier.

11. The method according to any one of claims 6 to 8, characterized in that, Before displaying the order query page, the following is included: The order completion page is displayed, which includes a paid purchase order and a second prompt message. The second prompt message is used to prompt the buyer to track the progress of the paid purchase order. In response to the confirmation operation received from the second prompt message, the order completion page is switched to the order query page, which includes the order information corresponding to the paid purchase order.

12. An order information query device, characterized in that, The device includes: The display module is used to display the order query page; The receiving module is used to receive query operations on the order query page. These query operations are used to query purchase orders on different e-commerce platforms based on an identity identifier. The identity identifier identifies the recipient's identity information; different e-commerce platforms correspond to the same identity identifier. The identity identifier is used by the query server to obtain a user account based on the identity identifier, platform identifier, and association relationship; and to retrieve order information from the blockchain based on the user account. The identity identifier corresponds to the user account, which is the user account logged into the e-commerce platform. The association relationship represents the correspondence between the identity identifier, platform identifier, and user account. The display module is used to display the order information of the purchase order according to the query operation. The order information includes the order identifier of the purchase order and the platform identifier of the e-commerce platform to which the purchase order belongs. The purchase order is generated based on the user's online purchase of goods on the e-commerce platform. The e-commerce client corresponding to the e-commerce platform is connected to the e-commerce server. The e-commerce client is used to send payment completion information to the e-commerce server in response to receiving an order payment operation. The e-commerce server is used to generate an order identifier for the purchase order corresponding to the user account based on the payment completion information. The e-commerce server is used to perform hash operations on the target data through blockchain nodes, and store the target data in the hash chain corresponding to the user account in a chained hash table based on the hash operation result. After the chained hash table passes consensus, an order block is generated based on the chained hash table, and the order block is stored in the blockchain. The target data includes order information of the user in various e-commerce platforms. The chained hash table includes hash chains corresponding to the platform identifiers of more than one e-commerce platform. The e-commerce server is used to obtain the information type of the information contained in the order information; in response to the information type being a privacy type, it performs homomorphic encryption on the information contained in the order information using a public key to obtain encrypted order information; it generates the order block based on the encrypted order information; the query server is connected to the query client; the query client is used to decrypt the specific content of the order information using a private key after receiving the order information; The query client is configured to, in response to receiving first index information, send a first order search request to the query server based on the first index information, wherein the first order search request carries the identity identifier; the query server is configured to retrieve first order information from the blockchain based on the identity identifier and the first index information; the query client is configured to, in response to receiving second index information, determine that the second index information is a subset of the first index information, and send a second order search request to the query server based on the first index information and the second index information, wherein the second order search request carries the identity identifier, and the second index information is received after the first index information; the query server is configured to retrieve second order information from the blockchain based on the identity identifier, the first index information, and the second index information.

13. A computer device, characterized in that, The computer device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the order information query method as described in any one of claims 6 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the order information query method as described in any one of claims 6 to 11.