CN111144860B - Order processing method, device, server and storage medium - Google Patents

Order processing method, device, server and storage medium Download PDF

Info

Publication number
CN111144860B
CN111144860B CN201911409029.4A CN201911409029A CN111144860B CN 111144860 B CN111144860 B CN 111144860B CN 201911409029 A CN201911409029 A CN 201911409029A CN 111144860 B CN111144860 B CN 111144860B
Authority
CN
China
Prior art keywords
virtual
division
order
virtual resource
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911409029.4A
Other languages
Chinese (zh)
Other versions
CN111144860A (en
Inventor
黎锦焕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201911409029.4A priority Critical patent/CN111144860B/en
Publication of CN111144860A publication Critical patent/CN111144860A/en
Application granted granted Critical
Publication of CN111144860B publication Critical patent/CN111144860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an order processing method, an order processing device, a server and a storage medium, and belongs to the technical field of networks. The method comprises the following steps: obtaining virtual article transfer flow data, wherein the virtual article transfer flow data comprises at least one virtual article transfer record, and the virtual article transfer record is used for indicating virtual articles received by a host user account; generating a virtual resource division result corresponding to the virtual article transfer record, wherein the virtual resource division result comprises the number of virtual resources acquired by the host user account receiving the virtual article; detecting whether an error division order matched with a virtual resource division result exists in the historical virtual resource division order of the anchor user account; wherein, the error division of the order refers to the division of the historical virtual resource into the order, wherein the virtual resource is omitted from the order or the division result is wrong; if the error division orders exist, repairing the error division orders.

Description

Order processing method, device, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to an order processing method, an order processing device, a server and a storage medium.
Background
With the development of network technology, the live broadcast platform is increasingly widely applied. A live platform may include a host and a user, where the host may live in a live room, and the user may enter the live room and view the content of the host for live webcasting. In order to express support and favorites for the host during the user's viewing, the host may be rewarded with virtual items, e.g., fun icons, animations, etc.
For virtual articles rewarded by users, the anchor obtains a part of virtual resources corresponding to the virtual articles according to the division rules between the public conventions and the live broadcast platform, and the virtual resources can exchange circulation currency.
The live broadcast platform corresponds to a server responsible for processing virtual article sending, the server can determine virtual resources corresponding to a current viewing request according to virtual articles viewed by a user, however, the server is not the same server as the server responsible for processing virtual resource division, the user initiates viewing requests to a host, and when the live broadcast platform acquires the viewing requests, the servers can be in synchronization with each other due to network problems, so that data are not successfully synchronized or are not accurately synchronized, and further the server responsible for processing virtual resource division is in inaccurate division when virtual resource division is performed.
Disclosure of Invention
The embodiment of the application provides an order processing method, an order processing device, a server and a storage medium, wherein the technical scheme is as follows:
in one aspect, there is provided a method of order processing, the method comprising:
obtaining virtual article transfer flow data, wherein the virtual article transfer flow data comprises at least one virtual article transfer record, and the virtual article transfer record is used for indicating virtual articles received by a host user account;
generating a virtual resource division result corresponding to the virtual article transfer record, wherein the virtual resource division result comprises the number of virtual resources acquired by the host user account for receiving the virtual article;
detecting whether an error division order matched with the virtual resource division result exists in the historical virtual resource division order of the anchor user account; wherein, the error division order refers to the division of the historical virtual resources into the virtual resources which are missing in the order or have the wrong division result into the order, and the virtual resource division order is used for indicating the number of the virtual resources obtained by dividing the anchor user account;
and if the error division orders exist, repairing the error division orders.
In another aspect, there is provided an order processing apparatus, the apparatus comprising:
the data acquisition module is used for acquiring virtual article transfer flow data, wherein the virtual article transfer flow data comprises at least one virtual article transfer record, and the virtual article transfer record is used for indicating virtual articles received by a host user account;
the result generation module is used for generating a virtual resource division result corresponding to the virtual article transfer record, wherein the virtual resource division result comprises the number of virtual resources acquired by the host user account for receiving the virtual article;
the order detection module is used for detecting whether an error division order matched with the virtual resource division result exists in the historical virtual resource division order of the anchor user account; wherein, the error division order refers to the division of the historical virtual resources into the virtual resources which are missing in the order or have the wrong division result into the order, and the virtual resource division order is used for indicating the number of the virtual resources obtained by dividing the anchor user account;
and the order repairing module is used for repairing the error division orders if the error division orders exist.
In another aspect, a server is provided, the server comprising a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the order processing method as described in the above aspects.
In another aspect, a computer readable storage medium is provided, the storage medium storing at least one instruction for execution by a processor to implement the order processing method of the above aspect.
In another aspect, there is provided a computer program product storing at least one instruction that is loaded and executed by the processor to implement the order processing method of the above aspect.
In the embodiment of the application, an external supervision server acquires virtual article transfer running water data, generates a virtual resource division result corresponding to a virtual article transfer record, takes the virtual resource division result as a basis for detecting whether an error division order matched with the virtual resource division result exists in a historical virtual resource division order of a host user account, and repairs the error division order if the error division order exists; based on the order processing method provided by the embodiment of the application, the problem that the virtual article transfer record is received incompletely or lost due to network delay or network failure at the virtual resource division server can be solved, and the accuracy of dividing the host user account into the number of virtual resources is improved by repairing the error division order.
Drawings
FIG. 1 illustrates a schematic diagram of an order processing system provided in an exemplary embodiment of the present application;
FIG. 2 illustrates a flow chart of an order processing method provided by an exemplary embodiment of the present application;
FIG. 3 illustrates a flow chart of an order processing method provided by another exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of an order processing method provided by another exemplary embodiment of the present application;
FIG. 5 illustrates a flow chart of an order processing method provided by another exemplary embodiment of the present application;
FIG. 6 illustrates a block diagram of an order processing apparatus provided in another exemplary embodiment of the present application;
fig. 7 is a block diagram illustrating a structure of a server according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Optionally, the order processing method can be applied to division tasks under a live platform scene, for example, when a user rewards a certain anchor, the rewarded funds are finally distributed to the property account of the anchor in a preset division proportion based on the cooperation of multiple parties.
Fig. 1 is a schematic diagram of an implementation environment of an order processing method according to an exemplary embodiment of the present application. Referring to fig. 1, the implementation environment may include: a terminal 100 and a backend server cluster 200.
The background server cluster 200 may include: the virtual item distribution server 110, the virtual resource are divided into a server 120 and an external supervision server 130. The terminal 100 and the virtual article distribution server 110 may communicate with each other through a wired connection or a wireless connection, and the virtual article distribution server 110, the virtual resource division server 120, and the external supervision server 130 may also communicate with each other through a wired connection or a wireless connection. The servers can be any one of a server, a server cluster formed by a plurality of servers, virtual cloud storage or a cloud computing center.
Optionally, the backend server cluster 200 may further include a split rule distribution server, where the split rule distribution server is configured to send the split rule to a server included in the backend server cluster 200; optionally, the backend server cluster 200 may further include a live room management server for managing events of live room creation, live room supervision, etc. in the network live procedure. The servers that the background server cluster 200 may include are only schematically illustrated, and the structure of the background server cluster 200 is not limited in this application.
In one example, as shown in fig. 1, the terminal 100 transmits a request for a bonus to the virtual item distribution server 110 for requesting a gift of the virtual item to the anchor; the virtual article distribution server 110 is configured to receive a request for appreciation sent by the terminal 100, determine a total amount of virtual resources that are being rewarded by a current user based on the request for appreciation, and further generate a task-dividing request according to the request for appreciation, and send the task-dividing request to the virtual resource-dividing server 120, where the task-dividing request is used to request the virtual resource-dividing server 120 to allocate the virtual resources to the anchor according to a preset division ratio; the virtual resource division server 120 is configured to receive the division task request transmitted by the virtual article distribution server 110, and allocate the virtual resource to the anchor in proportion to the division based on the division task request.
In the above example, since there may be a network delay or a temporary network failure between the virtual item distribution server 110 and the virtual resource division server 120, the virtual resource division server 120 does not receive the division task request, or the division task request is damaged, and eventually cannot allocate the resulting virtual resource to the anchor. Thus, to address the problems that may occur as described above, in one possible implementation, the supervisory management of the split tasks is implemented by the external supervisory server 130 in the present application.
The external supervision server 130 obtains the request for appreciation sent by the terminal 100 at intervals, and determines the correct virtual resource division result of the current anchor according to the request for appreciation and the division rule; further, the external supervision server 130 compares the virtual resource division result determined by the virtual resource division server 120 with the virtual resource division result determined by itself, and if there is an error, repairs the virtual resource division result.
Note that, each of the servers may be independent servers, or may be integrated into any one of a server cluster, a virtual cloud storage, or a cloud computing center, and may be supplemented according to the content of the embodiment of the present application in any one of the integrated server cluster, virtual cloud storage, or cloud computing center, which is not limited in this embodiment.
Referring to fig. 2, a flowchart of an order processing method according to an exemplary embodiment of the present application is shown. The method is applicable to an external supervision server in the implementation environment shown in fig. 1, and comprises the following steps:
step 201, virtual article transfer pipeline data is acquired.
The virtual object refers to a virtual identifier used for referring to a financial value in a virtual scene, such as a "fresh flower", "balloon" and "rocket" displayed on a terminal interface in a live broadcast scene are used for referring to virtual identifiers of the financial value, and optionally, different virtual identifiers refer to different financial values, such as a "fresh flower" refers to a 10 financial value, such as a "balloon" refers to a 20 financial value, and a "rocket" refers to a 1000 financial value, and so on.
Alternatively, the value of the financial value may be directly equivalent to the currency, or may have a certain exchange ratio with the currency. For example, at 1:10, the user rewarding the host with a "flower" means the rewarding host with 1 element, the user rewarding the host with a "balloon" means the rewarding host with 2 elements, and the user rewarding the host with a "rocket" means the rewarding host with 100 elements.
Optionally, the virtual article transfer record at least includes three information including a user identification code, a virtual article number and a host account information, the user identification code is used for uniquely identifying account information of a user who rewards the host, the virtual article identification code is used for uniquely identifying a type of the virtual article, and different types of virtual articles correspond to different financial values.
In one possible implementation, after receiving the end user triggered reward request, the virtual article distribution server confirms the user identification code, the virtual article identification code, and the anchor account information according to the reward request, and generates a virtual article transfer record. In addition, the virtual article distribution server also generates event identification for uniquely identifying each virtual article transfer record.
In one possible embodiment, the external supervising server obtains virtual item transfer flow data, which includes at least one virtual item transfer record for indicating the virtual item received by the anchor user account. Optionally, the external supervision server obtains the virtual article transfer flow data at fixed intervals.
Step 202, generating a virtual resource division result corresponding to the virtual article transfer record.
In one possible scenario, due to network delay or temporary network failure between the virtual article distribution server and the virtual resource splitting server, the virtual resource splitting server does not receive the splitting task request, or the splitting task request is damaged, and eventually the resulting virtual resource cannot be allocated to the anchor. Thus, to address the problems that may arise as described above, in one possible implementation, the supervisory management of the split tasks is implemented by an external supervisory server in the present application.
In one possible implementation, the external supervising server generates virtual resource split results corresponding to the virtual item transfer record according to the split rules. The virtual resource division result comprises the number of virtual resources acquired by the host user account receiving the virtual article.
The external supervision server determines a corresponding virtual resource division result of the virtual article transfer record according to the virtual article identification code and the number, and associates the virtual resource division result with an event identification corresponding to the virtual article transfer record.
In step 203, it is detected whether there is an erroneous split into orders matching the virtual resource split result in the historical virtual resource split into orders of the anchor user account.
In one possible implementation, the virtual item distribution server divides the virtual item transfer record transmission virtual resource containing the event identification into servers. The virtual resource dividing server calculates a virtual resource dividing result corresponding to the virtual article transfer record according to the dividing rule, acquires the number of virtual resources obtained by dividing the anchor user account from the virtual resource dividing result, and stores the part of virtual resources and the event identification in a correlated mode to generate a virtual resource dividing order corresponding to the anchor user account.
The virtual resource division result generated at the virtual resource division server is different from the virtual resource division result at the external supervision server in that, because the virtual article distribution server and the virtual resource division server are independent servers, when the data transmission process encounters network delay or network failure, the data information contained in the virtual article transfer record can be lost, or the whole virtual article transfer record is lost, so that the virtual resource division order at the virtual resource division server is wrong, or the virtual resource division order does not exist.
Therefore, in the historical virtual resource division orders of the anchor user account, there is an error division order under a certain probability, wherein the error division order refers to the virtual resource division orders missing in the historical virtual resource division orders or with wrong division results, and the virtual resource division orders are used for indicating the number of the virtual resources obtained by the anchor user account division.
If there is an error split order, the error split order is repaired 204.
In one possible implementation manner, for a virtual article transfer record corresponding to an event identifier, the external supervision server detects that a virtual resource corresponding to the event identifier is divided into orders from historical virtual resource division orders of the anchor user account, and detects whether there is an error division order matching with the virtual resource division result in the historical virtual resource division orders of the anchor user account according to the virtual resource division result generated by the external supervision server.
Optionally, the manner in which the external supervision server repairs the error split orders is different based on the different types of error split orders.
In one example, if the external supervision server detects that the number of virtual resources obtained by dividing a certain historical virtual resource into orders is smaller than the number of virtual resources obtained by dividing an anchor user account calculated by the external supervision server, the external supervision server sends the corresponding event identifier and the number of virtual resources obtained by dividing a correct anchor user account to the virtual resource dividing server so as to inform the virtual resource dividing server to repair the number of virtual resources obtained by dividing the anchor user account under the event identifier, namely repair the error dividing order corresponding to the event identifier.
In another example, the external supervising server does not find the virtual resource split order corresponding to the event identification in the historical virtual resource split order, i.e., the virtual resource split server does not successfully receive the virtual item transfer record sent by the virtual item distribution server, i.e., the virtual item transfer record is lost, such that the virtual resource split order corresponding to the event identification does not exist at the virtual resource split server. The external supervision server sends the corresponding event identification and the number of virtual resources obtained by dividing the correct anchor user account to the virtual resource dividing server so as to inform the virtual resource dividing server to supplement the number of virtual resources obtained by dividing the anchor user account under the event identification.
To sum up, in the embodiment of the present application, the external supervision server obtains the virtual article transfer flow data, generates the virtual resource division result corresponding to the virtual article transfer record, uses the virtual resource division result as the basis for detecting whether there is an error division order matching with the virtual resource division result in the historical virtual resource division order of the anchor user account, and repairs the error division order if there is the error division order; based on the order processing method provided by the embodiment of the application, the problem that the virtual article transfer record is received incompletely or lost due to network delay or network failure at the virtual resource division server can be solved, and the accuracy of dividing the host user account into the number of virtual resources is improved by repairing the error division order.
Referring to fig. 3, a flowchart of an order processing method according to another exemplary embodiment of the present application is shown. The method is applicable to an external supervision server in the implementation environment shown in fig. 1, and comprises the following steps:
step 301, obtaining virtual article transfer flow data from a virtual article transfer service at predetermined time intervals.
In one possible embodiment, the virtual article distribution server is provided with a virtual article transfer service, and the external supervision server acquires virtual article transfer flow data from the virtual article transfer service at predetermined time intervals. The virtual article transfer service is an application service for realizing virtual article transfer.
In one example, an end user selects a plurality of virtual items at a live interface to reward a host during the live process of the host. Based on the selection operation of the user, the terminal sends a request for appreciation to the virtual article distribution server, the virtual article distribution server receives the request for appreciation, obtains the types and the numbers of the virtual articles contained in the request for appreciation through the virtual article transfer service, generates a virtual article transfer record corresponding to the request for appreciation based on the user identification code of the terminal, the virtual article identification code, the number of the virtual articles and the anchor user account number, and generates an event identification to uniquely identify the virtual article transfer record.
After a predetermined time interval, at least one virtual article transfer record is generated at the virtual article distribution server, and each virtual article transfer record corresponds to a different event identifier, so that the at least one virtual article transfer record in the predetermined time interval is combined into virtual article transfer running water data; correspondingly, at the side of the external supervision server, the external supervision server acquires virtual article transfer flow data from the virtual article transfer service at intervals of preset time.
Step 302, a division rule corresponding to the anchor user account is obtained.
In one possible implementation, all of the division rules corresponding to the anchor user account are consistent. The external supervision server may pre-store the consistent division rule, or the reward request includes the division rule corresponding to the anchor user account, and the external supervision server obtains the division rule corresponding to the current anchor user account from the reward request after receiving the reward request.
In another possible implementation, the partitioning rules corresponding to the anchor user account are not uniform. For example, different anchor user accounts have different levels and numbers of fans, and in order to divide into fairness, the higher the level and/or the higher the number of fans, the higher the number of virtual resources allocated by the anchor user accounts.
Step 303, calculating a virtual resource division result corresponding to the virtual article transfer record according to the division rule.
In one possible implementation manner, the external supervision server determines the total number of virtual resources before division through the virtual article transfer record, and further, the external supervision server distributes the total number of virtual resources through the division rule corresponding to the anchor user account, so as to finally obtain a virtual resource division result corresponding to the virtual article transfer record.
In one example, as shown in table one, a set of virtual article transfer flow data is shown that includes three virtual article transfer records. The event of the first virtual article transfer record is identified as 1, the event of the second virtual article transfer record is identified as 2, and the event of the third virtual article transfer record is identified as 3. In the virtual article transfer flow data, the information contained in each virtual article transfer record comprises a user identification code, a host user account, virtual articles and quantity, and the virtual articles correspond to the virtual article identification codes.
In the above example, the split rules are three-tenths of a live platform, three-tenths of a meeting (a brokerage team of a host), and two-fifths of a host. Taking the virtual article transfer record corresponding to the event identifier 1 as an example, the virtual article identifier code b corresponds to the balloon identifier code, and the corresponding financial value is 20 financial values, further, the total financial value corresponding to the virtual article transfer record is 200 financial values by combining the number of the virtual articles, and then the virtual resource division result corresponding to the current virtual article transfer record is determined according to the division rule: the live platform assigns 60 wealth values, the public accountant assigns 60 wealth values, and the anchor assigns 80 wealth values.
List one
Event identification User identification code User account for anchor Virtual article Quantity of
1 1005 111111 Balloon (b) 10
2 0805 222222 Balloon (b) 5
3 0627 333333 Rocket (c) 1
Step 304, detecting whether the historical virtual resource of the anchor user account is divided into orders, and whether the target virtual resource corresponding to the virtual article transfer record is divided into orders or not.
The external supervision server acquires virtual article transfer flow data from the virtual article transfer service at predetermined time intervals, and aims to detect whether virtual article transfer records contained in the virtual article transfer flow data are stored on the side of the virtual resource division server or not, and further, to detect whether the number of virtual resources obtained by allocation of the host user account calculated on the side of the virtual resource division server is correct or not.
Thus, in one possible implementation, the external supervision server first detects whether there is a virtual item transfer record contained in the virtual item transfer pipeline data stored on the virtual resource split server side, i.e. detects whether there is a target virtual resource split order corresponding to the virtual item transfer record in the historical virtual resource split order of the hosting user account.
If there is no target virtual resource split order, it is determined that there is an error split order matching the virtual resource split result, and the error type of the error split order is a split omission, step 305.
In one possible case, the external supervision server does not determine that the virtual article transfer record exists on the side of the virtual resource division server and corresponds to the existing event identifier, that is, the virtual resource division server does not have the target virtual resource division order, then determines that there is an error division order matched with the virtual resource division result, and the error type of the error division order is a division omission.
In step 306, if there is a division of the target virtual resource into an order, it is detected whether the number of virtual resources recorded in the division of the target virtual resource into the order is the same as the division result of the virtual resource.
When the external supervision server detects that the virtual article transfer record contained in the virtual article transfer flow data is stored at one side of the virtual resource division server, namely, detecting that the historical virtual resource division of the anchor user account is in an order, and the target virtual resource division corresponding to the virtual article transfer record exists in the order.
On the basis, the external supervision server detects whether the number of virtual resources recorded in the target virtual resource division order is the same as the virtual resource division result.
Optionally, when the number of virtual resources is the same as the virtual resource division result, the external supervision server continues to execute the content of the virtual article transfer stream data; when the number of virtual resources is different from the virtual resource division result, the external supervision server corrects the number of wrong virtual resources.
In step 307, if the number of virtual resources recorded in the target virtual resource partitioning order is different from the virtual resource partitioning result, it is determined that there is an error partitioning order matching the virtual resource partitioning result, and the error type of the error partitioning order is a partitioning error.
In another possible case, the external supervision server determines that the virtual resource division server has the target virtual resource division order, and the number of virtual resources recorded in the target virtual resource division order is different from the virtual resource division result, and determines that there is an error division order matching the virtual resource division result, and the error type of the error division order is the division error.
In one example, the external supervision server determines, based on a certain event identifier, from the virtual resource division server side that the virtual resource division server side includes a target virtual resource division order corresponding to the event identifier, where the target virtual resource division order corresponds to the anchor user account 222222, and the number of virtual resources allocated by the anchor user account 222222 under the current division proportion is recorded in the target virtual resource division order as a financial value 5000; and on the external supervision server side, regarding the virtual resource division result under the event identifier, wherein the financial value corresponding to the anchor user account 222222 is 5020, the external supervision server determines that the target virtual resource division order is an error division order matched with the virtual resource division result, and the error type of the error division order is a division error.
If there is an erroneous split order, an order repair message is sent to the virtual resource split service, step 308.
In one possible implementation, the virtual resource splitting server is provided with a virtual resource splitting service, and determination and adjustment of the number of virtual resources can be achieved, i.e. the virtual resource splitting service is an application service for achieving virtual resource splitting.
In addition, an order repair message is used to indicate that the error is divided into orders to be repaired. Optionally, when the error type of the error division order is a division omission, the order repair message is used for indicating to supplement the error division order; when the error type of the error division order is a division error, an order repair message is used for indicating that the error division order is repaired.
Optionally, the order repair message may include an event identifier, which is used by the virtual resource division server to accurately determine that the virtual resource currently in error is divided into orders; the order repair message may contain a virtual resource split result generated by the external supervision server side for reference when the virtual resource split server order is repaired.
Based on the above embodiment, the embodiment of the present application further discloses a rule for obtaining the division corresponding to the anchor user account, that is, the division rule may be set based on different anchor user accounts, for example, the higher the level is, and/or the higher the number of the virtual resources allocated by the anchor user account with the higher number of the fan is, so as to realize the rationality of virtual resource allocation; in addition, the content of the order repair message sent by the external supervision server to the virtual resource division service is determined based on different error types of the error division order, so that the accuracy of repairing the order is improved.
Referring to fig. 4, a flowchart of an order processing method according to another exemplary embodiment of the present application is shown. The method is applicable to an external supervision server in the implementation environment shown in fig. 1, and comprises the following steps:
step 401, obtaining virtual article transfer flow data from the virtual article transfer service at predetermined time intervals.
In this step, please refer to step 301, and the embodiments of the present application are not described herein again.
Step 402, obtaining a division rule corresponding to the anchor user account.
In this step, please refer to step 302, and the embodiments of the present application are not described herein again.
Step 403, calculating a virtual resource division result corresponding to the virtual article transfer record according to the division rule.
In this step, please refer to step 303, and the embodiments of the present application are not described herein again.
Step 404, detecting whether a target virtual resource corresponding to the virtual article transfer record is divided into orders in the historical virtual resource division orders of the anchor user account.
In this step, please refer to step 304, and the embodiments of the present application are not described herein again.
If there is no target virtual resource split order, it is determined that there is an error split order matching the virtual resource split result, and the error type of the error split order is a split omission, step 405.
In this step, please refer to step 305, and the embodiments of the present application are not described herein again.
In step 406, if there is a division of the target virtual resource into an order, it is detected whether the number of virtual resources recorded in the division of the target virtual resource into the order is the same as the division result of the virtual resource.
In this step, please refer to step 306, and the embodiments of the present application are not described herein again.
In step 407, if the number of virtual resources recorded in the target virtual resource partitioning order is different from the virtual resource partitioning result, it is determined that there is an error partitioning order matching the virtual resource partitioning result, and the error type of the error partitioning order is a partitioning error.
In this step, please refer to step 307, and the embodiments of the present application are not described herein again.
In step 408, the acquisition errors are divided into error types for the order.
In one possible implementation, if there is an error division order, when the external supervision server sends an order repair message to the virtual resource division service provided by the virtual resource division server, the method further includes obtaining an error type of the error division order, where the error type includes a division omission and a division error.
Step 409, store the order repair message in the message storage object.
Further, after the error is obtained and divided into the error types of the order, the error types are contained in the order repair message, so that the virtual resource division server can determine the specific repair problem existing at present through the error types.
In one possible implementation, the external supervision server stores the order repair message in a message storage object, the message storage object sends a notification to the virtual resource partition server upon receipt of the order repair message, and the virtual resource partition server accesses the message storage object and obtains the order repair message stored by the message storage object upon receipt of the notification. The message storage object is a data unit for storing the order repair message, and optionally, the message storage object may be a part of the virtual resource divided into servers, or may be a data unit for storing the order repair message, which is independent of the virtual resource divided into servers.
In another possible implementation, the external supervision server stores the order repair message in a message storage object, and the virtual resource is divided into servers accessing the message storage object for a fixed period of time and retrieving the order repair message in the message storage object.
On the basis of the embodiment, the content of sending the order repair message to the virtual resource division service by the external supervision server is further described, namely the external supervision server acquires the error type of the error division order, the error type is contained in the order repair message, and the order repair message is stored in the message storage object, so that excessive real-time data interaction between the external supervision server and the virtual resource division server is avoided, and the virtual resource division server can determine the specific repair problem existing at present through the error type.
Referring to fig. 5, a flowchart of an order processing method according to another exemplary embodiment of the present application is shown. The method is applicable to an external supervision server in the implementation environment shown in fig. 1.
Wherein the virtual article distribution server has a virtual article transfer service, and the virtual resource division server has a virtual resource division service.
In one possible implementation manner, the virtual article distribution server converts a request of a user for appreciation into a financial value through a virtual article transfer service, at least one virtual article transfer record is stored in the virtual article distribution server after a period of time, the external supervision server acquires virtual article transfer running water data, and the external supervision server generates virtual resource division results corresponding to the virtual article transfer record according to division rules; meanwhile, the virtual article distribution server sends a virtual article transfer record to a virtual resource division server, and the virtual resource division server generates a virtual resource division order corresponding to the anchor user account through a virtual resource division service; further, after the external supervision server compares the virtual resource division result with the virtual resource division order, storing an order repair message in the message storage object, at this time, the virtual resource division server acquires an order repair message included in the message storage object within a fixed interval time, and repairs the error division order according to the error type in the order repair message; and after the error is divided into order repairs, the virtual resource is divided into servers to send information for determining the repairs to an external supervision server.
Referring to fig. 6, a block diagram of an order processing apparatus according to an exemplary embodiment of the present application is shown, where the apparatus includes:
the data acquisition module 601 is configured to acquire virtual article transfer flow data, where the virtual article transfer flow data includes at least one virtual article transfer record, and the virtual article transfer record is used to indicate a virtual article received by a host user account;
the result generation module 602 is configured to generate a virtual resource division result corresponding to the virtual article transfer record, where the virtual resource division result includes a number of virtual resources acquired by the anchor user account when receiving the virtual article;
an order detection module 603, configured to detect whether there is an error division order matching the division result of the virtual resource in the historical division order of the anchor user account; wherein, the error division order refers to the division of the historical virtual resources into the virtual resources which are missing in the order or have the wrong division result into the order, and the virtual resource division order is used for indicating the number of the virtual resources obtained by dividing the anchor user account;
the order repair module 604 is configured to repair the error division order if the error division order exists.
Optionally, the order detection module 603 includes:
the first detection unit is used for detecting whether the historical virtual resource of the anchor user account is divided into orders or not, and whether the target virtual resource corresponding to the virtual article transfer record is divided into orders or not;
the second detection unit is used for determining that the error division orders matched with the virtual resource division results exist if the target virtual resource division orders do not exist, and the error type of the error division orders is a division omission;
the third detection unit is used for detecting whether the number of the virtual resources recorded in the target virtual resource division order is the same as the virtual resource division result or not if the target virtual resource division order exists;
and the fourth detection unit is used for determining that the error division order matched with the virtual resource division result exists if the number of the virtual resources recorded in the target virtual resource division order is different from the virtual resource division result, and the error type of the error division order is the division error.
Optionally, the order repair module 604 includes:
the order repair unit is used for sending an order repair message to the virtual resource division service, wherein the order repair message is used for indicating to repair the error division order;
Wherein the virtual resource division service is an application service for realizing virtual resource division.
Optionally, the order repair unit is further configured to store the order repair message in a message storage object;
wherein the virtual resource split service is used for regularly acquiring the order repair message from the message storage object.
Optionally, the apparatus further includes:
the error type module is used for acquiring error types of the error division orders, wherein the error types comprise omission division and error division;
wherein the order repair message includes the error type.
Optionally, the result generating module 602 includes:
the first generation unit is used for acquiring a division rule corresponding to the anchor user account;
and the second generation unit is used for calculating a virtual resource division result corresponding to the virtual article transfer record according to the division rule.
Optionally, the data acquisition module 601 includes:
the data acquisition unit is used for acquiring the virtual article transfer flow data from the virtual article transfer service at preset time intervals;
the virtual article transfer service is an application service for realizing virtual article transfer.
Referring to fig. 7, a schematic structural diagram of a server 700 according to an embodiment of the present application is shown. The server 700 may be used to implement the order processing method provided in the above-described embodiments. The server 700 may be the server 120 described in the embodiment of fig. 1. Specifically, the present invention relates to a method for manufacturing a semiconductor device.
The server 700 includes a Central Processing Unit (CPU) 701, a system memory 704 including a Random Access Memory (RAM) 702 and a Read Only Memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The server 700 also includes a basic input/output system (I/O system) 706, for aiding in the transfer of information between the various devices within the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.
The basic input/output system 706 includes a display 708 for displaying information and an input device 709, such as a mouse, keyboard, or the like, for a user to input information. Wherein the display 708 and the input device 709 are coupled to the central processing unit 701 through an input output controller 710 coupled to a system bus 705. The basic input/output system 706 may also include an input/output controller 710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 710 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer readable media provide non-volatile storage for the server 700. That is, the mass storage device 707 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
The computer readable medium may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the one described above. The system memory 704 and mass storage device 707 described above may be collectively referred to as memory.
According to various embodiments of the present application, the server 700 may also operate by being connected to a remote computer on a network, such as the Internet. I.e. the server 700 may be connected to the network 712 via a network interface unit 711 connected to the system bus 705, or alternatively, the network interface unit 711 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for implementing the server-side order processing method.
The memory has stored therein at least one instruction configured to be executed by one or more processors to implement the functions of the various steps in the order processing method described above.
Embodiments of the present application also provide a computer readable storage medium having at least one instruction stored therein, the at least one instruction being loaded and executed by a processor to implement the order processing method provided in the above embodiments.
Alternatively, the computer-readable storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), solid state disk (SSD, solid State Drives), or optical disk, etc. The random access memory may include resistive random access memory (ReRAM, resistance Random Access Memory) and dynamic random access memory (DRAM, dynamic Random Access Memory), among others.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.

Claims (10)

1. An order processing method, wherein the method is applied to an external supervision server, the method comprising:
Obtaining virtual article transfer flow data from a virtual article distribution server, wherein the virtual article transfer flow data comprises at least one virtual article transfer record, and the virtual article transfer record is used for indicating virtual articles received by a host user account;
determining the total number of virtual resources before division through the virtual article transfer record, distributing the total number of virtual resources according to a division rule, and generating a virtual resource division result corresponding to the virtual article transfer record, wherein the virtual resource division result comprises the number of virtual resources acquired by the host user account for receiving the virtual article;
detecting whether an error division order matched with the virtual resource division result exists in the historical virtual resource division order of the anchor user account generated by a virtual resource division server; the error division order is that the historical virtual resources are divided into the virtual resources which are missing in the order or have wrong division results, the virtual resources are divided into the order to indicate the number of the virtual resources obtained by dividing the anchor user account, and the virtual resources are divided into the server to receive the task division request sent by the virtual article distribution server and distribute the virtual resources to the anchor based on the task division request;
And if the error division orders exist, repairing the error division orders.
2. The method of claim 1, wherein detecting whether there is an erroneous split order matching the virtual resource split result in the historical virtual resource split order of the anchor user account generated by the virtual resource split server comprises:
detecting whether a target virtual resource corresponding to the virtual article transfer record exists in the historical virtual resource division order of the anchor user account;
if the target virtual resource division orders do not exist, determining that the error division orders matched with the virtual resource division results exist, and the error type of the error division orders is a division omission;
if the target virtual resource is divided into orders, detecting whether the number of the virtual resources recorded in the target virtual resource division into orders is the same as the virtual resource division result;
if the number of the virtual resources recorded in the target virtual resource division order is different from the virtual resource division result, determining that the error division order matched with the virtual resource division result exists, and the error type of the error division order is the division error.
3. The method of claim 1, wherein said splitting the error into orders for repair comprises:
sending an order repair message to a virtual resource division service, wherein the order repair message is used for indicating to repair the error division order;
wherein the virtual resource division service is an application service for realizing virtual resource division.
4. A method according to claim 3, wherein said sending an order repair message to the virtual resource split service comprises:
storing the order repair message in a message storage object;
wherein the virtual resource split service is used for regularly acquiring the order repair message from the message storage object.
5. The method of claim 3, wherein detecting whether there is an erroneous split order matching the virtual resource split result in the historical virtual resource split order of the anchor user account generated by the virtual resource split server further comprises:
obtaining error types of the error division orders, wherein the error types comprise division omission and division errors;
wherein the order repair message includes the error type.
6. The method of any one of claims 1 to 5, wherein after the obtaining the virtual item transfer pipeline data from the virtual item distribution server, comprising:
and obtaining the division rule corresponding to the anchor user account.
7. The method of any one of claims 1 to 5, wherein the obtaining virtual article transfer flow data from a virtual article distribution server comprises:
acquiring the virtual article transfer flow data from a virtual article transfer service at intervals of a preset time interval;
the virtual article transfer service is an application service for realizing virtual article transfer.
8. An order processing apparatus, the apparatus being applied to an external supervision server, the apparatus comprising:
the data acquisition module is used for acquiring virtual article transfer flow data from the virtual article distribution server, wherein the virtual article transfer flow data comprises at least one virtual article transfer record, and the virtual article transfer record is used for indicating virtual articles received by a host user account;
the result generation module is used for determining the total number of virtual resources before division through the virtual article transfer record, distributing the total number of virtual resources according to a division rule, and generating a virtual resource division result corresponding to the virtual article transfer record, wherein the virtual resource division result comprises the number of virtual resources acquired by the host user account for receiving the virtual article;
The order detection module is used for detecting whether an error division order matched with the virtual resource division result exists in the historical virtual resource division order of the anchor user account generated by the virtual resource division server; the error division order refers to the division of the historical virtual resources into the virtual resources which are missing in the order or have wrong division results, the virtual resources are divided into the order to indicate the number of the virtual resources obtained by dividing the anchor user account, and the virtual resources are divided into the server to receive the task division request sent by the virtual article distribution server and distribute the virtual resources to the anchor based on the task division request;
and the order repairing module is used for repairing the error division orders if the error division orders exist.
9. A server comprising a processor and a memory, the memory having stored therein a computer program that is loaded and executed by the processor to implement the order processing method of any of the preceding claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, which is loaded and executed by a processor to implement the order processing method as claimed in any of the preceding claims 1 to 7.
CN201911409029.4A 2019-12-31 2019-12-31 Order processing method, device, server and storage medium Active CN111144860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911409029.4A CN111144860B (en) 2019-12-31 2019-12-31 Order processing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911409029.4A CN111144860B (en) 2019-12-31 2019-12-31 Order processing method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN111144860A CN111144860A (en) 2020-05-12
CN111144860B true CN111144860B (en) 2023-06-23

Family

ID=70522563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911409029.4A Active CN111144860B (en) 2019-12-31 2019-12-31 Order processing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111144860B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114493672A (en) * 2021-12-30 2022-05-13 广州趣丸网络科技有限公司 Virtual article issuing method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710585A (en) * 2004-06-18 2005-12-21 华为技术有限公司 Game virtual-article data processing method, game platform system and game system
CN104156863A (en) * 2014-08-08 2014-11-19 携程计算机技术(上海)有限公司 OTA website order processing system and method
CN104540033A (en) * 2014-12-17 2015-04-22 广州酷狗计算机科技有限公司 Program anchor display method and device
CN107396184A (en) * 2017-08-03 2017-11-24 北京达佳互联信息技术有限公司 The method and server of resource allocation are carried out to user
CN108306851A (en) * 2017-03-28 2018-07-20 腾讯科技(深圳)有限公司 Information acquisition method, providing method, apparatus and system
WO2018184494A1 (en) * 2017-04-05 2018-10-11 腾讯科技(深圳)有限公司 Information processing method and device and storage medium
CN109299995A (en) * 2018-08-07 2019-02-01 腾讯科技(深圳)有限公司 A kind of virtual objects sending method, device, server and storage medium
CN109847340A (en) * 2018-12-21 2019-06-07 腾讯科技(深圳)有限公司 A kind of information processing method, device, equipment and medium
CN109933486A (en) * 2017-12-19 2019-06-25 车伯乐(北京)信息科技有限公司 A kind of monitor processing method of logistics data, apparatus and system
CN110223132A (en) * 2019-04-18 2019-09-10 深圳壹账通智能科技有限公司 Order processing method, apparatus, terminal and storage medium based on more authorization roles
CN110428224A (en) * 2019-07-29 2019-11-08 苏州共创方程式企业管理有限公司 A kind of intelligence deduction computing system and calculation method of deducting a percentage

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710585A (en) * 2004-06-18 2005-12-21 华为技术有限公司 Game virtual-article data processing method, game platform system and game system
CN104156863A (en) * 2014-08-08 2014-11-19 携程计算机技术(上海)有限公司 OTA website order processing system and method
CN104540033A (en) * 2014-12-17 2015-04-22 广州酷狗计算机科技有限公司 Program anchor display method and device
CN108306851A (en) * 2017-03-28 2018-07-20 腾讯科技(深圳)有限公司 Information acquisition method, providing method, apparatus and system
WO2018184494A1 (en) * 2017-04-05 2018-10-11 腾讯科技(深圳)有限公司 Information processing method and device and storage medium
CN107396184A (en) * 2017-08-03 2017-11-24 北京达佳互联信息技术有限公司 The method and server of resource allocation are carried out to user
CN109933486A (en) * 2017-12-19 2019-06-25 车伯乐(北京)信息科技有限公司 A kind of monitor processing method of logistics data, apparatus and system
CN109299995A (en) * 2018-08-07 2019-02-01 腾讯科技(深圳)有限公司 A kind of virtual objects sending method, device, server and storage medium
CN109847340A (en) * 2018-12-21 2019-06-07 腾讯科技(深圳)有限公司 A kind of information processing method, device, equipment and medium
CN110223132A (en) * 2019-04-18 2019-09-10 深圳壹账通智能科技有限公司 Order processing method, apparatus, terminal and storage medium based on more authorization roles
CN110428224A (en) * 2019-07-29 2019-11-08 苏州共创方程式企业管理有限公司 A kind of intelligence deduction computing system and calculation method of deducting a percentage

Also Published As

Publication number Publication date
CN111144860A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN108156507B (en) Virtual article presenting method, device and storage medium
US8838674B2 (en) Plug-in accelerator
US11068964B2 (en) Method and device for processing service request
US9330199B2 (en) Striping of directed graphs and nodes with improved functionality
US10282120B2 (en) Method, apparatus and system for inserting disk
EP2998862A1 (en) Method, device, and system for memory management
CN110210507B (en) Method and device for detecting machine click and readable storage medium
CN112367345A (en) Data processing method, server device and computer readable storage medium
US9787549B2 (en) Server virtualization
CN111459631A (en) Automatic batch processing method and system for server
CN111144860B (en) Order processing method, device, server and storage medium
CN110737655A (en) Method and device for reporting data
CN110245014B (en) Data processing method and device
CN110286854B (en) Method, device, equipment and storage medium for group member management and group message processing
CN105511959A (en) Method and device for distributing virtual resource
US10067778B2 (en) Management system, recording medium and method for managing virtual machines
CN113099247B (en) Virtual resource processing method, device, server, storage medium and program product
CN111966993B (en) Equipment identification code identification and generation algorithm test method, device, equipment and medium
CN114528109A (en) Resource request method, device and system
CN115373831A (en) Data processing method, device and computer readable storage medium
CN111130983B (en) Method and equipment for sending information and generating result information
CN107070742B (en) Service server health state checking method and system
CN109309583B (en) Information acquisition method and device based on distributed system, electronic equipment and medium
CN112308660A (en) Data processing method, device and system
CN110837454A (en) Interface monitoring processing method and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant