CN106161545A - Data processing method and device between plate - Google Patents
Data processing method and device between plate Download PDFInfo
- Publication number
- CN106161545A CN106161545A CN201510174826.4A CN201510174826A CN106161545A CN 106161545 A CN106161545 A CN 106161545A CN 201510174826 A CN201510174826 A CN 201510174826A CN 106161545 A CN106161545 A CN 106161545A
- Authority
- CN
- China
- Prior art keywords
- data
- sent
- single board
- plate
- target single
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 230000005540 biological transmission Effects 0.000 claims abstract description 49
- 230000011218 segmentation Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 53
- 238000002834 transmittance Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 208000032370 Secondary transmission Diseases 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
The invention discloses data processing method between a kind of plate, obtain the data to be sent within veneer, and determine the data volume of described data to be sent;When the data volume of described data to be sent is more than or equal to preset data amount threshold value, described data to be sent are divided at least two data blocks;Described all data blocks is sent successively to target single board.The invention also discloses data processing equipment between a kind of plate.The data to arbitrary data amount are the invention enables between plate in the transmitting procedure of data to can be carried out effective transmission process, improve the reliability of data transmission between plate, efficiently solve the data transmission fails or the problem of loss of data caused because of the data quantitative limitation in data transmission procedure between plate.
Description
Technical field
The present invention relates to data processing field, particularly relate to data processing method and device between a kind of plate.
Background technology
In a distributed system, being typically made up of a master control borad and multiple business board, wherein master control borad is used
In completing management and the protocol processes of whole system, business board has been used at the forwarding of miscellaneous service data
Reason.At present, between master control borad and business board, or between business board and business board, need to synchronize greatly
The data of amount, to ensure that the data on each veneer can be consistent.Due between plate data in transmittance process,
The data volume that can send is conditional.Therefore, between plate, the transmittance process of data disposably sends
Mass data can cause transmission failure or the problem of loss of data.Problems demand inventor in this respect solves.
Foregoing is only used for auxiliary and understands technical scheme, does not represent and recognizes that foregoing is
Prior art.
Summary of the invention
Present invention is primarily targeted at data processing method between a kind of plate of offer, it is intended to solve existing plate
Between in data handling procedure, the disposable mass data that sends can cause transmission failure or the problem of loss of data.
For achieving the above object, the present invention provides data processing method between a kind of plate, between described plate at data
Reason method comprises the following steps:
Obtain the data to be sent within veneer, and determine the data volume of described data to be sent;
When the data volume of described data to be sent is more than or equal to preset data amount threshold value, by described pending
Data are sent to be divided at least two data blocks;
Described all data blocks is sent successively to target single board.
Preferably, the described step described all data blocks sent successively to target single board includes:
Each data block is sent successively to target single board, for described target single board receive described often
The first response message is returned respectively after individual data block;
Described each data block being sent to target single board, receive the return of described target single board first should
Answer message;
In the first default response time, do not receive described first response message, then resend described
Data block;
In the first default response time, receive described first response message, then continue to send next number
According to block to described target single board, until having sent described all data blocks.
Preferably, described in the first default response time, described first response message is not received, then
After resending the step of described data block, also include:
Record the sending times of described data block;
When the sending times of described data block is more than or equal to preset times, stop sending described data block,
Resend described all data blocks.
Preferably, described described all data blocks is sent successively after the step of target single board, also wrap
Include:
Described all data blocks is sent successively to target single board, for described target single board receiving
The second response message is returned after stating all data blocks;
Described total data is sent successively to target single board, receives the second of the return of described target single board
Response message;
In the second default response time, do not receive described second response message, then resend described
All data blocks.
Preferably, the data to be sent within described acquisition veneer, and determine the number of described data to be sent
Before step according to amount, also include:
Receive from the external data outside veneer;
After receiving described external data, identify the type of described external data;
If described external data is data block, return the first response message the most respectively to sending described external number
According to source veneer, and continue to the subsequent data chunk of described external data, until having received described outside
The all data blocks of data;
After all data blocks receiving described external data, by all data blocks of described external data
It is reassembled as partial data, and returns the second response message to the source veneer sending described external data.
Additionally, the present invention also provides for data processing equipment between a kind of plate for achieving the above object, between described plate
Data processing equipment includes:
Acquisition module, for obtaining the data to be sent within veneer, and determines described data to be sent
Data volume;
Segmentation module, for the data volume in described data to be sent more than or equal to preset data amount threshold value
Time, described data to be sent are divided at least two data blocks;
Sending module, for sending described all data blocks successively to target single board.
Preferably, described sending module includes transmitting element and retransmission unit;
Described transmitting element, for sending each data block successively to target single board, for described target
Veneer returns the first response message after receiving described each data block respectively;
Described transmitting element, is additionally operable to send to target single board each data block successively, receives described
The first response message that target single board returns;
Described retransmission unit, disappears for not receiving described first response in the first default response time
Breath, then resend described data block;
Described transmitting element, is additionally operable to receive described first response in the first default response time and disappears
Breath, then continue to send subsequent data chunk extremely described target single board, until having sent described all data blocks.
Preferably, described sending module also includes recording unit;
Described record unit, for recording the sending times of described data block;
Described retransmission unit, is additionally operable to when the sending times of described data block is more than or equal to preset times,
Stop sending described data block, resend described all data blocks.
Preferably, described transmitting element, it is additionally operable to send to target single board described all data blocks successively,
After receiving described all data blocks, the second response message is returned for described target single board
Described transmitting element, is additionally operable to send to target single board described total data successively, receives institute
State the second response message that target single board returns;
Described retransmission unit, is additionally operable to not receive described second response in the second default response time
Message, then resend described all data blocks.
Preferably, between described plate, data processing equipment also includes receiver module, the first responder module and
Two responder modules;
Described receiver module, for receiving from the external data outside veneer;
Described receiver module, is additionally operable to, after receiving described external data, identify described external data
Type;
Described first responder module, if being data block for described external data, returning first the most respectively should
Answer the message source veneer to the described external data of transmission, and continue to next data of described external data
Block, until having received all data blocks of described external data;
Described second responder module, for after all data blocks receiving described external data, by institute
The all data blocks stating external data is reassembled as partial data, and it is described to sending to return the second response message
The source veneer of external data.
The present invention is divided into multiple data block carries out sending out by exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively transmitting
Process, improve the reliability of data transmission between plate, efficiently solve because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the first embodiment of data processing method between plate of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of data processing method between plate of the present invention;
Fig. 3 is the schematic flow sheet of the 3rd embodiment of data processing method between plate of the present invention;
Fig. 4 is the schematic flow sheet of the 4th embodiment of data processing method between plate of the present invention;
Fig. 5 is the high-level schematic functional block diagram of the first embodiment of data processing equipment between plate of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the second embodiment of data processing equipment between plate of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the 3rd embodiment of data processing equipment between plate of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The primary solutions of the embodiment of the present invention is: obtains the data to be sent within veneer, and determines
The data volume of described data to be sent;Data volume in described data to be sent is more than or equal to preset data
During amount threshold value, described data to be sent are divided at least two data blocks;Described all data blocks is depended on
Secondary transmission is to target single board.
Between existing plate in data handling procedure, the transmission of message between different boards has the problem that data volume limits.
Based on the problems referred to above, the present invention provides data processing method between a kind of plate.
It is the schematic flow sheet of the first embodiment of data processing method between plate of the present invention with reference to Fig. 1, Fig. 1.
In one embodiment, between described plate, data processing method includes:
Step S10, obtains the data to be sent within veneer, and determines the data volume of described data to be sent;
In a distributed system, between master control borad and business board, or between business board and business board, have
Substantial amounts of data need to synchronize.Described data to be sent are produced by the application module in veneer, described data
Transmitting terminal be source veneer, between described plate, the receiving terminal of data is target single board.Preferably, veneer is obtained
Internal data to be sent, and determine that the process of the data volume of described data to be sent can be by being arranged on
Synchronization module in each veneer realizes, and described veneer can be master control borad, it is also possible to be business board;Or,
Can also be realized by the synchronization module process being arranged in each veneer.Such as: the synchronization module of source veneer
Process provides data transmission interface, needs data between the plate sent, institute in order to receive the application module of this plate
State synchronization module process receive this plate application program need send data to be sent time, by read
The metadata taking described data to be sent determines the data volume of described data to be sent, described data to be sent
Metadata in record have every attribute of described data to be sent, including the data of described data to be sent
The attributes such as amount.
Step S20, when the data volume of described data to be sent is more than or equal to preset data amount threshold value, will
Described data to be sent are divided at least two data blocks;
Described preset data amount threshold value is preferably the restriction data volume that in distributed system, between plate, data are transmitted.
When the data volume of described data to be sent is more than or equal to preset data amount threshold value, by described number to be sent
According to being divided at least two data blocks;Data volume in described data to be sent is less than preset data amount threshold value
Time, described data to be sent are sent to target single board, does not carry out data dividing processing.It is to be understood that
It is that the data volume of described data block is less than or equal to the restriction data volume of data transmission between described plate.Preferably
, described data to be sent can be averaged and be divided at least two data blocks that data volume is equal.
Step S30, sends to target single board successively by described all data blocks.
Described total data can be added to transmit queue successively, and sequentially send to target single board,
By the order received, described total data is reassembled as complete data by described target single board;Or, also
Described all data blocks can be numbered, and described all data blocks is sent successively to target single board,
It is reassembled as complete data by described numbering by described target single board.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data.
Schematic flow sheet with reference to the second embodiment that Fig. 2, Fig. 2 are data processing method between plate of the present invention.
Based on the first embodiment of data processing method between above-mentioned plate, described step S30 includes:
Step S301, sends each data block successively to target single board, is connecing for described target single board
The first response message is returned respectively after receiving described each data block;
Step S302, sends to target single board successively by each data block, receives described target single board and returns
The the first response message returned;
Each data block is sent successively to target single board, for described target single board receive described often
The first response message is returned respectively after individual data block, after described each data block is sent to target single board,
Start timer internal, start timing, and receive the first response message that described target single board returns.Excellent
Choosing, the cycle of described timer internal is 500 milliseconds.
Step S303, does not receives described first response message in the first default response time, then weighs
The described data block of new transmission;
If not receiving the first response message that target single board returns, institute in the first default response time
Stating timer internal time-out, then resend described data block, and restart timing, described first should
The time of answering is the cycle of described timer internal, preferably 500 milliseconds.Preferably, can be to single number
Limit according to the sending times of block, to avoid infinitely retransmitting individual data block, such as: in described step
After S303, also include: step S304, record the sending times of described data block;Step S305,
When the sending times of described data block is more than or equal to preset times, stop sending described data block, weight
The described all data blocks of new transmission.
Step S306, receives described first response message in the first default response time, then continues
Send subsequent data chunk extremely described target single board, until having sent described all data blocks.
Described first response receiving the return of described target single board in the first default response time disappears
Breath, then continue to send subsequent data chunk extremely described target single board, until having sent described all data blocks.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data, and by sending
The response retransmission mechanism of each data block, further ensure that the reliability of data transmission, efficient solution between plate
The problem that information drop-out can occur in message between different boards of having determined transmittance process.
Schematic flow sheet with reference to the 3rd embodiment that Fig. 3, Fig. 3 are data processing method between plate of the present invention.
Based on the first embodiment of data processing method between above-mentioned plate, after described step S30, also include:
Step S401, sends described all data blocks to target single board, successively for described target single board
The second response message is returned after receiving described all data blocks;
Step S402, sends to target single board successively by described total data, receives described target single board
The the second response message returned;
Described all data blocks is sent successively to target single board, for described target single board receiving
The second response message is returned after stating all data blocks;Described total data is sent successively to target single board,
Start external timer, start timing, and receive the second response message that described target single board returns.Institute
Stating the external timer cycle is preferably 1.5 seconds.
Step S403, does not receives described second response message in the second default response time, then weighs
The described all data blocks of new transmission.
Described second response message, described external timer is not received in the second default response time
Time-out, then resend described all data blocks, and described second response time is described external timer week
Phase, preferably 1.5 seconds;Described second response message, then table is received in the second default response time
Show that described target single board receives all data blocks of transmission in the second response time, stop described outside
Intervalometer.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data, and by sending
The response retransmission mechanism of each data block, and to overall data response retransmission mechanism, further ensure that
Between plate, the reliability of data transmission, efficiently solves and information drop-out can occur in message between different boards transmittance process
Problem.
Schematic flow sheet with reference to the 4th embodiment that Fig. 4, Fig. 4 are data processing method between plate of the present invention.
Based on the first embodiment of data processing method between above-mentioned plate, before described step S10, also include:
Step S101, receives from the external data outside veneer;
Step S102, after receiving described external data, identifies the type of described external data;
Receive from the external data outside veneer, after receiving described external data, can be by sentencing
Disconnected described external data the most completely identifies the type of described external data, if described external data is the completeest
Whole, it is determined that described external data is data block;If described external data is complete external data, then
Described complete external data is sent to the application module that described external data is corresponding.Or, it is also possible to
The type of described external data, described external data is determined by the metadata reading described external data
Metadata record have every attribute of described external data, including the attribute such as type of described external data.
Step S103, if described external data is data block, returns the first response message the most respectively to sending
The source veneer of described external data, and continue to the subsequent data chunk of described external data, until receiving
The all data blocks of complete described external data;
If described external data is data block, then generate the first response message, and true by described data block
Surely send the source veneer of described external data, return the first response message respectively to described source veneer, and continue
The subsequent data chunk of described external data is received in continued access, until having received all data blocks of described external data.
Step S104, after all data blocks receiving described external data, by described external data
All data blocks is reassembled as partial data, and returns the second response message to the source sending described external data
Veneer.
After all data blocks receiving described external data, the total data of described external data is entered
Row judges, deleting duplicated data, invalid data and wrong data, by the total data of described external data
Block is reassembled as partial data, and described partial data is sent to the application module of this plate, and return second should
Answer message to the source veneer sending described external data.Of course, it is possible to judge institute by described partial data
State external data the need of returning the second response message, if desired return the second response message, then return
Second response message gives the source veneer sending described external data;If need not return the second response message,
The most do not send the second response message source veneer to the described external data of transmission, directly by described partial data
It is sent to the application module that described external data is corresponding.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data, and by sending
The response retransmission mechanism of each data block, and to overall data response retransmission mechanism, further ensure that
Between plate, the reliability of data transmission, efficiently solves and information drop-out can occur in message between different boards transmittance process
Problem.
Between the plate of above-mentioned first to fourth embodiment, the executive agent of data processing method can be all distributed
Master control borad in system or business board.Further, between described plate, data processing method can be by arranging
Synchronization module process on described master control borad or business board realizes.
The present invention further provides data processing equipment between a kind of plate.
With reference to the functional module signal that Fig. 5, Fig. 5 are the first embodiment of data processing equipment between plate of the present invention
Figure.
In one embodiment, between described plate, data processing equipment includes: acquisition module 10, segmentation module 20
And sending module 30.
Described acquisition module 10, for obtaining the data to be sent within veneer, and determines described to be sent
The data volume of data;
In a distributed system, between master control borad and business board, or between business board and business board, have
Substantial amounts of data need to synchronize.Described data to be sent are produced by the application module in veneer, described data
Transmitting terminal be source veneer, between described plate, the receiving terminal of data is target single board.Preferably, veneer is obtained
Internal data to be sent, and determine that the process of the data volume of described data to be sent can be by being arranged on
Synchronization module in each veneer realizes, and described veneer can be master control borad, it is also possible to be business board;Or,
Can also be realized by the synchronization module process being arranged in each veneer.Such as: the synchronization module of source veneer
Data transmission interface is provided, needs data between the plate sent in order to receive the application module of this plate, described same
Step module, when the application program receiving this plate needs the data to be sent sent, is treated described in reading
The metadata sending data determines the data volume of described data to be sent, the metadata of described data to be sent
Interior record has every attribute of described data to be sent, including the attribute such as data volume of described data to be sent.
Described segmentation module 20, for the data volume in described data to be sent more than or equal to preset data
During amount threshold value, described data to be sent are divided at least two data blocks;
Described preset data amount threshold value is preferably the restriction data volume that in distributed system, between plate, data are transmitted.
When the data volume of described data to be sent is more than or equal to preset data amount threshold value, by described number to be sent
According to being divided at least two data blocks;Data volume in described data to be sent is less than preset data amount threshold value
Time, described data to be sent are sent to target single board, does not carry out data dividing processing.It is to be understood that
It is that the data volume of described data block is less than or equal to the restriction data volume of data transmission between described plate.Preferably
, described data to be sent can be averaged and be divided at least two data blocks that data volume is equal.
Described sending module 30, for sending described all data blocks successively to target single board.
Described total data can be added to transmit queue successively, and sequentially send to target single board,
By the order received, described total data is reassembled as complete data by described target single board;Or, also
Described all data blocks can be numbered, and described all data blocks is sent successively to target single board,
It is reassembled as complete data by described numbering by described target single board.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data.
Functional module signal with reference to the second embodiment that Fig. 6, Fig. 6 are data processing equipment between plate of the present invention
Figure.Described sending module 30 includes transmitting element 31, retransmission unit 32 and record unit 33.
Described transmitting element 31, for sending each data block successively to target single board, for described mesh
Mark veneer returns the first response message after receiving described each data block respectively;
Described transmitting element 31, is additionally operable to send to target single board each data block successively, receives institute
State the first response message that target single board returns;
Each data block is sent successively to target single board, for described target single board receive described often
The first response message is returned respectively after individual data block, after described each data block is sent to target single board,
Start timer internal, start timing, and receive the first response message that described target single board returns.Excellent
Choosing, the cycle of described timer internal is 500 milliseconds.
Described retransmission unit 32, for not receiving described first response in the first default response time
Message, then resend described data block;
If not receiving the first response message that target single board returns, institute in the first default response time
Stating timer internal time-out, then resend described data block, and restart timing, described first should
The time of answering is the cycle of described timer internal, preferably 500 milliseconds.Preferably, can be to single number
Limit according to the sending times of block, to avoid infinitely retransmitting individual data block.Described record unit 33,
For recording the sending times of described data block;Described retransmission unit 32, is additionally operable in described data block
Sending times more than or equal to preset times time, stop send described data block, resend described all
Data block.
Described transmitting element 31, is additionally operable to receive described first response in the first default response time
Message, then continue to send subsequent data chunk extremely described target single board, until having sent described all data blocks.
Described first response receiving the return of described target single board in the first default response time disappears
Breath, then continue to send subsequent data chunk extremely described target single board, until having sent described all data blocks.
Further, described transmitting element 31, it is additionally operable to send to target described all data blocks successively
Veneer, returns the second response message for described target single board after receiving described all data blocks;
Described transmitting element 31, is additionally operable to send to target single board described total data successively, receives
The second response message that described target single board returns;
Described all data blocks is sent successively to target single board, for described target single board receiving
The second response message is returned after stating all data blocks;Described total data is sent successively to target single board,
Start external timer, start timing, and receive the second response message that described target single board returns.Institute
Stating the external timer cycle is preferably 1.5 seconds.
Described retransmission unit 32, being additionally operable to not receive described second in the second default response time should
Answer message, then resend described all data blocks.
Described second response message, described external timer is not received in the second default response time
Time-out, then resend described all data blocks, and described second response time is described external timer week
Phase, preferably 1.5 seconds;Described second response message, then table is received in the second default response time
Show that described target single board receives all data blocks of transmission in the second response time, stop described outside
Intervalometer.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data, and by sending
The response retransmission mechanism of each data block, and to overall data response retransmission mechanism, further ensure that
Between plate, the reliability of data transmission, efficiently solves and information drop-out can occur in message between different boards transmittance process
Problem.
Functional module signal with reference to the 3rd embodiment that Fig. 7, Fig. 7 are data processing equipment between plate of the present invention
Figure.Between described plate, data processing equipment also includes that receiver module the 40, first responder module 50 and second should
Answer module 60;
Described receiver module 40, for receiving from the external data outside veneer;
Described receiver module 40, is additionally operable to, after receiving described external data, identify described external data
Type;
Receive from the external data outside veneer, after receiving described external data, can be by sentencing
Disconnected described external data the most completely identifies the type of described external data, if described external data is the completeest
Whole, it is determined that described external data is data block;If described external data is complete external data, then
Described complete external data is sent to the application module that described external data is corresponding.Or, it is also possible to
The type of described external data, described external data is determined by the metadata reading described external data
Metadata record have every attribute of described external data, including the attribute such as type of described external data.
Described first responder module 50, if being data block for described external data, returns first the most respectively
Response message gives the source veneer sending described external data, and continues to next number of described external data
According to block, until having received all data blocks of described external data;
If described external data is data block, then generate the first response message, and true by described data block
Surely send the source veneer of described external data, return the first response message respectively to described source veneer, and continue
The subsequent data chunk of described external data is received in continued access, until having received all data blocks of described external data.
Described second responder module 60, is used for after all data blocks receiving described external data, will
The all data blocks of described external data is reassembled as partial data, and returns the second response message to sending institute
State the source veneer of external data.
After all data blocks receiving described external data, the total data of described external data is entered
Row judges, deleting duplicated data, invalid data and wrong data, by the total data of described external data
Block is reassembled as partial data, and described partial data is sent to the application module of this plate, and return second should
Answer message to the source veneer sending described external data.Of course, it is possible to judge institute by described partial data
State external data the need of returning the second response message, if desired return the second response message, then return
Second response message gives the source veneer sending described external data;If need not return the second response message,
The most do not send the second response message source veneer to the described external data of transmission, directly by described partial data
It is sent to the application module that described external data is corresponding.
The present embodiment is divided into multiple data block carries out exceeding between plate data between the plate of data transfer rate amount
Send so that between plate, in the transmitting procedure of data, data to arbitrary data amount can be carried out effectively passing
Defeated process, improves the reliability of data transmission between plate, efficiently solves because of in data transmission procedure between plate
Data quantitative limitation and the data transmission fails that causes or the problem of loss of data, and by sending
The response retransmission mechanism of each data block, and to overall data response retransmission mechanism, further ensure that
Between plate, the reliability of data transmission, efficiently solves and information drop-out can occur in message between different boards transmittance process
Problem.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. data processing method between a plate, it is characterised in that between described plate data processing method include with
Lower step:
Obtain the data to be sent within veneer, and determine the data volume of described data to be sent;
When the data volume of described data to be sent is more than or equal to preset data amount threshold value, by described pending
Data are sent to be divided at least two data blocks;
Described all data blocks is sent successively to target single board.
2. data processing method between plate as claimed in claim 1, it is characterised in that described by described entirely
The step that portion's data block sends successively to target single board includes:
Each data block is sent successively to target single board, for described target single board receive described often
The first response message is returned respectively after individual data block;
Described each data block being sent to target single board, receive the return of described target single board first should
Answer message;
In the first default response time, do not receive described first response message, then resend described
Data block;
In the first default response time, receive described first response message, then continue to send next number
According to block to described target single board, until having sent described all data blocks.
3. data processing method between plate as claimed in claim 2, it is characterised in that described default
Do not receive described first response message in first response time, then resend the step of described data block
Afterwards, also include:
Record the sending times of described data block;
When the sending times of described data block is more than or equal to preset times, stop sending described data block,
Resend described all data blocks.
4. data processing method between plate as claimed in claim 1, it is characterised in that described by described entirely
Portion's data block sends successively after the step of target single board, also includes:
Described all data blocks is sent successively to target single board, for described target single board receiving
The second response message is returned after stating all data blocks;
Described total data is sent successively to target single board, receives the second of the return of described target single board
Response message;
In the second default response time, do not receive described second response message, then resend described
All data blocks.
5. data processing method between the plate as described in any one of Claims 1-4, it is characterised in that institute
State and obtain data to be sent within veneer, and before determining the step of data volume of described data to be sent,
Also include:
Receive from the external data outside veneer;
After receiving described external data, identify the type of described external data;
If described external data is data block, return the first response message the most respectively to sending described external number
According to source veneer, and continue to the subsequent data chunk of described external data, until having received described outside
The all data blocks of data;
After all data blocks receiving described external data, by all data blocks of described external data
It is reassembled as partial data, and returns the second response message to the source veneer sending described external data.
6. data processing equipment between a plate, it is characterised in that between described plate, data processing equipment includes:
Acquisition module, for obtaining the data to be sent within veneer, and determines described data to be sent
Data volume;
Segmentation module, for the data volume in described data to be sent more than or equal to preset data amount threshold value
Time, described data to be sent are divided at least two data blocks;
Sending module, for sending described all data blocks successively to target single board.
7. data processing equipment between plate as claimed in claim 6, it is characterised in that described sending module
Including transmitting element and retransmission unit;
Described transmitting element, for sending each data block successively to target single board, for described target
Veneer returns the first response message after receiving described each data block respectively;
Described transmitting element, is additionally operable to send to target single board each data block successively, receives described
The first response message that target single board returns;
Described retransmission unit, disappears for not receiving described first response in the first default response time
Breath, then resend described data block;
Described transmitting element, is additionally operable to receive described first response in the first default response time and disappears
Breath, then continue to send subsequent data chunk extremely described target single board, until having sent described all data blocks.
8. data processing equipment between plate as claimed in claim 7, it is characterised in that described sending module
Also include recording unit;
Described record unit, for recording the sending times of described data block;
Described retransmission unit, is additionally operable to when the sending times of described data block is more than or equal to preset times,
Stop sending described data block, resend described all data blocks.
9. data processing equipment between plate as claimed in claim 8, it is characterised in that described transmitting element,
It is additionally operable to send to target single board described all data blocks successively, is receiving for described target single board
The second response message is returned after described all data blocks
Described transmitting element, is additionally operable to send to target single board described total data successively, receives institute
State the second response message that target single board returns;
Described retransmission unit, is additionally operable to not receive described second response in the second default response time
Message, then resend described all data blocks.
10. data processing equipment between the plate as described in any one of claim 6 to 9, it is characterised in that
Between described plate, data processing equipment also includes receiver module, the first responder module and the second responder module;
Described receiver module, for receiving from the external data outside veneer;
Described receiver module, is additionally operable to, after receiving described external data, identify described external data
Type;
Described first responder module, if being data block for described external data, returning first the most respectively should
Answer the message source veneer to the described external data of transmission, and continue to next data of described external data
Block, until having received all data blocks of described external data;
Described second responder module, for after all data blocks receiving described external data, by institute
The all data blocks stating external data is reassembled as partial data, and it is described to sending to return the second response message
The source veneer of external data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510174826.4A CN106161545A (en) | 2015-04-14 | 2015-04-14 | Data processing method and device between plate |
PCT/CN2015/090547 WO2016165289A1 (en) | 2015-04-14 | 2015-09-24 | Inter-board data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510174826.4A CN106161545A (en) | 2015-04-14 | 2015-04-14 | Data processing method and device between plate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161545A true CN106161545A (en) | 2016-11-23 |
Family
ID=57126168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510174826.4A Pending CN106161545A (en) | 2015-04-14 | 2015-04-14 | Data processing method and device between plate |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106161545A (en) |
WO (1) | WO2016165289A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764922A (en) * | 2018-07-25 | 2020-02-07 | 中兴通讯股份有限公司 | Data processing method, single board and computer storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115378805A (en) * | 2022-07-27 | 2022-11-22 | 杭州云豆豆智能科技有限公司 | Communication equipment and starting method and device thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797976A (en) * | 2004-12-29 | 2006-07-05 | 华为技术有限公司 | Method for transmitting data between main and standby boards |
CN101188534A (en) * | 2007-12-11 | 2008-05-28 | 中兴通讯股份有限公司 | A device and method for realizing signaling communication network and network communication network channel |
US20100146183A1 (en) * | 2008-12-05 | 2010-06-10 | Advanced Fusion Technologies | Method and system for enhanced interconnectivity in vessel computers |
CN103036817A (en) * | 2012-12-14 | 2013-04-10 | 华为技术有限公司 | Server single-board, server single-board realization method and host processor |
CN103222237A (en) * | 2012-12-05 | 2013-07-24 | 华为技术有限公司 | Data processing method, communication single board and equipment |
-
2015
- 2015-04-14 CN CN201510174826.4A patent/CN106161545A/en active Pending
- 2015-09-24 WO PCT/CN2015/090547 patent/WO2016165289A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797976A (en) * | 2004-12-29 | 2006-07-05 | 华为技术有限公司 | Method for transmitting data between main and standby boards |
CN101188534A (en) * | 2007-12-11 | 2008-05-28 | 中兴通讯股份有限公司 | A device and method for realizing signaling communication network and network communication network channel |
US20100146183A1 (en) * | 2008-12-05 | 2010-06-10 | Advanced Fusion Technologies | Method and system for enhanced interconnectivity in vessel computers |
CN103222237A (en) * | 2012-12-05 | 2013-07-24 | 华为技术有限公司 | Data processing method, communication single board and equipment |
CN103036817A (en) * | 2012-12-14 | 2013-04-10 | 华为技术有限公司 | Server single-board, server single-board realization method and host processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764922A (en) * | 2018-07-25 | 2020-02-07 | 中兴通讯股份有限公司 | Data processing method, single board and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016165289A1 (en) | 2016-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850188B (en) | A kind of data transmission system based on multichannel isomery one-way transmission path | |
CN107087033B (en) | Message pushing method and device, storage medium and computer equipment | |
CN103069869B (en) | Reducing congestion in wireless communication networks | |
CN110377570B (en) | Node switching method and device, computer equipment and storage medium | |
CN107113056B (en) | Method, device and equipment for determining application time of CSI report | |
CN102149168B (en) | Method and device for determining physical downlink control channel (PDCCH) search space | |
CN113746900B (en) | Intranet data transmission method, electronic device and computer readable storage medium | |
CN105991246A (en) | Data retransmission method and apparatus thereof | |
CN113439457A (en) | Mobility enhancement in connected state | |
CN110831039A (en) | Data transmission method and transmission server in multi-path concurrent system | |
CN111698696A (en) | Data transmission method and device | |
CN109391968A (en) | Communication means and communication device | |
CN106161545A (en) | Data processing method and device between plate | |
CN103095435B (en) | Determine the method for HARQ pattern, uplink data transmission method and equipment | |
CN109889312A (en) | Multilink data transmission method, device and computer readable storage medium | |
CN110022534B (en) | Data transmission method and device based on multicast | |
CN103139820A (en) | Link detection method and network elements | |
CN106792844B (en) | Data transmission method and device | |
CN103944688A (en) | Processing method, apparatus and system for feedback information | |
CN113344743A (en) | Fault hazard index calculation and vulnerability assessment method for smart power grid | |
CN107359972A (en) | A kind of data receiver method and device | |
CN101765204A (en) | Alarming reporting method and device | |
CN101848473B (en) | Method of handling radio link failure in a wireless communication system and related communication device | |
CN106385322B (en) | A kind of data group calling method, apparatus and system | |
CN111757371A (en) | Statistical method of transmission delay, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161123 |