CN108469967A - A kind of transaction data processing method and transaction system - Google Patents

A kind of transaction data processing method and transaction system Download PDF

Info

Publication number
CN108469967A
CN108469967A CN201710099960.1A CN201710099960A CN108469967A CN 108469967 A CN108469967 A CN 108469967A CN 201710099960 A CN201710099960 A CN 201710099960A CN 108469967 A CN108469967 A CN 108469967A
Authority
CN
China
Prior art keywords
transaction
library file
dynamic library
memory address
dynamic
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.)
Granted
Application number
CN201710099960.1A
Other languages
Chinese (zh)
Other versions
CN108469967B (en
Inventor
李晨
杨鑫源
彭福民
徐菁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unionpay Marketing Data Services Ltd
Original Assignee
Unionpay Marketing Data Services 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 Unionpay Marketing Data Services Ltd filed Critical Unionpay Marketing Data Services Ltd
Priority to CN201710099960.1A priority Critical patent/CN108469967B/en
Publication of CN108469967A publication Critical patent/CN108469967A/en
Application granted granted Critical
Publication of CN108469967B publication Critical patent/CN108469967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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/44557Code layout in executable memory
    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present embodiments relate to field of computer technology more particularly to a kind of transaction data processing method and transaction systems, including:According to the transaction data received, the corresponding transaction code of transaction data is determined;The corresponding memory address of transaction code is determined from transaction array;According to the corresponding memory address of transaction code, call the dynamic library file pointed by the corresponding memory address of transaction code to handle transaction data.It can be seen that, after receiving transaction data every time, transaction code can be determined according to transaction data, then corresponding memory address is determined by transaction code, finally recall the dynamic library file pointed by the corresponding memory address of transaction code to handle transaction data, without be used in every time receive transaction data after, the calling dynamic base repeated, so as to improve the processing speed of transaction system, therefore, when coping with the transaction peak such as festivals or holidays, transaction system can be inhibited to block.

Description

A kind of transaction data processing method and transaction system
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of transaction data processing methods and transaction to be System.
Background technology
Transaction system in the prior art needs constantly to go link dynamic base, reduces friendship when handling transaction data Therefore the easy system trading volume per second that can be handled, causes transaction system answering to reduce the processing speed of transaction system When to the transaction peak such as festivals or holidays, transaction system is easy to happen blocking.
Invention content
A kind of transaction data processing method of offer of the embodiment of the present invention and transaction system improve transaction system to pass through Processing speed inhibits the phenomenon that transaction system blocks and occurs.
The embodiment of the present invention provides a kind of transaction data processing method, including:
According to the transaction data received, the corresponding transaction code of the transaction data is determined;
Determine that the corresponding memory address of the transaction code, the item of information of the transaction array are at least wrapped from transaction array It includes:Transaction code, memory address;Wherein, the memory address is obtained after the corresponding dynamic library file of transaction code is loaded into memory It takes;
According to the corresponding memory address of the transaction code, the dynamic pointed by the corresponding memory address of the transaction code is called Library file is to handle the transaction data.
Preferably, the memory address obtains after the corresponding dynamic library file of transaction code is loaded into memory, including:
Before receiving transaction data, for each dynamic library file, opened described in function call by dynamic base Dynamic library file obtains the memory address that the dynamic library file is stored;By the transaction code corresponding to the dynamic library file And the memory address that the dynamic library file is stored is stored to the transaction array.
Preferably, before opening dynamic library file described in function call by dynamic base, further include:
Transaction profile is obtained by master control function;
By obtaining the dynamic library file corresponding to multiple transaction codes and multiple transaction codes in the transaction profile Routing information;
Dynamic library file described in function call is opened by dynamic base, including:
According to the routing information of the dynamic library file, dynamic library file described in function call is opened by dynamic base.
Preferably, by the transaction code and the memory that is stored of the dynamic library file corresponding to the dynamic library file Address is stored in the transaction array, further includes:
Determine dynamic library file to be updated and updated dynamic library file;
According to dynamic library file to be updated, the transaction code corresponding to the dynamic library file to be updated, and root are determined According to the transaction code, the memory address of the dynamic library file to be updated is determined;
According to the memory address of the dynamic library file to be updated, closing function by dynamic base will be described to be updated Dynamic library file is closed;
Updated dynamic library file described in function call is opened by the dynamic base, and obtains updated dynamic base The memory address of file;
The memory address for updating dynamic library file to be updated described in the transaction array is updated dynamic library text The memory address of part.
Preferably, the transaction data that the basis receives, determines the corresponding transaction code of the transaction data, including:
According to the transaction data received, configuration information entrained in the transaction data is obtained;
According to configuration information entrained in the transaction data, the transaction code corresponding to the transaction data is determined.
The embodiment of the present invention also provides a kind of transaction data processing method and transaction system, including:
Receiving module, for according to the transaction data received, determining the corresponding transaction code of the transaction data;
Determining module, for determining the corresponding memory address of the transaction code from transaction array, the transaction array Item of information includes at least:Transaction code, memory address;Wherein, the memory address is by the corresponding dynamic library file dress of transaction code It is downloaded to and obtains after memory;
Calling module is used for according to the corresponding memory address of the transaction code, with calling the corresponding memory of the transaction code Dynamic library file pointed by location is to handle the transaction data.
Preferably, the determining module, is specifically used for:
Before receiving transaction data, for each dynamic library file, opened described in function call by dynamic base Dynamic library file obtains the memory address that the dynamic library file is stored;By the transaction code corresponding to the dynamic library file And the memory address that the dynamic library file is stored is stored to the transaction array.
Preferably, the receiving module, is additionally operable to:By dynamic base open function call described in dynamic library file it Before, transaction profile is obtained by master control function;
By obtaining the dynamic library file corresponding to multiple transaction codes and multiple transaction codes in the transaction profile Routing information;
The calling module, is specifically used for:
According to the routing information of the dynamic library file, dynamic library file described in function call is opened by dynamic base.
Preferably, further including:Update module,
The update module is used for:
By corresponding to the dynamic library file transaction code and the memory address that is stored of the dynamic library file deposit Enter to the transaction array, determines dynamic library file to be updated and updated dynamic library file;
According to dynamic library file to be updated, the transaction code corresponding to the dynamic library file to be updated, and root are determined According to the transaction code, the memory address of the dynamic library file to be updated is determined;
According to the memory address of the dynamic library file to be updated, closing function by dynamic base will be described to be updated Dynamic library file is closed;
Updated dynamic library file described in function call is opened by the dynamic base, and obtains updated dynamic base The memory address of file;
The memory address for updating dynamic library file to be updated described in the transaction array is updated dynamic library text The memory address of part.
Preferably, the receiving module, is specifically used for:
According to the transaction data received, configuration information entrained in the transaction data is obtained;
According to configuration information entrained in the transaction data, the transaction code corresponding to the transaction data is determined.
The transaction data processing method and transaction system that above-described embodiment provides, including:According to the transaction data received, Determine the corresponding transaction code of the transaction data;The corresponding memory address of the transaction code, the friendship are determined from transaction array The item of information of easy array includes at least:Transaction code, memory address;Wherein, the memory address is by the corresponding dynamic of transaction code Library file, which is loaded into, to be obtained after memory;According to the corresponding memory address of the transaction code, call the transaction code corresponding interior The dynamic library file pointed by address is deposited to handle the transaction data.As can be seen that receiving number of deals every time According to rear, as long as determining transaction code according to transaction data, it is then based on transaction code and can determine the memory that dynamic library file is stored The dynamic library file pointed by the corresponding memory address of transaction code is called finally according to the corresponding memory address of transaction code in address To handle transaction data, without be used in every time receive transaction data after, repeat calling dynamic base, so as to The processing speed of transaction system is enough improved, therefore, when coping with the transaction peak such as festivals or holidays, transaction system can be inhibited to occur stifled Plug.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced.
Fig. 1 is a kind of transaction data processing method flow diagram provided in an embodiment of the present invention;
Fig. 2 is the method flow schematic diagram provided in an embodiment of the present invention for establishing array of merchandising;
Fig. 3 is the method flow schematic diagram of update transaction array provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the transaction system of the embodiment of the present invention.
Specific implementation mode
In order to make the purpose of the present invention, technical solution and advantageous effect be more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not intended to limit the present invention.
Fig. 1 illustrates a kind of transaction data processing method flow diagram provided in an embodiment of the present invention, such as Fig. 1 Shown, this method may include:
The transaction data that S101, basis receive, determines the transaction code corresponding to the transaction data.
Specifically, configuration information entrained in transaction data, then, root can be obtained according to the transaction data received According to configuration information entrained in transaction data, the transaction code corresponding to transaction data is determined.
S102, the corresponding memory address of the transaction code is determined from transaction array, the item of information of the transaction array is extremely Include less:Transaction code, memory address;Wherein, the memory address is that the corresponding dynamic library file of transaction code is loaded into memory It obtains afterwards.
S103, according to the corresponding memory address of transaction code, call dynamic pointed by the corresponding memory address of the transaction code State library file is to handle the transaction data.
Wherein, transaction array is that system is established when starting, and the process of establishing for array of merchandising can be found in side shown in Fig. 2 Method flow.
S201, start in application system, when operating system business master control function, transaction is obtained by master control function and is matched Set file.
S202, by obtaining the dynamic base corresponding to multiple transaction codes and multiple transaction codes in the transaction profile The routing information of file.
Specifically, after obtaining multiple transaction codes by transaction profile, can be obtained according to multiple transaction codes and more The routing information of the corresponding dynamic library file name of a transaction code and dynamic library file.
S203, the routing information according to dynamic library file open function call dynamic library file, to obtain by dynamic base Take the memory address that dynamic library file is stored.
The memory address that S204, the transaction code corresponding to dynamic library file and dynamic library file are stored is established Transaction array.
It should be noted that the application system in the embodiment of the present invention can be the transaction system of all trades and professions, it can also It is a subsystem under transaction system, for example, when transaction system is the transaction system of financial industry, one under transaction system A subsystem can be credit card applications system.
Detailed explanation is carried out to the process of establishing of transaction array below by a specific example.
Assuming that after the operating system master control function that application system A passes through itself, pass through loading transaction configuration information Getting multiple transaction codes is:3000,3001,3002,3003,3004,3005, then master control function is according to transaction code 3000, The routing information of the dynamic library file name 3000.so and dynamic library file 3000.so corresponding to transaction code 3000 are got, so The routing information of the dynamic library file name 3000.so corresponding to transaction code 3000 and dynamic library file 3000.so obtains afterwards Get the dynamic library file 3000.so corresponding to transaction code 3000.Similarly, 3001 institute of transaction code is got according to transaction code 3001 Corresponding dynamic library file 3001.so;The dynamic library file corresponding to transaction code 3002 is got according to transaction code 3002 3002.so;The dynamic library file 3003.so corresponding to transaction code 3003 is got according to transaction code 3003;According to transaction code 3004 get the dynamic library file 3004.so corresponding to transaction code 3004;Transaction code 3005 is got according to transaction code 3005 Corresponding dynamic library file 3005.so.
The dynamic library file 3000.so corresponding to transaction code 3000 is got according to transaction code 3000, according to transaction code 3001 get dynamic library file 3001.so corresponding to transaction code 3001, get transaction code 3002 according to transaction code 3002 Corresponding dynamic library file 3002.so, the dynamic library file corresponding to transaction code 3003 is got according to transaction code 3003 3003.so, dynamic library file 3004.so corresponding to transaction code 3004 is got according to transaction code 3004 and according to transaction code After 3005 get the dynamic library file 3005.so corresponding to transaction code 3005, function call dynamic is opened by dynamic base Library file 3000.so, dynamic library file 3001.so, dynamic library file 3002.so, dynamic library file 3003.so, dynamic library text Part 3004.so and calling dynamic library file 3005.so;So as to get dynamic library file 3000.so, dynamic library file 3001.so, dynamic library file 3002.so, dynamic library file 3003.so, dynamic library file 3004.so and dynamic library file The memory address that 3005.so is stored respectively.
It is further assumed that the memory address for opening the 3000.so acquisitions of function call dynamic library file by dynamic base is 000;It is 001 to open the memory address that function call dynamic library file 3001.so is obtained by dynamic base;It is opened by dynamic base The memory address that function call dynamic library file 3002.so is obtained is 002;Function call dynamic library file is opened by dynamic base The memory address that 3003.so is obtained is 003;The memory that function call dynamic library file 3004.so is obtained is opened by dynamic base Address is 004;It is 005 to open the memory address that function call dynamic library file 3005.so is obtained by dynamic base.
Then, transaction is established according to the memory address that the corresponding dynamic library file of each transaction code and each exchange is stored Array P.The memory address that dynamic library file 3000.so i.e. corresponding to transaction code 3000 and transaction code 3000 is stored 000;The memory address 001 that dynamic library file 3001.so corresponding to transaction code 3001 and transaction code 3001 is stored;Root The memory address 002 stored according to the dynamic library file 3002.so corresponding to transaction code 3002 and transaction code 3002;According to transaction The memory address 003 that code 3003 is stored with the dynamic library file 3003.so corresponding to transaction code 3003;According to transaction code 3004 With the memory address 004 stored of the dynamic library file 3004.so corresponding to transaction code 3004 and according to transaction code 3005 with The memory address 005 that dynamic library file 3005.so corresponding to transaction code 3005 is stored can establish transaction array P, according to each The transaction array P that the memory address that the corresponding dynamic library file of transaction code and each exchange is stored is established, reference can be made under List lattice one.
Table one
Transaction code Memory address
3000 000
3001 001
3002 002
3003 003
3004 004
3005 005
On the basis of the array P that merchandises shown in the above table one established in application system A, it is assumed that application system A receives transaction data 1, and the configuration information in transaction data 1 includes transaction code 3000, then transaction system is receiving To after transaction data 1, transaction code 3000 is read from transaction data 1 first, is then established according to the traversal of transaction code 3000 Merchandise array P, due to being stored with transaction code 3000, and the dynamic library file institute corresponding to transaction code 3000 in transaction array P The memory address of storage is 000, therefore, can determine that the dynamic library file corresponding to transaction code 3000 is deposited according to transaction code 3000 The memory address of storage is 000, then carries out logic to transaction data 1 according to dynamic library file pointed in memory address 000 Processing, and export result.
When being updated to transaction system, in order to improve the dynamic library file in transaction system compared with lowest version be switched to compared with The switching efficiency of the dynamic library file of highest version, by corresponding to dynamic library file transaction code and dynamic library file stored Memory address be stored in transaction numerical value after, can also dynamic library file update after, to the transaction array in transaction system into Row update, to the method flow that the transaction array in transaction system is updated, reference can be made to Fig. 3.
S301, dynamic library file to be updated is determined.
S302, on-the-flier compiler is carried out based on updated source files of program, determines updated dynamic library file, and update The version of dynamic library file afterwards is higher than the version of dynamic library file to be updated, and updated dynamic library file and waits for more The filename and routing information all same of new dynamic library file.
S303, according to dynamic library file to be updated, determine the transaction code corresponding to dynamic library file to be updated, and root According to the transaction code, the memory address of dynamic library file to be updated is determined.
S304, according to the memory address of dynamic library file to be updated, closing function by dynamic base will be to be updated dynamic State library file is closed.
S305, the updated dynamic library file of function call is opened by dynamic base, obtains updated dynamic library file Memory address.
Memory address in S306, update transaction array corresponding to the corresponding transaction code of dynamic library file to be updated is more The memory address of dynamic library file after new.
It is right on the basis of the array P that merchandises shown in the table one established in application system A in above-mentioned example Method flow shown in Fig. 3 carries out detailed explanation.
Determine that it is 3004.so to need newer dynamic library file, is then based on updated source files of program and carries out first On-the-flier compiler determines updated dynamic library file X, and the filename of dynamic library file X and routing information and dynamic library text The filename of part 3004.so is identical with routing information, i.e., the filename of dynamic library file X is also 3004.so, dynamic library text The routing information of part X is also identical as the routing information of dynamic library file 3004.so.
Then determine that the transaction code corresponding to old dynamic library file 3004.so is transaction code 3004, according to transaction code 3004 from above-mentioned transaction array P, determines that the memory address of the dynamic library file 3004.so corresponding to transaction code 3004 is 004, Later, according to the memory address 004 of dynamic library file 3004.so, function is closed by dynamic library file 3004.so by dynamic base It is closed.
Then function call dynamic library file X is opened by dynamic base, and the memory address for obtaining dynamic library file X is 008.After the memory address 008 for obtaining dynamic library file X, modify to array P shown in above table one, after modification Array P, can participating form two.
Table two
Transaction code Memory address
3000 000
3001 001
3002 002
3003 003
3004 008
3005 005
According to the above as can be seen that after receiving transaction data every time, merchandise as long as being determined according to transaction data Code, is then based on transaction code and can determine the memory address that dynamic library file is stored, finally according to the corresponding memory of transaction code Address calls the dynamic library file pointed by the corresponding memory address of transaction code to handle transaction data, without After receiving transaction data every time, the calling dynamic base repeated, so as to improve the processing speed of transaction system, because This can inhibit transaction system to block when coping with the transaction peak such as festivals or holidays.
Based on the same technical idea, the embodiment of the present invention also provides a kind of transaction data processing method and transaction system, As shown in figure 4, system may include:
Receiving module 401, for according to the transaction data received, determining the corresponding transaction code of the transaction data;
Determining module 402, for determining the corresponding memory address of the transaction code, the transaction array from transaction array Item of information include at least:Transaction code, memory address;Wherein, the memory address is by the corresponding dynamic library file of transaction code It is loaded into and obtains after memory;
Calling module 403, for according to the corresponding memory address of the transaction code, calling the corresponding memory of the transaction code Dynamic library file pointed by address is to handle the transaction data.
Preferably, determining module 402, is specifically used for:
Before receiving transaction data, for each dynamic library file, opened described in function call by dynamic base Dynamic library file obtains the memory address that the dynamic library file is stored;By the transaction code corresponding to the dynamic library file And the memory address that the dynamic library file is stored is stored to the transaction array.
Preferably, receiving module 401, is additionally operable to:Before opening dynamic library file described in function call by dynamic base, Transaction profile is obtained by master control function;
By obtaining the dynamic library file corresponding to multiple transaction codes and multiple transaction codes in the transaction profile Routing information;
Calling module 403, is specifically used for:
According to the routing information of the dynamic library file, dynamic library file described in function call is opened by dynamic base.
Preferably, further including:Update module 404
Update module 404, is used for:
By corresponding to the dynamic library file transaction code and the memory address that is stored of the dynamic library file deposit Enter to the transaction array, determines dynamic library file to be updated and updated dynamic library file;
According to dynamic library file to be updated, the transaction code corresponding to the dynamic library file to be updated, and root are determined According to the transaction code, the memory address of the dynamic library file to be updated is determined;
According to the memory address of the dynamic library file to be updated, closing function by dynamic base will be described to be updated Dynamic library file is closed;
Updated dynamic library file described in function call is opened by the dynamic base, and obtains updated dynamic base The memory address of file;
The memory address for updating dynamic library file to be updated described in the transaction array is updated dynamic library text The memory address of part.
Preferably, receiving module 401, is specifically used for:
According to the transaction data received, configuration information entrained in the transaction data is obtained;
According to configuration information entrained in the transaction data, the transaction code corresponding to the transaction data is determined.
To sum up, it can be seen that after receiving transaction data every time, as long as determining transaction code according to transaction data, then It is that the memory address that can determine dynamic library file and stored is adjusted finally according to the corresponding memory address of transaction code based on transaction code With the dynamic library file pointed by the corresponding memory address of transaction code to handle transaction data, without being used in every time After receiving transaction data, therefore the calling dynamic base repeated, is being coped with so as to improve the processing speed of transaction system When the transaction peak such as festivals or holidays, transaction system can be inhibited to block.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of transaction data processing method, which is characterized in that including:
According to the transaction data received, the corresponding transaction code of the transaction data is determined;
Determine that the corresponding memory address of the transaction code, the item of information of the transaction array are included at least from transaction array:It hands over Easy code, memory address;Wherein, the memory address obtains after the corresponding dynamic library file of transaction code is loaded into memory;
According to the corresponding memory address of the transaction code, the dynamic library text pointed by the corresponding memory address of the transaction code is called Part is to handle the transaction data.
2. the method as described in claim 1, which is characterized in that the memory address is by the corresponding dynamic library file of transaction code It is loaded into and obtains after memory, including:
Before receiving transaction data, for each dynamic library file, dynamic described in function call is opened by dynamic base Library file obtains the memory address that the dynamic library file is stored;By corresponding to the dynamic library file transaction code and The memory address that the dynamic library file is stored is stored to the transaction array.
3. method as claimed in claim 2, which is characterized in that opening dynamic library file described in function call by dynamic base Before, further include:
Transaction profile is obtained by master control function;
By the road for obtaining the dynamic library file corresponding to multiple transaction codes and multiple transaction codes in the transaction profile Diameter information;
Dynamic library file described in function call is opened by dynamic base, including:
According to the routing information of the dynamic library file, dynamic library file described in function call is opened by dynamic base.
4. method as claimed in claim 2, which is characterized in that by corresponding to the dynamic library file transaction code and institute It states the memory address that dynamic library file is stored to be stored in the transaction array, further includes:
Determine dynamic library file to be updated and updated dynamic library file;
According to dynamic library file to be updated, the transaction code corresponding to the dynamic library file to be updated is determined, and according to this Transaction code determines the memory address of the dynamic library file to be updated;
According to the memory address of the dynamic library file to be updated, function is closed by the dynamic to be updated by dynamic base Library file is closed;
Updated dynamic library file described in function call is opened by the dynamic base, and obtains updated dynamic library file Memory address;
The memory address for updating dynamic library file to be updated described in the transaction array is updated dynamic library file Memory address.
5. such as Claims 1 to 4 any one of them method, which is characterized in that the transaction data that the basis receives determines The corresponding transaction code of the transaction data, including:
According to the transaction data received, configuration information entrained in the transaction data is obtained;
According to configuration information entrained in the transaction data, the transaction code corresponding to the transaction data is determined.
6. a kind of transaction data processing method and transaction system, which is characterized in that including:
Receiving module, for according to the transaction data received, determining the corresponding transaction code of the transaction data;
Determining module, for determining the corresponding memory address of the transaction code, the information of the transaction array from transaction array Item includes at least:Transaction code, memory address;Wherein, the memory address is to be loaded into the corresponding dynamic library file of transaction code It is obtained after memory;
Calling module, for according to the corresponding memory address of the transaction code, calling the corresponding memory address institute of the transaction code The dynamic library file of direction is to handle the transaction data.
7. transaction system as claimed in claim 6, which is characterized in that the determining module is specifically used for:
Before receiving transaction data, for each dynamic library file, dynamic described in function call is opened by dynamic base Library file obtains the memory address that the dynamic library file is stored;By corresponding to the dynamic library file transaction code and The memory address that the dynamic library file is stored is stored to the transaction array.
8. transaction system as claimed in claim 7, which is characterized in that the receiving module is additionally operable to:It is beaten by dynamic base Before opening dynamic library file described in function call, transaction profile is obtained by master control function;
By the road for obtaining the dynamic library file corresponding to multiple transaction codes and multiple transaction codes in the transaction profile Diameter information;
The calling module, is specifically used for:
According to the routing information of the dynamic library file, dynamic library file described in function call is opened by dynamic base.
9. transaction system as claimed in claim 7, which is characterized in that further include:Update module,
The update module is used for:
By corresponding to the dynamic library file transaction code and the memory address that is stored of the dynamic library file be stored in After the transaction array, dynamic library file to be updated and updated dynamic library file are determined;
According to dynamic library file to be updated, the transaction code corresponding to the dynamic library file to be updated is determined, and according to this Transaction code determines the memory address of the dynamic library file to be updated;
According to the memory address of the dynamic library file to be updated, function is closed by the dynamic to be updated by dynamic base Library file is closed;
Updated dynamic library file described in function call is opened by the dynamic base, and obtains updated dynamic library file Memory address;
The memory address for updating dynamic library file to be updated described in the transaction array is updated dynamic library file Memory address.
10. such as claim 6~9 any one of them transaction system, which is characterized in that the receiving module is specifically used for:
According to the transaction data received, configuration information entrained in the transaction data is obtained;
According to configuration information entrained in the transaction data, the transaction code corresponding to the transaction data is determined.
CN201710099960.1A 2017-02-23 2017-02-23 Transaction data processing method and transaction system Active CN108469967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710099960.1A CN108469967B (en) 2017-02-23 2017-02-23 Transaction data processing method and transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710099960.1A CN108469967B (en) 2017-02-23 2017-02-23 Transaction data processing method and transaction system

Publications (2)

Publication Number Publication Date
CN108469967A true CN108469967A (en) 2018-08-31
CN108469967B CN108469967B (en) 2021-06-25

Family

ID=63266671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710099960.1A Active CN108469967B (en) 2017-02-23 2017-02-23 Transaction data processing method and transaction system

Country Status (1)

Country Link
CN (1) CN108469967B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109409933A (en) * 2018-09-26 2019-03-01 深圳壹账通智能科技有限公司 Intelligent fee counting method, computer readable storage medium and terminal device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917312A (en) * 2010-09-01 2010-12-15 中国建设银行股份有限公司 Performance test stimulator, and message package module, message packaging and sending method thereof
CN103106218A (en) * 2011-11-15 2013-05-15 中国银联股份有限公司 Plug-in type online transaction processing system and plug-in type online transaction processing method
CN103365668A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Loading and linking method and device of dynamic link library
CN103513956A (en) * 2012-06-26 2014-01-15 阿里巴巴集团控股有限公司 Data processing method and device of processor
CN103970559A (en) * 2013-02-05 2014-08-06 北京壹人壹本信息科技有限公司 Device loading method and device on basis of Android
CN106325847A (en) * 2015-07-02 2017-01-11 杭州海康机器人技术有限公司 Method and device for obtaining application functions based on iOS platform
WO2017015856A1 (en) * 2015-07-28 2017-02-02 华为技术有限公司 Method, device and system for calling operating system library

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917312A (en) * 2010-09-01 2010-12-15 中国建设银行股份有限公司 Performance test stimulator, and message package module, message packaging and sending method thereof
CN103106218A (en) * 2011-11-15 2013-05-15 中国银联股份有限公司 Plug-in type online transaction processing system and plug-in type online transaction processing method
CN103365668A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Loading and linking method and device of dynamic link library
CN103513956A (en) * 2012-06-26 2014-01-15 阿里巴巴集团控股有限公司 Data processing method and device of processor
CN103970559A (en) * 2013-02-05 2014-08-06 北京壹人壹本信息科技有限公司 Device loading method and device on basis of Android
CN106325847A (en) * 2015-07-02 2017-01-11 杭州海康机器人技术有限公司 Method and device for obtaining application functions based on iOS platform
WO2017015856A1 (en) * 2015-07-28 2017-02-02 华为技术有限公司 Method, device and system for calling operating system library

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109409933A (en) * 2018-09-26 2019-03-01 深圳壹账通智能科技有限公司 Intelligent fee counting method, computer readable storage medium and terminal device

Also Published As

Publication number Publication date
CN108469967B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN109840648B (en) Method and device for outputting bin information
EP3955191A1 (en) Method and apparatus for verifying commodities in batches based on blockchain, and electronic device
US20200366463A1 (en) Apparatuses for Providing a Set of Cryptographically Protected, Filtered, and Sorted Transaction Data Records of a Link of a Blockchain
WO2021017443A1 (en) Blockchain-based bill number allocation method and apparatus, and electronic device
CN110473030B (en) Block chain-based electronic bill number claiming method and device and electronic equipment
CN106649729A (en) Log running method and system, client and server
CN109255056A (en) Data referencing processing method, device, equipment and the storage medium of block chain
CN110599166A (en) Method and device for acquiring transaction dependency relationship in block chain
CN108520077A (en) A kind of method and apparatus avoiding repeated downloads
Shang et al. Spatial scheduling optimization algorithm for block assembly in shipbuilding
CN104182295B (en) A kind of data back up method and device
CN110443612B (en) Block chain-based reimbursement expense segmentation method and device and electronic equipment
CN108880896A (en) A kind of program gray scale dissemination method and device based on mainframe
CN105989532A (en) Data processing method and device
CN108469967A (en) A kind of transaction data processing method and transaction system
CA2341114A1 (en) Data definition language
Moradlou et al. An investigation into re-shoring decision: Case study approach
KR101858593B1 (en) Memory allocation apparatus and method for large-scale sparse matrix multiplication on a single machine
CN110032664A (en) A method of quickly establishing the full node address index of bit coin block chain
CN106844605B (en) Batch data logical process method and device
CN109086362A (en) The management method of multimode project
CN112163024B (en) Configuration information export and import method based on hierarchical association structure
CN108491546A (en) A kind of page switching method and electronic equipment
CN104572134B (en) A kind of optimization method and device
CN105592029B (en) The synchronous method and server of virtual resource transfer operation state

Legal Events

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