[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115563223A - Transaction data synchronous processing method and device and server - Google Patents

Transaction data synchronous processing method and device and server Download PDF

Info

Publication number
CN115563223A
CN115563223A CN202211340419.2A CN202211340419A CN115563223A CN 115563223 A CN115563223 A CN 115563223A CN 202211340419 A CN202211340419 A CN 202211340419A CN 115563223 A CN115563223 A CN 115563223A
Authority
CN
China
Prior art keywords
transaction
state
transaction data
data
time zone
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
CN202211340419.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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211340419.2A priority Critical patent/CN115563223A/en
Publication of CN115563223A publication Critical patent/CN115563223A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2315Optimistic concurrency control
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Finance (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The specification provides a synchronous processing method, a synchronous processing device and a synchronous processing server of transaction data, and the synchronous processing method, the synchronous processing device and the synchronous processing server are applied to the field of big data. The front-end server can generate a synchronous updating request of the transaction state on the current day; and sending the transaction state synchronous updating request to a server of the transaction institution. And the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a current transaction state end-of-day text. The front-end server receives a daily transaction state end-of-day text provided by a server of a transaction institution; and synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule. The number of the final daily texts required to be generated is reduced, and the synchronous updating of the transaction state of the transaction data on the day can be efficiently and comprehensively completed.

Description

Transaction data synchronous processing method and device and server
Technical Field
The specification belongs to the technical field of big data, and particularly relates to a synchronous processing method, device and server of transaction data.
Background
In a financial business scenario, a user can complete specific transaction data processing through a transaction platform. The front-end server of the trading platform needs to update the trading state of the trading data occurring on the platform synchronously every day.
However, for more complex financial business scenarios (e.g., involving large data), the amount of transactional data that the front-end server needs to update synchronously on a daily basis is very large. In addition, the transaction platform needs to interface with transaction data occurring in different time zones. Based on the existing method, the front-end server often has the technical problems of disordered data processing process, easy omission, large data processing capacity, low processing efficiency and the like when synchronously updating the transaction state of transaction data.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The specification provides a synchronous processing method, a synchronous processing device and a server for transaction data, which can effectively reduce the number of end-of-day texts required to be generated in the synchronous updating process of the same day, reduce the data processing amount involved in the synchronous updating process and improve the overall data processing efficiency; the synchronous updating of the transaction state of the current-day transaction data can be efficiently and comprehensively completed, and errors such as data omission are avoided.
The present specification provides a synchronous processing method of transaction data, which is applied to a front-end server and includes:
generating a transaction state synchronous updating request about the current day;
sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a daily ending text of the current transaction state; wherein the first time zone and the second time zone are different time zones;
receiving a daily transaction state final text fed back by a server of a transaction institution;
and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily transaction state ending text.
In one embodiment, the method further comprises:
receiving a transaction request relating to transaction data;
acquiring a transaction serial number of transaction data related to a transaction request and initiation time of the transaction request according to the transaction request; recording the transaction serial number of the transaction data and the initiation time of the transaction request in a preset transaction data initiation recording table; and the preset transaction data initiation record table is a data table set based on a local time zone.
In one embodiment, the transaction data includes at least one of: transfer data, order data, remittance data.
In one embodiment, obtaining a processing record of transaction data in a first time period in a first time zone according to a preset processing rule comprises:
the server of the transaction mechanism acquires the processing time in the first time zone as the current day and the processing record of the transaction data of the first redundant time period of the current day as the processing record of the transaction data in the first time period of the first time zone according to the preset processing rule.
In one embodiment, obtaining a processing record of transaction data in a second time period in a second time zone according to preset processing rules comprises:
and the server of the transaction mechanism acquires the processing time in the second time zone as the current day and a processing record of the transaction data related to a second redundant time period of the current day according to a preset processing rule, and the processing record of the transaction data with the changed transaction state in the second time period of the second time zone is taken as the processing record of the transaction data.
In one embodiment, according to a preset updating rule, the synchronous updating of the transaction state of the transaction data by using the daily transaction state ending text comprises the following steps:
loading the transaction state daily ending text into a platform transaction database table;
and initiating a record table according to the current-day transaction state ending text and preset transaction data, and synchronously updating the current-day transaction state of the corresponding transaction data in the platform transaction database table.
In one embodiment, the step of synchronously updating the current-day transaction state of the corresponding transaction data in the platform transaction database table according to the current-day transaction state ending text and a preset transaction data initiation record table comprises the following steps:
initiating a record table based on preset transaction data, and inquiring a platform transaction database table to determine whether corresponding transaction data carries a final state label or not according to the serial number of the transaction data in a final date text of the current transaction state;
and under the condition that the corresponding transaction data in the platform transaction database table does not carry the final state label, updating the transaction state of the transaction data in the platform transaction database table according to the final date text of the current transaction state.
In one embodiment, after updating the transaction status of the transaction data in the platform transaction database table according to the current transaction status end-of-day text, the method further comprises:
detecting whether the updated transaction state of the transaction data in the platform transaction database table is a specified state; wherein specifying the state comprises: transaction success or transaction failure;
and setting a final state label for the transaction data under the condition that the updated transaction state of the transaction data is determined to be a specified state.
The present specification also provides a method for synchronously processing transaction data, which is applied to a server of a transaction institution, and includes:
receiving a transaction state synchronous updating request about the current day, which is initiated by a front-end server;
responding to a transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones;
constructing a daily transaction state final text according to the transaction data processing record in the first time period of the first time zone and the transaction data processing record in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones;
sending the daily terminal text of the current-day transaction state to a front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
This specification also provides a synchronous processing device of transaction data, applied to a front-end server, including:
the generating module is used for generating a transaction state synchronous updating request about the current day;
the sending module is used for sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a current transaction state end-of-day text; wherein the first time zone and the second time zone are different time zones;
the receiving module is used for receiving a daily transaction state end-of-day text fed back by a server of a transaction institution;
and the updating module is used for synchronously updating the transaction state of the transaction data by utilizing the daily transaction state ending text according to a preset updating rule.
This specification also provides a synchronous processing device of transaction data, applied to a server of a transaction institution, including:
the receiving module is used for receiving a transaction state synchronous updating request about the current day, which is initiated by the front-end server;
the acquisition module is used for responding to the transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones;
the construction module is used for constructing a daily transaction state terminal text according to the processing record of the transaction data in the first time period of the first time zone and the processing record of the transaction data in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones;
the sending module is used for sending the daily transaction state end-of-day text to the front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
The present specification also provides a server comprising a processor and a memory for storing processor-executable instructions, which when executed by the processor implement the steps associated with the method of synchronously processing transaction data.
The present specification also provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, perform the steps of: generating a transaction state synchronous updating request about the current day; sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct a current transaction state end-of-day text; wherein the first time zone and the second time zone are different time zones; receiving a daily transaction state final text fed back by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily transaction state ending text.
The present specification also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps associated with the method of synchronously processing transaction data.
Based on the synchronous processing method, the synchronous processing device and the synchronous processing server of the transaction data provided by the specification, the front-end server can generate a synchronous updating request of the transaction state on the current day; and sending the transaction state synchronous updating request to a server of the transaction institution. And the server of the transaction mechanism receives and responds to the transaction state synchronous updating request, and acquires the processing record of the transaction data in the first time period of the first time zone and the processing record of the transaction data in the second time period of the second time zone according to a preset processing rule so as to construct and obtain a current-day transaction state end-of-day text. The front-end server receives a daily transaction state end-of-day text provided by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily transaction state ending text. Therefore, the number of the final daily texts required to be generated in the synchronous updating process on the same day can be effectively reduced, the data processing amount involved in the synchronous updating process is reduced, and the overall data processing efficiency is improved; meanwhile, the synchronous updating of the transaction state of the transaction data on the same day can be efficiently and comprehensively completed, errors such as data omission are avoided, and the overall processing precision is improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification, the drawings needed to be used in the embodiments will be briefly described below, and the drawings in the following description are only some of the embodiments described in the specification, and it is obvious to those skilled in the art that other drawings can be obtained based on the drawings without any inventive work.
FIG. 1 is a flow diagram illustrating a method for processing transaction data synchronously according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an embodiment of a method for synchronous processing of transaction data, in one example scenario, to which embodiments of the present description are applied;
FIG. 3 is a schematic diagram illustrating an embodiment of a method for processing transaction data synchronously, according to an exemplary scenario, according to an embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a method for processing transaction data synchronously according to another embodiment of the present disclosure;
fig. 5 is a schematic structural component diagram of a server provided in an embodiment of the present specification;
fig. 6 is a schematic structural component diagram of a transaction data synchronization processing apparatus provided in an embodiment of the present specification;
fig. 7 is a schematic structural component diagram of a transaction data synchronization processing apparatus according to another embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without making any creative effort shall fall within the protection scope of the present specification.
Referring to fig. 1, an embodiment of the present disclosure provides a method for synchronously processing transaction data. The method is specifically applied to the side of the front-end server. In specific implementation, the method may include the following:
s101: generating a transaction state synchronous updating request about the current day;
s102: sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a daily ending text of the current transaction state; wherein the first time zone and the second time zone are different time zones;
s103: receiving a daily transaction state final text fed back by a server of a transaction institution;
s104: and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily final text of the transaction state on the same day.
In some embodiments, the above method for processing transaction data synchronously may be specifically applied to the side of the transaction front-end server.
As shown in fig. 2, the front-end server may specifically include a background server applied to a side of a transaction platform (e.g., an XX shopping network) and capable of implementing functions such as data transmission and data processing. Specifically, the front-end server may be, for example, an electronic device having data operation, storage functions, and network interaction functions. Alternatively, the front-end server may also be a software program running in the electronic device and providing support for data processing, storage and network interaction. In this embodiment, the number of servers included in the front-end server is not specifically limited. The front-end server may be specifically one server, or may be several servers, or a server cluster formed by several servers.
The transaction platform can provide corresponding business services related to transaction data for users.
Specifically, referring to fig. 2, a user may initiate a transaction request relating to transaction data on a transaction platform using a user terminal held by the user.
The user terminal may specifically include a front end that is applied to a user side and can implement functions such as data acquisition and data transmission. Specifically, the user terminal may be, for example, an electronic device such as a desktop computer, a tablet computer, a notebook computer, and a smart phone. Alternatively, the user terminal may be a software application capable of running in the electronic device. For example, it may be an XX shopping APP running on a smart phone, or the like.
Specifically, referring to fig. 2, the transaction platform may also synchronously perform related transaction services in different time zones (e.g., time zone 1, time zone 2, time zone 3, etc.) and different areas.
Correspondingly, in specific implementation, the transaction platform can respond to a transaction request initiated by a user through the user terminal, and complete more complex transaction data processing such as cross-time-zone and cross-bank transaction data processing through the connected transaction mechanism.
The front-end server may be specifically configured to interact with a server of a trading organization at a fixed time every day to complete synchronous update of a current-day trading state of the trading data occurring on the trading platform, so that a user can timely acquire and know a current latest trading state of the relevant trading data through the trading platform.
In some embodiments, the method, when implemented, may further include:
s1: receiving a transaction request relating to transaction data;
s2: acquiring a transaction serial number of transaction data related to a transaction request and initiation time of the transaction request according to the transaction request; recording the transaction serial number of the transaction data and the initiation time of the transaction request in a preset transaction data initiation recording table; and the preset transaction data initiation record table is a data table set based on a local time zone.
The transaction request may specifically carry a platform identifier of a transaction platform where the front-end server is located.
The transaction data may specifically include at least one of the following: transfer data, order data, remittance data, etc. Of course, it should be noted that the above listed transaction data is only an exemplary description. In particular embodiments, the transaction data may also include other types of data, such as billing data, etc., depending on the particular situation and processing needs. The present specification is not limited to these.
In specific implementation, after recording the transaction serial number of the transaction data and the initiation time of the transaction request in a preset transaction data initiation recording table, the front-end server may perform corresponding processing on the transaction data carried by the transaction request according to the transaction request, and then determine a server of a transaction mechanism in charge of subsequent data processing according to associated information of the transaction data (for example, payment account information related to the transaction data or collection account information related to the transaction data); and then sends the transaction data to the server of the corresponding transaction institution for subsequent data processing (e.g., settlement processing, posting processing, etc.). However, the front-end server of the trading platform cannot directly know the specific data processing condition of the trading data on the server side of the trading organization.
It should be noted that the information data related to the user referred to in this specification is acquired and used on the premise that the user knows and agrees. Moreover, the acquisition, storage, use, processing and the like of the information data all conform to relevant regulations of national laws and regulations.
In some embodiments, when implemented, the front-end server may periodically generate a transaction status synchronization update request for the current day every other day; and sending the transaction state synchronous updating request to a server of the transaction institution. The transaction state synchronous updating request at least carries a platform identification of a transaction platform where the front-end server is located.
In specific implementation, after receiving the transaction state synchronous update request, the server of the transaction mechanism may first obtain a platform identifier of the transaction platform through data analysis; responding to the transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule and a platform identifier of a transaction platform; and constructing a current transaction state final date text according to the transaction data processing record in the first time period of the first time zone and the transaction data processing record in the second time period of the second time zone.
In some embodiments, the obtaining of the processing record of the transaction data in the first time period of the first time zone according to the preset processing rule may include, in specific implementation: the server of the transaction mechanism acquires the processing time in the first time zone as the current day and the processing record of the transaction data of the first redundant time period of the current day as the processing record of the transaction data in the first time period of the first time zone according to the preset processing rule.
The first redundant time period may be determined based on a preset processing rule and in combination with the first time zone. Specifically, the first redundant time period may be a day before the current day.
In a specific implementation, the server of the transaction mechanism may query, according to the platform identifier of the transaction platform, the current day of the first time zone and the transaction data processing record of the previous day, so as to obtain the processing time of the first time zone as the current day and the processing record of the transaction data in which the transaction state changes in the first redundant time period of the current day as the processing record of the transaction data in the first time period of the first time zone. Therefore, the processing record of the transaction data in the first time period of the first time zone which is relatively comprehensive and complete can be obtained in a targeted manner.
In some embodiments, the obtaining of the processing record of the transaction data in the second time period of the second time zone according to the preset processing rule may include the following steps: and the server of the transaction mechanism acquires the processing record of the transaction data of which the processing time in the second time zone is the current day and the second redundant time period of the current day as the processing record of the transaction data of which the transaction state changes in the second time period of the second time zone according to a preset processing rule.
The second redundant time period may be determined based on a preset processing rule in combination with the second time zone. Specifically, the second redundant time period may be half a day or several hours before the day.
In a specific implementation, the server of the transaction institution may periodically acquire, according to a preset protocol rule, the transaction data in the second time zone and the processing time of the second time zone is the current day, and the transaction status of the second redundant time zone on the current day changes. Specifically, the server of the transaction institution may use the processing time in the second time zone as the current day and the processing record of the transaction data related to the second redundant time period of the current day as the processing record of the transaction data in the second time period of the second time zone according to the platform identifier of the transaction platform. Therefore, the processing record of the transaction data in the second time period of the second time zone which is relatively comprehensive and complete can be obtained in a targeted manner.
It should be noted that, according to a specific application scenario and processing needs, the server of the transaction institution may further obtain processing records of transaction data in a third time period in a third time zone, processing records of transaction data in a fourth time period in a fourth time zone, and other processing records of transaction data in more time zones to construct a daily transaction status final text meeting requirements. For the acquisition of the processing record of the transaction data in the third time period in the third time zone, the processing record of the transaction data in the fourth time period in the fourth time zone, and the like, reference may be made to the above-mentioned embodiments of the processing record of the transaction data in the first time period in the first time zone and the processing record of the transaction data in the second time period in the second time zone, and details of this description are not repeated.
Based on the embodiment, the transaction data processing characteristics in different time zones are fully considered, and on one hand, the redundant time periods are intentionally added on the basis of the current day for the synchronous updating of the transaction state of the daily transaction data, so that the processing records of the transaction data for the synchronous updating of the current day can be more comprehensively acquired. On the other hand, the required processing records of the transaction data are obtained by distinguishing different time zones and using different redundant time periods for the different time zones in a targeted manner, so that the processing records of the transaction data can be matched with actual cross-time-zone and cross-row processing of the transaction data, and the obtained processing records of the transaction data are relatively more accurate and effective and have higher practicability; meanwhile, the acquisition of processing records of invalid transaction data can be effectively reduced, and the overall data processing amount is reduced.
In some embodiments, the server of the transaction institution may construct the current transaction status end-of-day text according to preset processing rules and according to the processing record of the transaction data in the first time period of the first time zone and the processing record of the transaction data in the second time period of the second time zone.
In specific implementation, the server of the transaction mechanism may arrange and summarize processing records of transaction data in a first time period of a first time zone and processing records of transaction data in a second time period of a second time zone based on a preset processing rule according to a transaction serial number of the transaction data, so as to combine the processing records of the transaction data of the same transaction serial number and construct a current-day transaction state end-of-day text. And then the daily transaction state final text is sent to the front-end server.
Therefore, the front-end server does not need to acquire and store a plurality of day end texts with various quantities and disordered time aiming at different time zones, and can comprehensively and accurately update the transaction state of the subsequent day transaction data only by receiving and using the day end text of the day transaction state, so that the data processing amount of the front-end server is effectively reduced, and the overall data processing efficiency is improved.
In some embodiments, the above synchronously updating the transaction state of the transaction data by using the current-day transaction state end-of-day text according to the preset update rule may include the following contents:
s1: loading the transaction state daily ending text into a platform transaction database table;
s2: and initiating a record table according to the current-day transaction state terminal text and preset transaction data, and synchronously updating the current-day transaction state of the corresponding transaction data in the platform transaction database table.
The platform transaction database table may specifically include: a database table based on blockchains.
Therefore, the non-tamper property and the confidentiality of the block chain can be fully utilized, the transaction state of the transaction data on the transaction platform is safely recorded and updated, and subsequent backtracking and query are facilitated.
In some embodiments, as shown in fig. 3, when the transaction state of the current date of the corresponding transaction data in the platform transaction database table is updated synchronously according to the current date of the transaction state ending text and the preset transaction data initiation record table, the specific implementation may include the following contents:
s1: initiating a record table based on preset transaction data, and inquiring a platform transaction database table to determine whether corresponding transaction data carry a final state label or not according to the serial number of the transaction data in the final date text of the current-day transaction state;
s2: and under the condition that the corresponding transaction data in the platform transaction database table does not carry the final state label, updating the transaction state of the transaction data in the platform transaction database table according to the final date text of the current transaction state.
In some embodiments, after initiating a record table based on preset transaction data and querying a platform transaction database table to determine whether corresponding transaction data carries a final state label according to a serial number of the transaction data in a current transaction state final date text, when the method is implemented specifically, the method may further include: and under the condition that the final state label is carried in the corresponding transaction data in the platform transaction database table, skipping the transaction data, not modifying the transaction state of the transaction data in the platform transaction database table, and continuously processing the next transaction data. Therefore, the transaction data with unchanged transaction state can be prevented from wasting processing resources and processing time to carry out subsequent more precise data processing, the data processing amount is further reduced, and the data processing efficiency is improved.
In some embodiments, after the transaction state of the transaction data in the platform transaction database table is updated according to the current transaction state terminal text under the condition that it is determined that the corresponding transaction data in the platform transaction database table does not carry the terminal state label, when the method is implemented specifically, the method may further include: the update time of the transaction state of the transaction data is marked in a platform transaction database table.
In some embodiments, the initiating a record table based on the preset transaction data queries a platform transaction database table to determine whether the corresponding transaction data carries the final state label according to the serial number of the transaction data in the current transaction state final date text, and the initiating a record table based on the preset transaction data may include the following contents in a specific implementation:
s1: initiating a recording table according to preset transaction data, and checking the transaction data serial number in the current date transaction state end-of-day text for checking;
s2: rejecting the transaction data which fails to be checked in the current-day transaction state date ending text to obtain a processed current-day transaction state date ending text;
s3: and according to the processed current-day transaction state terminal text, querying a platform transaction database table to determine whether the corresponding transaction data carries a terminal state label.
Based on the embodiment, the error can be effectively reduced, and the synchronous updating of the current-day transaction state of the corresponding transaction data in the platform transaction database table can be more accurately completed.
In some embodiments, after updating the transaction status of the transaction data in the platform transaction database table according to the current transaction status end-of-day text, when the method is implemented, the following may be further included:
s1: detecting whether the updated transaction state of the transaction data in the platform transaction database table is a designated state; wherein specifying the state comprises: transaction success or transaction failure;
s2: and setting a final state label for the transaction data under the condition that the updated transaction state of the transaction data is determined to be a specified state.
In some embodiments, after synchronously updating the transaction status of the transaction data according to a preset update rule by using the current-day transaction status end-of-day text, the method further includes: searching a platform transaction database table, and determining transaction data with updated current transaction state as target transaction data; and pushing the latest transaction state of the target transaction data to the user associated with the target transaction data. Therefore, the user can obtain better interactive experience.
As can be seen from the above, based on the synchronous processing method of transaction data provided in the embodiments of the present specification, the front-end server may generate a synchronous update request regarding the current transaction state; and sending the transaction state synchronous updating request to a server of the transaction institution. And the server of the transaction mechanism receives and responds to the transaction state synchronous updating request, and acquires the processing record of the transaction data in the first time period of the first time zone and the processing record of the transaction data in the second time period of the second time zone according to a preset processing rule so as to construct and obtain a current-day transaction state end-of-day text. The front-end server receives a daily transaction state end-of-day text provided by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily final text of the transaction state on the same day. Therefore, the number of the final daily texts required to be generated in the synchronous updating process on the same day can be effectively reduced, the data processing amount involved in the synchronous updating process is reduced, and the overall data processing efficiency is improved; meanwhile, the synchronous updating of the transaction state of the transaction data on the same day can be efficiently and comprehensively completed, errors such as data omission are avoided, and the overall processing precision is improved.
Referring to fig. 4, another method for synchronously processing transaction data is provided in the embodiment of the present disclosure, and is applied to a server side of a transaction institution. When the method is implemented, the following contents can be included:
s401: receiving a transaction state synchronous updating request about the current day, which is initiated by a front-end server;
s402: responding to the transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones;
s403: constructing a daily transaction state final text according to the transaction data processing record in the first time period of the first time zone and the transaction data processing record in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones;
s404: sending the daily terminal text of the current-day transaction state to a front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
Embodiments of the present specification further provide a server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented specifically, may perform the following steps according to the instructions: generating a transaction state synchronous updating request about the current day; sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a daily ending text of the current transaction state; wherein the first time zone and the second time zone are different time zones; receiving a daily ending text of the daily transaction state fed back by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily final text of the transaction state on the same day.
In order to more accurately complete the above instructions, referring to fig. 5, the embodiment of the present specification further provides another specific server, where the server includes a network communication port 501, a processor 502, and a memory 503, and the above structures are connected by an internal cable, so that the structures may perform specific data interaction.
The network communication port 501 may be specifically configured to send the transaction state synchronous update request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a daily ending text of the current transaction state; wherein the first time zone and the second time zone are different time zones; and receiving a daily transaction state final text fed back by the server of the transaction institution.
The processor 502 may be specifically configured to generate a transaction status synchronous update request related to the current day; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily transaction state ending text.
The memory 503 may be specifically configured to store a corresponding instruction program.
In this embodiment, the network communication port 501 may be a virtual port that is bound to different communication protocols, so that different data can be sent or received. For example, the network communication port may be a port responsible for web data communication, a port responsible for FTP data communication, or a port responsible for mail data communication. In addition, the network communication port can also be a communication interface or a communication chip of an entity. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 502 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller and embedded microcontroller, and so forth. The description is not intended to be limiting.
In this embodiment, the memory 503 may include multiple layers, and in a digital system, the memory may be any memory as long as binary data can be stored; in an integrated circuit, a circuit without a real form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
Embodiments of the present specification further provide another server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented in detail, may perform the following steps according to the instructions: receiving a transaction state synchronous updating request about the current day, which is initiated by a front-end server; responding to the transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones; constructing a daily transaction state final text according to the transaction data processing record in the first time period of the first time zone and the transaction data processing record in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones; sending the daily transaction state end text to a front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
The present specification further provides a computer-readable storage medium based on the above transaction data synchronization processing method, where the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the computer program instructions implement: generating a transaction state synchronous updating request about the current day; sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct a current transaction state end-of-day text; wherein the first time zone and the second time zone are different time zones; receiving a daily ending text of the daily transaction state fed back by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily final text of the transaction state on the same day.
The embodiments of the present specification further provide another computer-readable storage medium based on the above method for processing transaction data synchronously, where the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the computer program instructions implement: receiving a transaction state synchronous updating request about the current day, which is initiated by a front-end server; responding to the transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones; constructing a daily transaction state final text according to the transaction data processing record in the first time period of the first time zone and the transaction data processing record in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones; sending the daily terminal text of the current-day transaction state to a front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, functions and effects specifically realized by the program instructions stored in the computer-readable storage medium may be explained in comparison with other embodiments, and are not described herein again.
Embodiments of the present specification further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the following steps: generating a transaction state synchronous updating request about the current day; sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a daily ending text of the current transaction state; wherein the first time zone and the second time zone are different time zones; receiving a daily transaction state final text fed back by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily transaction state ending text.
Referring to fig. 6, in a software level, an embodiment of the present specification further provides a device for synchronously processing transaction data, where the device may specifically include the following structural modules:
the generating module 601 may be specifically configured to generate a transaction state synchronous update request on the current day;
a sending module 602, which may be specifically configured to send the transaction state synchronous update request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a current transaction state end-of-day text; wherein the first time zone and the second time zone are different time zones;
the receiving module 603 may be specifically configured to receive a daily ending text of the daily transaction status fed back by the server of the transaction institution;
the updating module 604 may be specifically configured to perform synchronous updating on the transaction state of the transaction data according to a preset updating rule and by using a current-day transaction-state ending text.
In some embodiments, the apparatus, when embodied, may be further configured to receive a transaction request relating to transaction data; acquiring a transaction serial number of transaction data related to a transaction request and initiation time of the transaction request according to the transaction request; recording the transaction serial number of the transaction data and the initiation time of the transaction request in a preset transaction data initiation recording table; and the preset transaction data initiation record table is a data table set based on a local time zone.
In some embodiments, the transaction data may specifically include at least one of: transfer data, order data, remittance data, etc.
In some embodiments, the obtaining of the processing record of the transaction data in the first time period of the first time zone according to the preset processing rule may specifically include: the server of the transaction mechanism acquires the processing time in the first time zone as the current day and the processing record of the transaction data of the first redundant time period of the current day as the processing record of the transaction data in the first time period of the first time zone according to the preset processing rule.
In some embodiments, the obtaining of the processing record of the transaction data in the second time period of the second time zone according to the preset processing rule may specifically include: and the server of the transaction mechanism acquires the processing record of the transaction data of which the processing time in the second time zone is the current day and the second redundant time period of the current day as the processing record of the transaction data of which the transaction state changes in the second time period of the second time zone according to a preset processing rule.
In some embodiments, when the updating module 604 is implemented, the transaction status of the transaction data may be updated synchronously according to the following preset updating rules by using the current-day transaction status ending text: loading the transaction state daily ending text into a platform transaction database table; and initiating a record table according to the current-day transaction state ending text and preset transaction data, and synchronously updating the current-day transaction state of the corresponding transaction data in the platform transaction database table.
In some embodiments, when the updating module 604 is implemented specifically, the record table may be initiated according to the current-day transaction state end-of-day text and the preset transaction data, and the current-day transaction state of the corresponding transaction data in the platform transaction database table is updated synchronously in the following manner: initiating a record table based on preset transaction data, and inquiring a platform transaction database table to determine whether corresponding transaction data carries a final state label or not according to the serial number of the transaction data in a final date text of the current transaction state; and under the condition that the corresponding transaction data in the platform transaction database table do not carry the final state label, updating the transaction state of the transaction data in the platform transaction database table according to the daily final text of the transaction state of the current day.
In some embodiments, after updating the transaction state of the transaction data in the platform transaction database table according to the current transaction state end-of-day text, the apparatus may be further configured to detect whether the updated transaction state of the transaction data in the platform transaction database table is a designated state or not when the apparatus is implemented; wherein specifying the state comprises: transaction success or transaction failure; and setting a final state label for the transaction data under the condition that the updated transaction state of the transaction data is determined to be a specified state.
Referring to fig. 7, in a software level, an embodiment of the present specification further provides a device for synchronously processing transaction data, where the device may specifically include the following structural modules:
the receiving module 701 may be specifically configured to receive a transaction state synchronous update request about the current day, where the transaction state synchronous update request is initiated by a front-end server;
the obtaining module 702 may be specifically configured to, in response to the transaction state synchronous update request, obtain, according to a preset processing rule, a processing record of transaction data in a first time period in a first time zone and a processing record of transaction data in which a transaction state changes in a second time period in a second time zone; wherein the first time zone and the second time zone are different time zones;
the constructing module 703 may be specifically configured to construct a current transaction state ending text according to the processing record of the transaction data in the first time period in the first time zone and the processing record of the transaction data in the second time period in the second time zone; wherein the first time zone and the second time zone are different time zones;
a sending module 704, which may be specifically configured to send the current-day transaction-status-day end text to the front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
It should be noted that, the units, devices, modules, etc. illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, which are described separately. It is to be understood that, in implementing the present specification, functions of each module may be implemented in one or more pieces of software and/or hardware, or a module that implements the same function may be implemented by a combination of a plurality of sub-modules or sub-units, or the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
As can be seen from the above, based on the synchronous processing device for transaction data provided in the embodiments of the present specification, the front-end server may generate a synchronous update request regarding the current transaction state; and sending the transaction state synchronous updating request to a server of the transaction institution. And the server of the transaction mechanism receives and responds to the transaction state synchronous updating request, and acquires the processing record of the transaction data in the first time period of the first time zone and the processing record of the transaction data in the second time period of the second time zone according to a preset processing rule so as to construct and obtain a current-day transaction state end-of-day text. The front-end server receives a daily transaction state end-of-day text provided by a server of a transaction institution; and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily final text of the transaction state on the same day. Therefore, the number of the final daily texts required to be generated in the synchronous updating process on the same day can be effectively reduced, the data processing amount involved in the synchronous updating process is reduced, and the overall data processing efficiency is improved; meanwhile, the synchronous updating of the transaction state of the transaction data on the same day can be efficiently and comprehensively completed, errors such as data omission are avoided, and the overall processing precision is improved.
Although the present specification provides method steps as described in the examples or flowcharts, additional or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an apparatus or client product in practice executes, it may execute sequentially or in parallel (e.g., in a parallel processor or multithreaded processing environment, or even in a distributed data processing environment) according to the embodiments or methods shown in the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. The terms first, second, etc. are used to denote names, but not to denote any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller in purely computer readable program code means, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer-readable storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus necessary general hardware platform. With this understanding, the technical solutions in the present specification may be essentially embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments in the present specification.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the appended claims include such variations and modifications that do not depart from the spirit of the specification.

Claims (14)

1. A synchronous processing method of transaction data is applied to a front-end server, and comprises the following steps:
generating a transaction state synchronous updating request about the current day;
sending the transaction state synchronous updating request to a server of a transaction institution; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct and obtain a daily ending text of the current transaction state; the first time zone and the second time zone are different time zones;
receiving a daily ending text of the daily transaction state fed back by a server of a transaction institution;
and according to a preset updating rule, synchronously updating the transaction state of the transaction data by using the daily transaction state ending text.
2. The method of claim 1, further comprising:
receiving a transaction request relating to transaction data;
acquiring a transaction serial number of transaction data related to a transaction request and initiation time of the transaction request according to the transaction request; recording the transaction serial number of the transaction data and the initiation time of the transaction request in a preset transaction data initiation recording table; and the preset transaction data initiation record table is a data table set based on a local time zone.
3. The method of claim 2, wherein the transaction data comprises at least one of: transfer data, order data, remittance data.
4. The method of claim 1, wherein obtaining a record of processing of the transaction data during the first time period in the first time zone according to a predetermined processing rule comprises:
the server of the transaction mechanism acquires the processing time in the first time zone as the current day and the processing record of the transaction data of the first redundant time period of the current day as the processing record of the transaction data in the first time period of the first time zone according to the preset processing rule.
5. The method of claim 1, wherein obtaining a record of processing of the transaction data during the second time period in the second time zone according to predetermined processing rules comprises:
and the server of the transaction mechanism acquires the processing time in the second time zone as the current day and a processing record of the transaction data related to a second redundant time period of the current day according to a preset processing rule, and the processing record of the transaction data with the changed transaction state in the second time period of the second time zone is taken as the processing record of the transaction data.
6. The method according to claim 2, wherein the step of synchronously updating the transaction state of the transaction data by using the current-day transaction state end-of-day text according to a preset updating rule comprises the following steps:
loading the transaction state daily ending text into a platform transaction database table;
and initiating a record table according to the current-day transaction state terminal text and preset transaction data, and synchronously updating the current-day transaction state of the corresponding transaction data in the platform transaction database table.
7. The method of claim 6, wherein the step of synchronously updating the current-day transaction state of the corresponding transaction data in the platform transaction database table according to the current-day transaction state ending text and a preset transaction data initiation record table comprises:
initiating a record table based on preset transaction data, and inquiring a platform transaction database table to determine whether corresponding transaction data carries a final state label or not according to the serial number of the transaction data in a final date text of the current transaction state;
and under the condition that the corresponding transaction data in the platform transaction database table does not carry the final state label, updating the transaction state of the transaction data in the platform transaction database table according to the final date text of the current transaction state.
8. The method of claim 7, wherein after updating the transaction status of the transaction data in the platform transaction database table according to the current transaction status end-of-day text, the method further comprises:
detecting whether the updated transaction state of the transaction data in the platform transaction database table is a specified state; wherein specifying the state comprises: transaction success or transaction failure;
and setting a final state label for the transaction data when the updated transaction state of the transaction data is determined to be a designated state.
9. A synchronous processing method of transaction data is characterized in that a server applied to a transaction mechanism comprises the following steps:
receiving a transaction state synchronous updating request about the current day, which is initiated by a front-end server;
responding to a transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones;
constructing a daily transaction state final text according to the transaction data processing record in the first time period of the first time zone and the transaction data processing record in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones;
sending the daily terminal text of the current-day transaction state to a front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
10. A synchronous processing device of transaction data is characterized in that the synchronous processing device is applied to a front-end server and comprises:
the generating module is used for generating a transaction state synchronous updating request about the current day;
the sending module is used for sending the transaction state synchronous updating request to a server of a transaction mechanism; the server of the transaction mechanism responds to the transaction state synchronous updating request, and acquires a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data in a second time period of a second time zone according to a preset processing rule so as to construct a current transaction state end-of-day text; the first time zone and the second time zone are different time zones;
the receiving module is used for receiving a daily ending text of the daily transaction state fed back by a server of a transaction institution;
and the updating module is used for synchronously updating the transaction state of the transaction data by using the daily ending text of the transaction state on the same day according to a preset updating rule.
11. A synchronous processing device of transaction data is characterized in that the synchronous processing device is applied to a server of a transaction mechanism and comprises:
the receiving module is used for receiving a transaction state synchronous updating request about the current day, which is initiated by the front-end server;
the acquisition module is used for responding to the transaction state synchronous updating request, and acquiring a processing record of transaction data in a first time period of a first time zone and a processing record of transaction data with a changed transaction state in a second time period of a second time zone according to a preset processing rule; wherein the first time zone and the second time zone are different time zones;
the construction module is used for constructing a daily transaction state terminal text according to the processing record of the transaction data in the first time period of the first time zone and the processing record of the transaction data in the second time period of the second time zone; wherein the first time zone and the second time zone are different time zones;
the sending module is used for sending the daily transaction state end-of-day text to the front-end server; the front-end server is used for synchronously updating the transaction state of the transaction data by using the daily transaction state ending text according to a preset updating rule.
12. A server comprising a processor and a memory for storing processor-executable instructions that, when executed by the processor, implement the steps of the method of any one of claims 1 to 8, or 9.
13. A computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the steps of the method of any one of claims 1 to 8, or 9.
14. A computer program product comprising a computer program which, when executed by a processor, performs the steps of the method of any one of claims 1 to 8, or 9.
CN202211340419.2A 2022-10-28 2022-10-28 Transaction data synchronous processing method and device and server Pending CN115563223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211340419.2A CN115563223A (en) 2022-10-28 2022-10-28 Transaction data synchronous processing method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211340419.2A CN115563223A (en) 2022-10-28 2022-10-28 Transaction data synchronous processing method and device and server

Publications (1)

Publication Number Publication Date
CN115563223A true CN115563223A (en) 2023-01-03

Family

ID=84769576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211340419.2A Pending CN115563223A (en) 2022-10-28 2022-10-28 Transaction data synchronous processing method and device and server

Country Status (1)

Country Link
CN (1) CN115563223A (en)

Similar Documents

Publication Publication Date Title
CN112766907B (en) Service data processing method, device and server
CN110716951B (en) Label configuration method, device and equipment convenient to configure and storage medium
CN102156933A (en) Method and counting system for counting electronic commerce transaction data
CN109194495B (en) Server, message processing method, and computer-readable storage medium
CN112380227B (en) Data synchronization method, device, equipment and storage medium based on message queue
CN106997431B (en) Data processing method and device
CN104616142B (en) Data transfer method, server, mobile terminal and system
CN110728519A (en) Processing method and device for refused payment task and server
CN107133233B (en) Processing method and device for configuration data query
CN111784318A (en) Data processing method and device, electronic equipment and storage medium
CN110969417A (en) Government affair item synchronization method, device, system, computer equipment and storage medium
CN111292178B (en) Demand matching method and device, storage medium and electronic equipment
CN111984606A (en) Data query method, device, terminal equipment and storage medium
CN111311360A (en) Resource return method and device, storage medium and electronic device
CN114168595A (en) Data analysis method and device
EP3407568A1 (en) Service processing method and device
CN115563223A (en) Transaction data synchronous processing method and device and server
CN110782310A (en) Method, device and system for asynchronously acquiring user attribute information from third-party platform
CN111949685B (en) Method and device for inquiring remittance progress, server and terminal equipment
CN115760390A (en) Service data processing method and device and network point terminal equipment
CN114817588A (en) Business image data management method, device and storage medium
CN114997977A (en) Data processing method and device, electronic equipment and computer readable medium
CN112860780B (en) Data export method and device and terminal equipment
CN113256240B (en) Message processing method and device and server
CN116010492A (en) Transaction data importing method, device 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