Summary of the invention
Embodiments provide a kind of method of transfer of data, equipment and system, by the transfer of data of each separate traffic veneer of unified management, reduce the required Internet resources distributed, reduce network attack to the risk of business.
The system embodiments providing a kind of transfer of data comprises: the data transmission set of multiple service board described in multiple service board and unified management;
Described multiple service board, for sending business datum to described data transmission set; Receive the network data that data transmission set sends;
Described data transmission set, for receiving the business datum that each service board sends; Whether registeredly detect each service board described; According to testing result, send the business datum of registered service board; Or receive the network data that network side sends; Whether registeredly detect service board corresponding to described network data; According to testing result, described network data is sent to corresponding registered service board.
Embodiments provide a kind of method of transfer of data, the method comprises:
Receive the business datum that each service board sends;
Whether registeredly detect each service board described;
According to testing result, each service board of real-time listening, and send the business datum of registered service board.
The embodiment of the present invention additionally provides a kind of method of transfer of data, and the method comprises:
Receive the network data that network side sends;
According to the parameter that described network data is carried, judge that whether described network data is legal; If illegal, then abandon described network data; Whether registeredly detect service board corresponding to described network data;
According to testing result, described network data is sent to corresponding registered service board.
Accordingly, embodiments provide a kind of equipment of transfer of data, comprising:
First receiver module, for receiving the business datum that each service board sends;
First detection module, whether registered for detecting each service board described;
First sending module, for according to testing result, each service board of real-time listening, and send the business datum of registered service board.
The embodiment of the present invention additionally provides a kind of equipment of transfer of data, comprising:
Second receiver module, for receiving the network data that network side sends;
Second judge module, for the parameter of carrying according to described network data, judges that whether described network data is legal; Second detection module, whether registered for detecting service board corresponding to described network data;
Second sending module, for according to testing result, is sent to corresponding registered service board by described network data.
Embodiments provide a kind of method of transfer of data, equipment and system, for receiving the business datum that each service board sends; Whether registeredly detect each service board described; According to testing result, send the business datum of registered service board; Or receive the network data that network side sends; Whether registeredly detect service board corresponding to described network data; According to testing result, described network data is sent to corresponding registered service board.Method, the equipment and system of the transfer of data using the embodiment of the present invention to provide, 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, due to without the need to being each service board distribute data transmitting rights and resource, thus save the required Internet resources distributed, and the veneer being responsible for transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes attack that network produces and abnormal information terminate in network data transmission module, and can not arrive business module, has an impact to business module data, thus better maintains the safety of business datum.
Embodiment
Below in conjunction with each accompanying drawing, the main of embodiment of the present invention technical scheme is realized principle, embodiment and set forth in detail the beneficial effect that should be able to reach.
In order to solve prior art Problems existing, embodiments provide a kind of method of transfer of data, as shown in Figure 1, when terminal sends business datum to network side, the method using the embodiment of the present invention to provide, comprises the following steps:
Step 101, receive each service board send business datum; Concrete, terminal is data transmission set distribution network authority and resource, the business data transmission of the multiple service board of unified management.Each service board needs first to register, so that this each service board of data transmission set real-time listening, and dispatches 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 received, obtain the service board sending this business datum; According to registered mark, whether registeredly detect service board, if service board has registered mark, then this service board is registered; Otherwise, be unregistered service veneer.This registered mark can be the information such as specific identifier, address of this service board.
Step 103, according to testing result, send the business datum of registered service board.Concrete, detecting this service board is after registered service board, packs, and be sent to network side to this business datum.Detecting service board is unregistered service veneer, then abandon the business datum of above-mentioned unregistered service veneer.
When above-mentioned business datum does not send successful, judge whether the transmission 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 arranged in advance, and such as 3 is inferior.
When network side sends network data to terminal, during the method using the embodiment of the present invention to provide, as shown in Figure 2, comprise the following steps:
The network data that step 201, reception network side send;
Whether service board corresponding to step 202, Sampling network data be registered;
Step 203, according to testing result, network data is sent to corresponding registered service board.
Concrete, after receiving the network data of network side transmission, according to registered mark, whether registeredly detect service board; If have registered mark, then this service board is registered, this network data is sent to this registered service board of its correspondence; If do not have registered mark, then this service board is unregistered, abandons network data.When whether detection service board is registered, this registered mark can be the information such as specific identifier, address of this service board.
After receiving the network data of network side transmission, the parameter can also carried according to network data, judges that whether this network data is legal, if legal, then whether the business continuing to detect its correspondence belongs to registered service board; If illegal, then directly abandon.During judgement, can judge whether this network data carries certification mark, or whether comprise special parameter etc. in the parameter obtained after this network data is decompressed.
Pass through foregoing description, can find out, the method of the transfer of data using the embodiment of the present invention to provide, 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, due to without the need to being each service board distribute data transmitting rights and resource, thus save the required Internet resources distributed, and the veneer being responsible for transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes attack that network produces and abnormal information terminate in network data transmission module, and can not arrive business module, has an impact to business module data, thus better maintains the safety of business datum.
Be described in detail below by the method for specific embodiment to the transfer of data that the embodiment of the present invention provides, when sending business datum to network side, as shown in Figure 3, comprise the following steps:
The business datum A that step 301, reception A service board send;
Whether step 302, detection A service board be registered; Detect A service board and whether have registered mark, if having, then A service board is registered, performs step 303; If do not have, then A service board is unregistered, performs step 306;
Step 303, transmission business datum A;
Whether step 304, detection business datum A send successfully; If success, then complete transmission; If unsuccessful, then perform step 305;
Step 305, judge whether the transmission times of business datum A reaches the transmission upper limit; If reach the transmission upper limit, then perform step 306; If do not reach the transmission upper limit, then perform step 303;
Step 306, abandon business datum A.
During from network side receiving network data, as shown in Figure 4, comprise the following steps:
The network data that step 401, reception network side send;
Step 402, judge that whether this network data is legal; Concrete, judge that whether it is legal according to the parameter that network data is carried, this parameter can be the special parameters such as certification mark, and can be positioned at the data head of network data, also can be the parameter obtained after this network data of decompress(ion).If legal, perform step 403; If illegal, perform step 405;
Step 403, obtain service board corresponding to this network data, whether registeredly detect this service board; Concrete, according to registered mark, whether registeredly detect service board; If have registered mark, then this service board is registered, performs step 404; If do not have registered mark, then this service board is unregistered, performs step 405.When whether detection service board is registered, this registered mark can be the information such as specific identifier, address of this service board.
Step 404, this network data is sent to this registered service board of its correspondence;
Step 405, abandon this network data.
Pass through foregoing description, can find out, the method of the transfer of data using the embodiment of the present invention to provide, 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, due to without the need to being each service board distribute data transmitting rights and resource, thus save the required Internet resources distributed, and the veneer being responsible for transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes attack that network produces and abnormal information terminate in network data transmission module, and can not arrive business module, has an impact to business module data, thus better maintains the safety of business datum.
Accordingly, the embodiment of the present invention also provides a kind of equipment of transfer of data, as shown in Figure 5, specifically comprises:
First receiver module 501, for receiving the business datum that each service board sends;
First detection module 502, whether registered for detecting each service board described;
First sending module 503, for according to testing result, sends the described business datum of registered service board.
Preferably, first detection module 502, according to the business datum received, obtains the service board sending described business datum; According to registered mark, whether registeredly detect described service board.
Preferably, this equipment, also comprises:
First judge module 504, when not sending successful for business datum, judges whether the transmission times of described business datum reaches the transmission upper limit; If reach the transmission upper limit, then abandon described business datum; If do not reach the transmission upper limit, then continue to send described business datum.
The embodiment of the present invention additionally provides a kind of equipment of transfer of data, as shown in Figure 6, comprising:
Second receiver module 601, for receiving the network data that network side sends;
Second detection module 602, whether registered for detecting service board corresponding to described network data;
Second sending module 603, for according to testing result, is sent to corresponding registered service board by described network data.
Preferably, whether registered the second detection module 602, according to registered mark, detect described service board.
Preferably, this equipment also comprises: the second judge module 604, for the parameter of carrying according to described network data, judges that whether described network data is legal.
Pass through foregoing description, can find out, the equipment of the transfer of data using the embodiment of the present invention to provide, 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, due to without the need to being each service board distribute data transmitting rights and resource, thus save the required Internet resources distributed, and the veneer being responsible for transmission data reduces, and effectively reduces the risk of network attack to business.
The embodiment of the present invention additionally provides a kind of system of transfer of data, as shown in Figure 7, comprising: the data transmission set 702 of multiple service board described in multiple service board 701 and unified management;
The plurality of service board 701, for sending business datum to described data transmission set 702; Receive the network data that data transmission set 702 sends;
This data transmission set 702, for receiving the business datum that each service board 701 sends; Whether registeredly detect each service board 701 described; According to testing result, send the business datum of registered service board 701; Or receive the network data that network side sends; Whether registeredly detect service board corresponding to described network data 701; According to testing result, described network data is sent to corresponding registered service board 701.
Pass through foregoing description, can find out, the method, apparatus and system of the transfer of data using the embodiment of the present invention to provide, 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, due to without the need to being each service board distribute data transmitting rights and resource, thus save the required Internet resources distributed, and the veneer being responsible for transmission data reduces, and effectively reduces the risk of network attack to business.Network data transmission is separated with business module, makes attack that network produces and abnormal information terminate in network data transmission module, and can not arrive business module, has an impact to business module data, thus better maintains the safety of business datum.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.