Transaction processing method and device, equipment and storage medium

By obtaining the user's media order information on the merchant side, querying and processing duplicate orders, the problem of users needing to manually cancel unilateral transactions is solved, and the effect of simplifying operations and improving transaction efficiency is achieved.

CN119863288APending Publication Date: 2025-04-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311370824.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the prior art, after generating two unilateral transactions, users need to manually request to cancel one of the unilateral transactions, resulting in cumbersome operations.

Method used

By obtaining the user's media order information on the merchant side, check whether there are duplicate orders for the same transaction event. If it exists, only one of the orders will be executed to avoid the occurrence of unilateral transactions.

Benefits of technology

It effectively eliminates the situation of unilateral transactions, simplifies user operation processes, and improves transaction processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119863288A_ABST
    Figure CN119863288A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a transaction processing method and device, equipment and a storage medium, and is applied to the traffic field, and the method comprises the steps: generating a non-medium order of a transaction event after the transaction event of a target object is detected; wherein the non-medium order refers to an instant transaction order; sending a query request of the medium order of the target object to a server, so that the server responds to the query request and queries whether the medium order of the target object exists, and the server generates query notification information based on a query result; wherein the medium order refers to a non-instant transaction order; query notification information sent by the server is received, if the query notification information is used for indicating that the medium order of the target object exists, transaction notification information is sent to the server, and the transaction notification information is used for indicating the server to cancel execution of the non-medium order and execute the medium order. According to the embodiment of the invention, the situation of unilateral transaction can be effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer application technology, and in particular to a transaction processing method, device, equipment and storage medium. Background Art

[0002] In daily life, there are situations where after two unilateral transactions are generated, the user manually requests to cancel one of the unilateral transactions. Taking the subway scenario as an example, users can take the subway by purchasing a one-way ticket or by swiping their palms to pass the gate. Users who have activated the palm-swiping function will still purchase a one-way ticket due to habit, but will swipe their palms to pass the gate, thus generating two unilateral transactions. Therefore, the user needs to manually request to cancel one of the unilateral transactions, which makes the operation cumbersome. Summary of the invention

[0003] The embodiments of the present application provide a transaction processing method, apparatus, device and storage medium, which obtains the media order information of the user on the merchant side to query whether there are duplicate orders for the same transaction event. If so, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0004] In a first aspect, an embodiment of the present application provides a transaction processing method, the method comprising:

[0005] After detecting a transaction event of a target object, a non-media order of the transaction event is generated; wherein the non-media order refers to an instant transaction order;

[0006] Sending a query request for the media order of the target object to the server, so that the server responds to the query request and queries whether there is a media order for the target object, and the server generates query notification information based on the query result; wherein the media order refers to a non-instant transaction order;

[0007] Receive query notification information sent by the server, and if the query notification information is used to indicate that there is a media order for the target object, send transaction notification information to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order.

[0008] In a second aspect, an embodiment of the present application provides a transaction processing method, the method comprising:

[0009] Receive a query request for a media order of a target object sent by a client; wherein the query request is sent by the client after generating a non-media order of a transaction event, the non-media order is generated by the client after detecting the transaction event of the target object, the non-media order refers to an instant transaction order, and the media order refers to a non-instant transaction order;

[0010] In response to the query request, query whether there is a media order for the target object, and generate query notification information based on the query result;

[0011] Sending the query notification information to the client;

[0012] Receiving transaction notification information sent by the client; wherein the transaction notification information is sent by the client after determining that the query notification information indicates that there is a media order for the target object;

[0013] In response to the transaction notification information, the non-media order is canceled and the media order is executed.

[0014] In a third aspect, an embodiment of the present application provides a transaction processing device, the transaction processing device comprising:

[0015] A detection unit, configured to generate a non-media order for a transaction event after detecting a transaction event of a target object; wherein the non-media order refers to an instant transaction order;

[0016] A request unit, configured to send a query request for a media order of the target object to a server, so that the server responds to the query request and queries whether there is a media order for the target object, and the server generates query notification information based on the query result; wherein the media order refers to a non-instant transaction order;

[0017] A processing unit is used to receive query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, a transaction notification information is sent to the server. The transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order.

[0018] In one embodiment, after detecting a transaction event of a target object, the detection unit generates a non-media order of the transaction event, including:

[0019] After the transportation boarding event of the target object is detected, a non-media order for the transportation boarding event is generated.

[0020] In one embodiment, the request unit is further configured to include:

[0021] Obtaining authorization information of the target object;

[0022] If the authorization information indicates that the server has the authority to query the media order of the target object, then the operation of sending a query request for the media order of the target object to the server is triggered.

[0023] In a fourth aspect, an embodiment of the present application provides a transaction processing device, the transaction processing device comprising:

[0024] A receiving unit, configured to receive a query request for a media order of a target object sent by a client; wherein the query request is sent by the client after generating a non-media order of a transaction event, the non-media order is generated by the client after detecting the transaction event of the target object, the non-media order refers to an instant transaction order, and the media order refers to a non-instant transaction order;

[0025] A response unit, used to respond to the query request, query whether there is a media order for the target object, and generate query notification information based on the query result;

[0026] A sending unit, used to send the query notification information to the client;

[0027] The receiving unit is further configured to receive transaction notification information sent by the client; wherein the transaction notification information is sent by the client after determining that the query notification information indicates that there is a medium order for the target object;

[0028] The response unit is further used to respond to the transaction notification information, cancel the execution of the non-media order, and execute the media order.

[0029] In one embodiment, the response unit responds to the query request to query whether there is a media order for the target object, including:

[0030] Sending a media order request message to the transaction platform where the transaction event is located, the media order request message carries the object identifier of the target object, so that the transaction platform queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the transaction platform queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0031] The query result sent by the transaction platform is received; wherein the query result is used to indicate that there is a medium order for the target object.

[0032] In one embodiment, the response unit sends a media order request message to the transaction platform where the transaction event is located, and the media order request message carries the object identifier of the target object, including:

[0033] Sending the media order request information to the trading platform, the media order request information carrying the object identifier of the target object and the media information corresponding to the non-media order, so that the trading platform inquires whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the trading platform inquires whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; if the media order for the target object exists, the trading platform inquires whether there is a media order from the media orders of the target object whose media information matches the media information corresponding to the non-media order;

[0034] The query result is used to indicate that there is a media order whose media information of the target object matches the media information corresponding to the non-media order.

[0035] In one embodiment, the response unit is further configured to include:

[0036] Receive a query request for a media order of the target object sent by a subway gate device; wherein the query request is sent by the subway gate device after generating a non-media order for a transaction event, and the non-media order is generated by the subway gate device after detecting the transaction event of the target object;

[0037] The responding to the query request and querying whether there is a media order for the target object includes:

[0038] Sending a media order request message to a subway server corresponding to the subway gate device, wherein the media order request message carries the object identifier of the target object, so that the subway server queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the subway server queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0039] The query result sent by the subway server is received; wherein the query result is used to indicate that there is a media order for the target object.

[0040] In one embodiment, the query request of the response unit is sent by the subway gate device after receiving a transaction event from a palm swiping module in the subway gate device, and the transaction event is generated by the palm swiping module after detecting that the target object has swiped its palm.

[0041] In one embodiment, the response unit sends the media order request information to the subway server corresponding to the subway gate device, including:

[0042] Sending a media order request message to the subway gate device, the media order request message carries the object identifier of the target object, so that the subway gate device queries whether the object identifier exists in the transaction information to be executed in the local database; if the object identifier exists, the subway gate device queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed in the local database;

[0043] The receiving the query result sent by the subway server, wherein the query result is used to indicate that there is a medium order for the target object, comprises:

[0044] A first query result sent by the subway gate device is received, where the first query result is used to indicate that a medium order of the target object exists in the local database.

[0045] In the fifth aspect, an embodiment of the present invention provides a terminal device, which includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in the first aspect above.

[0046] In the sixth aspect, an embodiment of the present invention provides a server, which includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in the second aspect above.

[0047] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0048] In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method described in the second aspect is implemented.

[0049] In the embodiment of the present application, after detecting the transaction event of the target object, the client generates a non-media order for the transaction event, sends a query request for the media order of the target object to the server, receives the query notification information sent by the server, and if the query notification information is used to indicate that there is a media order for the target object, sends a transaction notification information to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order. By obtaining the media order information of the user on the server side, it is possible to query whether there are repeated orders for the same transaction event. If so, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.

[0051] Figure 1 It is a schematic diagram of the architecture of a transaction processing system provided in an embodiment of the present application;

[0052] Figure 2 It is a flowchart of a transaction processing method provided in an embodiment of the present application;

[0053] Figure 3 It is a flowchart of another transaction processing method provided in an embodiment of the present application;

[0054] Figure 4 It is a schematic diagram of the architecture of another transaction processing system provided in an embodiment of the application;

[0055] Figure 5 It is a flowchart of another transaction processing method provided in an embodiment of the present application;

[0056] Figure 6 This is a schematic diagram of a palm-swipe gate-passing method provided in an embodiment of the present application;

[0057] Figure 7 It is a structural diagram of a transaction processing device provided in an embodiment of the present application;

[0058] Figure 8 is a structural diagram of another transaction processing device provided in an embodiment of the present application;

[0059] Fig. 9 It is a structural diagram of a terminal device provided in an embodiment of the present application;

[0060] Fig.10 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. 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 creative work are within the scope of protection of this application.

[0062] In the specific implementation of this application, user-related data, such as user order information, is involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with local laws, regulations and standards.

[0063] The transaction processing method provided in the embodiment of the present application can be applied in an intelligent transportation system (ITS). ITS, also known as the Intelligent Transportation System, is an effective and comprehensive application of advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research, artificial intelligence, etc.) to transportation, service control and vehicle manufacturing, strengthening the connection between vehicles, roads and users, thereby forming a comprehensive transportation system that ensures safety, improves efficiency, improves the environment and saves energy, such as the palm swiping or code scanning involved in the process of taking a vehicle.

[0064] The transaction processing system includes a server and at least one client, and the server includes an order management server.

[0065] See also Figure 1 , Figure 1 This is a schematic diagram of the architecture of a transaction processing system provided by an embodiment of the present application. Exemplarily, after detecting a transaction event of a target object, the client generates a non-media order for the transaction event; sends a query request for the media order of the target object to the server, so that the transaction order query service module of the server responds to the query request, queries whether there is a media order for the target object in the order management service module, and the server generates a query notification message based on the query result; the client receives the query notification message sent by the server, and if the query notification message is used to indicate that there is a media order for the target object, the client sends a transaction notification message to the server, and the transaction notification message is used to instruct the order execution service module of the server to cancel the execution of the non-media order and execute the media order.

[0066] Optionally, if the authorization module of the client obtains the authorization information of the target object, and if the authorization information indicates that the server has the authority to query the media order of the target object, an operation of sending a query request for the media order of the target object to the server is triggered.

[0067] The server may be a server that can provide transaction services, such as an instant messaging server or a payment server.

[0068] Each client may be a client that interacts with the above server, that is, a client for consuming transaction services, such as an instant messaging client or a payment client.

[0069] Each client can run in a computer device, including but not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc.

[0070] See also Figure 2 , Figure 2 is a flow chart of a transaction processing method provided by an embodiment of the present application, such as Figure 2 The transaction processing scheme shown includes but is not limited to steps S201-S207, wherein:

[0071] S201, the client generates a non-media order for a transaction event.

[0072] In this embodiment, when a transaction event occurs to the target object, a non-media order for the transaction event is generated, wherein the non-media order refers to an instant transaction order. For example, when the target object scans the code to pay, an order corresponding to the scan code payment is generated, and the order is an instant transaction order.

[0073] In one implementation, the method of generating a non-media order for the transaction event after detecting the transaction event of the target object may include: generating a non-media order for the transportation boarding event after detecting the transportation boarding event of the target object. For example, when the target object scans the code to board a vehicle, the client can detect the boarding event of the target object and generate a non-media order corresponding to the boarding event. For another example, when the target object swipes the palm to board a vehicle, the boarding event of the target object can be detected and a non-media order corresponding to the boarding event can be generated.

[0074] The target object may refer to an object with activity characteristics, such as a user, an animal, or a robot.

[0075] S202: The client sends a query request for a media order of a target object to the server.

[0076] In this embodiment, a media order refers to a non-immediate transaction order, such as a media order purchased in advance by the target object that matches the non-media order, and the media order can complete the transaction event of the non-media order, and the media order and the non-media order are orders generated by the same server.

[0077] In one implementation, authorization information of the target object may also be obtained. If the authorization information indicates that the server has the authority to query the media order of the target object, the operation of sending a query request for the media order of the target object to the server is triggered.

[0078] Specifically, before a transaction event occurs in the target object, the target object can authorize the client, and the client obtains the authorization information of the target object. If the authorization information indicates that the server has the authority to query the media order of the target object, it triggers the operation of sending a query request for the media order of the target object to the server.

[0079] S203: The server queries whether there is a media order for the target object, and generates query notification information based on the query result.

[0080] In this embodiment, the media order is an order purchased in advance by the target object, and the server queries the media order that matches the non-media order, that is, the transaction event corresponding to the non-media order can be completed by the matching media order.

[0081] Optionally, if there are multiple media orders for the target object, one of the media orders is selected and query notification information is generated.

[0082] In this embodiment, if the server finds multiple media orders that match the non-media order, the server can automatically select a media order from the multiple media orders according to the pre-set settings and generate query notification information. For example, the server can give priority to the media order with the earliest generation time according to the generation time of the multiple media orders and generate query notification information. For example, when the server finds multiple media orders that match the non-media order, the server can send order selection request information to the client, and the client sends an instruction to the server to specify one of the media orders. S204, the server sends the query notification information to the client.

[0083] S205: The client receives the query notification information sent by the server.

[0084] In this embodiment, the client receives the query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, the client sends transaction notification information to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order, where the execution of the media order may refer to completing a shopping order, completing a ride order, etc. If the query notification information is used to indicate that there is no media order for the target object, the client executes the non-media order.

[0085] S206, the client sends transaction notification information to the server.

[0086] In this embodiment, when the client determines that the query notification information indicates that there is a media order for the target object, the client sends transaction notification information to the server.

[0087] Optionally, the transaction notification information may include an order identifier of the order to be executed. On this basis, after receiving the transaction notification information, the server may execute the order indicated by the order identifier and cancel the execution of other orders that match the order indicated by the order identifier.

[0088] In this embodiment, in the case of repeated transactions, the user can choose which order to execute, and then the client sends the order identifier of the order selected by the user to the server, so that the server executes the order indicated by the order identifier. In one example, the user can choose not to execute a media order, but to execute a non-media order, for example, the non-media order may be more favorable or the user chooses to use the media order in the future. In another example, if there are multiple media orders that match the non-media order, the user can choose to execute one of the media orders, for example, the user can choose a media order with a greater discount or a media order that is about to expire. The client can generate transaction notification information based on the user's selection, and the transaction notification information may include the order identifier of the order selected by the user (i.e., the order to be executed). On this basis, after receiving the transaction notification information, the server can execute the order indicated by the order identifier and cancel the execution of other orders that match the order indicated by the order identifier.

[0089] S207, the server responds to the transaction notification information, cancels the execution of the non-media order, and executes the media order.

[0090] In this embodiment, when the server receives the transaction notification information sent by the client, the non-media order is canceled and the media order is executed. For example, when scanning a code to shop, the currently generated shopping order, that is, the non-media order, is canceled, and the order purchased in advance, that is, the media order, is executed to complete the scanning code shopping transaction event; or when scanning a code to take a subway or bus or other means of transportation, the currently generated transportation order is canceled, and the transportation order purchased in advance is executed to complete the transportation ride transaction event.

[0091] In the embodiment of the present application, after detecting the transaction event of the target object, the client generates a non-media order for the transaction event, and sends a query request for the media order of the target object to the server. The client receives the query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, the client sends a transaction notification information to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order. By obtaining the media order information of the user on the server side, it is possible to query whether there are repeated orders for the same transaction event. If so, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0092] See also Figure 3 , Figure 3 is a flow chart of another transaction processing method provided in an embodiment of the present application, such as Figure 3 The transaction processing scheme shown includes but is not limited to steps S301-S311, wherein:

[0093] S301, the client generates a non-media order for a transaction event.

[0094] S302, the client sends a query request for the media order of the target object to the server.

[0095] S303: The server receives a query request for a media order of a target object.

[0096] S304, the server sends a query request for the medium order of the target object to the trading platform.

[0097] S305, the trading platform queries whether there is a medium order for the target object, and generates query notification information based on the query result.

[0098] In one implementation, responding to the query request and querying whether there is a media order for the target object includes:

[0099] Sending a media order request message to the transaction platform where the transaction event is located, the media order request message carries the object identifier of the target object, so that the transaction platform queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the transaction platform queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0100] The query result sent by the transaction platform is received; wherein the query result is used to indicate that there is a medium order for the target object.

[0101] In this embodiment, the media order is an order purchased in advance by the target object, and the server queries the media order that matches the non-media order, that is, the transaction event corresponding to the non-media order can be completed by the matching media order.

[0102] In one implementation, the sending of the media order request information to the transaction platform where the transaction event is located, wherein the media order request information carries the object identifier of the target object, includes:

[0103] Sending the media order request information to the trading platform, the media order request information carrying the object identifier of the target object and the media information corresponding to the non-media order, so that the trading platform inquires whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the trading platform inquires whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; if the media order for the target object exists, the trading platform inquires whether there is a media order from the media orders of the target object whose media information matches the media information corresponding to the non-media order;

[0104] The query result is used to indicate that there is a media order whose media information of the target object matches the media information corresponding to the non-media order.

[0105] In this embodiment, the server sends a media order request message to the trading platform, where the media order request message carries the object identifier of the target object and the media information corresponding to the non-media order, where the media information may be the transaction price and transaction content corresponding to the transaction event, etc. The trading platform inquires whether there is an object identifier in the transaction information to be executed. If there is an object identifier, the trading platform inquires whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed. If there is a media order for the target object, the trading platform inquires from the media orders of the target object whether there is a media order whose media information matches the media information corresponding to the non-media order, where the media order that matches the media information corresponding to the non-media order means that the media order can complete the transaction event corresponding to the non-media order.

[0106] Optionally, if there are multiple media orders for the target object, one of the media orders is selected and query notification information is generated.

[0107] In this embodiment, if the trading platform queries for multiple media orders that match the non-media order, the trading platform can automatically select a media order from the multiple media orders according to the pre-set settings and generate query notification information. For example, the trading platform can give priority to the media order with the earliest generation time according to the generation time of multiple media orders and generate query notification information. For example, when the trading platform queries for multiple media orders that match the non-media order, the trading platform can send an order selection request information to the client, and the client sends an instruction to the server to specify that the trading platform use one of the media orders.

[0108] S306, the trading platform sends the query notification information to the server.

[0109] S307, the server receives the query notification information.

[0110] S308, the server sends the query notification information to the client.

[0111] S309: The client receives the query notification information sent by the server.

[0112] In this embodiment, the client receives the query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, the client sends transaction notification information to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order, where the execution of the media order may refer to completing a shopping order, completing a ride order, etc. If the query notification information is used to indicate that there is no media order for the target object, the client executes the non-media order.

[0113] S310, the client sends transaction notification information to the server.

[0114] Optionally, the transaction notification information may include an order identifier of the order to be executed. On this basis, after receiving the transaction notification information, the server may execute the order indicated by the order identifier and cancel the execution of other orders that match the order indicated by the order identifier.

[0115] In this embodiment, in the case of repeated transactions, the user can choose which order to execute, and then the client sends the order identifier of the order selected by the user to the server, so that the server executes the order indicated by the order identifier. In one example, the user can choose not to execute the media order, but to execute the non-media order, for example, the non-media order may be more favorable or the user chooses to use the media order in the future. In another example, if there are multiple media orders that match the non-media order, the user can choose to execute one of the media orders, for example, the user can choose a media order with a greater discount or a media order that is about to expire. The client can generate transaction notification information based on the user's selection, and the transaction notification information may include the order identifier of the order selected by the user (i.e., the order to be executed). On this basis, after receiving the transaction notification information, the server can execute the order indicated by the order identifier and cancel the execution of other orders that match the order indicated by the order identifier. S311, the server responds to the transaction notification information, cancels the execution of the non-media order, and executes the media order.

[0116] In this embodiment, when the server receives the transaction notification information sent by the client, the non-media order is canceled and the media order is executed. For example, when scanning the code to take transportation such as the subway or bus, the currently generated transportation order is canceled and the transportation order purchased in advance is executed to complete the transportation transaction event.

[0117] In the embodiment of the present application, after detecting the transaction event of the target object, the client generates a non-media order of the transaction event and sends a query request for the media order of the target object to the server. The server sends a query request for the media order of the target object to the trading platform. The server receives the query notification information sent by the trading platform. The client receives the query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, the client sends a transaction notification information to the server. The transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order. By obtaining the media order information of the user on the server side to query whether there are repeated orders for the same transaction event, if there are, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0118] Based on the above description, a transaction processing system is provided, which can be applied in a subway riding scenario. Taking Figure 4 as Example, the server mentioned in the above embodiment may include a transaction platform server and a subway server, wherein the transaction platform server is used for authorization management, media order query and palm swiping recognition, and the subway server is used for order management. The transaction processing system also includes a client and a subway gate device, wherein the client is used to obtain authorization from the target object and purchase media orders in advance, and the subway gate device is used for order query, palm swiping recognition and control of the gate master control device.

[0119] Based on the above description, see Figure 5 , Figure 5 is a flow chart of another transaction processing method provided in an embodiment of the present application, such as Figure 5 The transaction processing method shown includes but is not limited to steps S501-S515, wherein:

[0120] S501, the client detects a media order purchase request from a target object.

[0121] In this embodiment, the media order may be a one-way ticket for use in a subway ride.

[0122] S502: The client sends a media order purchase request for a target object to the transaction platform server.

[0123] S503: The trading platform server generates a medium order for the target object.

[0124] Optionally, the transaction platform server generates an order ID that is uniquely associated with the media order. Subsequently, the server can query the merchant side based on the ID and obtain the media content information corresponding to the ID, as well as the user's travel-related information identified in the media order for subway rides, i.e., the one-way ticket.

[0125] S504, the trading platform server sends a media order notification message to the client.

[0126] In this embodiment, the transaction platform server sends a notification message of successful purchase of the media order to the client.

[0127] S505, the subway gate device detects the target object passing through the gate and generates a non-media order.

[0128] In this embodiment, the target object can generate a non-media order by generating a gate-passing event through a code scanning transaction, and the generation time of the non-media order is after the generation time of the media order.

[0129] In an alternative embodiment, see Figure 6 , Figure 6The target object in the transaction can generate a gate-passing event by swiping the palm. The target object uploads his palm streaming media data on the trading platform in advance, and the trading platform calls the 3D camera to collect the target object's current palm streaming media data. After obtaining the streaming media, the streaming media is optimized. The optimal palm image is selected by comprehensively evaluating the palm size, angle, image contrast, image brightness and clarity and other coefficient indicators and stored in the server.

[0130] S506, the subway gate device sends a media order query request to the transaction platform server.

[0131] In one implementation, the sending of the media order request information to the subway server corresponding to the subway gate device includes:

[0132] A media order request message is sent to the subway gate device, wherein the media order request message carries the object identifier of the target object, so that the subway gate device queries whether the object identifier exists in the transaction information to be executed in the local database; if the object identifier exists, the subway gate device queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed in the local database.

[0133] Optionally, the object identifier may be a palm streaming media data identifier of the target object. The subway gate device queries whether the palm streaming media data identifier of the target object exists in the transaction information to be executed in the local database. If the palm streaming media data identifier of the target object exists, the subway gate device queries whether there is a media order for the target object indicated by the palm streaming media data identifier of the target object in the transaction information to be executed in the local database.

[0134] Optionally, when the target object purchases a media order in advance, the media order will generate an order ID uniquely associated with the media order. The media order corresponding to the target object can also be found based on the order ID.

[0135] S507, the trading platform server queries the medium order of the target object.

[0136] In this embodiment, the transaction platform server searches for a media order corresponding to the object identifier according to the target object identifier, and if a media order corresponding to the object identifier is found, a content information query request for the media order corresponding to the object identifier is sent to the subway server.

[0137] Optionally, in this embodiment, the transaction platform server searches for the media order corresponding to the object identifier according to the order ID. If the media order corresponding to the order ID is found, a content information query request for the media order corresponding to the order ID is sent to the subway server.

[0138] Optionally, if there are multiple media orders for the target object, select and query the content information of one of the media orders.

[0139] In this embodiment, if the trading platform server queries for multiple media orders that match the non-media orders, the trading platform server can automatically select from the multiple media orders to query the subway server for content information of one of the media orders according to the pre-set settings. For example, the trading platform server can give priority to the media order with the earliest generation time according to the generation time of the multiple media orders, and query the subway server for content information of the order. For example, when the trading platform server queries for multiple media orders that match the non-media orders, the order selection request information can be sent to the client, and the client sends an instruction to the trading platform server to specify to query the subway server for content information of one of the media orders.

[0140] S508, the transaction platform server sends a media order content information query request to the subway server.

[0141] S509, the subway server queries the content information of the media order of the target object.

[0142] In this embodiment, the subway server obtains the content information of the media order of the target object. In the subway riding scenario, the media content information may be: starting station: the name or number of the starting station; terminal station: the name or number of the terminal station; fare: the price of a one-way ticket, etc.

[0143] S510, the subway server sends the query result to the transaction platform server.

[0144] S511, the transaction platform server sends the query result to the subway gate equipment.

[0145] S512, the subway gate equipment cancels the execution of the non-media order and executes the media order.

[0146] In this embodiment, the subway gate device receives the query result sent by the subway server; wherein, the query result is used to indicate that there is a media order for the target object, and the subway gate device cancels the non-media order.

[0147] In one implementation, the receiving the query result sent by the subway server, wherein the query result is used to indicate that there is a medium order for the target object, includes:

[0148] A first query result sent by the subway gate device is received, where the first query result is used to indicate that a medium order of the target object exists in the local database.

[0149] Optionally, receiving a third query result sent by the subway gate device, wherein the third query result indicates that there is no medium order for the target object;

[0150] Sending a media order request message to the subway server, the media order request message carrying the object identifier of the target object, so that the subway server queries whether the object identifier exists in the transaction information to be executed in the cloud database, and if the object identifier exists, the subway server queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed in the cloud database;

[0151] A second query result sent by the subway server is received; wherein the second query result is used to indicate that there is a media order for the target object.

[0152] Optional, see Figure 4 , Figure 4 The subway gate equipment in the system is equipped with a database (Datebase, DB). When the target object swipes the palm to pass the gate, the palm swiping module will first perform a local search on the device side to obtain the user identity, order, and media-related content. If there is no relevant result locally, it will send a request to the subway server for query. The subway server database is securely synchronized to the device side. The local side can use the Message Queuing Telemetry Transport (MQTT) protocol to publish the data in the subway server database to the MQTT proxy server. The device side can achieve real-time data synchronization by subscribing to the MQTT topic. It is also possible to deploy a data synchronization service on the device side through edge computing technology to synchronize the data in the subway server database to the local database on the device side to achieve real-time data synchronization and edge computing. At the same time, the local data needs to be encrypted and decrypted. Since the palm swiping module is an Android device, SQLCipher can be used. SQLCipher is a SQLite database encryption library that can be used in Android applications. It protects the data in the database through the 256-bit AES encryption algorithm, and access control can be performed through passwords.

[0153] Optionally, the query result may include an order identifier. On this basis, after receiving the query result, the subway gate device may execute the order indicated by the order identifier and cancel the execution of other orders that match the order indicated by the order identifier.

[0154] In this embodiment, in the case of repeated transactions, the user can choose which order to execute so that the subway gate device executes the order indicated by the order identifier. In one example, the user can choose not to execute a media order, but to execute a non-media order, for example, the non-media order may be more favorable or the user may choose to use the media order in the future. In another example, if there are multiple media orders that match the non-media order, the user can choose to execute one of the media orders, for example, the user can choose a media order with a greater discount or a media order that is about to expire. The subway gate device executes the order indicated by the order identifier selected by the user, and cancels the execution of other orders that match the order indicated by the order identifier. S513, the subway gate device sends the gate opening signal to the gate master control.

[0155] Optional, see Figure 4 The high-speed serial port module in the system and the palm-swipe module are connected to the subway gate as slave devices. Passing the gate has high requirements on speed, and it is necessary to build an efficient communication method to provide information to the subway central control equipment, which dispatches the current status of the gate, such as opening and closing the gate. The following solutions can be adopted: Universal Serial Bus (USB) 3.0: USB 3.0 interface can support data transmission speeds of up to 5Gbps, so it can be used to achieve high-speed serial communication; high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIe): PCIe is a high-speed bus standard that can provide a bandwidth of up to 16Gbps, so it can be used to achieve high-speed serial communication; Ethernet: Ethernet interface can provide a transmission speed of up to 10Gbps, so it can be used to achieve high-speed serial communication; storage device interface standard based on serial communication technology (Serial Advanced Technology Attachment, SATA): SATA interface can provide a transmission speed of up to 6Gbps, so it can be used to achieve high-speed serial communication; high-speed serial interface technology: including PCIe, RapidIO, InfiniBand and other technologies, which can provide high-speed serial transmission and support multiple protocols.

[0156] S514, the gate master control executes gate opening.

[0157] S515, the gate master control sends the execution result to the subway gate equipment.

[0158] In the embodiment of the present application, after the client detects the media order purchase request of the target object, it sends the media order purchase request of the target object to the transaction platform server, receives the media order notification message sent by the transaction platform service, and when the subway gate device detects the target object passing through the gate and generates a non-media order, the subway gate device sends a media order query request to the transaction platform server, and the subway gate device receives the query result sent by the subway server, cancels the execution of the non-media order and executes the media order, sends the gate opening signal to the gate master control, and the gate master control executes the gate opening. By obtaining the user's media order information on the server side to query whether there are repeated orders for the same transaction event, if so, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0159] An embodiment of the present application further provides a computer storage medium, in which program instructions are stored. When the program instructions are executed, they are used to implement the corresponding methods described in the above embodiments.

[0160] See also Figure 7 , Figure 7 It is a structural diagram of a transaction processing device provided in an embodiment of the present application.

[0161] In one implementation of the transaction processing device of an embodiment of the present application, the transaction processing device includes the following structure.

[0162] The detection unit 701 is used to generate a non-media order of the transaction event after detecting the transaction event of the target object; wherein the non-media order refers to an instant transaction order;

[0163] The request unit 702 is used to send a query request for the media order of the target object to the server, so that the server responds to the query request and queries whether there is a media order for the target object, and the server generates query notification information based on the query result; wherein the media order refers to a non-instant transaction order;

[0164] Processing unit 703 is used to receive query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, transaction notification information is sent to the server. The transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order.

[0165] In one embodiment, after detecting a transaction event of a target object, the detection unit 701 generates a non-media order of the transaction event, including:

[0166] After the transportation boarding event of the target object is detected, a non-media order for the transportation boarding event is generated.

[0167] In one embodiment, the request unit 702 is further configured to include:

[0168] Obtaining authorization information of the target object;

[0169] If the authorization information indicates that the server has the authority to query the media order of the target object, then the operation of sending a query request for the media order of the target object to the server is triggered.

[0170] In the embodiment of the present application, after detecting the transaction event of the target object, the detection unit 701 generates a non-media order of the transaction event, and the request unit 702 sends a query request for the media order of the target object to the server, so that the server responds to the query request and queries whether there is a media order for the target object. The server generates query notification information based on the query result, and the processing unit 703 receives the query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, the transaction notification information is sent to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order. By obtaining the media order information of the user on the merchant side to query whether there are repeated orders for the same transaction event, if there are, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0171] See also Figure 8 , Figure 8 It is a structural schematic diagram of another transaction processing device provided in an embodiment of the present application.

[0172] In one implementation of the transaction processing device of an embodiment of the present application, the transaction processing device includes the following structure.

[0173] The receiving unit 801 is used to receive a query request for a media order of a target object sent by a client; wherein the query request is sent by the client after generating a non-media order of a transaction event, the non-media order is generated by the client after detecting the transaction event of the target object, the non-media order refers to an instant transaction order, and the media order refers to a non-instant transaction order;

[0174] A response unit 802 is used to respond to the query request, query whether there is a media order for the target object, and generate query notification information based on the query result;

[0175] The sending unit 803 is used to send the query notification information to the client;

[0176] The receiving unit 801 is further configured to receive transaction notification information sent by the client; wherein the transaction notification information is sent by the client after determining that the query notification information indicates that there is a medium order for the target object;

[0177] The response unit 802 is further configured to respond to the transaction notification information, cancel the execution of the non-media order, and execute the media order.

[0178] In one embodiment, the response unit 802 responds to the query request to query whether there is a media order for the target object, including:

[0179] Sending a media order request message to the transaction platform where the transaction event is located, the media order request message carries the object identifier of the target object, so that the transaction platform queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the transaction platform queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0180] The query result sent by the transaction platform is received; wherein the query result is used to indicate that there is a medium order for the target object.

[0181] In one embodiment, the response unit 802 sends a media order request message to the transaction platform where the transaction event is located. The media order request message carries the object identifier of the target object, including:

[0182] Sending the media order request information to the trading platform, the media order request information carrying the object identifier of the target object and the media information corresponding to the non-media order, so that the trading platform inquires whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the trading platform inquires whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; if the media order for the target object exists, the trading platform inquires whether there is a media order from the media orders of the target object whose media information matches the media information corresponding to the non-media order;

[0183] The query result is used to indicate that there is a media order whose media information of the target object matches the media information corresponding to the non-media order.

[0184] In one embodiment, the response unit 802 is further configured to include:

[0185] Receive a query request for a media order of the target object sent by a subway gate device; wherein the query request is sent by the subway gate device after generating a non-media order for a transaction event, and the non-media order is generated by the subway gate device after detecting the transaction event of the target object;

[0186] The responding to the query request and querying whether there is a media order for the target object includes:

[0187] Sending a media order request message to a subway server corresponding to the subway gate device, wherein the media order request message carries the object identifier of the target object, so that the subway server queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the subway server queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0188] The query result sent by the subway server is received; wherein the query result is used to indicate that there is a media order for the target object.

[0189] In one embodiment, the query request of the response unit 802 is sent by the subway gate device after receiving a transaction event from a palm swiping module in the subway gate device, and the transaction event is generated by the palm swiping module after detecting that the target object has swiped its palm.

[0190] In one embodiment, the response unit 802 sends the media order request information to the subway server corresponding to the subway gate device, including:

[0191] Sending a media order request message to the subway gate device, the media order request message carries the object identifier of the target object, so that the subway gate device queries whether the object identifier exists in the transaction information to be executed in the local database; if the object identifier exists, the subway gate device queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed in the local database;

[0192] The receiving the query result sent by the subway server, wherein the query result is used to indicate that there is a medium order for the target object, comprises:

[0193] A first query result sent by the subway gate device is received, where the first query result is used to indicate that a medium order of the target object exists in the local database.

[0194] In the embodiment of the present application, the receiving unit 801 receives a query request for a media order of a target object sent by a client; the responding unit 802 responds to the query request, queries whether there is a media order for the target object, and generates query notification information based on the query result; the sending unit 803 sends the query notification information to the client; the receiving unit 801 receives the transaction notification information sent by the client; the responding unit 802 responds to the transaction notification information, cancels the execution of the non-media order, and executes the media order. By obtaining the media order information of the user on the merchant side, it is possible to query whether there are repeated orders for the same transaction event. If so, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0195] See also Fig. 9 , Fig. 9 901 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. The terminal device in the embodiment of the present application includes a power supply module and other structures, and includes a processor 901, a memory 902 and a communication interface 903. The processor 901, the memory 902 and the communication interface 903 can exchange data, and the processor 901 implements the corresponding transaction processing method.

[0196] The memory 902 may include a volatile memory, such as a random-access memory (RAM); the memory 902 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the memory 902 may also include a combination of the above-mentioned types of memory.

[0197] The processor 901 may be a central processing unit (CPU). The processor 901 may also be a combination of a CPU and a GPU. In the terminal device, multiple CPUs and GPUs may be included as needed to perform corresponding information processing. In one embodiment, the memory 902 is used to store program instructions. The processor 901 may call program instructions to implement various methods involved in the embodiments of the present application.

[0198] In a first possible implementation, the processor 901 of the terminal device calls the program instructions stored in the memory 902 to generate a non-media order for the transaction event after detecting a transaction event of the target object; wherein the non-media order refers to an instant transaction order; sends a query request for the media order of the target object to the server, so that the server responds to the query request to query whether there is a media order for the target object, and the server generates a query notification message based on the query result; wherein the media order refers to a non-instant transaction order; receives the query notification message sent by the server, and if the query notification message is used to indicate the existence of a media order for the target object, sends transaction notification message to the server, and the transaction notification message is used to instruct the server to cancel the execution of the non-media order and execute the media order.

[0199] In one embodiment, after detecting a transaction event of a target object, the processor 901 generates a non-media order for the transaction event and may perform the following operations:

[0200] After the transportation boarding event of the target object is detected, a non-media order for the transportation boarding event is generated.

[0201] In one embodiment, the processor 901 may further perform the following operations:

[0202] Obtaining authorization information of the target object;

[0203] If the authorization information indicates that the server has the authority to query the media order of the target object, then the operation of sending a query request for the media order of the target object to the server is triggered.

[0204] In the embodiment of the present application, the processor 901 generates a non-media order for the transaction event by processing after detecting the transaction event of the target object; sends a query request for the media order of the target object to the server, so that the server responds to the query request and queries whether there is a media order for the target object, and the server generates a query notification message based on the query result; receives the query notification message sent by the server, and if the query notification message is used to indicate that there is a media order for the target object, sends a transaction notification message to the server, and the transaction notification message is used to instruct the server to cancel the execution of the non-media order and execute the media order. By obtaining the media order information of the user on the merchant side to query whether there are repeated orders for the same transaction event, if there are, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0205] See also Fig.10 , Fig.101 is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server in the embodiment of the present application includes a power supply module and other structures, and includes a processor 1001, a memory 1002, and a communication interface 1003. The processor 1001, the memory 1002, and the communication interface 1003 can exchange data, and the processor 1001 implements the corresponding transaction processing method.

[0206] The memory 1002 may include a volatile memory, such as a random-access memory (RAM); the memory 1002 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the memory 1002 may also include a combination of the above-mentioned types of memory.

[0207] The processor 1001 may be a central processing unit (CPU). The processor 1001 may also be a combination of a CPU and a GPU. In the server, multiple CPUs and GPUs may be included as needed to perform corresponding transaction processing. In one embodiment, the memory 1002 is used to store program instructions. The processor 1001 may call program instructions to implement various methods involved in the embodiments of the present application.

[0208] In a first possible implementation, the processor 1001 of the server device calls the program instructions stored in the memory 1002 to receive a query request for a media order of a target object sent by a client; wherein the query request is sent by the client after generating a non-media order for a transaction event, the non-media order is generated by the client after detecting the transaction event of the target object, the non-media order refers to an instant transaction order, and the media order refers to a non-instant transaction order; in response to the query request, query whether there is a media order for the target object, and generate query notification information based on the query result; send the query notification information to the client; receive transaction notification information sent by the client; wherein the transaction notification information is sent by the client after determining that the query notification information indicates that there is a media order for the target object; in response to the transaction notification information, cancel the execution of the non-media order, and execute the media order.

[0209] In one embodiment, the processor 1001 responds to the query request and queries whether there is a media order for the target object, and may perform the following operations:

[0210] Sending a media order request message to the transaction platform where the transaction event is located, the media order request message carries the object identifier of the target object, so that the transaction platform queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the transaction platform queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0211] The query result sent by the transaction platform is received; wherein the query result is used to indicate that there is a medium order for the target object.

[0212] In one embodiment, the processor 1001 sends a media order request message to a trading platform where the trading event is located. The media order request message carries the object identifier of the target object, and the following operations may be performed:

[0213] Sending the media order request information to the trading platform, the media order request information carrying the object identifier of the target object and the media information corresponding to the non-media order, so that the trading platform inquires whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the trading platform inquires whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; if the media order for the target object exists, the trading platform inquires whether there is a media order from the media orders of the target object whose media information matches the media information corresponding to the non-media order;

[0214] The query result is used to indicate that there is a media order whose media information of the target object matches the media information corresponding to the non-media order.

[0215] In one embodiment, the processor 1001 may further perform the following operations:

[0216] Receive a query request for a media order of the target object sent by a subway gate device; wherein the query request is sent by the subway gate device after generating a non-media order for a transaction event, and the non-media order is generated by the subway gate device after detecting the transaction event of the target object;

[0217] The responding to the query request and querying whether there is a media order for the target object includes:

[0218] Sending a media order request message to a subway server corresponding to the subway gate device, wherein the media order request message carries the object identifier of the target object, so that the subway server queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the subway server queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed;

[0219] The query result sent by the subway server is received; wherein the query result is used to indicate that there is a media order for the target object.

[0220] In one embodiment, the query request executed by the processor 1001 is sent by the subway gate device after receiving a transaction event from a palm swiping module in the subway gate device, and the transaction event is generated by the palm swiping module after detecting that the target object has swiped its palm.

[0221] In one embodiment, the processor 1001 sends the media order request information to the subway server corresponding to the subway gate device, and can perform the following operations:

[0222] Sending a media order request message to the subway gate device, the media order request message carries the object identifier of the target object, so that the subway gate device queries whether the object identifier exists in the transaction information to be executed in the local database; if the object identifier exists, the subway gate device queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed in the local database;

[0223] The receiving the query result sent by the subway server, wherein the query result is used to indicate that there is a medium order for the target object, comprises:

[0224] A first query result sent by the subway gate device is received, where the first query result is used to indicate that a medium order of the target object exists in the local database.

[0225] In the embodiment of the present application, the processor 1001 receives a query request for a media order of a target object sent by a client; responds to the query request, queries whether there is a media order for the target object, and generates query notification information based on the query result; sends the query notification information to the client; receives transaction notification information sent by the client; responds to the transaction notification information, cancels the execution of non-media orders, and executes media orders. By obtaining the media order information of the user on the merchant side, it is possible to query whether there are repeated orders for the same transaction event. If so, only one of the orders is executed, which can effectively prevent the occurrence of unilateral transactions.

[0226] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0227] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and making equivalent changes according to the claims of this application are still within the scope of the present invention.

Claims

1. A transaction processing method, characterized in that: include: After detecting a transaction event of a target object, a non-media order of the transaction event is generated; wherein the non-media order refers to an instant transaction order; Sending a query request for the media order of the target object to the server, so that the server responds to the query request and queries whether there is a media order for the target object, and the server generates query notification information based on the query result; wherein the media order refers to a non-instant transaction order; Receive query notification information sent by the server, and if the query notification information is used to indicate that there is a media order for the target object, send transaction notification information to the server, and the transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order.

2. The method according to claim 1, characterized in that After detecting a transaction event of the target object, generating a non-media order for the transaction event includes: After the transportation boarding event of the target object is detected, a non-media order for the transportation boarding event is generated.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining authorization information of the target object; If the authorization information indicates that the server has the authority to query the media order of the target object, then the operation of sending a query request for the media order of the target object to the server is triggered.

4. A transaction processing method, characterized in that: include: Receive a query request for a media order of a target object sent by a client; wherein the query request is sent by the client after generating a non-media order of a transaction event, the non-media order is generated by the client after detecting the transaction event of the target object, the non-media order refers to an instant transaction order, and the media order refers to a non-instant transaction order; In response to the query request, query whether there is a media order for the target object, and generate query notification information based on the query result; Sending the query notification information to the client; Receiving transaction notification information sent by the client; wherein the transaction notification information is sent by the client after determining that the query notification information indicates that there is a media order for the target object; In response to the transaction notification information, the non-media order is canceled and the media order is executed.

5. The method according to claim 4, characterized in that The responding to the query request and querying whether there is a media order for the target object includes: Sending a media order request message to the transaction platform where the transaction event is located, the media order request message carries the object identifier of the target object, so that the transaction platform queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the transaction platform queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; The query result sent by the transaction platform is received; wherein the query result is used to indicate that there is a medium order for the target object.

6. The method according to claim 5, characterized in that The sending of the media order request information to the transaction platform where the transaction event is located, wherein the media order request information carries the object identifier of the target object, includes: Sending the media order request information to the trading platform, the media order request information carrying the object identifier of the target object and the media information corresponding to the non-media order, so that the trading platform inquires whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the trading platform inquires whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; if the media order for the target object exists, the trading platform inquires whether there is a media order from the media orders of the target object whose media information matches the media information corresponding to the non-media order; The query result is used to indicate that there is a media order whose media information of the target object matches the media information corresponding to the non-media order.

7. The method according to claim 4, characterized in that The method further comprises: Receive a query request for a media order of the target object sent by a subway gate device; wherein the query request is sent by the subway gate device after generating a non-media order for a transaction event, and the non-media order is generated by the subway gate device after detecting the transaction event of the target object; The responding to the query request and querying whether there is a media order for the target object includes: Sending a media order request message to a subway server corresponding to the subway gate device, wherein the media order request message carries the object identifier of the target object, so that the subway server queries whether the object identifier exists in the transaction information to be executed; if the object identifier exists, the subway server queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed; The query result sent by the subway server is received; wherein the query result is used to indicate that there is a media order for the target object.

8. The method according to claim 7, characterized in that The query request is sent by the subway gate device after receiving a transaction event from a palm swiping module in the subway gate device, and the transaction event is generated by the palm swiping module after detecting that the target object has swiped its palm.

9. The method according to claim 7, characterized in that The sending of the media order request information to the subway server corresponding to the subway gate device includes: Sending a media order request message to the subway gate device, the media order request message carries the object identifier of the target object, so that the subway gate device queries whether the object identifier exists in the transaction information to be executed in the local database; if the object identifier exists, the subway gate device queries whether there is a media order for the target object indicated by the object identifier in the transaction information to be executed in the local database; The receiving the query result sent by the subway server, wherein the query result is used to indicate that there is a medium order for the target object, comprises: A first query result sent by the subway gate device is received, where the first query result is used to indicate that a medium order of the target object exists in the local database.

10. A transaction processing device, characterized in that: The device comprises: A detection unit, configured to generate a non-media order for a transaction event after detecting a transaction event of a target object; wherein the non-media order refers to an instant transaction order; A request unit, configured to send a query request for a media order of the target object to a server, so that the server responds to the query request and queries whether there is a media order for the target object, and the server generates query notification information based on the query result; wherein the media order refers to a non-instant transaction order; A processing unit is used to receive query notification information sent by the server. If the query notification information is used to indicate that there is a media order for the target object, a transaction notification information is sent to the server. The transaction notification information is used to instruct the server to cancel the execution of the non-media order and execute the media order.

11. A transaction processing device, characterized in that: The device comprises: A receiving unit, configured to receive a query request for a media order of a target object sent by a client; wherein the query request is sent by the client after generating a non-media order of a transaction event, the non-media order is generated by the client after detecting the transaction event of the target object, the non-media order refers to an instant transaction order, and the media order refers to a non-instant transaction order; A response unit, used to respond to the query request, query whether there is a media order for the target object, and generate query notification information based on the query result; A sending unit, used to send the query notification information to the client; The receiving unit is further configured to receive transaction notification information sent by the client; wherein the transaction notification information is sent by the client after determining that the query notification information indicates that there is a medium order for the target object; The response unit is further used to respond to the transaction notification information, cancel the execution of the non-media order, and execute the media order.

12. A terminal device, characterized in that: The terminal device includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in any one of claims 1 to 3.

13. A server, characterized in that: The server includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in any one of claims 4 to 9.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented, or the method according to claims 4 to 9 is implemented.