CN106302148A - Backup Data transmission method based on LBM and system - Google Patents
Backup Data transmission method based on LBM and system Download PDFInfo
- Publication number
- CN106302148A CN106302148A CN201610681164.4A CN201610681164A CN106302148A CN 106302148 A CN106302148 A CN 106302148A CN 201610681164 A CN201610681164 A CN 201610681164A CN 106302148 A CN106302148 A CN 106302148A
- Authority
- CN
- China
- Prior art keywords
- queue
- business
- data packet
- stg
- business data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of Backup Data transmission method based on LBM and system, relate to technical field of data transmission.The method includes: the first business data packet is sent to STG queue via KCXP primary link queue and is read out;If described STG queue is found to have the second business data packet of loss, then return described second business data packet to KCBP reserve link queue request;Described second business data packet is sent to STG queue via described KCBP reserve link queue and is read out;Described first business data packet and the second business data packet are integrated into full service data bag via STG queue by the time sequencing that business occurs.The present invention uses dual link transmission business datum can arrive timely to reach business datum, any link fails, do not affect the transmission of business datum on another link, solve the problem that may lose business data packet in business datum way in the communications, stability that the business that ensured is transmitted and reliability timely and effectively.
Description
Technical field
The invention belongs to technical field of data transmission, particularly relate to a kind of Backup Data transmission method based on LBM and be
System.
Background technology
KCBP (Kingdom Core Business Platform, gold card core business platform) is Shenzhen's gold card share
The network management medium of company limited's exploitation.KCBP is an intermediate layer between business application and operating system, is just being responsible for
Really transmit transaction, transaction integrality is managed, the operation of scheduling application, it is ensured that the high efficiency that whole system is run,
And provide aid to facilitate the use of operator.KCXP (Kingdom Communication Exchange Platform,
Gold card communications exchange platform), it is the high-performance based on message queue technology of Kingdow's exploitation, the communication middleware of High Availabitity
Software, with KCBP with the use of or be used alone.Native API is provided, and supports JMS specification.May operate at LINUX,
In the operating system platforms such as Windows, AIX.KCXP with KCBP coordinates can build complete on-line transaction platform, data is passed through
Middleware is sent to another one application from an application.Message-oriented middleware is mainly used to solve cross operating system and different nets
Communication between the application of network environment.It to be responsible for setting up the passage of network service, carries out the reliable transmission of data, ensures data
Do not retransmit, do not lose.LBM (Loadable Business Module, the Service Processing Module that can load) is built upon KCBP
On platform.The application system built based on KCBP includes client application and LBM two parts.Client application
The functions such as main offer data show, data input/output, it calls KCBP client end AP I and KCBP server communication.LBM
It is KCBP service end service logic program, user writes, mainly for the treatment of business logic.LBM can ensure that system is not
Dynamic load or unloading in the case of interrupt run, it is achieved the dynamic renewal of systemic-function.
Along with to service security, promptness, reliability requirements more and more higher in the case of, be badly in need of improving centralized transaction
The intermediate layer STG (Security Trading Gateway) that system is docked with transaction interface, securities trading gateway, by adaptation
With each big transaction gateway of docking of transaction) business support.Existing stock exchange transaction data are carried out with STG by centralized transaction/trading system
The problem easily going out active business data packet during docking.
The problems referred to above are urgently to be resolved hurrily.
Summary of the invention
The defect of active business data packet is easily gone out for the centralized transaction/trading system of prior art when docking with STG,
The embodiment of the present invention provides a kind of Backup Data transmission method based on LBM and system.
The present invention provides a kind of Backup Data transmission method based on LBM, including:
First business data packet is sent to STG queue via KCXP primary link queue and is read out;
If described STG queue is found to have the second business data packet of loss, then return to KCBP reserve link queue request
Described second business data packet;
Described second business data packet is sent to STG queue via described KCBP reserve link queue and is read out;
The time sequencing that described first business data packet and the second business data packet are occurred by business via STG queue is integrated
Become full service data bag.
Preferably, described first business data packet is sent to before STG queue is read out via KCXP primary link queue
Also include:
Reception business sales counter queue sends described first business data packet to KCXP primary link queue.
Preferably, if described STG queue is found to have the second business data packet of loss, then please to KCBP reserve link queue
Described second business data packet of return is asked to specifically include:
Described STG queue timing to described business sales counter queue send sweep Lou ask, make described business sales counter queue according to
Described sweep Lou the second business data packet described in acquisition request;
Described second business data packet is read out to STG queue via KCBP reserve link queue transmission.
Preferably, described STG queue timing sends to sweep to described business sales counter queue and Lou asks, and makes described business sales counter team
Row specifically include according to sweeping Lou the second business data packet described in acquisition request:
Described STG queue timing sends to described business sales counter queue and sweeps Lou request, makes described business sales counter queue receive
After what STG queue sent sweeps Lou request, according to described second business data packet of the state confirmation of insider transaction data loss
Set, and the data that the time sequencing return occurred by business is lost.
Preferably, the time that described first business data packet and the second business data packet are occurred by business via STG queue
Sequence integration also includes after becoming full service data bag:
Described full service data bag is passed in the interface library of exchange.
The present invention also provides for a kind of Backup Data transmission method system based on LBM, including:
First read module, is sent to STG queue for the first business data packet via KCXP primary link queue and reads
Take;
Request module, if being found to have the second business data packet of loss, then to KCBP reserve link for described STG queue
Queue request returns described second business data packet;
Second read module, is sent to STG for described second business data packet via described KCBP reserve link queue
Queue is read out;
Integrate module, occur by business via STG queue for described first business data packet and the second business data packet
Time sequencing be integrated into full service data bag.
Preferably, described system also includes:
Sending module, is used for receiving business sales counter queue and sends described first business data packet to KCXP primary link queue.
Preferably, described request module specifically includes:
Second business data packet acquiring unit, for sending to described business sales counter queue by described STG queue timing
Sweep Lou request, make described business sales counter queue according to described in sweep Lou the second business data packet described in acquisition request;
Read unit, carry out to STG queue via KCBP reserve link queue transmission for described second business data packet
Read.
Preferably, the second business data packet acquiring unit specifically for:
Sweep Lou request by described STG queue timing to described business sales counter queue transmission, make described business sales counter queue
Receive that STG queue sends sweep Lou request after, according to described second business datum of the state confirmation of insider transaction data loss
The set of bag, and the data that the time sequencing return occurred by business is lost.
Preferably, described system also includes:
Transfer module, in the interface library that described full service data bag passes to exchange.
Beneficial effect: the program receives business datum by two paths, when primary link breaks down, by standby chain
Road undertakes data receiver, effectively alleviates data stealpass;When business datum wraps in any one link loss of primary link
In the case of, reserve link complete to lose the re-transmission of business data packet.Primary link of the present invention uses efficient queue transmission skill
Art, reserve link uses LBM Data Interchange Technology based on KCBP to realize reliably and in time arriving of business data transmission.Appoint
What link fails, does not affects the transmission of business datum on another link, solves business datum in time logical
The problem that may lose business data packet in letter midway, stability that the business that ensured is transmitted and reliability.
Accompanying drawing explanation
The Backup Data transmission method block diagram based on LBM that Fig. 1 provides for the embodiment of the present invention;
The Backup Data transmission method block diagram based on LBM that Fig. 2 provides for another embodiment of the present invention;
The Backup Data transmission method block diagram based on LBM that Fig. 3 provides for another embodiment of the present invention;
The Backup Data transmission method block diagram based on LBM that Fig. 4 provides for another embodiment of the present invention;
Fig. 5 is the data receiver flow chart of KCXP primary link queue in Fig. 4;
Fig. 6 is the data receiver flow chart of KCBP reserve link queue in Fig. 4;
Backup Data based on the LBM transmission system construction drawing that Fig. 7 provides for the embodiment of the present invention;
Backup Data based on the LBM transmission system construction drawing that Fig. 8 provides for another embodiment of the present invention;
The structure of request module in the Backup Data transmission system based on LBM that Fig. 9 provides for another embodiment of the present invention
Figure;
Backup Data based on the LBM transmission system construction drawing that Figure 10 provides for another embodiment of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.
The present invention provides a kind of Backup Data transmission method based on LBM, as it is shown in figure 1, include:
S100, the first business data packet are sent to STG queue via KCXP primary link queue and are read out;
If S200 described STG queue is found to have the second business data packet of loss, then to KCBP reserve link queue request
Return described second business data packet;
S300, described second business data packet are sent to STG queue via described KCBP reserve link queue and are read out;
The time that S400, described first business data packet and the second business data packet are occurred by business via STG queue is suitable
Sequence is integrated into full service data bag.
Concrete, KCBP is used for carrying reserve link queuing data in the method, and it has the distributed transaction of height
Disposal ability, it can be ensured that the integrity of reserve link transaction data.KCXP is used for carrying primary link queuing data in the method,
It provide reliable news transmission service and message prioritization mechanism, it can be ensured that primary link transaction data complete, reliable, preferential
Transmission.LBM shows as the data exchange agreement of KCBP in the method, can be convenient, flexibly, reliably get by this agreement
The transaction data lost, and ensure the integrity of transaction data, provides powerful technology for efficient, the reliability service of reserve link
Ensure.
Further, the data of described first business data packet include: the new order of securities trading, remove single request, network
The business datums such as ballot.
Preferably, as in figure 2 it is shown, described first business data packet is sent to STG queue via KCXP primary link queue enters
Row also includes before reading:
S500, reception business sales counter queue send described first business data packet to KCXP primary link queue.
Preferably, if as it is shown on figure 3, described STG queue is found to have the second business data packet of loss, then standby to KCBP
Link queue request returns described second business data packet and specifically includes:
S201, described STG queue timing send to described business sales counter queue and sweep Lou request, make described business sales counter queue
Lou the second business data packet described in acquisition request is swept according to described;
Concrete, the time interval of STG queue timing determines according to service needed, generally could be arranged to 60 seconds.
S202, described second business data packet are read out to STG queue via KCBP reserve link queue transmission.
Preferably, described STG queue timing sends to sweep to described business sales counter queue and Lou asks, and makes described business sales counter team
Row specifically include according to sweeping Lou the second business data packet described in acquisition request:
Described business sales counter queue receives sweeping of STG queue transmission and Lou asks, and makes described business sales counter queue receive STG team
After what row sent sweeps Lou request, according to the set of described second business data packet that the state confirmation of insider transaction data is lost,
And return, by the time sequencing of business generation, the data lost.
Preferably, as shown in Figures 4 to 6, described first business data packet and the second business data packet are pressed via STG queue
The time sequencing that business occurs also includes after being integrated into full service data bag:
S500, described full service data bag is passed in the interface library of exchange.
Concrete, the interface library of described exchange such as: Shen Zhen Stock Exchange STEP transaction data interface, Shanghai Stock Exchange bid and bring platform together
Platform data interface etc. is supported in participant in the market's interface, the transaction of whole nation Gu Zhuan company, has the interfaces such as STEP stream, SQL storehouse, DBF storehouse
The type in storehouse.Further, in full service data is coated the interface library passing to exchange, STG is to business sales counter queue
The prompting that transmission business successfully promotes;When STG queue obtains full service data bag failure more than or equal to 3 times continuously, directly
Exit the flow process of data transmission.
The method that the present embodiment provides receives business datum by two paths, when primary link breaks down, by standby
Undertake data receiver with link, effectively alleviate data stealpass;Lose when business datum wraps in any one link of primary link
In the case of mistake, reserve link complete to lose the re-transmission of business data packet.Primary link of the present invention uses efficient queue to pass
Transferring technology, reserve link uses LBM Data Interchange Technology based on KCBP to realize reliably and in time arriving of business data transmission
Reach.Any link fails, does not affects the transmission of business datum on another link, solves business datum in time
The problem that may lose business data packet in the communications in way, stability that the business that ensured is transmitted and reliability.
The present invention also provides for a kind of Backup Data transmission method system based on LBM, as it is shown in fig. 7, comprises:
First read module 100, is sent to STG queue for the first business data packet via KCXP primary link queue and carries out
Read;
Request module 200, if be found to have the second business data packet of loss for described STG queue, then standby to KCBP
Link queue request returns described second business data packet;
Second read module 300, is sent to via described KCBP reserve link queue for described second business data packet
STG queue is read out;
Integrate module 400, send out by business via STG queue for described first business data packet and the second business data packet
Raw time sequencing is integrated into full service data bag.
Preferably, as shown in Figure 8, described system also includes:
Sending module 500, is used for receiving business sales counter queue and sends described first business datum to KCXP primary link queue
Bag.
Preferably, if as it is shown in figure 9, described request module 200 specifically includes:
Second business data packet acquiring unit 201, for sending out to described business sales counter queue by described STG queue timing
Send and sweep Lou request, make described business sales counter queue according to described in sweep Lou the second business data packet described in acquisition request;
Read unit 202, enter to STG queue via KCBP reserve link queue transmission for described second business data packet
Row reads.
Preferably, described second business data packet acquiring unit specifically for:
Sweep Lou request by described STG queue timing to described business sales counter queue transmission, make described business sales counter queue
Receive that STG queue sends sweep Lou request after, according to described second business datum of the state confirmation of insider transaction data loss
The set of bag, and the data that the time sequencing return occurred by business is lost;
Preferably, as shown in Figure 10, described system also includes:
Transfer module 600, in the interface library that described full service data bag passes to exchange.
It should be noted that modules in the said system of embodiment of the present invention offer, due to real with the inventive method
Executing example based on same design, its technique effect brought is identical with the inventive method embodiment, and particular content can be found in the present invention
Narration in embodiment of the method, here is omitted.
The system that the present embodiment provides receives business datum by two paths, when primary link breaks down, by standby
Undertake data receiver with link, effectively alleviate data stealpass;Lose when business datum wraps in any one link of primary link
In the case of mistake, reserve link complete to lose the re-transmission of business data packet.Primary link of the present invention uses efficient queue to pass
Transferring technology, reserve link uses LBM Data Interchange Technology based on KCBP to realize reliably and in time arriving of business data transmission
Reach.Any link fails, does not affects the transmission of business datum on another link, solves business datum in time
The problem that may lose business data packet in the communications in way, stability that the business that ensured is transmitted and reliability.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.
Claims (10)
1. a Backup Data transmission method based on LBM, it is characterised in that including:
First business data packet is sent to STG queue via KCXP primary link queue and is read out;
If described STG queue is found to have the second business data packet of loss, then return described to KCBP reserve link queue request
Second business data packet;
Described second business data packet is sent to STG queue via described KCBP reserve link queue and is read out;
The time sequencing that described first business data packet and the second business data packet are occurred by business via STG queue has been integrated into
Whole business data packet.
2. the method for claim 1, it is characterised in that described first business data packet is sent out via KCXP primary link queue
Give before STG queue is read out and also include:
Reception business sales counter queue sends described first business data packet to KCXP primary link queue.
3. method as claimed in claim 2, it is characterised in that if described STG queue is found to have the second business datum of loss
Bag, then return described second business data packet to KCBP reserve link queue request and specifically include:
Described STG queue timing sends to described business sales counter queue and sweeps Lou request, makes described business sales counter queue according to described
Sweep Lou the second business data packet described in acquisition request;
Described second business data packet is read out to STG queue via KCBP reserve link queue transmission.
4. method as claimed in claim 3, it is characterised in that described STG queue timing sends to described business sales counter queue
Sweep Lou request, make described business sales counter queue specifically include according to sweeping Lou the second business data packet described in acquisition request:
Described STG queue timing sends to described business sales counter queue and sweeps Lou request, makes described business sales counter queue receive STG team
After what row sent sweeps Lou request, according to the set of described second business data packet that the state confirmation of insider transaction data is lost,
And return, by the time sequencing of business generation, the data lost.
5. method as claimed in claim 4, it is characterised in that described first business data packet and the second business data packet via
STG queue also includes after being integrated into full service data bag by the time sequencing that business occurs:
Described full service data bag is passed in the interface library of exchange.
6. a Backup Data transmission method system based on LBM, it is characterised in that including:
First read module, is sent to STG queue for the first business data packet via KCXP primary link queue and is read out;
Request module, if being found to have the second business data packet of loss, then to KCBP reserve link queue for described STG queue
Request returns described second business data packet;
Second read module, is sent to STG queue for described second business data packet via described KCBP reserve link queue
It is read out;
Integrate module, for described first business data packet and the second business data packet via STG queue by business occur time
Between sequence integration become full service data bag.
7. system as claimed in claim 6, it is characterised in that described system also includes:
Sending module, is used for receiving business sales counter queue and sends described first business data packet to KCXP primary link queue.
8. system as claimed in claim 7, it is characterised in that described request module specifically includes:
Second business data packet acquiring unit, for sweeping leakage to described business sales counter queue transmission by described STG queue timing
Request, make described business sales counter queue according to described in sweep Lou the second business data packet described in acquisition request;
Read unit, be read out to STG queue via KCBP reserve link queue transmission for described second business data packet.
9. system as claimed in claim 8, it is characterised in that the second business data packet acquiring unit specifically for:
Sweep Lou request by described STG queue timing to described business sales counter queue transmission, make described business sales counter queue receive
After what STG queue sent sweeps Lou request, according to described second business data packet of the state confirmation of insider transaction data loss
Set, and the data that the time sequencing return occurred by business is lost.
10. system as claimed in claim 9, it is characterised in that described system also includes:
Transfer module, in the interface library that described full service data bag passes to exchange.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610681164.4A CN106302148B (en) | 2016-08-17 | 2016-08-17 | Backup data transmission method and system based on LBM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610681164.4A CN106302148B (en) | 2016-08-17 | 2016-08-17 | Backup data transmission method and system based on LBM |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106302148A true CN106302148A (en) | 2017-01-04 |
CN106302148B CN106302148B (en) | 2020-01-10 |
Family
ID=57679660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610681164.4A Active CN106302148B (en) | 2016-08-17 | 2016-08-17 | Backup data transmission method and system based on LBM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106302148B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532108A (en) * | 2019-08-15 | 2019-12-03 | 北京拉勾网络技术有限公司 | Processing method, device, server and the system of resume delivery task |
CN112162875A (en) * | 2020-10-12 | 2021-01-01 | 上交所技术有限责任公司 | High-reliability message transmission method in transaction system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142948A (en) * | 2010-02-02 | 2011-08-03 | 华为技术有限公司 | Data forwarding method, device and system |
CN102394858A (en) * | 2011-06-30 | 2012-03-28 | 北京邮电大学 | Method and device for transmitting information |
CN103686446A (en) * | 2013-12-06 | 2014-03-26 | 广州华多网络科技有限公司 | Method and system for retransmitting lost packet in video data transmission |
CN103891204A (en) * | 2013-12-31 | 2014-06-25 | 华为技术有限公司 | Method for link rearrangement and switching device |
CN104683023A (en) * | 2013-12-03 | 2015-06-03 | 华为技术有限公司 | Method, equipment and system for rapidly recovering after FCoE (Fibre Channel Over Ethernet) network packet loss |
-
2016
- 2016-08-17 CN CN201610681164.4A patent/CN106302148B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142948A (en) * | 2010-02-02 | 2011-08-03 | 华为技术有限公司 | Data forwarding method, device and system |
CN102394858A (en) * | 2011-06-30 | 2012-03-28 | 北京邮电大学 | Method and device for transmitting information |
CN104683023A (en) * | 2013-12-03 | 2015-06-03 | 华为技术有限公司 | Method, equipment and system for rapidly recovering after FCoE (Fibre Channel Over Ethernet) network packet loss |
CN103686446A (en) * | 2013-12-06 | 2014-03-26 | 广州华多网络科技有限公司 | Method and system for retransmitting lost packet in video data transmission |
CN103891204A (en) * | 2013-12-31 | 2014-06-25 | 华为技术有限公司 | Method for link rearrangement and switching device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532108A (en) * | 2019-08-15 | 2019-12-03 | 北京拉勾网络技术有限公司 | Processing method, device, server and the system of resume delivery task |
CN110532108B (en) * | 2019-08-15 | 2022-10-11 | 北京拉勾网络技术有限公司 | Resume delivery task processing method, device, server and system |
CN112162875A (en) * | 2020-10-12 | 2021-01-01 | 上交所技术有限责任公司 | High-reliability message transmission method in transaction system |
Also Published As
Publication number | Publication date |
---|---|
CN106302148B (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7456450B2 (en) | Large scale node configuration management for MaaS platforms | |
US7249192B1 (en) | Protocol for insuring exactly once semantics of transactions across an unordered, unreliable network | |
CN103731343B (en) | MVB WTB gateway based on LPC2468 and method of work thereof | |
CN101595668B (en) | Method and system for establishing a logical path between servers in a coordinated timing network | |
CN111930529B (en) | Data synchronization method, device and system based on message queue and microservice | |
CN105337923B (en) | Data distributing method and system and data sending device and data sink | |
CN114253740A (en) | Protocol stack data transmission method and device based on Linux kernel | |
CN102412990B (en) | Remote sensing satellite raw data recording system with centralized management and real-time transmission functions | |
CN104954502A (en) | MAC address updating method in production line and system thereof | |
TW201347493A (en) | Systems and methods for seamless host migration | |
CN101222430A (en) | High-speed multi-protocol data transmission system and method | |
CN103019823B (en) | Realize the message queue method that VxWorks communicates with Qt | |
CN106302148A (en) | Backup Data transmission method based on LBM and system | |
CN107688512A (en) | One kind optimization virtual-machine data backup method and system | |
CN107888277A (en) | Aircraft floor network system file transfer services communication means | |
US7363053B2 (en) | System for integrated mobile devices | |
US20080307056A1 (en) | Web Services Reliable Messaging | |
JPH05274234A (en) | General-purpose connection device for connecting computer bus to specific link of network | |
CN108667817A (en) | Message converting system and message forwarding method | |
CN103905498B (en) | Service information management method and service information management system | |
CN106254229B (en) | A kind of medical communication gateway | |
CN102427474B (en) | Data transmission system in cloud storage | |
CN103248679A (en) | Network message passing method | |
CN102571412B (en) | Target machine server of embedded distributed system | |
CN110287141A (en) | A kind of FPGA reconstructing method and system based on multiple interfaces |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |