CN102868600A - Method and system for multi-threaded packet forwarding - Google Patents

Method and system for multi-threaded packet forwarding Download PDF

Info

Publication number
CN102868600A
CN102868600A CN201210332655XA CN201210332655A CN102868600A CN 102868600 A CN102868600 A CN 102868600A CN 201210332655X A CN201210332655X A CN 201210332655XA CN 201210332655 A CN201210332655 A CN 201210332655A CN 102868600 A CN102868600 A CN 102868600A
Authority
CN
China
Prior art keywords
bureau
finance
bank
message
processing threads
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
CN201210332655XA
Other languages
Chinese (zh)
Other versions
CN102868600B (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.)
Beijing UYU Government Software Co.,Ltd.
Original Assignee
BEIJING UFIDA SOFTWARE CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING UFIDA SOFTWARE CO LTD filed Critical BEIJING UFIDA SOFTWARE CO LTD
Priority to CN201210332655.XA priority Critical patent/CN102868600B/en
Publication of CN102868600A publication Critical patent/CN102868600A/en
Application granted granted Critical
Publication of CN102868600B publication Critical patent/CN102868600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method and a system for multi-threaded packet forwarding. At first, a bank proxy object and a finance bureau proxy object are respectively established for a bank and a finance bureau, a plurality of processing threads and a special thread are set for the proxy objects, wherein the special thread is used for receiving business packets beyond the system; and when a business packet is received by the special thread, the finance bureau or the bank to which the business packet is sent is searched according to packet header identifies of the business packet, the processing thread of the finance bureau or the bank is searched according to a business type, the business packet is stored in a special message queue of the processing thread, and the processing thread is started to process the business packet. By adopting the method and the system, configurable many-to-many and two-way real-time data exchange can be realized. In addition, all the processing threads work in a waiting-response multi-threaded mode, and computer resources can be saved.

Description

A kind of multithreading message forwarding method and system
Technical field
The present invention relates to the real time data switching system, be specifically related to a kind of multithreading message forwarding method and system.
Background technology
Along with development and the every profession and trade informatization gradual perfection of information technology, there is the requirement of real time data exchange between newly-built, the old software systems or between the software systems of different user.For the real time data that solves between the software is exchangeed problem, all kinds of one to one, real time data switching system or the technology of one-to-many or multi-to-multi arise at the historic moment.
By Ministry of Finance's requirement, the business operation that relates to the allocation of the funds, payment, clearance in the financial operation all will be finished jointly by the finance department and bank.Take Jiangxi Financial Ofiice's district finance application system as example, the unified plan of the whole province's wealth (political affairs) silver (OK) data interchange platform is in the province Room, serve simultaneously more than 30 whole nation of the whole province of relating to the financial fund business and local bank, more than 130 districts and cities (district) Bureau of Finance, up to ten thousand budget entities, and financial operation system and banking system all are real-time systems, just to stability, reliability, the extensibility of wealth silver data interchange platform, particularly communications protocol compatibility, data transmit-receive accuracy and system responses real-time have proposed high requirement for this.By analysis, existing wealth silver data exchange system mostly has following part or all of shortcoming:
Figure BDA00002117930500011
Can only be one to one or the one-to-many exchanges data, can not satisfy the functional requirement of Jiangxi Province Duo Jia bank and a plurality of Bureau of Finances multi-to-multi exchanges data;
Figure BDA00002117930500012
Unidirectional real time data exchange can only be provided, can not satisfy simultaneously financial two-way real time data exchange is arrived in finance to bank and bank functional requirement;
Figure BDA00002117930500013
The built-in message forwarding module is single thread mode, and efficient is lower.
Summary of the invention
For the defective that exists in the prior art, the object of the present invention is to provide a kind of multithreading message forwarding method and system, realize the exchange of wealth silver data interchange platform multi-to-multi real-time packet data, improve the efficient of message repeating.
For achieving the above object, the technical solution used in the present invention is as follows:
A kind of multithreading message forwarding method may further comprise the steps:
(1) be that every bank creates bank's agent object, for each Bureau of Finance creates Bureau of Finance's agent object; Described bank agent object E-Packets for the treatment of wealth silver data interchange platform and banking system; Described Bureau of Finance agent object E-Packets for the treatment of wealth silver data interchange platform and Bureau of Finance's operation system; Described wealth silver data interchange platform refers to the operation exchange platform of banking system and Bureau of Finance's operation system;
(2) for each bank's agent object bank's dedicated thread and a plurality of banks processing threads are set, for each Bureau of Finance's agent object arranges Bureau of Finance's dedicated thread and a plurality of Bureau of Finances processing threads; Described bank dedicated thread is used for receiving the service message that Bureau of Finance's operation system sends to banking system; Described Bureau of Finance dedicated thread is used for receiving the service message that banking system sends to Bureau of Finance's operation system;
(3) check whether bank's dedicated thread/Bureau of Finance's dedicated thread receives the service message of Bureau of Finance's operation system/banking system, if then enter step (4), repeating step (3) then if not; Described service message comprises the heading sign; Described heading sign comprises bank or the ID of the Bureau of Finance and the type of service that the bank in service message source or the ID of the Bureau of Finance, service message will send to;
(4) search corresponding bank processing threads or Bureau of Finance's processing threads according to the heading sign of service message, start bank's processing threads or the Bureau of Finance's processing threads service message is processed.
Further, aforesaid a kind of multithreading message forwarding method, each bank's processing threads have bank's proprietary message queue to be used for depositing the pending service message that banking system inside forwards; Each financial operation processing threads has Bureau of Finance's proprietary message queue to be used for depositing the pending service message that Bureau of Finance operation system inside forwards.
Further, aforesaid a kind of multithreading message forwarding method, in the step (4), described bank processing threads and Bureau of Finance's processing threads all are operated under wait-response modes, when depositing service message in the corresponding proprietary message queue of processing threads, processing threads transfers operating state to by wait state and carries out the service message processing.This mode of operation can not consume cpu resource when thread is in wait state.
Further, aforesaid a kind of multithreading message forwarding method, wealth silver data interchange platform is provided with Global Queue's mapping table, and each bank's proprietary message queue and Bureau of Finance's proprietary message queue will be registered to its relevant information in Global Queue's mapping table; Described relevant information comprises the bank of proprietary message queue or the ID of the Bureau of Finance, type of service, message queue ID.
Further, aforesaid a kind of multithreading message forwarding method, in the step (4), the concrete mode that startup bank's processing threads or Bureau of Finance's processing threads are processed service message is as follows:
1) from Global Queue's mapping table, searches bank or the Bureau of Finance that service message will send to according to bank or the ID of the Bureau of Finance in the heading sign;
2) search corresponding bank's processing threads or the Bureau of Finance's processing threads of bank or the Bureau of Finance according to type of service;
3) service message is saved in the proprietary message queue of bank's processing threads or financial operation processing threads, the corresponding processing threads of proprietary message queue transfers operating state to from wait state and begins to process service message data the proprietary message queue.
Further, aforesaid a kind of multithreading message forwarding method is in the step (3), after processing threads is handled service message, processing threads enters wait state by operating state automatically, until there is new service message to put in the corresponding proprietary message queue of processing threads.
A kind of multithreading message forwarding system comprises:
Agent object creation module: be used to every bank to create bank's agent object, for each Bureau of Finance creates Bureau of Finance's agent object; Described bank agent object is for the treatment of the message of wealth silver data interchange platform and banking system; Described Bureau of Finance agent object is for the treatment of the message of wealth silver data interchange platform and Bureau of Finance's operation system;
Processing threads arranges module: be used to each bank's agent object that a plurality of banks processing threads is set, for each Bureau of Finance's agent object arranges a plurality of financial operation processing threads; The service message that described bank processing threads forwards for the treatment of banking system inside; The service message that described financial operation processing threads forwards for the treatment of Bureau of Finance operation system inside;
Dedicated thread creation module: be used to each bank's agent object that bank's dedicated thread is set, for each Bureau of Finance's agent object arranges Bureau of Finance's dedicated thread; Described bank dedicated thread is used for receiving the service message that Bureau of Finance's operation system sends to banking system; Described Bureau of Finance dedicated thread is used for receiving the service message that banking system sends to Bureau of Finance's operation system;
Dedicated thread is checked module: check whether bank's dedicated thread/Bureau of Finance's dedicated thread receives the service message of Bureau of Finance's operation system/banking system, if then enter message processing module (MPM), then continue if not to check; Described service message comprises the heading sign; Described heading sign comprises bank or the ID of the Bureau of Finance and type of service;
Message processing module (MPM): for searching corresponding bank's processing threads or Bureau of Finance's processing threads according to the heading sign of service message to the processing of service message.
Further, aforesaid a kind of multithreading message forwarding system, according to configuration information, bank's processing threads and Bureau of Finance's processing threads are processed the service message of different service types.
Further, aforesaid a kind of multithreading message forwarding system, wealth silver data interchange platform is provided with Global Queue's mapping table, and each bank's proprietary message queue and Bureau of Finance's proprietary message queue will be registered to its relevant information in Global Queue's mapping table; Described relevant information comprises the bank of proprietary message queue or the ID of the Bureau of Finance, type of service, message queue ID.
Further, aforesaid a kind of multithreading message forwarding system, described message processing module (MPM) comprises:
Search the unit: from Global Queue's mapping table, search bank or the Bureau of Finance that service message will send to according to bank or the ID of the Bureau of Finance in the heading sign with sending;
Processing threads is searched the unit: be used for searching corresponding bank's processing threads or the Bureau of Finance's processing threads of bank or the Bureau of Finance according to type of service;
The service message processing unit: be used for service message is saved in the proprietary message queue of bank's processing threads or financial operation processing threads, the corresponding processing threads of proprietary message queue transfers operating state to from wait state and begins to process service message data the proprietary message queue.
Beneficial effect of the present invention is: method and system of the present invention, by a plurality of processing threads being set for bank's agent object and Bureau of Finance's agent object, be provided for simultaneously the dedicated thread of banking system and Bureau of Finance's operation system exchanges data, realized the exchange of two-way real-time multi-to-multi data between the two, and can be according to sorting, the forwarding of message traffic type to built-in message.
Description of drawings
Fig. 1 is the work schematic diagram of a kind of multithreading message forwarding system of the present invention;
Fig. 2 is the structured flowchart of a kind of multithreading message forwarding system of the present invention;
Fig. 3 is the flow chart of a kind of multithreading message forwarding method of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with Figure of description and embodiment.
Fig. 1 and Fig. 2 show respectively work schematic diagram and the structured flowchart of a kind of multithreading message forwarding system of the present invention, as can be seen from Figure, this system comprises that mainly agent object creation module 11, processing threads arrange module 12, dedicated thread creation module 13, dedicated thread and check module 14 and message processing module (MPM) 15, wherein
Agent object creation module 11 is used to every bank to create bank's agent object, for each Bureau of Finance creates Bureau of Finance's agent object; Bank's agent object is for the treatment of the message of wealth silver data interchange platform and banking system; Bureau of Finance's agent object is for the treatment of the message of wealth silver data interchange platform and Bureau of Finance's operation system;
Processing threads arranges module 12 and is used to each bank's agent object that a plurality of banks processing threads is set, for each Bureau of Finance's agent object arranges a plurality of financial operation processing threads; The service message that bank's processing threads forwards for the treatment of banking system inside; The service message that the financial operation processing threads forwards for the treatment of Bureau of Finance operation system inside.
Dedicated thread creation module 13 is used to each bank's agent object that bank's dedicated thread is set, for each Bureau of Finance's agent object arranges Bureau of Finance's dedicated thread; Bank's dedicated thread is used for receiving the service message that Bureau of Finance's operation system sends to banking system; Bureau of Finance's dedicated thread is used for receiving the service message that banking system sends to Bureau of Finance's operation system;
Dedicated thread checks that module 14 is used for checking whether bank's dedicated thread/Bureau of Finance's dedicated thread receives the service message of Bureau of Finance's operation system/banking system, if then enter message processing module (MPM) 15, then continues to check if not; Described service message comprises the heading sign; Described heading sign comprises bank or the ID of the Bureau of Finance and type of service;
Message processing module (MPM) 15 is for searching corresponding bank's processing threads or Bureau of Finance's processing threads according to the heading sign of service message to the processing of service message.By finding out among Fig. 2, message processing module (MPM) 15 comprised be used for according to the bank of heading sign or the ID of the Bureau of Finance from Global Queue's mapping table, search bank that service message will send to or the Bureau of Finance transmission search unit 151, search unit 152 for search bank's processing threads corresponding to bank or the Bureau of Finance or the processing threads of Bureau of Finance's processing threads according to type of service, and the proprietary message queue that is used for service message is saved in bank's processing threads or financial operation processing threads, the corresponding processing threads of proprietary message queue transfers the service message processing unit 153 that operating state begins to process the service message data the proprietary message queue to from wait state.
When this system is forwarded to the Bureau of Finance that it will transmit at the service message with banking system, at first by the agency 11 of bank the service message in bank's communication front end processor is sent to wealth silver data interchange platform, comprise heading sign (the ID of the Bureau of Finance and type of service that it will send to) in the service message, at this moment, find the Bureau of Finance that service message will send to according to the ID of the Bureau of Finance in the heading sign, and find the processing threads of processing the type service message according to type of service, service message is saved in the corresponding proprietary message queue of processing threads, when being put into by message in the proprietary message queue, the processing threads under the proprietary message queue can be notified and become operating state from wait state and begin to process message data the proprietary message queue.For saving computer resource, this thread entered wait state (Waiting) automatically until the notice (Notify) that has new message to put into after all message datas were finished dealing with.Because initialization was finished when Global Queue's mapping table started in system, can not revise relevant information during operation, so can be by a plurality of thread Concurrency Access in this Global Queue's mapping table.
Fig. 3 shows the flow chart based on the multithreading message forwarding method of Fig. 1 and a kind of multithreading message forwarding system of Fig. 2, and the method may further comprise the steps:
Step S11: for bank creates bank's agent object, for the Bureau of Finance creates Bureau of Finance's agent object;
Wealth silver data interchange platform will be supported two-way, real-time, the high concurrent reciprocal exchange of business data in many whole nations and local bank and the Bureau of Finance, method and system of the present invention, at first inner at data interchange platform, for every bank creates bank's agent object, be responsible for the message of silver-colored data interchange platform and banking system (bank's communication front end processor) and process.For each Bureau of Finance creates Bureau of Finance's agent object, be responsible for the message processing that wealth silver data interchange platform refers to banking system and Bureau of Finance's operation system.
Step S12: for bank's agent object arranges bank's dedicated thread and a plurality of banks processing threads, for Bureau of Finance's agent object arranges Bureau of Finance's dedicated thread and Bureau of Finance's processing threads;
For arranging a plurality of (1 ~ N) bank's processing threads, each bank's agent object is used for processing the service message that the banking internal system forwards; For arranging a plurality of (1 ~ N) financial operation processing threads, each Bureau of Finance's agent object is used for processing the service message that Bureau of Finance operation system inside forwards.Wherein, the processing threads of bank's agent object is send-thread, and the processing threads of Bureau of Finance's agent object is to reply thread.According to configuration information, send-thread or reply the message data that thread can be processed a kind or N kind type of service.Each bank's processing threads has bank's proprietary message queue to be used for temporarily depositing the pending service message that banking system inside forwards; Each financial operation processing threads has Bureau of Finance's proprietary message queue to be used for temporarily depositing the pending service message that Bureau of Finance operation system inside forwards.Bank's proprietary message queue and Bureau of Finance's proprietary message queue all adopt fifo algorithm, and are operated under wait-response multithread mode.The message queue of the search correspondence when transmitting for ease of inside, all proprietary message queue all will be registered relevant information (Bureau of Finance or the ID of bank, type of service, message queue ID) in Global Queue's mapping table of wealth silver data interchange platform.
For arranging bank's dedicated thread, each bank's agent object is used for receiving the service message that Bureau of Finance's operation system sends to banking system; For arranging Bureau of Finance's dedicated thread, each Bureau of Finance's agent object is used for receiving the service message that banking system sends to Bureau of Finance's operation system.Bank's dedicated thread is receiving thread, and Bureau of Finance's dedicated thread is request thread.
Step S13: monitoring bank's dedicated thread and Bureau of Finance's dedicated thread;
Check whether bank's dedicated thread/Bureau of Finance's dedicated thread receives the service message of Bureau of Finance's operation system/banking system, if then enter step S14, then repeat if not this step; Service message comprises the heading sign; Described heading sign comprises bank or the ID of the Bureau of Finance and type of service.
Step S14: start the processing threads message of managing business.
Heading sign according to service message is searched corresponding bank's processing threads or Bureau of Finance's processing threads, starts bank's processing threads or the Bureau of Finance's processing threads service message is processed.The concrete mode that service message is processed is as follows:
1) from Global Queue's mapping table, searches bank or the Bureau of Finance that service message will send to according to bank or the ID of the Bureau of Finance in the heading sign;
2) search corresponding bank's processing threads or the Bureau of Finance's processing threads of bank or the Bureau of Finance according to type of service;
3) service message is saved in the proprietary message queue of bank's processing threads or financial operation processing threads, the corresponding processing threads of proprietary message queue transfers operating state to from wait state and begins to process service message data the proprietary message queue.
When receiving thread or request thread are received service message outside the system, " Bureau of Finance or the ID of bank ", " type of service " according to the heading sign are searched corresponding processing threads " message queue ID " from Global Queue's mapping table, and this service message is put into this message queue.When message queue had message to put into, the processing threads under the message queue can be notified (Notify) and become operating state (Running) from wait state (Waiting) and begin to process message data the proprietary message queue.For saving computer resource, this thread entered wait state (Waiting) automatically until the notice (Notify) that has new message to put into after all message datas were finished dealing with.Because initialization was finished when Global Queue's mapping table started in system, can not revise relevant information during operation, so can be by a plurality of thread Concurrency Access in this Global Queue's mapping table.
Method and system of the present invention.Take full advantage of the characteristic of computer multi miniprocessor, multi-thread concurrent processing, introduced " based on the multithreading message forwarding system of wait-response modes and formation mapping " implementation method of similar materials-sorting system, thereby the multi-thread concurrent that realizes configurable multi-to-multi exchanges data and the exchange of two-way real time data and forwarding is processed.The method and system are applicable to all kinds of real time data switching systems.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technology thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. multithreading message forwarding method may further comprise the steps:
(1) be that every bank creates bank's agent object, for each Bureau of Finance creates Bureau of Finance's agent object; Described bank agent object E-Packets for the treatment of wealth silver data interchange platform and banking system; Described Bureau of Finance agent object E-Packets for the treatment of wealth silver data interchange platform and Bureau of Finance's operation system; Described wealth silver data interchange platform refers to the operation exchange platform of banking system and Bureau of Finance's operation system;
(2) for each bank's agent object bank's dedicated thread and a plurality of banks processing threads are set, for each Bureau of Finance's agent object arranges Bureau of Finance's dedicated thread and a plurality of Bureau of Finances processing threads; Described bank dedicated thread is used for receiving the service message that operation system system of the Bureau of Finance sends to banking system; Described Bureau of Finance dedicated thread is used for receiving the service message that banking system sends to Bureau of Finance's operation system;
(3) check whether bank's dedicated thread/Bureau of Finance's dedicated thread receives the service message of Bureau of Finance's operation system/banking system, if then enter step (4), repeating step (3) then if not; Described service message comprises the heading sign; Described heading sign comprises bank or the ID of the Bureau of Finance and the type of service that the bank in service message source or the ID of the Bureau of Finance, service message will send to;
(4) search corresponding bank processing threads or Bureau of Finance's processing threads according to the heading sign of service message, start bank's processing threads or the Bureau of Finance's processing threads service message is processed.
2. a kind of multithreading message forwarding method as claimed in claim 1, it is characterized in that: each bank's processing threads has bank's proprietary message queue to be used for depositing the pending service message that banking system inside forwards; Each financial operation processing threads has Bureau of Finance's proprietary message queue to be used for depositing the pending service message that Bureau of Finance operation system inside forwards.
3. a kind of multithreading message forwarding method as claimed in claim 2, it is characterized in that: in the step (4), described bank processing threads and Bureau of Finance's processing threads all are operated under wait-response modes, when depositing service message in the corresponding proprietary message queue of processing threads, processing threads transfers operating state to by wait state and carries out the service message processing.
4. a kind of multithreading message forwarding method as claimed in claim 3, it is characterized in that: wealth silver data interchange platform is provided with Global Queue's mapping table, and each bank's proprietary message queue and Bureau of Finance's proprietary message queue will be registered to its relevant information in Global Queue's mapping table; Described relevant information comprises the bank of proprietary message queue or the ID of the Bureau of Finance, type of service, message queue ID.
5. a kind of multithreading message forwarding method as claimed in claim 4 is characterized in that: in the step (4), it is as follows to start the concrete mode that bank's processing threads or Bureau of Finance's processing threads process service message:
1) from Global Queue's mapping table, searches bank or the Bureau of Finance that service message will send to according to bank or the ID of the Bureau of Finance in the heading sign;
2) search corresponding bank's processing threads or the Bureau of Finance's processing threads of bank or the Bureau of Finance according to type of service;
3) service message is saved in the proprietary message queue of bank's processing threads or financial operation processing threads, the corresponding processing threads of proprietary message queue transfers operating state to from wait state and begins to process service message data the proprietary message queue.
6. a kind of multithreading message forwarding method as claimed in claim 5, it is characterized in that: in the step (3), after processing threads is handled service message, processing threads enters wait state by operating state automatically, until there is new service message to put in the corresponding proprietary message queue of processing threads.
7. multithreading message forwarding system comprises:
Agent object creation module: be used to every bank to create bank's agent object, for each Bureau of Finance creates Bureau of Finance's agent object; Described bank agent object is for the treatment of the message of wealth silver data interchange platform and banking system; Described Bureau of Finance agent object is for the treatment of the message of wealth silver data interchange platform and Bureau of Finance's operation system;
Processing threads arranges module: be used to each bank's agent object that a plurality of banks processing threads is set, for each Bureau of Finance's agent object arranges a plurality of financial operation processing threads; The service message that described bank processing threads forwards for the treatment of banking system inside; The service message that described financial operation processing threads forwards for the treatment of Bureau of Finance operation system inside;
Dedicated thread creation module: be used to each bank's agent object that bank's dedicated thread is set, for each Bureau of Finance's agent object arranges Bureau of Finance's dedicated thread; Described bank dedicated thread is used for receiving the service message that Bureau of Finance's operation system sends to banking system; Described Bureau of Finance dedicated thread is used for receiving the service message that banking system sends to Bureau of Finance's operation system;
Dedicated thread is checked module: be used for checking whether bank's dedicated thread/Bureau of Finance's dedicated thread receives the service message of Bureau of Finance's operation system/banking system, if then enter message processing module (MPM), then continue if not to check; Described service message comprises the heading sign; Described heading sign comprises bank or the ID of the Bureau of Finance and type of service;
Message processing module (MPM): for searching corresponding bank's processing threads or Bureau of Finance's processing threads according to the heading sign of service message to the processing of service message.
8. a kind of multithreading message forwarding system as claimed in claim 7 is characterized in that: according to configuration information, bank's processing threads and Bureau of Finance's processing threads are processed the service message of different service types.
9. such as claim 7 or 8 described a kind of multithreading message forwarding systems, it is characterized in that: wealth silver data interchange platform is provided with Global Queue's mapping table, and each bank's proprietary message queue and Bureau of Finance's proprietary message queue will be registered to its relevant information in Global Queue's mapping table; Described relevant information comprises the bank of proprietary message queue or the ID of the Bureau of Finance, type of service, message queue ID.
10. a kind of multithreading message forwarding system as claimed in claim 9 is characterized in that described message processing module (MPM) comprises:
Search the unit: from Global Queue's mapping table, search bank or the Bureau of Finance that service message will send to according to bank or the ID of the Bureau of Finance in the heading sign with sending;
Processing threads is searched the unit: be used for searching corresponding bank's processing threads or the Bureau of Finance's processing threads of bank or the Bureau of Finance according to type of service;
The service message processing unit: be used for service message is saved in the proprietary message queue of bank's processing threads or financial operation processing threads, the corresponding processing threads of proprietary message queue transfers operating state to from wait state and begins to process service message data the proprietary message queue.
CN201210332655.XA 2012-09-10 2012-09-10 Method and system for multi-threaded packet forwarding Active CN102868600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210332655.XA CN102868600B (en) 2012-09-10 2012-09-10 Method and system for multi-threaded packet forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210332655.XA CN102868600B (en) 2012-09-10 2012-09-10 Method and system for multi-threaded packet forwarding

Publications (2)

Publication Number Publication Date
CN102868600A true CN102868600A (en) 2013-01-09
CN102868600B CN102868600B (en) 2015-07-08

Family

ID=47447203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210332655.XA Active CN102868600B (en) 2012-09-10 2012-09-10 Method and system for multi-threaded packet forwarding

Country Status (1)

Country Link
CN (1) CN102868600B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187412A1 (en) * 2013-10-11 2014-11-27 中兴通讯股份有限公司 Method and apparatus for controlling message processing thread
CN105071976A (en) * 2015-09-08 2015-11-18 安一恒通(北京)科技有限公司 Data transmission method and device
CN107273190A (en) * 2017-05-19 2017-10-20 武汉票据交易中心有限公司 A kind of batch scheduled service processing method and system
CN113472690A (en) * 2021-06-29 2021-10-01 中国农业银行股份有限公司 Service message processing method and device
CN114418771A (en) * 2022-03-28 2022-04-29 深圳希施玛数据科技有限公司 Data transmission method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201941A (en) * 1997-06-10 1998-12-16 国际商业机器公司 Message handling method, message handling apparatus, and memory media for storing message handling apparatus controlling program
CN101826981A (en) * 2010-03-18 2010-09-08 华为技术有限公司 Method for processing event message, north interface and operation support system
CN102394885A (en) * 2011-11-09 2012-03-28 中国人民解放军信息工程大学 Information classification protection automatic verification method based on data stream

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201941A (en) * 1997-06-10 1998-12-16 国际商业机器公司 Message handling method, message handling apparatus, and memory media for storing message handling apparatus controlling program
CN101826981A (en) * 2010-03-18 2010-09-08 华为技术有限公司 Method for processing event message, north interface and operation support system
CN102394885A (en) * 2011-11-09 2012-03-28 中国人民解放军信息工程大学 Information classification protection automatic verification method based on data stream

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187412A1 (en) * 2013-10-11 2014-11-27 中兴通讯股份有限公司 Method and apparatus for controlling message processing thread
CN105071976A (en) * 2015-09-08 2015-11-18 安一恒通(北京)科技有限公司 Data transmission method and device
CN105071976B (en) * 2015-09-08 2019-05-03 安一恒通(北京)科技有限公司 Data transmission method and device
CN107273190A (en) * 2017-05-19 2017-10-20 武汉票据交易中心有限公司 A kind of batch scheduled service processing method and system
CN113472690A (en) * 2021-06-29 2021-10-01 中国农业银行股份有限公司 Service message processing method and device
CN114418771A (en) * 2022-03-28 2022-04-29 深圳希施玛数据科技有限公司 Data transmission method and related device

Also Published As

Publication number Publication date
CN102868600B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
US9925492B2 (en) Remote transactional memory
CN102868600B (en) Method and system for multi-threaded packet forwarding
CN101354693B (en) Communication scheduling system and method among cores of isomerization multi-core processor
US9258351B2 (en) System and method for message processing and routing
CN110851248B (en) Asynchronous task data processing method and device and computer readable storage medium
CN111078436B (en) Data processing method, device, equipment and storage medium
CN102868623A (en) Data exchange method capable of simultaneously supporting multiple communication protocols and multiple packet specifications
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
US20200264916A1 (en) Method and system for processing transactions
WO2013144876A1 (en) Communication transport protocol for distributed information technology architectures
CN103907102A (en) Managing sideband routers in on-die system fabric
CN111694866A (en) Data searching and storing method, data searching system, data searching device, data searching equipment and data searching medium
CN112199442A (en) Distributed batch file downloading method and device, computer equipment and storage medium
CN103037011A (en) Massive terminal device access system based on input/output control program (IOCP)
CN104410725A (en) Processing method and processing system of GPU (Graphics Processing Unit) as well as method and system for DNS (Domain Name Server) resolution based on GPU
CN102932209A (en) Method and device for detecting state of server cluster
GB2599046A (en) Address translation cache invalidation in a microprocessor
CN111190746A (en) VxWorks 653-based multi-core partition real-time operating system and communication method
US7929526B2 (en) Direct messaging in distributed memory systems
US8285775B2 (en) Expedited transaction failure handling by leveraging a reliable message transport protocol to assist detection of discarded processing
US7870146B2 (en) Data mapping between API and persistent multidimensional object
US20090285224A1 (en) Service adaptation machine
CN115328670B (en) Asynchronous task processing method, system and server
CN102184264A (en) Remote joint debugging method for dynamic link library
CN102609744A (en) UHF(ultra-high frequency) electronic label read/write device based on BLS architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100094 2F, building 11, UFIDA Software Park, 68 Beiqing Road, Haidian District, Beijing

Patentee after: Beijing UYU Government Software Co.,Ltd.

Address before: 100094 2F, building 11, UFIDA Software Park, 68 Beiqing Road, Haidian District, Beijing

Patentee before: YONYOU GOVERNMENT AFFAIRS SOFTWARE Co.,Ltd.

CP01 Change in the name or title of a patent holder