Order processing method based on block chain, related equipment and program product

By using SIM card and blockchain technology in the 'M-N-1' service subscription model, the problem that visitors cannot obtain maximum rights and differences in rights of different visitors is solved, and the maximization of rights and access traffic is achieved. promote.

CN119515492APending Publication Date: 2025-02-25CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411492867.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

Under the 'M-N-1' service ordering mode, the rights that visitors can obtain when completing order payment are affected by factors such as payment time and access portal, resulting in the inability to obtain maximum rights and interests, and different visitors at the same time There are differences in the benefits obtained when completing payment for the same service order, which affects the access traffic and conversion rate of the service.

Method used

The SIM card is used as the ordering entity and the equity payment entity, and based on blockchain technology, the equity issuance data of all equity providers is stored in the blockchain, and the SIM card is determined through the blockchain node to be within a certain time after the order operation time. Unobtained benefits, thereby determining the benefits that SIM can obtain and updating the order amount.

Benefits of technology

Ensure that visitors can obtain all the benefits that can be claimed before order payment is completed, maximize the rights and interests of visitors, and ensure that different visitors obtain the same benefits when completing the same service order payment at the same time, thereby improving the access traffic and conversion of services Rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119515492A_ABST
    Figure CN119515492A_ABST
Patent Text Reader

Abstract

The invention discloses an order processing method based on a block chain, related equipment and a program product. The method comprises the steps that a network platform responds to an order operation request of an SIM card, order data corresponding to the order operation request is acquired, the order data is sent to a block chain node, and the order data comprises service information of a target service ordered by the SIM card, order operation time, a first order amount and identity information of the SIM card; the network platform receives first rights and interests returned by the block chain node and capable of being obtained by the SIM card, the first rights and interests are determined based on second rights and interests capable of being obtained by the SIM card within a first duration after the order operation time, and the second rights and interests are obtained by the block chain node through query from a block chain based on the order data; and the network platform updates the first order amount based on the first rights and interests to obtain a second order amount.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an order processing method based on blockchain, related equipment and program products. Background Art

[0002] With the development of science and technology and the Internet, the "M-N-1" service subscription model came into being. Among them, M refers to M visitors, N refers to N access portals, and 1 refers to 1 service provider. Under this service subscription model, in order to increase access traffic and the conversion rate of the services provided, the access portal providers, service providers and other rights providers will issue service rights from time to time.

[0003] There are differences in the rights and interests issued by different rights and interests providers at different time points, which results in the rights and interests that visitors can obtain when completing order payment being affected by factors such as payment time and access portal, which in turn causes visitors to be unable to obtain the maximum rights and interests. There are also differences in the rights and interests obtained by different visitors when completing order payment for the same service at the same time, which will affect the access traffic to the service and the conversion rate of the service. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a blockchain-based order processing method, related equipment and program products, which can maximize the rights and interests obtained by visitors based on blockchain technology, and ensure that different visitors who complete orders for the same service at the same time obtain the same rights and interests, thereby improving the access traffic to the service and the conversion rate of the service.

[0005] In order to achieve the above objectives, the present application embodiment adopts the following technical solutions: In a first aspect, an embodiment of the present application provides an order processing method based on blockchain, which is applied to a network platform, and the method includes: In response to the order operation request of the SIM card, obtain order data corresponding to the order operation request, and send the order data to the blockchain node, the order data including: service information of the target service subscribed by the SIM card, order operation time, first order amount and identity information of the SIM card; Receiving a first benefit that can be obtained by the SIM card and returned by the blockchain node, where the first benefit is determined based on a second benefit that can be obtained by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; The first order amount is updated based on the first equity to obtain a second order amount.

[0006] In a second aspect, an embodiment of the present application provides an order processing method based on blockchain, which is applied to a blockchain node, and the method includes: Receiving order data sent by the network platform, the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; Calling a smart contract deployed in the blockchain, querying the blockchain based on the order data for the second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determining the first benefit that the SIM card can obtain based on the second benefit; The first equity is sent to the network platform, and the first equity is used to update the first order amount.

[0007] In a third aspect, an embodiment of the present application provides an order processing device based on blockchain, which is applied to a network platform, and the device includes: A first response module, configured to respond to an order operation request of a SIM card, obtain order data corresponding to the order operation request, and send the order data to a blockchain node, wherein the order data includes: service information of a target service ordered by the SIM card, order operation time, first order amount, and identity information of the SIM card; A first receiving module is used to receive a first benefit that can be obtained by the SIM card and is returned by the blockchain node, where the first benefit is determined based on a second benefit that can be obtained by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; An updating module is used to update the first order amount based on the first equity to obtain a second order amount.

[0008] In a fourth aspect, an embodiment of the present application provides an order processing device based on blockchain, which is applied to a blockchain node, and the device includes: The second receiving module is used to receive order data sent by the network platform, wherein the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; A calling module, configured to call a smart contract deployed in a blockchain, query the blockchain based on the order data for a second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determine a first benefit that the SIM card can obtain based on the second benefit; The first sending module is used to send the first equity to the network platform, and the first equity is used to update the first order amount.

[0009] In a fifth aspect, an embodiment of the present application provides a network platform, including: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the blockchain-based order processing method provided in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a blockchain node, including: processor; a memory for storing instructions executable by the processor; In which, the processor is configured to execute the instructions to implement the blockchain-based order processing method provided in the second aspect.

[0011] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the blockchain-based order processing method provided in the first aspect or the second aspect.

[0012] In an eighth aspect, an embodiment of the present application provides a computer program product, comprising a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to execute part or all of the steps in the blockchain-based order processing method provided in the first aspect or the second aspect.

[0013] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: Using SIM card as the ordering subject and the rights payment subject is conducive to the purchaser enjoying the rights of all his accounts, realizing the coordinated payment of rights between different accounts, maximizing the rights of visitors, and facilitating the coordinated management of the rights that the same visitor can obtain from different rights providers by the service provider, which is conducive to increasing the access flow to the service and the conversion rate of the service. On this basis, based on blockchain technology, the rights issuance data of all rights providers are stored in the blockchain. Once the network platform receives the order operation request of the SIM card, it sends the service information, order operation time, first order amount and SIM card identity information of the target service ordered by the SIM card to the blockchain node. The blockchain node determines the second rights that the SIM card has not obtained within a certain period of time after the order operation time based on the rights issuance data stored in the blockchain, and then determines the first rights that the SIM card can obtain and returns it to the SIM card, so that the SIM card can update the first order amount. In this way, the SIM card can obtain all the rights that can be collected before the order payment is completed. While maximizing the rights of the SIM card, it ensures that different visitors obtain the same rights when completing the order payment for the same service at the same time, further improving the access flow to the service and the conversion rate of the service. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A schematic diagram of an order processing scenario based on blockchain provided for one embodiment of the present application; Figure 2 A flowchart of a blockchain-based order processing method provided for one embodiment of the present application; Figure 3 A flowchart of a blockchain-based order processing method provided for another embodiment of the present application; Figure 4 A schematic diagram of the structure of a blockchain provided for one embodiment of the present application; Figure 5 A flowchart of a blockchain-based order processing method provided for another embodiment of the present application; Figure 6 A schematic diagram of the structure of an order processing device based on blockchain provided for one embodiment of the present application; Figure 7 A schematic diagram of the structure of an order processing device based on blockchain provided for one embodiment of the present application; Figure 8A schematic diagram of the structure of a network platform provided for one embodiment of the present application; Fig. 9 A schematic diagram of the structure of a blockchain node provided for one embodiment of the present application. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0016] The terms "first", "second", etc. in this specification and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein. In addition, "and / or" in this specification and claims means at least one of the connected objects, and the character " / " generally means that the objects associated with each other are in an "or" relationship.

[0017] As mentioned above, in the "M-N-1" service ordering model, in order to encourage more visitors to order services, the access portal providers, service providers and other rights providers will issue service rights from time to time. The rights issued by different rights providers at different time points are different, resulting in the rights that visitors can obtain when completing order payment being affected by factors such as payment time and access portal, which in turn leads to visitors being unable to obtain the maximum rights. Different visitors also have different rights when completing order payment for the same service at the same time, which will affect the access flow to the service and the conversion rate of the service.

[0018] The inventor studied the service ordering process based on the above service ordering model and found that: On the one hand, when visitors order services on the network platform, they usually use the account registered by the visitor on the network platform as the ordering subject and the rights payment subject. For visitors, they can only enjoy the rights and interests issued by the rights and interests provider related to the account currently used, but cannot enjoy the rights and interests of other accounts. It is impossible to achieve coordinated payment between the rights and interests of multiple accounts, which is not conducive to maximizing the rights and interests. For service providers, not only can they not coordinate the management of the rights and interests that the same buyer can obtain from different rights and interests providers, but the limited rights and interests enjoyed by the current account will also affect the access flow and conversion rate of the service.

[0019] On the other hand, when visitors order services, there will be multiple time points, such as the time of rights issuance, order generation, order submission, and order payment. In order to ensure that visitors can use their rights when ordering services, the generation time of their orders should not be earlier than the time of rights issuance. However, for visitors, there will be a certain time gap between the time when they complete the order payment and the time when the order is generated. During this gap, the newly issued rights will not be updated to the generated order unless the visitor regenerates the order. This is not only not conducive to maximizing the rights of visitors, but also leads to differences in the rights obtained by different visitors when they complete the order payment for the same service at the same time, which in turn affects the access flow to the service and the conversion rate of the service.

[0020] Taking the above factors into consideration, it is proposed to abandon the traditional idea of ​​using the visitor's registered account on the network platform as the subscription subject and the benefit payment subject, and adopt SIM (Subscriber Identity Module) card as the subscription subject and the benefit payment subject. This is conducive to the purchaser enjoying the benefits of all his accounts and realizing the coordinated payment of benefits between different accounts, which is conducive to maximizing the visitor's rights and interests, and is conducive to the service provider's coordinated management of the rights and interests that the same visitor can obtain from different benefit providers, which is conducive to increasing the access flow to the service and the conversion rate of the service.

[0021] In addition, based on blockchain technology, the rights and interests distribution data of all rights and interests providers are stored in the blockchain. Once the network platform receives the order operation request of the SIM card, it will send the service information of the target service ordered by the SIM card, the order operation time, the first order amount and the identity information of the SIM card to the blockchain node. The blockchain node determines the second rights and interests that the SIM card has not obtained within a certain period of time after the order operation time based on the rights and interests distribution data stored in the blockchain, and then determines the first rights and interests that the SIM card can obtain and returns them to the SIM card, so that the SIM card can update the first order amount. In this way, the SIM card can obtain all the rights and interests that can be collected before the order payment is completed. While maximizing the rights and interests of the SIM card, it ensures that different visitors obtain the same rights and interests when completing the order payment for the same service at the same time, further improving the access flow to the service and the conversion rate of the service.

[0022] The technical solution provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0023] Please refer to Figure 1 , Figure 1This is a schematic diagram of an order processing scenario based on blockchain shown in an embodiment of the present application. In this example, the SIM card accesses the network platform, orders the required services through the access portal provided by the network platform, and performs corresponding operations on the service orders, such as generating orders, submitting orders, and paying orders. For example, the SIM card orders service 1 through access portal 1, orders service 2 through access portal 2, and so on.

[0024] The network platform records the order data of the SIM card and sends it to the blockchain node. The blockchain node is connected to the blockchain and can write the order data into the blockchain. In this way, on the one hand, the decentralized and tamper-proof characteristics of the blockchain are utilized to ensure that the order data is authentic and reliable, and on the other hand, the order data can be shared among other network platforms.

[0025] In the service ordering process, different rights and interests providers issue different rights and interests at different times, and the rights and interests that a SIM card can obtain are dynamically changing. Every time the network platform receives an order operation from a SIM card, it obtains the service information, order operation time, first order data, and SIM card identity information of the target service ordered by the SIM card and sends it to the blockchain node. The blockchain node obtains the rights and interests that the SIM card can obtain within a certain period of time after the order operation time and returns it to the network platform, which updates the current order amount.

[0026] In this way, the rights and interests obtained by the SIM card are obtained by integrating the rights and interests that have been newly issued but not obtained before the order payment is completed and all the rights and interests that have been obtained, ensuring that the rights and interests obtained by the SIM card are maximized and that different SIM cards obtain the same rights and interests for the same service at the same time. In addition, the SIM card is used as the ordering subject and the rights and interests payment subject, which is conducive to the purchaser to whom the SIM card belongs to enjoy the rights and interests of all its accounts, realizes the coordinated payment of rights and interests between different accounts, is conducive to maximizing the rights and interests of visitors, and is conducive to the coordinated management of the rights and interests that the same visitor can obtain from different rights and interests providers by the service provider.

[0027] As an example, the blockchain node includes a client node and a server node. The client node receives the order data from the network platform and sends the order data to the server node. The server node writes the order data into the blockchain on the one hand, and calculates the rights and interests that the SIM card can obtain before the current time point based on the order data and returns it to the client node, which is then sent to the network platform to update the order amount.

[0028] It is worth noting that the services in the embodiments of the present application can be either traditional physical goods or virtual goods such as game props, skins, membership privileges, phone bills, etc. The rights and interests in the embodiments of the present application can include vouchers for redeeming services, such as points, and can also include vouchers for deducting order amounts, such as electronic red envelopes, coupons, etc., which are not limited in the embodiments of the present application.

[0029] Please consider Figure 2 , is a flowchart of a blockchain-based order processing method provided by an embodiment of the present application, the method is applied to a network platform, and the method includes the following steps: S202, in response to the order operation request of the SIM card, obtaining order data corresponding to the order operation request.

[0030] The order operation request is used to request to perform operations related to the order of the target service subscribed by the SIM card, such as but not limited to generating an order, querying an order, modifying an order, submitting an order, paying an order, etc. The order data includes: service information of the target service subscribed by the SIM card, order operation time, first order amount, and identity information of the SIM card.

[0031] The service information may include, for example, but is not limited to: the service name and service identifier of the target service, the name and provider identifier of the service provider of the target service, the target access portal used to order the target service, etc.

[0032] The order operation time refers to the time when the network platform responds to the SIM card's order operation request. For example, if the SIM card requests to generate an order, the order operation time is the order generation time; if the SIM card requests to modify an order, the order operation time is the order modification time; if the SIM card requests to modify an order, the order operation time is the order modification time; if the SIM card requests to submit an order, the order operation time is the order submission time; if the SIM card requests to pay for an order, the order operation time is the order payment time.

[0033] The first order amount is used to describe the amount that needs to be paid for the SIM card, which may include but is not limited to at least one of the following amounts: the order amount after deducting the amount of benefits already obtained by the SIM card, the order amount before deducting the amount of benefits already obtained by the SIM card (also called the original order amount), the amount of the target service, etc.

[0034] The identity information of the SIM card is used to describe the identity of the SIM card, such as but not limited to the card number, identity certificate, etc. As an example, the SIM card can be a super SIM card, which stores the identity certificate implanted by the operator. The user can directly use the identity certificate to make calls after installing the SIM card, and the operator can use special equipment to interact directly with the super SIM card. Users can also apply for a new identity certificate in the process of using the super SIM card, and exchange encrypted information with other systems based on the preset secret information in the super SIM card, so as to ensure that the identity certificate and secret information are not obtained by others. The super SIM card can be called through a specific application (Application, APP) service, or it can directly communicate and interact with professional equipment as an independent hardware, and complete the interaction of identity certificates and secret information according to specific scenarios and security level requirements.

[0035] In another embodiment, the order data may also include the third benefit that the SIM card has obtained. In this case, before the above S202, the blockchain-based order processing method provided in the embodiment of the present application may also include the following steps: in response to the SIM card's order request for the target service, determining the target access entry used to order the target service; based on the fourth benefit provided by the first benefit provider associated with the target access entry for the target service, issuing the third benefit to the SIM card.

[0036] The first benefit provider associated with the target access portal may include, for example, but is not limited to, a service provider of the target service, a provider of the target access portal, and the like.

[0037] Exemplarily, the network platform displays a page with multiple access entries. When the network platform receives an access operation from a SIM card to a target service in a certain page, it determines that a subscription request for the target service has been received, and determines the access entry to which the page belongs as the target access entry. Further, the network platform obtains the rights issuance data of the first rights provider related to the target access entry from the local, and automatically issues the corresponding third rights to the SIM card based on the rights issuance data. Among them, the rights issuance data of the first rights provider may include: the fourth rights provided by the first rights provider for the target service, the issuance time and collection conditions of the fourth rights, etc. Among them, the collection conditions can be set according to actual needs, for example, the SIM card belongs to the rights issuance object, the amount of the first order reaches the amount threshold, the SIM card has not received the fourth rights and the fourth rights are currently valid, etc., and the embodiments of the present application do not limit this.

[0038] The network platform can determine the third benefit issued to the SIM card from the fourth benefit provided by the first benefit provider in various appropriate ways. As an example, the network platform selects the fourth benefit whose issuance time is before the current time from the fourth benefit provided by the first benefit provider for the target service; if the identity information of the SIM card and the amount of the first order meet the conditions for receiving the fourth benefit, the selected fourth benefit is determined as the third benefit and issued to the SIM card.

[0039] For example, the fourth benefit provided by the first benefit provider and its issuance time and collection conditions are as follows: Benefit 1: The issuance time is 00:00 on December 12, 2023. The conditions for receiving benefit 1 include: the user has not received benefit 1 before, and the first order amount is greater than 50. The validity period is from 00:00 on December 12, 2023 to 24:00 on December 31, 2023. Benefit 2: The issuance time is 00:00 on December 12, 2023. The conditions for receiving benefit 2 include: you have not received benefit 2 before and the amount of the first order is greater than 100. The validity period is from 00:00 on December 12, 2023 to 24:00 on December 31, 2023. Benefit 3 will be issued at 00:00 on December 12, 2023. The conditions for receiving benefit 2 include: the benefit 2 has not been received and the amount of the first order is greater than 200. The validity period is from 00:00 on December 12, 2023 to 24:00 on December 31, 2023.

[0040] If the current time is 8:00 on December 12, the amount of the first order is 150, and the SIM card has received benefit 1 but has not received benefits 2 and 3, then benefit 2 will be determined as the third benefit and issued to the SIM card.

[0041] Through the above embodiments, on the one hand, when a SIM card orders a service, the network platform automatically issues the rights and interests of the SIM card, which is conducive to improving the rights and interests enjoyed by the SIM card, thereby increasing the probability of the SIM card completing the order payment, improving the conversion rate of the service, and increasing the access traffic to the service; on the other hand, by sending the third rights and interests obtained by the SIM card to the blockchain node, it is conducive to the blockchain node to accurately determine the first rights and interests that the SIM card can obtain, while maximizing the rights and interests of the SIM card, avoiding the rights and interests received by the SIM card exceeding the limit and causing adverse effects on the service provider.

[0042] In another embodiment, after the third benefit is issued to the SIM card, the blockchain-based order payment method provided in the embodiment of the present application may also include the following steps: updating the first order amount based on the third benefit to obtain the third order amount.

[0043] Specifically, the amount of the third interest is deducted from the amount of the first order to obtain the amount of the third order.

[0044] In the above embodiment, the first order amount is updated based on the third benefit, so that the SIM card can timely and clearly know the currently obtained benefit, thereby increasing the enthusiasm of the SIM card to pay the order in time, increasing the probability of the SIM card completing the order payment, improving the conversion rate of the service, and increasing the access traffic to the service.

[0045] S204, sending order data to the blockchain node.

[0046] As an example, the blockchain nodes include client nodes and server nodes, and the server nodes are connected to the blockchain. The network platform can send order data to the client nodes, and the client nodes send it to the server nodes for corresponding processing.

[0047] S206, receiving the first benefit returned by the blockchain node and to be issued to the SIM card.

[0048] The first benefit is determined based on the second benefit that the SIM card has not obtained within the first period of time after the order operation time. The second benefit is obtained by the blockchain node from the blockchain based on the order data. The specific implementation method of the blockchain node querying the second benefit and determining the first benefit will be described in detail later.

[0049] In this way, the SIM card can enjoy all the rights and interests available before the order payment is completed. While maximizing the rights and interests of the SIM card, it ensures that different visitors obtain the same rights and interests when completing the order payment for the same service at the same time, further improving the access traffic to the service and the conversion rate of the service.

[0050] S208: Update the first order amount based on the first equity to obtain a second order amount.

[0051] The second order amount is the amount that needs to be paid for the SIM card currently.

[0052] As an example, the amount of the first interest is deducted from the amount of the first order to obtain the second order amount.

[0053] As another example, when the SIM card has obtained the third benefit, if the first order amount is the amount of the original order amount minus the third benefit, the network platform calculates the absolute value of the difference between the amount of the third benefit and the amount of the first benefit, and deducts the absolute value from the first order amount to obtain the second order amount.

[0054] The blockchain-based order processing method provided in the embodiment of the present application adopts a SIM card as the ordering subject and the rights payment subject, which is conducive to the purchaser enjoying the rights of all his accounts, realizing the coordinated payment of rights between different accounts, maximizing the rights of visitors, and facilitating the collaborative management of the rights that the same visitor can obtain from different rights providers by the service provider, which is conducive to increasing the access flow to the service and the conversion rate of the service. On this basis, based on blockchain technology, the rights issuance data of all rights providers are stored in the blockchain. Once the network platform receives the order operation request of the SIM card, it sends the service information, order operation time, first order amount and identity information of the target service ordered by the SIM card to the blockchain node. The blockchain node determines the second rights that the SIM card has not obtained within a certain period of time after the order operation time based on the rights issuance data stored in the blockchain, and then determines the first rights that the SIM card can obtain and returns it to the SIM card, so that the SIM card can update the first order amount. In this way, the SIM card can obtain all the rights and interests that can be collected before the order payment is completed. While maximizing the rights and interests of the SIM card, it ensures that different visitors obtain the same rights and interests when completing the order payment for the same service at the same time, further improving the access traffic to the service and the conversion rate of the service.

[0055] Please refer to Figure 3 , is a flowchart of a blockchain-based order processing method provided by an embodiment of the present application, the method is applied to a blockchain node, and the method includes the following steps: S302, receiving order data sent by the network platform.

[0056] The order data is generated by the network platform in response to the order operation request of the SIM card. The order data may include, for example, but is not limited to: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card.

[0057] S304, calling the smart contract deployed in the blockchain, querying the blockchain based on the order data for the second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determining the first benefit that the SIM card can obtain based on the second benefit.

[0058] Smart contracts are deployed in the blockchain. Smart contracts (Smart Contact) are protocols that automatically execute contracts through computer programs. Based on the decentralized, tamper-proof, and intelligent characteristics of blockchain, they convert contract terms into executable code through programming languages, thereby realizing automated contract execution. Blockchain-related operations can be completed with the help of smart contracts. Specifically, in the embodiments of the present application, smart contracts can be used to implement operations related to dynamic updates of rights and interests, including the query of rights and interests issuance data and the determination of rights and interests. As an example, blockchain nodes include client nodes and server nodes. The client node receives order data from the network platform and sends the order data to the server node. The server node is connected to the blockchain and can call the smart contract deployed in the blockchain to realize the chaining of order data, the query of rights and interests issuance data, and the dynamic update of the first rights and interests that can be obtained by the SIM card.

[0059] In the embodiment of the present application, the first duration can be set according to actual needs, and the embodiment of the present application does not limit this. In one embodiment, in order to better monitor the changes in the rights and interests provided by each rights and interests provider, to dynamically update the first rights and interests that the SIM card can obtain, and to ensure that the rights and interests obtained by the SIM card are maximized, the first duration can be determined in the following manner: before the blockchain node queries the blockchain based on the order data for the second rights and interests that the SIM card has not obtained within the first duration after the order operation time, after receiving the order data, the timer is triggered to start timing; when the target event is triggered, the timer is controlled to stop timing, and the duration recorded by the timer is determined as the first duration. Among them, the target event includes: the duration recorded by the timer reaches the duration threshold, and the blockchain node receives new order data. After the controller timer stops timing, the timer is cleared.

[0060] As mentioned above, in the process of SIM card ordering target services, there will be multiple time nodes, such as order generation time, order submission time and order payment time, etc. The network platform will send order data to the blockchain node every time it responds to an order operation request. In this case, the first duration determined by the above method does not exceed the duration between two order operations, so that the blockchain node can timely update the second rights and interests that the SIM card has not obtained during this period, so as to accurately evaluate the first rights and interests that the SIM card can obtain, and ensure that all SIM cards obtain the same rights and interests when completing the payment of the same order at the same time while ensuring the maximization of the rights and interests of the SIM card.

[0061] In practical applications, the triggering of the timer can be achieved through smart contracts.

[0062] In the embodiment of the present application, the blockchain node can query the second rights and interests that the SIM card has not obtained within the first period of time after the order operation time through various appropriate methods.

[0063] In one embodiment, based on the service information, the fifth benefit provided by the second benefit provider for the target service is queried from the blockchain, wherein the second benefit provider is a benefit provider associated with the service provider of the target service; from the fifth benefit provided by the second benefit provider for the target service, a sixth benefit whose issuance time is within the first time period after the order operation time is determined; if the identity information of the SIM card and the amount of the first order meet the conditions for receiving the sixth benefit, the sixth benefit is determined as the second benefit that the SIM card has not obtained within the first time period after the order operation time.

[0064] For example, Figure 4 As shown, the blockchain includes a main chain and multiple equity branches. Among them, the main chain includes a first block and multiple second blocks. Of course, the main chain can also include a genesis block, which is the starting point of the blockchain, and the first block is the next block after the genesis block.

[0065] The smart contract is deployed in the first block, and multiple second blocks, multiple service providers, and multiple equity branches correspond one to one. Each second block is generated based on the hash value of the provider information of the corresponding service provider. The provider information includes the name and logo of the service provider.

[0066] Each equity branch chain is connected to the corresponding second block, and each equity branch chain includes at least one third block, and each third block is used to store the equity issuance data of an equity provider associated with the service provider corresponding to the equity branch chain. The equity issuance data of each equity provider includes: the fifth equity provided by the equity provider for the target service, the issuance time and receipt conditions of the fifth equity, etc. Of course, the equity issuance data can also include the name and logo of the equity provider, etc.

[0067] It is worth noting that the rights and interests provider associated with the service provider refers to a rights and interests provider managed by the service provider and providing rights and interests for the services of the service provider.

[0068] For example, Figure 4Taking the blockchain shown as an example, the second block 1 corresponds to service provider 1, the second block 2 corresponds to service provider 2, and so on, the second block n corresponds to service provider n. The equity branch chain 1 connected to the second block 1 includes s third blocks, the third block 11 is used to store the equity issuance data of the equity provider 11 associated with the service provider 1, the third block 12 is used to store the equity issuance data of the equity provider 12 associated with the service provider 1, and the third block 1s is used to store the equity issuance data of the equity provider 1s associated with the service provider 1.

[0069] Assuming that the service provider of the target service is service provider 1, the blockchain node locates the second block 1 based on the hash value of the provider information of service provider 1, obtains the rights issuance data of rights provider 11~right provider 1s from the rights branch chain 1 connected to the second block 1, and obtains the fifth rights provided by rights provider 11~right provider 1s for the target service, the issuance time and the conditions for receiving the fifth rights from these rights issuance data.

[0070] Then, the fifth benefit whose issuance time is within the first time period after the order operation time is selected from these fifth benefits as the sixth benefit. Further, the identity information of the SIM card and the amount of the first order are compared with the conditions for obtaining the sixth benefit to determine whether the SIM card meets the conditions for obtaining the sixth benefit. If so, the sixth benefit is determined as the second benefit that the SIM card has not obtained within the first time period after the order operation time; if not, it is determined that the second benefit does not exist.

[0071] It is worth noting that the specific method of determining the second interest is similar to the method of determining the third interest mentioned above and will not be repeated here.

[0072] In the embodiment of the present application, the determination of the first benefit that the SIM card can obtain based on the second benefit can be implemented in various appropriate ways.

[0073] In one implementation, the second benefit is directly used as the first benefit that the SIM can obtain.

[0074] In another embodiment, based on the service information of the target service, the benefit limit of the target service is queried from the blockchain; at least one second benefit whose sum does not exceed the benefit limit is used as the first benefit that the SIM card can obtain.

[0075] Each service provided by the service provider has a corresponding benefit limit, which is used to limit the maximum benefit that each SIM card can obtain when subscribing to the service. The benefit limit of the service can be pre-set by the service provider according to specific business needs and written into the blockchain through the blockchain node.

[0076] For example, Figure 4As shown, the blockchain may also include multiple service branches, and the multiple service qualities correspond to multiple second blocks one by one. Each service branch is connected to the corresponding second block. Each service quality includes at least one fourth block, each fourth block corresponds to a service provided by the service provider corresponding to the service quality, and each fourth block is used to store the equity limit of the corresponding service.

[0077] For example, Figure 4 Taking the blockchain shown as an example, the service branch 1 is connected to the second block 1, which includes m fourth blocks, each of which corresponds to a service provided by the service provider 1. For example, the fourth block 11 corresponds to the service 11 provided by the service provider 1, which is used to store the equity limit of storage service 11; the fourth block 12 corresponds to the service 12 provided by the service provider 1, which is used to store the equity limit of storage service 12; and so on, the fourth block 1m corresponds to the service 1m provided by the service provider, which is used to store the equity limit of storage service 1m.

[0078] Assuming that the target service is service 11, the blockchain node locates the fourth block 11 from the blockchain based on the hash value of the service information of service 11, and obtains the equity limit of service 11 from the fourth block 11. Then, the blockchain node compares the equity limit of service 11 with the amount of the determined second equity, and selects the second equity with an amount less than the equity limit as the first equity that the SIM can obtain.

[0079] Since the service limit of each service is uniformly set and managed by the service provider of the service, whether it is the rights and interests issued by the service provider itself to the SIM card or the rights and interests issued by other rights and interests providers to the SIM card, they are all subject to the service limit, thereby ensuring the coordinated management of the rights and interests obtained by the service provider for different rights and interests providers and the SIM card from different rights and interests providers. This can not only avoid losses to other rights and interests providers, but also maximize the rights and interests of the SIM card while avoiding the SIM card obtaining too many rights and interests and causing adverse effects on the rights and interests providers.

[0080] It is worth mentioning that in order to prevent invalid services from occupying block storage resources for a long time, blockchain nodes will regularly recycle the entire service branch chain, and then build a new service branch chain to store equity limits, etc.

[0081] In yet another embodiment, when the order data further includes the third benefit obtained by the SIM card, the first benefit obtainable by the SIM card is determined based on a comparison result between the amount of the second benefit and the amount of the third benefit.

[0082] Exemplarily, based on the service information, the service limit of the target service is queried from the blockchain; and the maximum amount of the benefit that does not exceed the benefit limit is selected from the second benefit and the third benefit as the first benefit that the SIM card can obtain.

[0083] For example, the second benefit includes benefit 4 and benefit 5, the third benefit includes benefit 6, the amount of benefit 4 is 10, the amount of benefit 5 is 12, and the amount of benefit 6 is 8. Assuming that the SIM card has subscribed to service 11, and the benefit limit of service 11 is 20, the benefit combination that the SIM card can obtain includes: Equity combination 1: Equity 4, Equity 6 Equity combination 2: Equity 5, Equity 6 Among them, the sum of the amounts of the benefit combination 2 is the largest, and the benefits 5 and 6 are determined as the first benefits that the SIM card can obtain.

[0084] In the above implementation manner, the first benefit is determined by comprehensively considering the benefit limit of the target service subscribed by the SIM card and the benefits obtained by the SIM card. While ensuring the coordinated management of the benefits obtained by the service provider for different benefit providers and the SIM card from different benefit providers, other benefit providers are further prevented from suffering losses, the benefits of the SIM card are further maximized, and the SIM card is prevented from obtaining too many benefits and having an adverse effect on the benefit providers.

[0085] In the embodiment of the present application, the blockchain node can also write relevant information about the rights and interests obtained by the SIM card into the blockchain so as to more accurately control the rights and interests of the SIM card subscription service. The relevant information about the rights and interests obtained may include, for example, but is not limited to: the name, identification, issuance time, collection conditions and name and identification of the rights and interests provider of the rights and interests obtained, the time when the SIM card obtained the rights and interests, etc.

[0086] For example, Figure 4 As shown, the blockchain may further include a side chain. The side chain is connected to the first block. The side chain includes a plurality of fifth blocks. Each fifth block corresponds to a SIM card and is used to store relevant information of the rights and interests obtained by the corresponding SIM card.

[0087] For example, Figure 4 Taking the blockchain shown as an example, the fifth block 1 corresponds to SIM card 1, which is used to store relevant information about the rights and interests obtained by SIM card 1; the fifth block 2 corresponds to SIM card 2, which is used to store relevant information about the rights and interests obtained by SIM card 2; and so on, the fifth block k corresponds to SIM card k, which is used to store relevant information about the rights and interests obtained by SIM card k.

[0088] S306, sending the first equity to the network platform.

[0089] The first interest is used to update the first order amount.

[0090] The blockchain-based order processing method provided in the embodiment of the present application adopts a SIM card as the ordering subject and the rights payment subject, which is conducive to the purchaser enjoying the rights of all his accounts, realizing the coordinated payment of rights between different accounts, maximizing the rights of visitors, and facilitating the collaborative management of the rights that the same visitor can obtain from different rights providers by the service provider, which is conducive to increasing the access flow to the service and the conversion rate of the service. On this basis, based on blockchain technology, the rights issuance data of all rights providers are stored in the blockchain. Once the network platform receives the order operation request of the SIM card, it sends the service information, order operation time, first order amount and identity information of the target service ordered by the SIM card to the blockchain node. The blockchain node determines the second rights that the SIM card has not obtained within a certain period of time after the order operation time based on the rights issuance data stored in the blockchain, and then determines the first rights that the SIM card can obtain and returns it to the SIM card, so that the SIM card can update the first order amount. In this way, the SIM card can obtain all the rights and interests that can be collected before the order payment is completed. While maximizing the rights and interests of the SIM card, it ensures that different visitors obtain the same rights and interests when completing the order payment for the same service at the same time, further improving the access traffic to the service and the conversion rate of the service.

[0091] To facilitate the understanding of the blockchain-based order processing method provided in the embodiment of the present application, Figure 5 , the interaction process between SIM card, network platform and blockchain nodes is explained in detail. Figure 5 A flowchart of a blockchain-based order processing method provided for an embodiment of the present application describes a specific implementation method for interaction between a SIM card, a network platform, and a blockchain node. Figure 5 As shown, the method comprises the following steps: S502: The SIM card sends a subscription request for a target service to the network platform.

[0092] S504: The network platform determines a target access entry used for subscribing to the target service in response to the SIM card's request for subscribing to the target service.

[0093] S506: The network platform issues a third benefit to the SIM card based on the fourth benefit provided by the first benefit provider associated with the target access portal for the target service.

[0094] S508, the network platform updates the first order amount based on the third interest to obtain the third order amount.

[0095] S510, the SIM card sends an order operation request to the network platform.

[0096] S512, the network platform responds to the order operation request of the SIM card and obtains order data corresponding to the order operation request.

[0097] The order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount, identity information of the SIM card, and third rights and interests.

[0098] S514, the network platform sends the order data to the blockchain node.

[0099] S516, the blockchain node calls the smart contract deployed in the blockchain, queries the blockchain based on the order data for the second benefit that the SIM card has not obtained within the first period of time after the order operation time, and determines the first benefit that the SIM card can obtain based on the second benefit.

[0100] S518, the blockchain node sends the first equity to the network platform.

[0101] S520, the network platform updates the first order amount based on the first equity to obtain a second order amount.

[0102] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0103] Based on the same inventive concept, the present application embodiment also provides an order processing device based on blockchain. Figure 6 , is a structural diagram of a blockchain-based order processing device 600 provided in one embodiment of the present application. The device 600 is applied to a network platform, and the device 600 includes: The first response module 610 is used to respond to the order operation request of the SIM card, obtain the order data corresponding to the order operation request, and send the order data to the blockchain node, wherein the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; A first receiving module 620 is configured to receive a first benefit returned by the blockchain node and obtainable by the SIM card, wherein the first benefit is determined based on a second benefit obtainable by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; The updating module 630 is used to update the first order amount based on the first equity to obtain a second order amount.

[0104] In another embodiment, the order data further includes: the third benefit that the SIM card has obtained; The first response module is further used for: In response to a subscription request for the target service from the SIM card, determining a target access entry used for subscribing to the target service; Based on a fourth benefit provided by a first benefit provider associated with the target access portal for the target service, a third benefit is issued to the SIM card.

[0105] In another embodiment, the update module is further used to: The first order amount is updated based on the third equity to obtain a third order amount.

[0106] Obviously, the order processing device based on blockchain in the embodiment of this specification can be used as the above Figure 2 The execution subject of the order processing method based on blockchain shown in the figure can realize the order processing method based on blockchain in Figure 2 The functions realized are as follows. Since the principles are the same, they will not be described here.

[0107] Based on the same inventive concept, the present application embodiment also provides an order processing device based on blockchain. Figure 7 , is a schematic diagram of a structure of a blockchain-based order processing device 700 provided in one embodiment of the present application. The device 700 is applied to a blockchain node, and the device 700 includes: The second receiving module 710 is used to receive order data sent by the network platform, where the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; The calling module 720 is used to call the smart contract deployed in the blockchain, query the blockchain based on the order data for the second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determine the first benefit that the SIM card can obtain based on the second benefit; The first sending module 730 is used to send the first equity to the network platform, where the first equity is used to update the first order amount.

[0108] In another embodiment, the calling module is used to: Based on the service information, querying from the blockchain a fifth benefit provided by a second benefit provider for the target service, where the second benefit provider is a benefit provider associated with a service provider of the target service; Determine, from the fifth rights provided by the second rights provider for the target service, a sixth right whose issuance time is within a first time period after the order operation time; If the identity information and the first order amount meet the conditions for obtaining the sixth benefit, the sixth benefit is determined as the second benefit that the SIM card has not obtained within a first period of time after the order operation time.

[0109] In another embodiment, the blockchain includes a main chain and multiple equity branches, the main chain includes a first block and multiple second blocks, the smart contract is deployed in the first block, the multiple second blocks, the multiple service providers and the multiple equity branches correspond to each other one by one; each second block is generated based on a hash value of provider information of the corresponding service provider; Each equity branch chain is connected to the corresponding second block, and each equity branch chain includes at least one third block. Each third block is used to store the equity issuance data of an equity provider associated with the service provider corresponding to the equity main chain, and the equity issuance data includes the fifth equity provided by the equity provider for the target service, the issuance time and receipt conditions of the fifth equity.

[0110] In another embodiment, the order data also includes the third benefit that the SIM card has obtained; When the calling module determines the first benefit that the SIM card can obtain based on the second benefit, the calling module performs the following operations: Based on the comparison result between the amount of the second benefit and the amount of the third benefit, the first benefit that the SIM card can obtain is determined.

[0111] In another embodiment, when the calling module determines the first benefit that the SIM card can obtain based on the comparison result between the amount of the second benefit and the amount of the third benefit, the calling module performs the following operations: Based on the service information, query the equity limit of the target service from the blockchain; At least one benefit whose sum does not exceed the benefit limit is selected from the second benefit and the third benefit as the first benefit that can be obtained by the SIM card.

[0112] In another embodiment, the blockchain includes a main chain and multiple service branches, the main chain includes a first block and multiple second blocks, the smart contract is deployed in the first block, the multiple second blocks, the multiple service providers and the multiple service branches correspond to each other one by one; each second block is generated based on a hash value of provider information of the corresponding service provider; Each service branch chain is connected to the corresponding second block, and each service branch chain includes at least one fourth block. Each fourth block corresponds to a service provided by the service provider corresponding to the service branch chain, and each fourth block is used to store the equity limit of the corresponding service.

[0113] In another embodiment, the calling module is further used to: After receiving the order data, triggering a timer to start timing; When a target event is triggered, the timer is controlled to stop timing, and the duration recorded by the timer is determined as a first duration; wherein the target event includes: the duration recorded by the timer reaches a duration threshold, and the blockchain node receives new order data.

[0114] Obviously, the order processing device based on blockchain in the embodiment of this specification can be used as the above Figure 3 The execution subject of the order processing method based on blockchain shown in the figure can realize the order processing method based on blockchain in Figure 3 The functions realized are as follows. Since the principles are the same, they will not be described here.

[0115] Figure 8 This is a schematic diagram of the structure of a network platform in an embodiment of the present application. Figure 8 At the hardware level, the network platform includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. Of course, the network platform may also include hardware required by other services.

[0116] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0117] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0118] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a blockchain-based order processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations: In response to the order operation request of the SIM card, obtain order data corresponding to the order operation request, and send the order data to the blockchain node, the order data including: service information of the target service subscribed by the SIM card, order operation time, first order amount and identity information of the SIM card; Receiving a first benefit that can be obtained by the SIM card and returned by the blockchain node, where the first benefit is determined based on a second benefit that can be obtained by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; The first order amount is updated based on the first equity to obtain a second order amount.

[0119] The above application Figure 2The method performed by the blockchain-based order processing device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in software form. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0120] The network platform can also execute Figure 2 The method is to realize the order processing device based on blockchain. Figure 2 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0121] Of course, in addition to software implementation methods, the network platform of this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0122] The embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a network platform including multiple application programs, enable the network platform to execute Figure 2 The method of the embodiment shown is specifically used to perform the following operations: In response to the order operation request of the SIM card, obtain order data corresponding to the order operation request, and send the order data to the blockchain node, the order data including: service information of the target service subscribed by the SIM card, order operation time, first order amount and identity information of the SIM card; Receiving a first benefit that can be obtained by the SIM card and returned by the blockchain node, where the first benefit is determined based on a second benefit that can be obtained by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; The first order amount is updated based on the first equity to obtain a second order amount.

[0123] Fig. 9 This is a schematic diagram of the structure of a blockchain node in an embodiment of the present application. Please refer to Fig. 9 At the hardware level, the blockchain node includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the blockchain node may also include hardware required for other services.

[0124] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0125] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0126] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a blockchain-based order processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations: Receiving order data sent by the network platform, the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; Calling a smart contract deployed in the blockchain, querying the blockchain based on the order data for the second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determining the first benefit that the SIM card can obtain based on the second benefit; The first equity is sent to the network platform, and the first equity is used to update the first order amount.

[0127] The above application Figure 3 The method performed by the blockchain-based order processing device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in software form. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0128] The blockchain node can also execute Figure 3 The method is to realize the order processing device based on blockchain. Figure 3 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0129] Of course, in addition to software implementation methods, the blockchain node of this application does not exclude other implementation methods, such as logical devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logical unit, but can also be hardware or logical devices.

[0130] The present application also provides a computer-readable storage medium that stores one or more programs, wherein the one or more programs include instructions that, when executed by a blockchain node that includes multiple application programs, enable the blockchain node to execute Figure 3 The method of the embodiment shown is specifically used to perform the following operations: Receiving order data sent by the network platform, the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; Calling a smart contract deployed in the blockchain, querying the blockchain based on the order data for the second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determining the first benefit that the SIM card can obtain based on the second benefit; The first equity is sent to the network platform, and the first equity is used to update the first order amount.

[0131] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps in the blockchain-based order processing method provided in the embodiment of the present application.

[0132] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0133] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0134] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0135] It should also be noted that the terms "include", "comprises" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, service or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, service or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, service or device that includes the element.

[0136] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A blockchain-based order processing method, characterized in that: Applied to a network platform, the method comprises: In response to the order operation request of the SIM card, obtain order data corresponding to the order operation request, and send the order data to the blockchain node, the order data including: service information of the target service subscribed by the SIM card, order operation time, first order amount and identity information of the SIM card; Receiving a first benefit that can be obtained by the SIM card and returned by the blockchain node, where the first benefit is determined based on a second benefit that can be obtained by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; The first order amount is updated based on the first equity to obtain a second order amount.

2. The method according to claim 1, characterized in that The order data also includes: the third rights and interests obtained by the SIM card; Before obtaining the order data corresponding to the order operation request in response to the order operation request of the SIM card, the method further includes: In response to a subscription request for the target service from the SIM card, determining a target access entry used for subscribing to the target service; Based on a fourth benefit provided by a first benefit provider associated with the target access portal for the target service, a third benefit is issued to the SIM card.

3. The method according to claim 2, characterized in that After issuing the third benefit to the SIM card based on the fourth benefit provided by the first benefit provider associated with the target access portal for the target service, the method further includes: The first order amount is updated based on the third equity to obtain a third order amount.

4. A blockchain-based order processing method, characterized in that: Applied to a blockchain node, the method comprises: Receiving order data sent by the network platform, the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; Calling a smart contract deployed in the blockchain, querying the blockchain based on the order data for the second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determining the first benefit that the SIM card can obtain based on the second benefit; The first equity is sent to the network platform, and the first equity is used to update the first order amount.

5. The method according to claim 4, characterized in that The querying, from the blockchain based on the order data, of the second benefit that the SIM card has not obtained within a first period of time after the order operation time includes: Based on the service information, querying from the blockchain a fifth benefit provided by a second benefit provider for the target service, where the second benefit provider is a benefit provider associated with a service provider of the target service; Determine, from the fifth rights provided by the second rights provider for the target service, a sixth right whose issuance time is within a first time period after the order operation time; If the identity information and the first order amount meet the conditions for obtaining the sixth benefit, the sixth benefit is determined as the second benefit that the SIM card has not obtained within a first period of time after the order operation time.

6. The method according to claim 5, characterized in that The blockchain includes a main chain and multiple equity branches, the main chain includes a first block and multiple second blocks, the smart contract is deployed in the first block, the multiple second blocks, the multiple service providers and the multiple equity branches correspond to each other one by one; each second block is generated based on a hash value of the provider information of the corresponding service provider; Each equity branch chain is connected to the corresponding second block, and each equity branch chain includes at least one third block. Each third block is used to store the equity issuance data of an equity provider associated with the service provider corresponding to the equity main chain, and the equity issuance data includes the fifth equity provided by the equity provider for the target service, the issuance time and receipt conditions of the fifth equity.

7. The method according to claim 4, characterized in that The order data also includes the third rights and interests obtained by the SIM card; The determining, based on the second benefit, the first benefit that the SIM card can obtain includes: Based on the comparison result between the amount of the second benefit and the amount of the third benefit, the first benefit that the SIM card can obtain is determined.

8. The method according to claim 7, characterized in that The determining, based on the comparison result between the amount of the second benefit and the amount of the third benefit, the first benefit that the SIM card can obtain includes: Based on the service information, query the equity limit of the target service from the blockchain; At least one benefit whose sum does not exceed the benefit limit is selected from the second benefit and the third benefit as the first benefit that can be obtained by the SIM card.

9. The method according to claim 8, characterized in that The blockchain includes a main chain and multiple service branches, the main chain includes a first block and multiple second blocks, the smart contract is deployed in the first block, the multiple second blocks, the multiple service providers and the multiple service branches correspond to each other one by one; each second block is generated based on a hash value of provider information of the corresponding service provider; Each service branch chain is connected to the corresponding second block, and each service branch chain includes at least one fourth block. Each fourth block corresponds to a service provided by the service provider corresponding to the service branch chain, and each fourth block is used to store the equity limit of the corresponding service.

10. The method according to claim 4, characterized in that Before querying the blockchain based on the order data for the second rights and interests that the SIM card has not obtained within a first period of time after the order operation time, the method further includes: After receiving the order data, triggering a timer to start timing; When a target event is triggered, the timer is controlled to stop timing, and the duration recorded by the timer is determined as a first duration; wherein the target event includes: the duration recorded by the timer reaches a duration threshold, and the blockchain node receives new order data.

11. An order processing device based on blockchain, characterized in that: Applied to a network platform, the device comprises: A first response module, configured to respond to an order operation request of a SIM card, obtain order data corresponding to the order operation request, and send the order data to a blockchain node, wherein the order data includes: service information of a target service ordered by the SIM card, order operation time, first order amount, and identity information of the SIM card; A first receiving module is used to receive a first benefit that can be obtained by the SIM card and is returned by the blockchain node, where the first benefit is determined based on a second benefit that can be obtained by the SIM card within a first period of time after the order operation time, and the second benefit is obtained by the blockchain node from querying the blockchain based on the order data; An updating module is used to update the first order amount based on the first equity to obtain a second order amount.

12. An order processing device based on blockchain, characterized in that: Applied to a blockchain node, the device comprises: The second receiving module is used to receive order data sent by the network platform, wherein the order data is generated by the network platform in response to the order operation request of the SIM card; the order data includes: service information of the target service ordered by the SIM card, order operation time, first order amount and identity information of the SIM card; A calling module, configured to call a smart contract deployed in a blockchain, query the blockchain based on the order data for a second benefit that the SIM card has not obtained within a first period of time after the order operation time, and determine a first benefit that the SIM card can obtain based on the second benefit; The first sending module is used to send the first equity to the network platform, and the first equity is used to update the first order amount.

13. A network platform, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the blockchain-based order processing method as described in any one of claims 1 to 3.

14. A blockchain node, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the blockchain-based order processing method as described in any one of claims 4 to 10.

15. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the blockchain-based order processing method as described in any one of claims 1 to 3; or, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the blockchain-based order processing method as described in any one of claims 4 to 10.

16. A computer program product, characterized in that The computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to execute part or all of the steps in the blockchain-based order processing method as described in any one of claims 1 to 3; or, the computer program is operable to cause a computer to execute part or all of the steps in the blockchain-based order processing method as described in any one of claims 4 to 10.