CN114092237A - Clearing processing method, device, system and equipment based on difference value - Google Patents

Clearing processing method, device, system and equipment based on difference value Download PDF

Info

Publication number
CN114092237A
CN114092237A CN202010864753.2A CN202010864753A CN114092237A CN 114092237 A CN114092237 A CN 114092237A CN 202010864753 A CN202010864753 A CN 202010864753A CN 114092237 A CN114092237 A CN 114092237A
Authority
CN
China
Prior art keywords
balance
server
asset value
time
user account
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.)
Pending
Application number
CN202010864753.2A
Other languages
Chinese (zh)
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.)
Hunan Fumi Information Technology Co ltd
Original Assignee
Hunan Fumi Information 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 Hunan Fumi Information Technology Co ltd filed Critical Hunan Fumi Information Technology Co ltd
Priority to CN202010864753.2A priority Critical patent/CN114092237A/en
Publication of CN114092237A publication Critical patent/CN114092237A/en
Pending legal-status Critical Current

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application discloses a clearing processing method, a device, a system and equipment based on difference values, wherein the method comprises the following steps: determining the end balance of the user account at the end time of the last clearing period; at any time of the current clearing period, receiving at least one first legal transaction request sent by the user terminal, and updating the end-of-term balance to a first asset value; receiving an initial balance of a user account sent by a first server; updating the first asset value to a second asset value based on the first asset value, the initial balance, and the end balance. The problem that the transaction request processing of the user is limited by time is solved, and the transaction operation experience of the user is improved.

Description

Clearing processing method, device, system and equipment based on difference value
Technical Field
The present application generally relates to the field of account clearing technologies, and in particular, to a clearing processing method, device, system, and apparatus based on difference values.
Background
During a stock exchange process, it is often necessary to clear assets of a user account after a certain time, referred to as a clearing period, to determine the current actual assets of the user account.
The stock exchange system generally relates to two types of service organizations, namely an introduction broker and a clearing house, wherein in a clearing period, the introduction broker is responsible for implementing and processing a transaction request of a user account, and updating assets of the user account in real time according to the transaction request of the user account; the clearing trader is responsible for clearing all trading information of the user account in the previous clearing period after one clearing period, determining income, removing trading cost, determining the actual asset of the user account after the previous clearing period is finished, and sending the actual asset to the introduction brokerage to serve as the initial balance in the current clearing period.
In the related art, during the process of clearing the initial balance of the user account by the clearing company, the introduction broker suspends the processing of the transaction request of the user account, and the experience of the user account is poor.
Disclosure of Invention
In view of the above-mentioned deficiencies or inadequacies in the prior art, it would be desirable to provide a method, apparatus, system, and device for differential-value-based clearance processing that can process user transaction requests at any time.
In a first aspect, an embodiment of the present application provides a difference value-based clearing processing method, where the method is performed by a second server, and the method includes:
determining the end balance of the user account at the end time of the last clearing period;
at any time of the current clearing period, receiving at least one first legal transaction request sent by the user terminal, and updating the end-of-term balance to a first asset value;
receiving an initial balance of a user account sent by a first server;
and updating the first asset value to be a second asset value based on the first asset value, the initial balance and the final balance, wherein the initial balance is determined by clearing at least one transaction message of the user account in the last clearing period at the end time of the last clearing period by the first server.
In a second aspect, an embodiment of the present application provides a difference-value-based clearance processing system, including: a first server, a second server and a user terminal,
the first server is used for clearing at least one transaction message of the user account in the previous clearing period to determine an initial balance at the end time of the previous clearing period and sending the initial balance to the second server;
the second server is used for receiving the initial balance sent by the first server, determining a difference value between the initial balance and the final balance, acquiring a time value of the received initial balance, inquiring a first asset value corresponding to the time value according to the time value, and determining the sum of the difference value and the first asset value as a second asset value, wherein the final balance is an asset value of a user account determined by the second server at the end time of the last clearing period, and the first asset value is determined by processing at least one first valid transaction request sent by the user terminal by using the final balance before the final balance is received by the second server after the end time of the last clearing period.
In a third aspect, an embodiment of the present application provides a difference value-based clearing processing apparatus, including:
a determination module configured to determine an end balance of the user account at an end time of a previous clearing cycle;
the first updating module is configured to receive at least one first legal trade request sent by the user terminal at any time of the current clearing period, and update the end-of-term balance to a first asset value;
the receiving module is configured to receive the initial balance of the user account sent by the first server;
and the second updating module is configured to update the first asset value to be a second asset value based on the first asset value, the initial balance and the final balance, wherein the initial balance is determined by the first server at the end time of the last clearing period for clearing at least one transaction message of the user account in the last clearing period.
In a fourth aspect, embodiments of the present application provide a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor being configured to implement the method according to the first aspect when executing the program.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the clearing processing method, the clearing processing device, the clearing processing system and the clearing processing equipment based on the difference values, the end balance of the user account at the end time can be determined at the end time of the last clearing period; at any time of the current clearing period, receiving at least one first legal transaction request sent by the user terminal, and updating the end-of-term balance to a first asset value; receiving an initial balance of a user account sent by a first server; updating the first asset value to a second asset value based on the first asset value, the initial balance, and the end balance. The technical scheme provided by the embodiment of the application can process the transaction request of the user without time limitation, thereby improving the processing efficiency of the transaction request and improving the operation experience of the user in using the transaction system.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic diagram of an implementation environment architecture of a clearing processing method based on difference values according to an embodiment of the present application;
fig. 2 is a flowchart of a difference-value-based clearing processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a clearing processing apparatus based on difference values according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of another difference-based clearing processing apparatus according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of another difference-based clearing processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a clearing processing device based on a difference value according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The embodiment of the present application provides a schematic diagram of an implementation environment architecture of a clearing processing method based on difference values, as shown in fig. 1, the implementation environment architecture includes; the system comprises a user terminal 110, a first server 120, a second server 130 and a third server 140, wherein network connections can be respectively established between the user terminal 110 and the second server 130, between the first server 120 and the second server 130 and between the second server 130 and the third server 140.
Wherein, at the end of the previous clearing period, the second server 130 may determine the end balance of the user account at the end; first server 120 may settle at least one transaction message of the user account during the previous settlement period to determine an initial balance, and send the initial balance to second server 130. The transaction information at least comprises the initiation time of the valid transaction request and an asset value corresponding to the initiation time.
At any point during the current clearing cycle, the user terminal 110 may send a transaction request to the second server 130 in response to the user's transaction operation. The user terminal 110 may be a smart phone, a notebook computer, or a tablet computer.
The second server 130 may receive the transaction request sent by the user terminal 110, and when the transaction request is a valid transaction request, the transaction request is sent to the third server 140, and the third server 140 may match the transaction and send a transaction matching result to the second server 130. The second server 130 may receive the trade matching result transmitted by the third server 140, and update the end balance corresponding to the user account to the first asset value when the trade matching result is a trade success, and the trade matching result is a trade success or a trade failure.
The second server 130 may also receive the initial balance sent by the first server 120, and update the first asset value to the second asset value based on the first asset value, the initial balance, and the end balance.
Wherein, the first server 120 may be a server of a clearinghouse in a stock exchange system; the second server 130 may be a server of a broker in a stock exchange system; the third server 140 may be a server of an order executor, market maker, or stock exchange in a stock exchange system
It should be noted that, in the embodiment of the present application, the assets maintained in the first server 110 and the second server 130 may be the account balance corresponding to the user account, the user net asset, the leverage ratio, and other asset data.
An embodiment of the present application provides a difference value-based clearing processing method, which may be applied to a second server, as shown in fig. 2, and the method includes:
step 201, at the end of the previous clearing period, the end balance of the user account at the end is determined.
In this step, when the second server determines that the current time is the end time of the previous clearing period, the end balance of the user account at the end time may be determined, the time value corresponding to the end balance is stored, and the end balance and the time value are sent to the first server for storage. The process of determining the end balance of the user account at the end time may be: acquiring an initiation time corresponding to at least one legal transaction request of the user account received in the last clearing period, determining an asset value corresponding to the latest initiation time in the initiation time, and determining the asset value corresponding to the latest initiation time as an end-of-term balance.
Step 202, at any time of the current clearing period, receiving at least one first legal trade request sent by the user terminal, and updating the end-of-term balance to a first asset value.
In this step, at any time of the current clearing period, the second server may continue to receive and process at least one transaction request sent by the user terminal, and when the at least one transaction request is a first legitimate transaction request, send the first legitimate transaction request to the third client for transaction matching, obtain a transaction matching result sent by the third server, and if the transaction matching result is a transaction failure, not change the asset value in the user account; if the transaction matching result is that the transaction is successful, the end balance of the user account can be updated to be the first asset value, and the initiation time of each valid transaction and the first asset value corresponding to the initiation time are stored until the end balance of the user account sent by the first server is received.
Wherein, the process of updating the end-of-term balance to the first asset value may be: for the received first rightful request trading request, when the first rightful trading request is a purchase order request, subtracting a trading amount from an end balance, and determining the difference value between the two as a first asset value in the user account; alternatively, when the just-in-time trading request is a sales order request, the first asset value in the user account is determined by the sum of the end-of-term balance plus the trading amount.
For the received other first legal transaction requests, when the first legal transaction request is a purchase order request, subtracting the transaction amount by using a first asset value corresponding to the first legal transaction request, and determining the difference value of the two as an updated first asset value; or when the legal trade request is a sales order request, determining the updated first asset value by using the sum of the first asset value corresponding to the first legal trade request and the trade amount.
Further, first transaction information corresponding to each first legal transaction request is determined, the first transaction information comprises a first initiation moment of the first transaction request and a first asset value corresponding to the first initiation moment, and at least one first transaction information is sent to the first server to be stored.
Step 203, receiving the initial balance of the user account sent by the first server.
In this step, the second server may receive the initial balance of the user account sent by the first server, and store the initial balance and the time value of receiving the initial balance. And the initial balance is determined by the first server to clear at least one transaction message of the user account in the last clearing period at the end time of the last clearing period.
Optionally, for the account balance, the initiation time of each legitimate transaction and the account balance corresponding to the initiation time are included in the at least one transaction information packet, then clearing is performed by using at least one transaction information of the user account in the previous clearing period, and the process of obtaining the initial balance may be: and acquiring the end balance of the user account stored in the first server at the end time of the last clearing period, and determining the difference value between the end balance and the transaction cost as the initial balance of the user account. Wherein the transaction cost may be an account administration fee for the user account.
It should be noted that, in the embodiment of the present application, the account balance in the user account is cleared, and the clearing process of the initial balance is described, and for other asset data corresponding to the user account, such as user net assets, lever multiples, and the like, clearing may be performed according to the clearing manner of each asset data, so as to obtain the initial balance of the user account corresponding to the asset data.
And step 204, updating the first asset value to a second asset value based on the first asset value, the initial balance and the final balance.
In this step, the second server may update the first asset value to the second asset value based on the first asset value, the initial balance and the final balance, and the process may be: the second server determines a difference value between the initial balance and the final balance, acquires a stored time value of receiving the initial balance, inquires a first asset value corresponding to the time value according to the time value, and determines the sum of the difference value and the first asset value as a second asset value. Wherein, the process of querying the first asset value corresponding to the time value according to the time value may be: the method comprises the steps of obtaining an initiation time corresponding to at least one first legal transaction request of a user account received at any time of a current clearing period, and determining a first asset value corresponding to the latest initiation time in the initiation time as the first asset value for determining a second asset value.
Optionally, after determining the second asset value of the user account, the second server may further: receiving at least one second legal transaction request, updating a second asset value in the user account, determining second transaction information corresponding to each second legal transaction request, wherein the second transaction request comprises a second initiation moment of the second legal transaction request and a second asset value corresponding to the second initiation moment, and sending the at least one second transaction information to the first server for storage.
Wherein the process of receiving at least one second legitimate transaction request, updating the second asset value in the user account may be: when the at least one second rightful transaction request is a purchase order request, subtracting the transaction amount by using the second asset value, and determining the difference value of the two as an updated second asset value; or when the legal trade request is a sales order request, the sum of the second asset value and the trade amount is used for determining the updated second asset value.
It should be noted that, in this embodiment of the present application, at the end time of the current clearing period, the first server may clear at least one transaction information of the user account in the current clearing period, and determine an initial balance corresponding to the current clearing period, where the at least one transaction information includes at least one first transaction information and at least one second transaction information that the first server receives in the current clearing period.
For example, assuming that a clearing period in a certain stock transaction system is 24 hours, an opening time is 10 am, and for a user account a, assuming that 10:00:00 is 10 am at 4/2/2020, a second server introducing a broker may obtain origination times received in 10:00: 1/2020 to 4/2/9: 59:59 of 2020, corresponding to two transaction requests of the user account a, which are origination times 12:18:02 at 4/1/2020 and 15:16:21 at 4/1/2020, determine an asset value 600 yuan corresponding to 15:16:21 at 1/2020, 600 yuan in the origination times, determine an end balance 600 yuan, store a correspondence relationship between the user account a, the end balance 600 yuan and 15:16:21 at 1/2020 4, and transmit the correspondence relationship to a first server of a clearingner. And the second server of the introduction broker receives a first legitimate trading request which is a purchase order request and has a trading amount of 200 yuan at 4/2/2020, determines a difference value of 400 yuan from 600 yuan of the end balance to 200 yuan of the trading amount by subtracting 200 yuan of the trading amount from the user account, and sends the first asset value of 400 yuan to the first server of the clearinghouse for storage at 4/2/10: 01: 15/2020.
For the second server of the introduction broker, it is assumed that it receives 500 yuan of the initial balance of the user account a sent by the first server of the clearinghouse within 10:00:00 on 1 st/4/1/2020 to 9:59:59 on 2 nd/4/2/2020 from 4/1/2020, and the 500 yuan of the initial balance is determined by the first server of the clearinghouse using 600 yuan of the end balance of the user account a stored therein, and the difference value 500 between the 600 yuan of the end balance and the trading cost 100 is determined.
The second server of the introduction broker may determine a value of difference-100 between the initial balance 500 yuan and the end balance 600 yuan, obtain a stored time value 2020 of receiving the initial balance 500 yuan, 10:01:30 at 4 months, 2 days, 10: 30 at 4 months, query that the first asset value corresponding to the time value is 400 yuan according to the time value, determine a second asset value as a sum 300 yuan of the value of difference-100 yuan and the first asset value 400 yuan, and further, may continue to process at least one second valid transaction request sent by the user terminal using the second asset value 300 yuan, update the second asset value in the user account until the current clearing cycle ends to 9:59:59 at 3 days, 3 months, 2020.
To sum up, the difference value-based clearing processing method provided by the embodiment of the present application includes: determining the end balance of the user account at the end time of the last clearing period; at any time of the current clearing period, receiving at least one first legal transaction request sent by the user terminal, and updating the end-of-term balance to a first asset value; receiving an initial balance of a user account sent by a first server; updating the first asset value to a second asset value based on the first asset value, the initial balance, and the end balance. The transaction request of the user can be processed at any time, and the transaction operation experience of the user is improved.
An embodiment of the present application provides a difference value-based clearance processing system, as shown in fig. 1, the system includes: a user terminal 110, a first server 120 and a second server 130,
the first server 120 is configured to, at the end of the previous clearing period, clear at least one transaction message of the user account in the previous clearing period to determine an initial balance, and send the initial balance to the second server 130.
The second server 130 is configured to receive the initial balance sent by the first server 120, determine a difference between the initial balance and the final balance, obtain a time value of the received initial balance, query a first asset value corresponding to the time value according to the time value, and determine a sum of the difference and the first asset value as a second asset value, where the final balance is an asset value of a user account determined by the second server at an end time of a previous clearing cycle, and the first asset value is determined by the second server after the end time of the previous clearing cycle and before the initial balance is received, processing at least one first valid transaction request sent by the user terminal 110 by using the final balance, and updating the final balance determination.
Optionally, as shown in fig. 1, the system further includes a third server 140, and at any time of the current clearing cycle, the second server 130 may continue to receive and process at least one transaction request sent by the user terminal 110, when the at least one transaction request is a first qualified transaction request, send the first qualified transaction request to the third client 140 for transaction matching, determine a transaction matching result of the first qualified transaction request, send the transaction matching result to the second server 130, the second server 130 receives the transaction matching result, and if the transaction matching result is a transaction failure, the asset value in the user account is not changed; if the transaction matching result is that the transaction is successful, the end balance of the user account may be updated to the first asset value, and the initiation time of each valid transaction and the first asset value corresponding to the initiation time are stored until the end balance of the user account sent by the first server 120 is received.
Optionally, the second server 130 is configured to determine first transaction information corresponding to each first valid transaction request, send at least one first transaction information to the first server 120, and the first server 120 is configured to receive and store the first transaction information. The first transaction information comprises a first initiation time of the first transaction request and a first asset value corresponding to the first initiation time.
Optionally, the second server 130 is further configured to receive at least one second valid transaction request sent by the user terminal 110, update the second asset value in the user account, determine second transaction information corresponding to each second valid transaction request, send the at least one second transaction information to the first server 120, and the first server 120 is configured to receive and store the second transaction information. The second transaction request includes a second initiation time of the second legitimate transaction request and a second asset value corresponding to the second initiation time.
Optionally, at the end of the current clearing period, the first server 120 may clear at least one transaction message of the user account in the current clearing period, and determine an initial balance corresponding to the current clearing period, where the at least one transaction message includes at least one first transaction message and at least one second transaction message received by the second server 130 in the current clearing period.
To sum up, the clearing processing system based on difference values provided by the embodiment of the application includes a first server, a second server and a user terminal, where the first server is configured to clear at least one transaction message of a user account in a previous clearing period at an end time of the previous clearing period to determine an initial balance, and send the initial balance to the second server; and the second server is used for receiving the initial balance sent by the first server, determining a difference value between the initial balance and the final balance, acquiring a time value of the received initial balance, inquiring a first asset value corresponding to the time value according to the time value, and determining the sum of the difference value and the first asset value as a second asset value. The transaction request of the user can be processed at any time, and the transaction operation experience of the user is improved.
The embodiment of the present application provides a difference value-based clearing processing apparatus 30, as shown in fig. 3, the apparatus includes:
a determining module 301 configured to determine an end balance of the user account at an end time of a previous clearing cycle;
a first updating module 302, configured to receive at least one first legal trade request sent by the user terminal at any time of the current clearing cycle, and update the end-of-term balance to the first asset value;
a receiving module 303, configured to receive an initial balance of the user account sent by the first server;
and the second updating module 304 is configured to update the first asset value to a second asset value based on the first asset value, the initial balance and the final balance, wherein the initial balance is determined by the first server for clearing at least one transaction message of the user account in the last clearing period at the end time of the last clearing period.
Optionally, the second updating module 304 is configured to:
determining a difference value between the initial balance and the final balance;
acquiring a time value of the received initial balance;
inquiring a first asset value corresponding to the time value according to the time value;
determining a second asset value as the sum of the difference value and the first asset value.
Optionally, as shown in fig. 4, the apparatus 30 further includes:
a first determining module 305 configured to determine first transaction information corresponding to each first legitimate transaction request, the first transaction information including a first initiation time of the first transaction request and a first asset value corresponding to the first initiation time;
a sending module 306 configured to send the at least one first transaction message to the first server for storage.
Optionally, as shown in fig. 5, the apparatus 30 further includes:
a third updating module 307 configured to receive at least one second legitimate transaction request, updating the second asset value in the user account;
a first determining module 305 configured to determine second transaction information corresponding to each second legitimate transaction request, the second transaction request including a second origination time of the second legitimate transaction request and a second asset value corresponding to the second origination time;
a sending module 306 configured to send the at least one second transaction message to the first server for storage.
Optionally, the determining module 301 is configured to:
acquiring an initiation moment corresponding to at least one valid transaction request of a user account received in a previous clearing period;
determining a asset value corresponding to the latest initiation time in the initiation times;
and determining the asset value corresponding to the latest initiation moment as the end balance, and storing the end balance and the time value corresponding to the end balance.
To sum up, the clearing processing apparatus based on difference value provided in the embodiment of the present application includes: determining the end balance of the user account at the end time of the last clearing period; at any time of the current clearing period, receiving at least one first legal transaction request sent by the user terminal, and updating the end-of-term balance to a first asset value; receiving an initial balance of a user account sent by a first server; updating the first asset value to a second asset value based on the first asset value, the initial balance, and the end balance. The transaction request of the user can be processed at any time, and the transaction operation experience of the user is improved.
Fig. 6 is a diagram illustrating a computer system according to an exemplary embodiment, which includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for system operation are also stored. The CPU401, ROM402, and RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. Drivers are also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, the process described above in fig. 2 may be implemented as a computer software program according to embodiments of the present application. For example, various embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The above-described functions defined in the system of the present application are executed when the computer program is executed by a Central Processing Unit (CPU) 401.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves. The described units or modules may also be provided in a processor, and may be described as: a processor includes a determination module, a first update module, a reception module, and a second update module. Where the names of these units or modules do not in some cases constitute a limitation of the unit or module itself, the determining means may also be described as "determining means for determining the end balance of the user account at the end time of the last clearing cycle", for example.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A differential value-based liquidation processing method, wherein the method is executed by a second server, and wherein the method comprises:
determining the end balance of the user account at the end time of the last clearing period;
at any time of the current clearing period, receiving at least one first legal transaction request sent by a user terminal, and updating the end balance into a first asset value;
receiving an initial balance of the user account sent by a first server;
and updating the first asset value to be a second asset value based on the first asset value, the initial balance and the final balance, wherein the initial balance is determined by clearing at least one transaction message of the user account in a last clearing period by the first server at the end time of the last clearing period.
2. The method of claim 1, wherein updating the first asset value to a second asset value based on the first asset value, the initial balance, and the end balance comprises:
determining a difference value between the initial balance and the end balance;
acquiring a time value of receiving the initial balance;
inquiring a first asset value corresponding to the time value according to the time value;
determining a sum of the difference value and the first asset value as a second asset value.
3. The method of claim 1, wherein prior to receiving the initial balance of the user account sent by the first server, the method further comprises:
determining first transaction information corresponding to each first legitimate transaction request, wherein the first transaction information comprises a first initiation moment of the first transaction request and a first asset value corresponding to the first initiation moment;
and sending at least one first transaction message to the first server for storage.
4. The method of claim 1, further comprising:
receiving at least one second legitimate transaction request, updating a second asset value in the user account;
determining second transaction information corresponding to each second legitimate transaction request, wherein the second transaction request comprises a second initiation moment of the second legitimate transaction request and a second asset value corresponding to the second initiation moment;
and sending at least one piece of second transaction information to the first server for storage.
5. The method of any of claims 1-4, wherein determining the end balance of the user account at the end time comprises:
acquiring an initiation moment corresponding to at least one valid transaction request of the user account received in a previous clearing period;
determining a asset value corresponding to the latest initiation time in the initiation times;
and determining the asset value corresponding to the latest initiation time as the end balance, and storing the end balance and the time value corresponding to the end balance.
6. A differential value-based clearance processing system, comprising: a first server, a second server and a user terminal,
the first server is used for clearing at least one transaction message of the user account in the previous clearing period to determine an initial balance at the end time of the previous clearing period, and sending the initial balance to the second server;
the second server is configured to receive the initial balance sent by the first server, determine a difference between the initial balance and an end balance, acquire a time value of the received initial balance, query a first asset value corresponding to the time value according to the time value, and determine a sum of the difference and the first asset value as a second asset value, where the end balance is an asset value of a user account determined by the second server at an end time of a previous clearing cycle, and the first asset value is obtained by processing at least one first rightful transaction request sent by the user terminal by using the end balance after the second server at the end time of the previous clearing cycle before the initial balance is received, so as to update the end balance.
7. The system of claim 6,
the second server is used for determining first transaction information corresponding to each first rightful transaction request and sending at least one first transaction information to the first server, wherein the first transaction information comprises a first initiation moment of the first transaction request and a first asset value corresponding to the first initiation moment;
the first server is used for receiving and storing the first transaction information.
8. The system of claim 6,
the second server is used for receiving at least one second legal transaction request sent by the user terminal, updating a second asset value in the user account, determining second transaction information corresponding to each second legal transaction request, and sending at least one second transaction information to the first server, wherein the second transaction request comprises a second initiation moment of the second legal transaction request and a second asset value corresponding to the second initiation moment;
and the first server is used for receiving and storing the second transaction information.
9. A difference value-based liquidation processing apparatus, comprising:
a determination module configured to determine an end balance of a user account at an end time of a previous clearing cycle;
a first updating module, configured to receive at least one first legal trade request sent by a user terminal at any time of a current clearing cycle, and update the end balance to a first asset value;
a receiving module configured to receive an initial balance of the user account sent by a first server;
a second updating module configured to update the first asset value to a second asset value based on the first asset value, the initial balance and the end balance, where the initial balance is determined by the first server for clearing at least one transaction message of the user account in a last clearing period at an end time of the last clearing period.
10. A computer device, characterized in that the computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor being adapted to implement the method according to any of claims 1-5 when executing the program.
CN202010864753.2A 2020-08-25 2020-08-25 Clearing processing method, device, system and equipment based on difference value Pending CN114092237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010864753.2A CN114092237A (en) 2020-08-25 2020-08-25 Clearing processing method, device, system and equipment based on difference value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010864753.2A CN114092237A (en) 2020-08-25 2020-08-25 Clearing processing method, device, system and equipment based on difference value

Publications (1)

Publication Number Publication Date
CN114092237A true CN114092237A (en) 2022-02-25

Family

ID=80294984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010864753.2A Pending CN114092237A (en) 2020-08-25 2020-08-25 Clearing processing method, device, system and equipment based on difference value

Country Status (1)

Country Link
CN (1) CN114092237A (en)

Similar Documents

Publication Publication Date Title
US20190019186A1 (en) Systems and methods for automated decentralized multilateral transaction processing
CN110852734B (en) Scenic spot service settlement method and system based on block chain and electronic equipment
CN106897905B (en) Method and device for pushing information and electronic equipment
CN112132674A (en) Transaction processing method and device
CN112308552A (en) Ordering method and device for medical insurance medicines
CN1702673A (en) Transaction information processing method for network transaction system
CN111310242B (en) Method and device for generating device fingerprint, storage medium and electronic device
CN114092237A (en) Clearing processing method, device, system and equipment based on difference value
CN110889682A (en) Payment information processing method, device, medium and equipment based on block chain
CN112950355B (en) Transaction data processing method and device
CN114648410A (en) Stock staring method, apparatus, system, device and medium
CN111144977B (en) Stock order processing method and device
CN114066615A (en) Trusted payment method, device, electronic equipment and storage medium
CN113034183A (en) Pricing processing method and device, electronic equipment and storage medium
CN113283997A (en) Medical insurance claim settlement method and device based on block chain
CN112785285A (en) Multi-bank payment method, system, server and storage medium
CN114840569A (en) Securities trade profit and loss processing method, apparatus, device and medium
CN110992172B (en) Offline payment method, device and storage medium
CN111127003B (en) Wallet account payment method, device and storage medium
CN114997977A (en) Data processing method and device, electronic equipment and computer readable medium
CN113656435A (en) Transaction data query method, electronic device and storage medium
CN115660830A (en) Method, device, electronic equipment and computer readable medium for processing bill
CN112446708A (en) Risk identification method and device
CN112862608A (en) Transaction data matching method and device
CN113628056A (en) Data processing method and device, server and computer storage medium

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