CN114385267A - Data pushing method for cash withdrawal transaction service - Google Patents

Data pushing method for cash withdrawal transaction service Download PDF

Info

Publication number
CN114385267A
CN114385267A CN202210037373.0A CN202210037373A CN114385267A CN 114385267 A CN114385267 A CN 114385267A CN 202210037373 A CN202210037373 A CN 202210037373A CN 114385267 A CN114385267 A CN 114385267A
Authority
CN
China
Prior art keywords
pushing
push
data
configuration file
compensation
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
CN202210037373.0A
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.)
Ping An E Wallet Electronic Commerce Co Ltd
Original Assignee
Ping An E Wallet Electronic Commerce 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 Ping An E Wallet Electronic Commerce Co Ltd filed Critical Ping An E Wallet Electronic Commerce Co Ltd
Priority to CN202210037373.0A priority Critical patent/CN114385267A/en
Publication of CN114385267A publication Critical patent/CN114385267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Abstract

The invention provides a data pushing method for a payment transaction service, which comprises the following steps: starting a withdrawal pushing service based on the pre-established starting time; calling a push configuration file pointed by a preset path, configuring a push environment based on the push configuration file and assembling data to be pushed; sending the data to be pushed to a settlement system, acquiring system parameters corresponding to the withdrawal pushing service execution process, and adjusting the pushing configuration file based on the system parameters; monitoring a pushing result returned by the settlement system, creating a withdrawal compensation table according to the pushing result, and executing pushing compensation based on a compensation node appointed by the pushing configuration file. The invention greatly improves the pushing accuracy of the payment service and reduces the total pushing time.

Description

Data pushing method for cash withdrawal transaction service
Technical Field
The embodiment of the invention relates to the field of data pushing, in particular to a data pushing method for a money withdrawal transaction service.
Background
In general, in a data service related to a transaction service, since a large amount of basic information such as contracts, merchants, points, and individuals are involved in a transaction process such as payment and settlement, and since such information stored in a database is gradually increased due to the increasing of users and the addition of system services, the amount of data pushed to a downstream is correspondingly increased. Therefore, due to the increase of the data volume, the failure rate of data push is gradually increased, and further the transaction process of downstream users is affected, so that serious problems that the display of the deposit amount is wrong, the data of the payment slip of the merchant is not updated and the like occur.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a data pushing method for a payment transaction service, so as to solve the problem that a transaction process of a downstream user is affected due to increasing failure rate of data pushing when a data volume is large.
In order to achieve the above object, an embodiment of the present invention provides a data pushing method for a payment transaction service, where the method includes:
starting a withdrawal pushing service based on the pre-established starting time;
calling a push configuration file pointed by a preset path, configuring a push environment based on the push configuration file and assembling data to be pushed;
sending the data to be pushed to a settlement system, acquiring system parameters corresponding to the withdrawal pushing service execution process, and adjusting the pushing configuration file based on the system parameters;
monitoring a pushing result returned by the settlement system, creating a withdrawal compensation table according to the pushing result, and executing pushing compensation based on a compensation node appointed by the pushing configuration file.
Preferably, before the step of starting the withdrawal pushing service based on the pre-created starting time, the method further includes:
acquiring an ending node of the settlement pushing service, and calculating to obtain the starting time of the withdrawal pushing service according to the node and a preset delay period;
and storing the starting time.
Preferably, the parameters configured by the push configuration file include a queue accommodating size or a core thread number, the step of calling the push configuration file pointed by the preset path includes:
calling the push configuration file pointed by a preset path;
and adjusting the queue accommodating number or the core thread creating number in the push environment according to the queue accommodating size or the core thread number specified by the push configuration file.
Preferably, the step of assembling the data to be pushed includes:
inquiring merchant information;
inquiring template information;
and performing data assembly on the merchant information through the template information to form the data to be pushed.
Preferably, the system parameters include any one or more of CPU utilization, memory occupancy, or network transmission conditions.
Preferably, the step of adjusting the push configuration file based on the system parameter includes:
calculating whether the CPU utilization rate reaches a preset threshold value, if not, increasing the core thread creation number appointed in the push configuration file according to a preset step length;
and calculating whether the memory occupancy rate reaches a preset threshold value, and if not, increasing the specified queue capacity number in the push configuration file according to a preset step length.
Preferably, the step of monitoring the push result returned by the settlement system and creating the withdrawal compensation table according to the push result includes:
monitoring a pushing result returned by the settlement system;
and creating form data, and injecting the push result and the corresponding data storage pointer into a form to form a withdrawal compensation form.
Preferably, the step of performing push compensation according to the compensation node specified by the push configuration file includes:
calling the push configuration file and acquiring a compensation node appointed by the push configuration file, wherein the compensation node is time information;
sending the data of the withdrawal compensation table to a settlement system based on the compensation node time;
and monitoring a compensation result returned by the settlement system, and updating a withdrawal compensation table based on the compensation result.
In order to achieve the above object, an embodiment of the present invention further provides a data pushing system, including:
the starting module is used for starting a money withdrawal pushing service based on the pre-established starting time;
the assembling module is used for calling a push configuration file pointed by a preset path, configuring a push environment based on the file and assembling data to be pushed;
an adjusting module used for sending the data to be pushed to a settlement system and acquiring the withdrawal pushing
Adjusting the push configuration file based on the system parameters corresponding to the service execution process;
a compensation module for monitoring the push result returned by the settlement system according to the result
And creating a withdrawal compensation table according to the pushing result, and executing pushing compensation based on a compensation node specified by the pushing configuration file.
To achieve the above object, an embodiment of the present invention further provides a computer device, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the data pushing method as described above.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program is executable by at least one processor to cause the processor to execute the steps of the data pushing method as described above.
The data pushing method for the payment transaction service provided by the invention starts the payment pushing service based on the pre-established starting time; calling a push configuration file pointed by a preset path, configuring a push environment based on the push configuration file and assembling data to be pushed; sending the data to be pushed to a settlement system, acquiring system parameters corresponding to the withdrawal pushing service execution process, and adjusting the pushing configuration file based on the system parameters; monitoring a pushing result returned by the settlement system, creating a payment compensation table according to the pushing result, and executing pushing compensation based on a compensation node appointed by the pushing configuration file, so that the pushing accuracy of the payment service is greatly improved, and the pushing total time is reduced.
Drawings
Fig. 1 is a flowchart illustrating a data pushing method for a payment transaction according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of an embodiment of the invention before step S100.
Fig. 3 is a flowchart illustrating a step S200 according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a step S200 according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating a step S300 according to an embodiment of the invention.
Fig. 6 is a flowchart illustrating a step S400 according to an embodiment of the present invention.
FIG. 7 is a flowchart illustrating another implementation manner of a step S400 according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of program modules of a second embodiment of the data pushing system of the present invention.
Fig. 9 is a schematic diagram of a hardware structure of a third embodiment of the computer apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
In the following embodiments, the computer device 2 will be exemplarily described as an execution subject.
Example one
Referring to fig. 1, an embodiment of the present invention provides a data pushing method for a payment transaction service, including:
step S100 starts a dispensing push service based on a pre-created start time.
Specifically, for the withdrawal push service, the start time of the service is preset, and when the start time is reached, a thread is created to execute the corresponding logic of the withdrawal push service. The start-up time may be preset by a technician or may be generated by some pre-step. The preceding steps are described below.
Step S200 calls a push configuration file pointed by a preset path and configures a push environment based on the push configuration file, and assembles data to be pushed.
Specifically, when the corresponding logic of the push configuration service is executed, the creation of the thread, the setting of the queue machine, and the like are involved, so that the parameters such as the queue accommodating size, the core thread number, and the like are correspondingly set. The type of parameter is part of the push environment. Of course, the push environment may also include other related parameters, and the invention is not limited herein. Correspondingly, a push configuration file is set, and parameters of push environment configuration are appointed in the push configuration file. The push configuration file can be preset manually or generated by the program executed by the invention.
And after the pushing environment is set according to the pushing configuration file, the logic of the pushing service is started to be executed, and the data to be pushed is assembled.
Step S300 is to send the data to be pushed to a settlement system, acquire system parameters corresponding to the withdrawal pushing business execution process, and adjust the pushing configuration file based on the system parameters.
And after the pushed data are assembled, putting the pushed data into a queue machine, and sequentially sending the pushed data to a settlement system. After all the data to be pushed are sent, or the data to be pushed are still sent, the executive program corresponding to the scheme of the invention calls system indexes in the pushing process, such as cpu occupancy rate, cpu idle time, memory occupancy condition, network transmission condition, gc waveform diagram and the like, by establishing other threads and other implementation modes. And analyzing whether an optimization space exists or not based on the indexes, calculating to obtain adjusted system parameters, and writing the adjusted system parameters into a push configuration file for covering so as to perform dynamic adjustment or static adjustment of real-time push.
Step S400 monitors the push result returned by the settlement system, creates a payment compensation table according to the push result, and executes push compensation according to the compensation node specified by the push configuration file.
And after the data to be pushed are sent to the settlement system, the settlement system returns a result value of successful pushing or failed pushing. Preferably, the abnormal return value is a push failure. For example, if the push is successful, the settlement system returns an accepted value, so a non-accepted field or no returned value may be considered as a push failure. The arrangement can widen judgment objects of push failure, thereby ensuring that partial misjudgment cannot occur.
And recording the returned pushing result while monitoring the pushing result to form a withdrawal compensation table. Preferably, the withdrawal compensation table is table type data. The push success record is 0, and the push failure record is 1. For example, the withdrawal compensation table may be as follows in table 1:
queue machine order 1 2 3 4 5 6
Push results 0 0 0 1 0 0
TABLE 1
The first action in the table is data to be pushed numbered by the queue machine serial number, the second action in the table is a corresponding pushing result, a corresponding pointer is additionally arranged on a queue machine sequence entry in the table, and specific pushing data corresponding to the queue machine sequence number can be found and obtained through the pointer, so that the data to be pushed stored locally corresponding to failure can be directly obtained through the pointer when the cash withdrawal compensation table is traversed and the pushing failure data is found, and the compensation efficiency is improved.
It should be noted that the withdrawal compensation table may be defined by other types of data, and the name of the data to be pushed may also be referred to by other non-queue machine serial numbers, which may be specifically adjusted according to actual requirements.
In addition, a compensation node is provided, the compensation node can be configured in the push configuration file, and corresponding failure push data in the withdrawal compensation table is retransmitted at the moment corresponding to the compensation node.
The data pushing method for the payment transaction service provided by the embodiment of the invention starts the payment pushing service based on the pre-established starting time; calling a push configuration file pointed by a preset path, configuring a push environment based on the file, and assembling data to be pushed; sending the data to be pushed to a settlement system, acquiring system parameters corresponding to the withdrawal pushing service execution process, and adjusting the pushing configuration file based on the system parameters; monitoring a pushing result returned by the pushing action, creating a withdrawal compensation table according to the pushing result, and executing the pushing compensation according to the compensation node appointed by the pushing configuration file, so that the accuracy of the withdrawal service data pushing is greatly improved, and the overall time spent on the withdrawal pushing service is integrally reduced.
Optionally, referring to fig. 2, before step S100, the method further includes:
step S110 obtains an end node of the settlement pushing service, and calculates a starting time of the withdrawal pushing service according to the end node and a preset delay period.
The end node of the settlement push service can be realized by calling a preset interface with an inquiry function, and can also be provided with corresponding logic, and when the settlement push service is ended, a message of ending the service is sent. Correspondingly, a monitoring process is arranged, so that after the message of ending the payment pushing service is received, the starting time of the payment pushing service is calculated. Of course, if the start time is stored locally, it is overwritten.
In addition, a delay period can be preset, and after the ending message of the settlement push service is obtained, the time node of the ending node is added with the time length of the delay period, so that the starting time of the payment push service is obtained. The delay period is preferably not higher than 5 minutes.
In most transaction settlement systems, due to the corresponding natural sequence of settlement and payment, the settlement service is always performed before the payment service, and in the settlement service, the payment service related to the payment service is also called, so that the starting time point of the payment service is set to be close to the ending node of the settlement service, when the merchant information is inquired in the payment service, the payment service can directly call the cache data so as to obtain the merchant information (the merchant information is reserved in the cache because the merchant information is inquired by the settlement service before), and the frequent reading and writing of the database are not needed, so that the reading and writing congestion of the database is reduced, the cache preheating is also utilized, and the inquiry accuracy and the hit rate are greatly improved.
Step S120 stores the start time.
After the start time of the withdrawal transaction is generated based on step S110, the start time node information is stored. The storage method is not limited herein.
Optionally, the parameters configured by the push configuration file in step S200 include a queue accommodating size and a core thread number.
The queue accommodating size refers to the size of the data accommodated by the queue machine, and the upper limit of the size is determined by the local memory and must not be larger than the local memory. For example, if the queuing machine is configured to accommodate 2500 pieces of data to be pushed, the accommodating size is 2500. The kernel thread is a basic concept of the thread, and the present invention is not described herein again.
Optionally, referring to fig. 3, the step of calling the push file pointed by the preset path and configuring the push environment by the file in step S200 includes:
step S210 calls a push configuration file pointed by a preset path;
specifically, a preset path is set for acquiring the push configuration file. In one embodiment, a calling interface may be provided, the implementation class of the interface defines the acquisition path, and the interface function calling the interface may acquire the delivery configuration file.
Step S220 adjusts the queue capacity number or the core thread creation number in the push environment according to the queue capacity size or the core thread number specified by the push configuration file.
The push configuration file may be a script file or an arbitrary text file. The present invention is not limited thereto. The push configuration file may only contain parameters of the push environment, and may also expand other configurations such as a compensation node that designates a subsequent withdrawal compensation table.
In addition, the initial version can be configured in advance by technicians, and then the program executing the scheme of the invention automatically adjusts the configuration file.
Optionally, referring to fig. 4, the step of assembling the data to be pushed in step S200 includes:
step S230 queries merchant information.
Step S240 inquires template information.
Step S250, performing data assembly on the merchant information through the template information to form the data to be pushed.
The merchant information includes contracts, merchant names, points, and personal details, among others. For example, the payer name "zhang san", "peace gold card user". The merchant information is preferably obtained through a cache address queried by a previous settlement push service. If the cache cannot be obtained, reading is carried out through a local or other database.
And secondly, reading the template information, and performing data assembly on the merchant information according to the template information. Illustratively, the template information is table type data, as follows:
name (R) Grade Integration Contract (contract) Contracting merchant
Table 2 the merchant information is injected to obtain the following data:
Figure BDA0003468488590000091
TABLE 3
After the data assembly is completed, forming data to be pushed by taking each table object as a unit, and injecting the data into a queue machine.
Optionally, the system parameters in step 300 include: any one or more of CPU utilization rate, memory occupancy rate and network transmission condition.
Optionally, referring to fig. 5, the step of adjusting the push configuration file based on the system parameter in step S300 includes:
step S310 calculates whether the CPU utilization reaches a preset threshold, and if not, increases the core thread creation number specified in the push configuration file according to a preset step length.
Illustratively, a threshold value of 70% is set for the CPU index in advance, and according to the sampling data of the CPU in the system parameter, the average utilization rate of the CPU when the whole withdrawal pushing service is executed is found to be 60%. At this time, the number of created kernel threads specified by the push configuration file may be correspondingly increased according to a preset step size. Preferably, the preset step size is 1. That is, if the currently set kernel thread is 6, the adjustment is made to 7.
Optionally, the step of adjusting the push configuration file based on the system parameter in step S300 further includes:
step S320 calculates whether the memory occupancy rate reaches a preset threshold, if not, increases the queue capacity specified in the push configuration file according to a preset step length,
the memory occupancy rate corresponds to the accommodating size of the queue machine. Illustratively, the threshold value set in advance for the memory occupancy is 80%. And according to the memory occupancy rate sampling data in the system parameters, the memory occupancy rate of 60% when the whole money withdrawal pushing service is executed is obtained. At this time, the accommodating size of the queue machine specified by the push configuration file may be correspondingly increased according to the preset step length. Preferably, the preset step size is 100. That is, if the number of pieces of data to be pushed received by the currently set queuing machine is 2000, the adjustment is made to 2100.
It should be noted that the upper threshold of the memory occupancy rate needs to be compatible with the memory required for the system operation.
In addition, after the push configuration file is rewritten, the adjusted configuration can be executed immediately, or the configuration can be executed when the next service is started after the push of the whole withdrawal service is finished. The configuration can be specifically performed by technicians according to the actual application scenario.
Optionally, referring to fig. 6, the step of monitoring the push result returned by the settlement system in step S400, and creating a withdrawal compensation table according to the push result includes:
step S410, monitoring a pushing result returned by the settlement bank system;
step S420 creates form data, and injects the push result and the corresponding data storage pointer into a table to form a withdrawal compensation table.
Specifically, in one embodiment, multiple arrays of table data may be created to form the withdrawal compensation table.
In an exemplary manner, the first and second electrodes are,
Array1={0,0,0,0,0,0,0,1,0,0,0,0,1}
Array2={0xff01,0xff02,0xff03,0xff04,0xff05,0xff06,0xff07,0xff08,0xff09,0xff010,0xff11,0xff12,0xff13,}
array1 represents the push result, and Array2 represents the deposit pointer of the data to be pushed corresponding to the push result.
The entries of array1 and array2 correspond in sequence. And when the push compensation is executed, traversing the value of the array1, selecting an entry with the value of 1, selecting a storage address with the same sequence position in the array2, directly acquiring corresponding data to be pushed through the address, and sending the pushed data again.
Optionally, referring to fig. 7, the step of executing push compensation according to the compensation node specified by the push configuration file in step S400 includes:
step S430 calls the push configuration file and obtains a compensation node appointed by the push configuration file, wherein the compensation node is time information;
step S440 transmits the withdrawal compensation table data to a settlement system based on the compensation node time.
Step S450, monitoring the compensation result returned by the settlement system, and updating the withdrawal compensation table based on the compensation result.
Specifically, the situation of push failure can also exist when the push data is reissued again based on compensation, so that the return result of compensation push is monitored, the withdrawal compensation table is updated according to the return result, and then secondary compensation push is performed, and the processes are circulated in sequence until all push is successful.
Preferably, the compensatory push interval is set to 20 minutes.
In addition, the review of the withdrawal compensation table can be set with the next day or other time periods. And performing supplementary pushing on the data which is not normally pushed.
Example two
Fig. 8 is a schematic view of a program module of a second data pushing method for a payment transaction according to a second embodiment of the present invention. The data pushing system 20 may include or be divided into one or more program modules, which are stored in a storage medium and executed by one or more processors to implement the present invention and implement the data pushing method for a withdrawal transaction service described above. The program modules referred to in the embodiments of the present invention refer to a series of computer program instruction segments capable of performing specific functions, and are more suitable than the program itself for describing the execution process of the data push system 20 in the storage medium. The following description will specifically describe the functions of the program modules of the present embodiment:
a starting module 200, configured to start a withdrawal pushing service based on a pre-established starting time;
an assembling module 210, configured to invoke a push configuration file pointed by a preset path, configure a push environment based on the push configuration file, and assemble data to be pushed;
the adjusting module 220 is configured to send the data to be pushed to a settlement system, acquire a system parameter corresponding to the withdrawal pushing service execution process, and adjust the pushing configuration file based on the system parameter;
the compensation module 230 is configured to monitor a push result returned by the settlement system, create a payment compensation table according to the push result, and execute push compensation based on a compensation node specified by the push configuration file.
Optionally, the starting module 200 is further configured to:
acquiring an ending node of the settlement pushing service, and calculating to obtain the starting time of the withdrawal pushing service according to the node and a preset delay period;
and storing the starting time.
Optionally, the parameters configured by the push configuration file include a queue accommodating size or a core thread number, and the assembling module 210 is further configured to:
calling the push configuration file pointed by a preset path;
and adjusting the queue accommodating number or the core thread creating number in the push environment according to the queue accommodating size or the core thread number specified by the push configuration file.
Optionally, the assembly module 210 is further configured to:
inquiring merchant information;
inquiring template information;
and performing data assembly on the merchant information through the template information to form the data to be pushed.
Optionally, the system parameter includes any one or more of a CPU utilization rate, a memory occupancy rate, or a network transmission condition.
Optionally, the adjusting module 220 is further configured to:
calculating whether the CPU utilization rate reaches a preset threshold value, if not, increasing the core thread creation number appointed in the push configuration file according to a preset step length;
and calculating whether the memory occupancy rate reaches a preset threshold value, and if not, increasing the specified queue capacity number in the push configuration file according to a preset step length.
Optionally, the compensation module 230 is further used for
Monitoring a pushing result returned by the settlement system;
and creating form data, and injecting the push result and the corresponding data storage pointer into a form to form a withdrawal compensation form.
Preferably, the compensation module 230 is further configured to:
calling the push configuration file and obtaining a compensation node appointed by the push configuration file, wherein the compensation node
Is time information;
sending the data of the withdrawal compensation table to a settlement system based on the compensation node time;
and monitoring a compensation result returned by the settlement system, and updating a withdrawal compensation table based on the compensation result.
EXAMPLE III
Fig. 9 is a schematic diagram of a hardware architecture of a computer device according to a third embodiment of the present invention. In the present embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a preset or stored instruction. The computer device 2 may be a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers), and the like. As shown, the computer device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, and a data push system 20 communicatively coupled to each other via a system bus.
In this embodiment, the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the computer device 2. Of course, the memory 21 may also comprise both internal and external memory units of the computer device 2. In this embodiment, the memory 21 is generally used for storing an operating system installed in the computer device 2 and various application software, such as the program codes of the data pushing system 20 in the second embodiment. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is configured to execute the program code stored in the memory 21 or process data, for example, execute the data pushing system 20, so as to implement the data pushing method for the cash dispensing transaction service according to the first embodiment.
The network interface 23 may comprise a wireless network interface or a wired network interface, and the network interface 23 is generally used for establishing communication connection between the computer device 2 and other electronic apparatuses. For example, the network interface 23 is used to connect the computer device 2 to an external terminal through a network, establish a data transmission channel and a communication connection between the computer device 2 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
It is noted that fig. 9 only shows the computer device 2 with components 20-23, but it is to be understood that not all shown components are required to be implemented, and that more or less components may be implemented instead.
In this embodiment, the data pushing system 20 stored in the memory 21 can be further divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (in this embodiment, the processor 22) to complete the present invention.
For example, fig. 8 shows a schematic diagram of program modules of the data pushing system 20 according to the second embodiment of the present invention, in this embodiment, the data pushing system 20 may be divided into a starting module 200, an assembling module 210, an adjusting module 220, and a compensating module 230. The program modules referred to herein are a series of computer program instruction segments that can perform specific functions, and are more suitable than programs for describing the execution process of the data push system 20 in the computer device 2. The specific functions of the program modules 200 and 210 have been described in detail in the second embodiment, and are not described herein again.
Example four
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of the present embodiment is used in the data pushing system 20, and when executed by a processor, the data pushing method for a payment transaction service of the first embodiment is implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A data pushing method for a payment transaction service, the method comprising:
starting a withdrawal pushing service based on the pre-established starting time;
calling a push configuration file pointed by a preset path, configuring a push environment based on the push configuration file and assembling data to be pushed;
sending the data to be pushed to a settlement system, acquiring system parameters corresponding to the withdrawal pushing service execution process, and adjusting the pushing configuration file based on the system parameters;
monitoring a push result returned by the settlement system, creating a compensation table according to the push result, and executing push compensation based on a compensation node appointed by the push configuration file.
2. The data pushing method according to claim 1, wherein the step of starting the dispensing pushing service based on the pre-created starting time is preceded by the step of:
acquiring an ending node of the settlement pushing service, and calculating to obtain the starting time of the withdrawal pushing service according to the node and a preset delay period;
and storing the starting time.
3. The data pushing method according to claim 1, wherein the parameters configured by the pushing configuration file include a queue accommodating size or a core thread number, and the step of invoking the pushing configuration file pointed by the preset path includes:
calling the push configuration file pointed by a preset path;
and adjusting the queue accommodating number or the core thread creating number in the push environment according to the queue accommodating size or the core thread number specified by the push configuration file.
4. The data pushing method according to claim 1, wherein the step of assembling the data to be pushed comprises:
inquiring merchant information;
inquiring template information;
and performing data assembly on the merchant information through the template information to form the data to be pushed.
5. The data pushing method according to claim 1, wherein the system parameter includes any one or more of CPU utilization, memory occupancy, or network transmission status.
6. The data pushing method according to claim 5, wherein the step of adjusting the pushing profile based on the system parameter information comprises:
calculating whether the CPU utilization rate reaches a preset threshold value, if not, increasing the core thread creation number appointed in the push configuration file according to a preset step length;
and calculating whether the memory occupancy rate reaches a preset threshold value, and if not, increasing the specified queue capacity number in the push configuration file according to a preset step length.
7. The data pushing method according to claim 1, wherein the step of monitoring the pushing result returned by the settlement system and creating a withdrawal compensation table according to the pushing result comprises:
monitoring a pushing result returned by the settlement system;
and creating form data, and injecting the push result and the corresponding data storage pointer into a form to form a withdrawal compensation form.
8. The data pushing method according to claim 1, wherein the step of performing push compensation according to the compensation node specified by the push profile comprises:
calling the push configuration file and obtaining the push configuration file
A compensation node specified by the piece, wherein the compensation node is time information;
sending the data of the withdrawal compensation table to a settlement system based on the compensation node time;
and monitoring a compensation result returned by the settlement system, and updating a withdrawal compensation table based on the compensation result.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program, when executed by the processor, implements the steps of the data push method according to any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which is executable by at least one processor to cause the processor to perform the steps of the data push method according to any one of claims 1 to 8.
CN202210037373.0A 2022-01-13 2022-01-13 Data pushing method for cash withdrawal transaction service Pending CN114385267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210037373.0A CN114385267A (en) 2022-01-13 2022-01-13 Data pushing method for cash withdrawal transaction service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210037373.0A CN114385267A (en) 2022-01-13 2022-01-13 Data pushing method for cash withdrawal transaction service

Publications (1)

Publication Number Publication Date
CN114385267A true CN114385267A (en) 2022-04-22

Family

ID=81202658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210037373.0A Pending CN114385267A (en) 2022-01-13 2022-01-13 Data pushing method for cash withdrawal transaction service

Country Status (1)

Country Link
CN (1) CN114385267A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1038277A1 (en) * 1997-12-09 2000-09-27 The Chase Manhattan Bank Push banking system and method
KR20130055448A (en) * 2011-11-18 2013-05-28 주식회사 아이비케이시스템 System and method for payment using mobile push service
CN107369012A (en) * 2016-07-05 2017-11-21 康存乐付保数据科技(上海)有限公司 A kind of method for processing payment information and system and the prepaid card processing method with performance bond insurance mechanism
CN107656808A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 The flow implementation method and related system of a kind of bill business
KR101823651B1 (en) * 2016-12-02 2018-03-14 한전케이디엔주식회사 A system that processes real-time payments by participating customers
CN109995879A (en) * 2019-04-15 2019-07-09 深圳壹账通智能科技有限公司 Device, method and the storage medium of message push
WO2019196244A1 (en) * 2018-04-10 2019-10-17 平安科技(深圳)有限公司 Real-time order callback method and system
EP3588422A1 (en) * 2018-06-22 2020-01-01 Mastercard International Incorporated Systems and methods for authenticating online users
CN111325626A (en) * 2020-02-21 2020-06-23 中国工商银行股份有限公司 Account checking data pushing method and device
US20200364801A1 (en) * 2019-04-15 2020-11-19 Global Care Analytics, Llc Transaction analysis and asset recovery system
CN112037067A (en) * 2020-09-11 2020-12-04 中国银行股份有限公司 System and method for processing settlement message service data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1038277A1 (en) * 1997-12-09 2000-09-27 The Chase Manhattan Bank Push banking system and method
KR20130055448A (en) * 2011-11-18 2013-05-28 주식회사 아이비케이시스템 System and method for payment using mobile push service
CN107369012A (en) * 2016-07-05 2017-11-21 康存乐付保数据科技(上海)有限公司 A kind of method for processing payment information and system and the prepaid card processing method with performance bond insurance mechanism
CN107656808A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 The flow implementation method and related system of a kind of bill business
KR101823651B1 (en) * 2016-12-02 2018-03-14 한전케이디엔주식회사 A system that processes real-time payments by participating customers
WO2019196244A1 (en) * 2018-04-10 2019-10-17 平安科技(深圳)有限公司 Real-time order callback method and system
EP3588422A1 (en) * 2018-06-22 2020-01-01 Mastercard International Incorporated Systems and methods for authenticating online users
CN109995879A (en) * 2019-04-15 2019-07-09 深圳壹账通智能科技有限公司 Device, method and the storage medium of message push
US20200364801A1 (en) * 2019-04-15 2020-11-19 Global Care Analytics, Llc Transaction analysis and asset recovery system
CN111325626A (en) * 2020-02-21 2020-06-23 中国工商银行股份有限公司 Account checking data pushing method and device
CN112037067A (en) * 2020-09-11 2020-12-04 中国银行股份有限公司 System and method for processing settlement message service data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐宁;陈晓冬;: "基于Android的财务报账预约推送系统的设计与开发", 赤子(上中旬), no. 24, pages 241 - 242 *

Similar Documents

Publication Publication Date Title
CN111314238B (en) Token management method and device, storage medium and electronic device
CN111177081A (en) Game log content query method and device, computer equipment and storage medium
CN110659971B (en) Transaction data processing method and device
CN113360210A (en) Data reconciliation method and device, computer equipment and storage medium
CN112579608A (en) Case data query method, system, device and computer readable storage medium
US20170286440A1 (en) Method, business processing server and data processing server for storing and searching transaction history data
CN114385267A (en) Data pushing method for cash withdrawal transaction service
CN111475468A (en) Log access method, device, equipment and storage medium of newly added system
CN111159226A (en) Index query method and system
CN115510366A (en) Business message pushing method and device, computer equipment and storage medium
KR101888131B1 (en) Method for Performing Real-Time Changed Data Publish Service of DDS-DBMS Integration Tool
CN111143365B (en) Data sub-table method, device, computer equipment and storage medium
CN112749190B (en) Data query method and device, computing equipment and computer storage medium
CN113052674A (en) Quota management method, electronic device, computer device, and storage medium
CN112732367A (en) Event flow processing method, device and equipment and readable storage medium
WO2019169696A1 (en) Platform client data backflow method, electronic apparatus, device, and storage medium
CN111429125B (en) Account management method and device, storage medium and electronic equipment
CN111131393B (en) User activity data statistical method, electronic device and storage medium
CN112115020B (en) Database connection pool abnormity monitoring method and device and computer equipment
CN112486556B (en) Method, system, terminal and storage medium for server to be compatible with BMC
CN111291296B (en) Content issuing method and device
WO2023232736A1 (en) Improvement of concurrent writings in verifiable persistent data structures
CN113645289A (en) Quota data request method, sending method, client, server and system
CN115131080A (en) Bill service processing method, server, computer device and storage medium
CN116777627A (en) Method, device, equipment and storage medium for processing delivered object

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