Summary of the invention
The embodiment of the invention provides a kind of method, equipment and system of transfer of data, through the transfer of data of each separate traffic veneer of unified management, reduces the Internet resources of required distribution, reduces the risk of network attack to business.
The embodiment of the invention provides a kind of system of transfer of data to comprise: the data transmission set of a plurality of service boards and the said a plurality of service boards of unified management;
Said a plurality of service board is used for sending business datum to said data transmission set; Receive the network data that data transmission set sends;
Said data transmission set is used to receive the business datum that each service board sends; Whether detect said each service board registered; According to testing result, send the business datum of registered service board; Perhaps receive the network data that network side sends; Whether detect said network data corresponding service veneer registered; According to testing result, said network data is sent to corresponding registered service board.
The embodiment of the invention provides a kind of method of transfer of data, and this method comprises:
Receive the business datum that each service board sends;
Whether detect said each service board registered;
According to testing result, send the business datum of registered service board.
The embodiment of the invention also provides a kind of method of transfer of data, and this method comprises:
Receive the network data that network side sends;
Whether detect said network data corresponding service veneer registered;
According to testing result, said network data is sent to corresponding registered service board.
Accordingly, the embodiment of the invention provides a kind of equipment of transfer of data, comprising:
First receiver module is used to receive the business datum that each service board sends;
First detection module, whether be used to detect said each service board registered;
First sending module is used for according to testing result, sends the business datum of registered service board.
The embodiment of the invention also provides a kind of equipment of transfer of data, comprising:
Second receiver module is used to receive the network data that network side sends;
Second detection module, whether be used to detect said network data corresponding service veneer registered;
Second sending module is used for according to testing result, and said network data is sent to corresponding registered service board.
The embodiment of the invention provides a kind of method, equipment and system of transfer of data, is used to receive the business datum that each service board sends; Whether detect said each service board registered; According to testing result, send the business datum of registered service board; Perhaps receive the network data that network side sends; Whether detect said network data corresponding service veneer registered; According to testing result, said network data is sent to corresponding registered service board.Method, equipment and the system of the transfer of data that the use embodiment of the invention provides; Each service board is registered to the equipment of transfer of data, so that the transfer of data of this each separate traffic veneer of equipment unified management, owing to need not to be each service board distribute data transmitting rights and resource; Thereby the Internet resources of required distribution have been saved; And the veneer of being responsible for the transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes the attack and the abnormal information that produce on the network terminate in the network data transmission module, and can not arrive business module, the business module data are exerted an influence, thus better maintaining the safety of business datum.
Embodiment
At length set forth to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
In order to solve the problem that prior art exists, the embodiment of the invention provides a kind of method of transfer of data, and is as shown in Figure 1, and send to network side under the situation of business datum at the terminal, and the method for using the embodiment of the invention to provide may further comprise the steps:
Step 101, receive the business datum that each service board sends; Concrete, the terminal is data transmission set distribution network right of way limit and resource, the business data transmission of a plurality of service boards of unified management.Each service board need be registered earlier, so that this each service board of data transmission set real-time listening, and dispatch the business datum that each service board sends to network side.
Whether step 102, to detect each service board registered; Concrete, according to the business datum that receives, obtain the service board that sends this business datum; Whether according to registered sign, it is registered to detect service board, if service board has registered sign, then this service board is registered; Otherwise, be the unregistered service veneer.This registered sign can be information such as the specific identifier of this service board, address.
Step 103, according to testing result, send the business datum of registered service board.Concrete, after detecting this service board and being registered service board, this business datum is packed, and send to network side.Detecting service board is the unregistered service veneer, then abandons the business datum of above-mentioned unregistered service veneer.
Above-mentioned business datum is not sent when successful, judges whether the transmission number of times of this business datum reaches the transmission upper limit; If reach the transmission upper limit, then abandon this business datum; If do not reach the transmission upper limit, then continue to send this business datum.Wherein, sending the upper limit can be provided with in advance, and for example 3 is inferior.
Network side sends to the terminal under the situation of network data, and is as shown in Figure 2 when using the method that the embodiment of the invention provides, and may further comprise the steps:
The network data that step 201, reception network side send;
Whether step 202, to detect network data corresponding service veneer registered;
Step 203, according to testing result, network data is sent to corresponding registered service board.
Concrete, receive the network data that network side sends after, whether according to registered sign, it is registered to detect service board; If have registered sign, then this service board is registered, and this network data is sent to its this corresponding registered service board; If do not have registered sign, then this service board is unregistered, abandons network data.Whether registered detect service board when, this registered sign can be information such as the specific identifier of this service board, address.
Receive after the network data that network side sends, the parameter that can also carry according to network data judges whether this network data is legal, if legal, then continue to detect its corresponding service and whether belongs to registered service board; If illegal, then directly abandon.During judgement, can judge whether this network data has carried the authentication sign, whether comprise special parameter etc. in the parameter that obtains after perhaps this network data being decompressed.
Through foregoing description, can find out the method for the transfer of data that the use embodiment of the invention provides; Each service board is registered to the equipment of transfer of data, so that the transfer of data of this each separate traffic veneer of equipment unified management, owing to need not to be each service board distribute data transmitting rights and resource; Thereby the Internet resources of required distribution have been saved; And the veneer of being responsible for the transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes the attack and the abnormal information that produce on the network terminate in the network data transmission module, and can not arrive business module, the business module data are exerted an influence, thus better maintaining the safety of business datum.
The method of the transfer of data that the embodiment of the invention is provided through specific embodiment below is elaborated, and is as shown in Figure 3 when network side sends business datum, may further comprise the steps:
The business datum A that step 301, reception A service board send;
Whether step 302, to detect the A service board registered; Detect the A service board and whether have registered sign, if having, then the A service board is registered, execution in step 303; If do not have, then the A service board is unregistered, execution in step 306;
Step 303, transmission business datum A;
Whether step 304, detection business datum A send success; If success is then accomplished and is sent; If unsuccessful, then execution in step 305;
Step 305, judge whether the transmission number of times of business datum A reaches the transmission upper limit; If reach the transmission upper limit, then execution in step 306; If do not reach the transmission upper limit, then execution in step 303;
Step 306, abandon business datum A.
During from the network side receiving network data, as shown in Figure 4, may further comprise the steps:
The network data that step 401, reception network side send;
Step 402, judge whether this network data is legal; Concrete, judge according to the parameter that network data is carried whether it is legal, this parameter can be special parameters such as authentication sign, can be positioned at the data head of network data, also can be the parameter that obtains after this network data of decompress(ion).If legal, execution in step 403; If illegal, execution in step 405;
Whether step 403, obtain this network data corresponding service veneer, it is registered to detect this service board; Concrete, whether according to registered sign, it is registered to detect service board; If have registered sign, then this service board is registered, execution in step 404; If do not have registered sign, then this service board is unregistered, execution in step 405.Whether registered detect service board when, this registered sign can be information such as the specific identifier of this service board, address.
Step 404, this network data is sent to its this corresponding registered service board;
Step 405, abandon this network data.
Through foregoing description, can find out the method for the transfer of data that the use embodiment of the invention provides; Each service board is registered to the equipment of transfer of data, so that the transfer of data of this each separate traffic veneer of equipment unified management, owing to need not to be each service board distribute data transmitting rights and resource; Thereby the Internet resources of required distribution have been saved; And the veneer of being responsible for the transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes the attack and the abnormal information that produce on the network terminate in the network data transmission module, and can not arrive business module, the business module data are exerted an influence, thus better maintaining the safety of business datum.
Accordingly, the embodiment of the invention also provides a kind of equipment of transfer of data, and is as shown in Figure 5, specifically comprises:
First receiver module 501 is used to receive the business datum that each service board sends;
First detection module 502, whether be used to detect said each service board registered;
First sending module 503 is used for according to testing result, sends the said business datum of registered service board.
Preferable, first detection module 502 according to the business datum that receives, obtains the service board that sends said business datum; Whether according to registered sign, it is registered to detect said service board.
Preferable, this equipment also comprises:
First judge module 504 is used for business datum and does not send when successful, judges whether the transmission number of times of said business datum reaches the transmission upper limit; If reach the transmission upper limit, then abandon said business datum; If do not reach the transmission upper limit, then continue to send said business datum.
The embodiment of the invention also provides a kind of equipment of transfer of data, and is as shown in Figure 6, comprising:
Second receiver module 601 is used to receive the network data that network side sends;
Second detection module 602, whether be used to detect said network data corresponding service veneer registered;
Second sending module 603 is used for according to testing result, and said network data is sent to corresponding registered service board.
Preferable, second detection module 602, whether according to registered sign, it is registered to detect said service board.
Preferable, this equipment also comprises: second judge module 604, be used for the parameter of carrying according to said network data, and judge whether said network data is legal.
Through foregoing description, can find out the equipment of the transfer of data that the use embodiment of the invention provides; Each service board is registered to the equipment of transfer of data, so that the transfer of data of this each separate traffic veneer of equipment unified management, owing to need not to be each service board distribute data transmitting rights and resource; Thereby the Internet resources of required distribution have been saved; And the veneer of being responsible for the transmission data reduces, and effectively reduces the risk of network attack to business.
The embodiment of the invention also provides a kind of system of transfer of data, and is as shown in Figure 7, comprising: the data transmission set 702 of a plurality of service boards 701 and the said a plurality of service boards of unified management;
These a plurality of service boards 701 are used for sending business datum to said data transmission set 702; Receive the network data that data transmission set 702 sends;
This data transmission set 702 is used to receive the business datum that each service board 701 sends; Whether detect said each service board 701 registered; According to testing result, send the business datum of registered service board 701; Perhaps receive the network data that network side sends; Whether detect said network data corresponding service veneer 701 registered; According to testing result, said network data is sent to corresponding registered service board 701.
Through foregoing description, can find out method, equipment and the system of the transfer of data that the use embodiment of the invention provides; Each service board is registered to the equipment of transfer of data, so that the transfer of data of this each separate traffic veneer of equipment unified management, owing to need not to be each service board distribute data transmitting rights and resource; Thereby the Internet resources of required distribution have been saved; And the veneer of being responsible for the transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes the attack and the abnormal information that produce on the network terminate in the network data transmission module, and can not arrive business module, the business module data are exerted an influence, thus better maintaining the safety of business datum.
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, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.