CN113421161A - Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium - Google Patents

Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium Download PDF

Info

Publication number
CN113421161A
CN113421161A CN202110695075.6A CN202110695075A CN113421161A CN 113421161 A CN113421161 A CN 113421161A CN 202110695075 A CN202110695075 A CN 202110695075A CN 113421161 A CN113421161 A CN 113421161A
Authority
CN
China
Prior art keywords
server
price
information
entrusted
identifier
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
CN202110695075.6A
Other languages
Chinese (zh)
Inventor
江伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202110695075.6A priority Critical patent/CN113421161A/en
Publication of CN113421161A publication Critical patent/CN113421161A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure relates to a method, a device, a server and a readable storage medium for processing entrusted transactions, which relates to the technical field of data processing, and the method comprises the following steps: reading entrusted transaction information to be processed; the to-be-processed entrusted transaction information comprises a first quote category identification and a first server identification; determining a storage address of a target quotation corresponding to the entrusted transaction information to be processed in a memory database according to the first quotation type identification and the first server identification; and determining the target price corresponding to the entrusted transaction information to be processed according to the storage address of the target price in the memory database.

Description

Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing an entrusted transaction, a server, and a readable storage medium.
Background
Large-scale banking institutions generally have a plurality of first-level branch institutions. Due to different marketing strategies, for the same batch of prices in the international market, different magnitude changes may be made by each branch, i.e., the prices for each category (e.g., foreign currency, precious metals, etc.) are different at each branch. In addition, the bank transaction data is usually processed in a centralized manner, that is, the client entrusted transaction information of a plurality of branches is processed on one machine at the same time.
In the related technology, a common quotation matching mode is to read the quotations (including quotation attribute characteristics: types, branches, etc.) of the same batch of quotations of all branches into a memory, and match the elements in the memory one by one according to the attribute characteristics of the client entrusted transaction after receiving the client entrusted transaction information. When the amount of the client entrusted transaction information is large (more than hundreds of thousands of transactions generally) and the price changing speed of the international market is high (several times per second), a processing mode of matching the prices one by one consumes a large amount of CPU resources.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a server and a readable storage medium for processing entrusted transactions, so as to at least solve the problem that a processing manner of matching the quotation one by one in the related art will consume a large amount of CPU resources. The technical scheme of the disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a delegated transaction processing method including: reading entrusted transaction information to be processed; the to-be-processed entrusted transaction information comprises a first quote category identifier and a first server identifier; determining a storage address of a target quotation corresponding to the to-be-processed entrusted transaction information in a memory database according to the first quotation type identifier and the first server identifier; and determining the target price corresponding to the to-be-processed entrusted transaction information according to the storage address of the target price in the memory database.
In a possible implementation manner, before the step of reading the to-be-processed entrusted transaction information, the method further includes: acquiring the quotation information in each server; the price information in each server comprises a second server identifier and a second price category identifier; establishing a price array according to the price information in each server; reading the price array into the memory database; and the storage address of the quotation information in each server in the memory database is determined according to a second server identifier and a second quotation type identifier in the quotation information of each server.
In one possible implementation, the entrusted transaction processing method further includes: and writing the storage address of the target price in the memory database into the entrusted transaction information.
In a possible implementation manner, the determining, according to the first quote category identifier and the first server identifier, a storage address of a target quote corresponding to the to-be-processed delegated transaction information in an in-memory database includes: determining a category code according to the first price category identification; determining a mechanism code according to the first server identification; and determining a storage address according to the category code and the mechanism code.
According to a second aspect of embodiments of the present disclosure, there is provided an entrusted transaction processing apparatus including: a reading module configured to perform reading of the entrusted transaction information to be processed; the to-be-processed entrusted transaction information comprises a first quote category identifier and a first server identifier; the determining module is configured to determine a storage address of a target quotation corresponding to the to-be-processed entrusted transaction information in a memory database according to the first quotation type identifier and the first server identifier; and the addressing module is configured to determine the target price corresponding to the to-be-processed entrusted transaction information according to the storage address of the target price in the memory database.
In one possible implementation, the delegated transaction processing apparatus further includes a storage module configured to perform: acquiring the quotation information in each server; the price information in each server comprises a second server identifier and a second price category identifier; establishing a price array according to the price information in each server; reading the price array into the memory database; and the storage address of the quotation information in each server in the memory database is determined according to a second server identifier and a second quotation type identifier in the quotation information of each server.
In one possible implementation, the delegated transaction processing apparatus further comprises a processing module configured to perform: and writing the storage address of the target price in the memory database into the entrusted transaction information.
In one possible implementation, the determining module is further configured to perform: determining a category code according to the first price category identification; determining a mechanism code according to the first server identification; and determining a storage address according to the category code and the mechanism code.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the delegated transaction processing method of any of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium in which instructions, when executed by a processor of a server, enable the server to perform the delegated transaction processing method according to any of the first aspects.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when run on a server, cause the server to perform the delegated transaction processing method according to any of the first aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: after the entrusted transaction information to be processed is read, the storage address of the target quotation corresponding to the entrusted transaction information in the memory data is determined according to the first quotation type identification and the first server identification in the entrusted transaction information, and the target quotation corresponding to the entrusted transaction information is determined according to the storage address, so that the target quotation corresponding to the entrusted transaction information is positioned at one time, the target quotation is determined without comparing the entrusted transaction information with all the quotations of all branches stored in the memory data one by one, the unnecessary consumption of CPU resources is reduced, and the processing efficiency of the entrusted transaction is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of an implementation environment shown in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of delegated transaction processing according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another method of delegated transaction processing according to an exemplary embodiment;
FIG. 4 is a flow diagram illustrating another method of delegated transaction processing according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating an entrusted transaction processing arrangement in accordance with an illustrative embodiment;
FIG. 6 is a block diagram illustrating a server in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before describing the task processing method provided by the present disclosure in detail, the present disclosure will be briefly described with respect to terms, application scenarios and implementation environments.
First, terms related to the present disclosure are explained.
Entrusting the transaction: the transaction is made when the price of the transaction article meets the appointed transaction price.
Price making: the current price of the transaction article is the basis for judging whether the entrusted transaction is committed by the bank organization.
Secondly, the application scenario related to the present disclosure is briefly introduced.
Large-scale banking institutions generally have a plurality of first-level branch institutions. Due to different marketing strategies of the branches, the branches can change prices with different magnitudes for the same batch of prices in the international market, that is, the prices of each category (e.g., foreign currency, precious metals, etc.) are different at the branches. The client's entrusted transactions for each branch are processed by the bank organization in a unified manner on a server.
Because the price changing speed of the quotation of the international market is high (can reach several times per second), for the entrusted transaction of the client, after the quotation of the national market is changed, the branch institution to which the entrusted transaction belongs and the quotation of the branch institution to the transaction article of the entrusted transaction are searched, so that whether the entrusted transaction of the client meets the bargaining condition of the appointed transaction price or not is judged.
In the prior art, the technical scheme is that the appointed transaction price of the client's entrustment transaction is respectively compared with all the quotation prices of all the branch institutions stored in the server one by one so as to judge whether the client's entrustment transaction meets the bargaining condition of the appointed transaction price. However, the process of matching the quotes one by one consumes a lot of CPU resources.
In order to solve the problems, the present disclosure provides a method, an apparatus, a server and a readable storage medium for processing a delegated transaction, after the delegated transaction information to be processed is read, a storage address of a target price corresponding to the delegated transaction information in memory data is determined according to a first price type identifier and a first server identifier in the delegated transaction information, and the target price corresponding to the delegated transaction information is determined according to the storage address, so that one-time positioning of the target price corresponding to the delegated transaction information is realized, the target price does not need to be determined in a manner of comparing the delegated transaction information with all prices of all branches stored in the memory data one by one, unnecessary consumption of CPU resources is reduced, and processing efficiency of the delegated transaction is improved.
The following briefly introduces an implementation environment (implementation architecture) related to the present disclosure, as shown in fig. 1, which illustrates a schematic diagram of an implementation environment to which the present disclosure is applicable. The implementation environment may include a first server 110 and a second server 120, where the first server 110 may establish a connection with the second server 120 via a network (wired or wireless).
The first server 110 is a server used by a head office of a banking institution, and is a server for processing a client's entrusted transaction. The second server 120 is a server used by a first-level branch of the bank institution, after receiving the client's entrusted transaction, the branch enters the entrusted transaction information into the second server 120, the second server 120 sends the entrusted transaction information to the first server 110 through the network, and the first server 110 processes the client's entrusted transaction according to the received entrusted transaction information. In addition, the first-level branch determines a current bid price for each transaction item of the branch according to the bid price of the international market and the marketing strategy of the branch, and stores the current bid price to the second server 120. The first server 110 stores the current quotation of each transaction item of each branch office in the memory database through the current quotation of each transaction item of each branch office of the network, so as to be used for determining whether the client's entrusted transaction meets the bargaining condition of the designated transaction price.
In some embodiments, the first server 110 may be a server, or may be a server cluster composed of a plurality of servers. The second server 120 may be a single server, or may be a server cluster including a plurality of servers. The present disclosure is not limited thereto.
For the sake of understanding, the task processing method provided by the present disclosure is specifically described below with reference to the accompanying drawings.
Fig. 2 is a flowchart illustrating a delegated transaction processing method according to an exemplary embodiment, and as shown in fig. 2, the task processing method is executed by the first server 110, and includes the following steps 201 to 203.
In step 201, the pending commit transaction information is read.
The to-be-processed entrusted transaction information comprises a first quote category identification and a first server identification.
It should be noted that, after the first server 110 belonging to the head office acquires the entrusted transaction information of the customer from the second server of the branch office through the network, the to-be-processed entrusted transaction information of the customer is stored in the memory database of the first server 110. After the trade price of the international market changes every time, the first server 110 reads the to-be-processed entrusted transaction information so as to judge whether the current trade price of the transaction article in the entrusted transaction information is matched with the specified transaction price in the entrusted transaction information.
For example, the first quote category identifier may be determined according to the transaction item in the pending committed transaction information. The first server identification may be determined from a server to which the pending delegated transaction information belongs.
In step 202, a storage address of a target bid price corresponding to the to-be-processed commission transaction information in the memory database is determined according to the first bid price category identifier and the first server identifier.
It should be noted that, under the condition that the first quote category identifier is determined according to the trading goods, each trading goods corresponds to a unique first quote category identifier, and the first quote category identifiers corresponding to different trading goods are different. It will be appreciated that pending committed transaction information having the same transaction item has the same first quote category identification.
For example, the first quote class identifier may be any one of the numeric codes 1-100, for example, the first quote class identifier is 7 when the transaction item is gold.
It should be noted that, when the first server identifier is determined according to the server to which the to-be-processed delegated transaction information belongs, the first server identifiers determined by different servers are different. It will be appreciated that pending delegated transaction information belonging to the same server has the same first server identification.
Illustratively, the first server identification may be any one of the numeric codes 1-100, e.g., the identification of the server of the Shandong division is 14, and the corresponding first server identification is 14.
In step 203, the target price corresponding to the entrusted transaction information to be processed is determined according to the storage address of the target price in the memory database.
In one example, the pending committed transaction information also includes a specified transaction price. The target price is the current price of the trading item corresponding to the entrusted trading information to be processed.
For example, after determining the target quotation price corresponding to the to-be-processed consignment transaction information according to the storage address, the first server 110 matches the target quotation price with the specified transaction price in the to-be-processed consignment transaction information, and makes a deal with the to-be-processed consignment transaction information when the target quotation price is the same as the specified quotation price.
The technical scheme provided by the embodiment at least has the following beneficial effects: after the entrusted transaction information to be processed is read, the storage address of the target quotation corresponding to the entrusted transaction information in the memory data is determined according to the first quotation type identification and the first server identification in the entrusted transaction information, and the target quotation corresponding to the entrusted transaction information is determined according to the storage address, so that the target quotation corresponding to the entrusted transaction information is positioned at one time, the target quotation is determined without comparing the entrusted transaction information with all the quotations of all branches stored in the memory data one by one, the unnecessary consumption of CPU resources is reduced, and the processing efficiency of the entrusted transaction is improved.
In a possible implementation manner, as shown in fig. 3 in conjunction with fig. 2, before the step of reading the pending commission transaction information, the method further includes: step 204-step 206. The execution subject of step 204-step 206 is the first server 110.
In step 204, the information of the quote price in each server is obtained.
And the price information in each server comprises a second server identifier and a second price category identifier.
In one example, the first server 110 obtains the listing information in the second server 120. It is understood that after each price change in the international market, the prices of the branches change accordingly. Therefore, each time the price of the international market is changed, the first server 110 obtains the price information in the second server 120.
Each branch office has a plurality of transaction items, for example, the transaction items may be precious metals such as gold and silver, or foreign currencies. Wherein the category of the quote corresponds to the category of the transaction item.
It is understood that each server stores a plurality of price information, and each price information corresponds to one transaction article.
For example, the second server identifier in the listing information may be determined according to the identifier of the second server 120 described above. It will be appreciated that the second servers 120 of different branches have different identities and, therefore, the listing information for different servers has different second server identities.
In step 205, a bid amount array is constructed based on the bid information in each server.
It will be appreciated that each of the bid amounts has a different memory address in the bid amount array.
In step 206, the set of card prices is read into the in-memory database.
The storage address of the quotation information in each server in the memory database is determined according to the second server identification and the second quotation type identification in the quotation information of each server.
In one example, the second quote category identifier may be any one of 1-100 numeric codes. For example, when the quote category is gold, the corresponding second quote category is identified as 7. The second server identification may be any one of the numeric codes 1-100, for example, the identification of the server in the Shandong division is 14, and the corresponding second server identification is 14. It will be appreciated that the first quote category identifier is the same as the second quote category identifier and the first server identifier is the same as the second server identifier.
For example, the storage address of the quotation information in the memory database can be determined according to the following formula: and storing the address which is the second price category identification 100 plus the second server identification. For example, the server to which the quotation information belongs is a server in a Shandong branch, and when the quotation type is gold, the second quotation type identifier in the quotation information is 7, and the second server identifier is 14, and at this time, the storage address determined according to the above formula is 7 × 100+14 — 714. Therefore, when the price array is read into the memory database, the storage address of the price information stored in the memory data is 714 bits, that is, the gold price of the Shandong division is stored in 714 bits of the price array.
According to the technical scheme provided by the embodiment of the disclosure, the quotation information of each branch organization is stored in the memory data in the form of the quotation array, and the storage address of the quotation information in the quotation array is determined according to the second server identifier and the second quotation type identifier in the quotation information, so that the first server can conveniently obtain the current quotation of the transaction article corresponding to the consignment transaction information to be processed according to the storage address of the target quotation in the memory data after reading the consignment transaction information to be processed.
It should be noted that, when storing the quotation information of each server, the first service 110 determines the parameters and formulas used by the storage address of each quotation information, and the parameters and formulas used by the first server 110 when determining the storage address of the target quotation corresponding to the to-be-processed consignment transaction information are the same, so that the storage address of the target quotation corresponding to the to-be-processed consignment transaction information in the memory database is ensured, the current quotation of the transaction item in the to-be-processed consignment transaction information can be accurately positioned, and further, whether the current quotation is consistent with the specified transaction price in the to-be-processed consignment transaction information is accurately matched, and the accuracy and efficiency of consignment transaction information processing are improved.
In one possible implementation, the entrusted transaction processing method further includes: and writing the storage address of the target price in the memory database into the entrusted transaction information.
In an example, after the first server 110 reads the to-be-processed commission transaction information, a field for a storage address of the target price corresponding to the commission transaction information in the memory database may be added to the commission transaction information. By storing the storage address of the target price corresponding to the entrusted transaction information in the memory database in the entrusted transaction information, when the target price corresponding to the entrusted transaction information needs to be searched, the memory address can be directly read from the entrusted transaction information, and the storage address does not need to be repeatedly determined every time the target price corresponding to the transaction information is searched, so that the consumption of CPU (Central processing Unit) resources is further reduced, and the processing efficiency of entrusted transaction is improved.
In another example, the affiliate is entering the client's delegated transaction into the second server 120 as pending delegated transaction information. The second server 120 adds a field to the pending commission transaction information, wherein the added field is used for a storage address of a target price corresponding to the commission transaction information in the memory database. By storing the storage address of the target price corresponding to the entrusted transaction information in the memory database in the entrusted transaction information, when the target price corresponding to the entrusted transaction information needs to be searched, the memory address can be directly read from the entrusted transaction information, and the storage address does not need to be repeatedly determined every time the target price corresponding to the transaction information is searched, so that the consumption of CPU (Central processing Unit) resources is further reduced, and the processing efficiency of entrusted transaction is improved.
In one possible implementation, as shown in FIG. 4 in conjunction with FIG. 2, step 202 includes steps 202 a-202 c.
In step 202a, a category code is determined based on the first quote category identifier.
For example, the first quote category identifier may be any one of the numeric codes 1-100, with different traded items having different first quote category identifiers. For example, when the transaction item is gold, the first quote category is identified as 7. When the transaction item is silver, the first quote category label is 8.
In one example, when the first quote category is identified as 7, the corresponding category is coded as 7.
In step 202b, the mechanism code is determined based on the first server identification.
For example, the first server identifier may be any one of 1-100 numeric codes, and when the branch offices to which the to-be-processed delegated transaction information belongs are different, the first server identifiers of the to-be-processed delegated transaction information are different. For example, the first server of the pending delegated transaction information belonging to the shandong branch is identified as 14, and the first server of the pending delegated transaction information belonging to the Qingdao branch is identified as 15.
In step 202c, a memory address is determined based on the category code and the organization code.
For example, the storage address of the target quote price corresponding to the pending commission transaction information in the memory database may be determined according to the following formula: the storage address is the category code 100+ the mechanism code. For example, when the branch to which the pending request transaction information belongs is a shandong branch and the transaction item is gold, the storage address of the target bid price corresponding to the pending request transaction information in the memory database is 7 × 100+14 — 714, that is, the storage address is 714.
According to the technical scheme provided by the embodiment of the disclosure, the category code is determined through the first price category identifier, the mechanism code is determined according to the first server identifier, and then the storage address is determined according to the category code and the mechanism code, so that different storage addresses determined by the same category of transaction articles of different branches can be ensured, different storage addresses determined by different category of transaction articles of the same branch can be ensured, the accuracy of target price positioning corresponding to the entrusted transaction information to be processed is improved, and the safety of entrusted transaction processing is improved.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the disclosure also provides a entrusted transaction processing device.
Figure 5 is a block diagram illustrating an entrusted transaction processing arrangement according to an example embodiment. The delegation transaction processing apparatus may be applied to the first server 110 in the above embodiment, may be a CPU in the first server 110, and may be a control module for processing delegation transactions in the first server 110. Referring to fig. 5, the entrusted transaction processing apparatus includes a reading module 501, a determining module 502 and an addressing module 503.
The reading module 501 is configured to perform reading of pending delegated transaction information; the pending delegated transaction information includes a first quote category identification and a first server identification. For example, in conjunction with fig. 2, the reading module 501 may be used to perform step 201.
The determining module 502 is configured to determine a storage address of a target bid price corresponding to the pending committed transaction information in the memory database according to the first bid price category identifier and the first server identifier. For example, in conjunction with fig. 2, the determination module 502 may be used to perform step 202.
The addressing module 503 is configured to determine a target price corresponding to the pending committed transaction information according to the storage address of the target price in the memory database. For example, in conjunction with fig. 2, the addressing module 503 may be used to perform S203.
In one possible implementation, the delegated transaction processing apparatus further includes a storage module configured to perform: acquiring the quotation information in each server; the price information in each server comprises a second server identifier and a second price category identifier; establishing a price array according to the price information in each server; reading the card price array into a memory database; and the storage address of the quotation information in each server in the memory database is determined according to the second server identifier and the second quotation type identifier in the quotation information of each server. For example, in connection with FIG. 3, a memory module may be used to perform steps 204-206.
In one possible implementation, the delegated transaction processing apparatus further comprises a processing module configured to perform: and writing the storage address of the target price in the memory database into the entrusted transaction information.
In one possible implementation, the determining module 502 is further configured to perform: determining a category code according to the first price category identification; determining a mechanism code according to the first server identification; and determining the storage address according to the category code and the mechanism code. For example, in conjunction with fig. 4, the determination module 502 may also be configured to perform steps 202 a-202 c.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a server according to an exemplary embodiment, where the server 600 may have a large difference due to different configurations or performances, and may include one or more processors 601 and one or more memories 602. The memory 602 stores therein at least one instruction, and the at least one instruction is loaded and executed by the processor 601 to implement the delegated transaction processing method provided by the above-described method embodiments, for example, steps 201 to 206. Of course, the server 600 may also include other components for implementing the functions of the device, which are not described herein.
In actual implementation, the obtaining module 501, the security level module 502 and the suspending module 503 can be implemented by the processor 501 calling the program code in the memory 502 shown in fig. 4. The specific implementation process may refer to the description of the parts of the delegated transaction processing method shown in any one of fig. 2 to 4, which is not described herein again.
In an exemplary embodiment, the disclosed embodiment further provides a computer-readable storage medium including instructions, such as a memory 602 including instructions, which are executable by a processor 601 of the server 600 to perform the delegated transaction processing method in steps 201-206 described above.
Alternatively, the computer-readable storage medium may be a non-transitory computer-readable storage medium, which may be, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, the disclosed embodiment further provides a computer program product including one or more instructions executable by the processor 601 of the server 600 to perform the delegated transaction processing method in steps 201-206 described above.
It should be noted that the instructions in the computer-readable storage medium or one or more instructions in the computer program product are executed by the processor 601 of the server 600 to implement the processes of the task processing method embodiment, and the technical effects same as those of the steps 201 to 206 of the entrusted transaction processing method can be achieved, and are not repeated here to avoid repetition.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A method of processing a delegated transaction, comprising:
reading entrusted transaction information to be processed; the to-be-processed entrusted transaction information comprises a first quote category identifier and a first server identifier;
determining a storage address of a target quotation corresponding to the to-be-processed entrusted transaction information in a memory database according to the first quotation type identifier and the first server identifier;
and determining the target price corresponding to the to-be-processed entrusted transaction information according to the storage address of the target price in the memory database.
2. The delegated transaction processing method according to claim 1, wherein said step of reading delegated transaction information to be processed is preceded by:
acquiring the quotation information in each server; the price information in each server comprises a second server identifier and a second price category identifier;
establishing a price array according to the price information in each server;
reading the price array into the memory database; and the storage address of the quotation information in each server in the memory database is determined according to a second server identifier and a second quotation type identifier in the quotation information of each server.
3. The delegated transaction processing method according to claim 1, further comprising:
and writing the storage address of the target price in the memory database into the entrusted transaction information.
4. The delegated transaction processing method according to any of claims 1 to 3, wherein the determining, according to the first quote category identifier and the first server identifier, a storage address of a target quote corresponding to the delegated transaction information to be processed in the memory database comprises:
determining a category code according to the first price category identification;
determining a mechanism code according to the first server identification;
and determining a storage address according to the category code and the mechanism code.
5. An entrusted transaction processing apparatus comprising:
a reading module configured to perform reading of the entrusted transaction information to be processed; the to-be-processed entrusted transaction information comprises a first quote category identifier and a first server identifier;
the determining module is configured to determine a storage address of a target quotation corresponding to the to-be-processed entrusted transaction information in a memory database according to the first quotation type identifier and the first server identifier;
and the addressing module is configured to determine the target price corresponding to the to-be-processed entrusted transaction information according to the storage address of the target price in the memory database.
6. The delegated transaction processing apparatus of claim 5 further comprising a storage module configured to perform:
acquiring the quotation information in each server; the price information in each server comprises a second server identifier and a second price category identifier;
establishing a price array according to the price information in each server;
reading the price array into the memory database; and the storage address of the quotation information in each server in the memory database is determined according to a second server identifier and a second quotation type identifier in the quotation information of each server.
7. The delegated transaction processing apparatus of claim 5 further comprising a processing module configured to perform:
and writing the storage address of the target price in the memory database into the entrusted transaction information.
8. The delegated transaction processing apparatus of claim 5 wherein the determination module is further configured to perform:
determining a category code according to the first price category identification;
determining a mechanism code according to the first server identification;
and determining a storage address according to the category code and the mechanism code.
9. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the delegated transaction processing method of any of claims 1-4.
10. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the delegated transaction processing method of any of claims 1-4.
11. A computer program product, characterized in that it comprises computer instructions which, when run on a server, cause the server to execute the delegated transaction processing method according to any of claims 1-4.
CN202110695075.6A 2021-06-22 2021-06-22 Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium Pending CN113421161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110695075.6A CN113421161A (en) 2021-06-22 2021-06-22 Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110695075.6A CN113421161A (en) 2021-06-22 2021-06-22 Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium

Publications (1)

Publication Number Publication Date
CN113421161A true CN113421161A (en) 2021-09-21

Family

ID=77716173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110695075.6A Pending CN113421161A (en) 2021-06-22 2021-06-22 Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN113421161A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4473824A (en) * 1981-06-29 1984-09-25 Nelson B. Hunter Price quotation system
CN1124528A (en) * 1993-04-05 1996-06-12 普赖泽有限公司 System for electronic price labels
CN105869051A (en) * 2016-03-25 2016-08-17 北京资配易投资顾问有限公司 Information processing method, device and system
CN111144975A (en) * 2019-12-06 2020-05-12 港融科技有限公司 Order matching method, server and computer readable storage medium
CN111429236A (en) * 2020-04-21 2020-07-17 重庆新致金服信息技术有限公司 Trading system and method for market maker trading mode
CN111861639A (en) * 2020-06-28 2020-10-30 深圳市中农易讯信息技术有限公司 Financial transaction matching method and system
CN112132685A (en) * 2020-09-29 2020-12-25 中国银行股份有限公司 Information processing method and device, computer equipment and computer readable storage medium
CN112669158A (en) * 2021-01-06 2021-04-16 深圳市金证科技股份有限公司 Transaction system and control method and device of transaction service thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4473824A (en) * 1981-06-29 1984-09-25 Nelson B. Hunter Price quotation system
CN1124528A (en) * 1993-04-05 1996-06-12 普赖泽有限公司 System for electronic price labels
CN105869051A (en) * 2016-03-25 2016-08-17 北京资配易投资顾问有限公司 Information processing method, device and system
CN111144975A (en) * 2019-12-06 2020-05-12 港融科技有限公司 Order matching method, server and computer readable storage medium
CN111429236A (en) * 2020-04-21 2020-07-17 重庆新致金服信息技术有限公司 Trading system and method for market maker trading mode
CN111861639A (en) * 2020-06-28 2020-10-30 深圳市中农易讯信息技术有限公司 Financial transaction matching method and system
CN112132685A (en) * 2020-09-29 2020-12-25 中国银行股份有限公司 Information processing method and device, computer equipment and computer readable storage medium
CN112669158A (en) * 2021-01-06 2021-04-16 深圳市金证科技股份有限公司 Transaction system and control method and device of transaction service thereof

Similar Documents

Publication Publication Date Title
CN110232565B (en) Resource clearing method, device, computer equipment and storage medium
CN104753909B (en) Method for authenticating after information updating, Apparatus and system
CN110955724A (en) Data processing method and device based on block chain, node equipment and storage medium
CN108897729B (en) Transaction template sharing method and device, electronic equipment and storage medium
CN108229925B (en) Data matching method and system for electronic receipt
CN111475532B (en) Data processing optimization method and device, storage medium and terminal
US20190095895A1 (en) Support Messages Based on Merchant Account Context
CN112286790A (en) Full link test method, device, equipment and storage medium
CN106874080B (en) Data calculation method and system based on distributed server cluster
CN113159733A (en) Online processing method, device and equipment for accumulation fund extraction service and storage medium
CN110826991B (en) Electronic receipt processing system and method
CN113421161A (en) Entrusted transaction processing method, entrusted transaction processing device, server and readable storage medium
CN116797345A (en) Task processing method, device, computer equipment and storage medium
CN115168509A (en) Processing method and device of wind control data, storage medium and computer equipment
US8412535B2 (en) Negotiation support systems and methods
CN112686676A (en) Industrial Internet identification chain processing method, device and equipment
CN112001792B (en) Configuration information consistency detection method and device
CN113313600B (en) Message processing method, device and system, storage medium and electronic device
CN112419623A (en) Identification conversion method, system, device and medium for one-object-one-code settlement
CN111291889A (en) Knowledge base construction method and device
CN115080963B (en) Intelligent financial data protection method and server based on cloud computing
CN116308743A (en) Credit card data processing method and device based on scenerization parameter system
CN114840249B (en) Gray scale release method, device and equipment of centralized service system
CN116051018B (en) Election processing method, election processing device, electronic equipment and computer readable storage medium
CN116703505A (en) Order information judging method and device

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