CN106357371B - Across computer room data transmission method and server - Google Patents

Across computer room data transmission method and server Download PDF

Info

Publication number
CN106357371B
CN106357371B CN201610933144.1A CN201610933144A CN106357371B CN 106357371 B CN106357371 B CN 106357371B CN 201610933144 A CN201610933144 A CN 201610933144A CN 106357371 B CN106357371 B CN 106357371B
Authority
CN
China
Prior art keywords
message
server
recombination
coded
initial request
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.)
Active
Application number
CN201610933144.1A
Other languages
Chinese (zh)
Other versions
CN106357371A (en
Inventor
吴连朋
刘宝国
刘先攀
于芝涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Poly Polytron Technologies Inc
Original Assignee
Poly Polytron Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Poly Polytron Technologies Inc filed Critical Poly Polytron Technologies Inc
Priority to CN201610933144.1A priority Critical patent/CN106357371B/en
Publication of CN106357371A publication Critical patent/CN106357371A/en
Application granted granted Critical
Publication of CN106357371B publication Critical patent/CN106357371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides across the computer room data transmission method of one kind and server, this method comprises: the initial request message of acquisition request second server processing, second server are located at different computer rooms from first server;First character string is added in initial request message, obtain the first recombination message, coded treatment is carried out to the first recombination message, obtain the first coded message, and the first coded message is sent to the corresponding network-safeguard system of second server, when so that network-safeguard system judging that the first coded message is safe, the first coded message is sent to second server;If not receiving the response message of second server transmission in preset duration, then the second character string is added in initial request message, obtains the second recombination message, coded treatment is carried out to the second recombination message, the second coded message is obtained, and sends the second coded message to network-safeguard system;For improving the reliability of across computer room data transmission.

Description

Across computer room data transmission method and server
Technical field
The present embodiments relate to statistical technique fields, more particularly to a kind of across computer room data transmission method and server.
Background technique
Currently, often will appear with the continuous dilatation of Internet service and the continuous improvement of interconnection services complexity The demand of across computer room data transmission, wherein the server in different computer rooms is usually located in different subnets.
Second server of the first server into target computer room during the transmission of across computer room data, in the computer room of source The request message of transmission can be sent to the network-safeguard system in target computer room first, which first disappears to request Breath carries out safety detection, and determining request message in network-safeguard system, there are when security risk, refuse to send to second server The request message is sent to second server when network-safeguard system determines that request message is safe, then by request message, so that Second server handles the request message.Since the security requirement of across computer room data transmission is higher, network is anti- Protecting system is higher to the inspecting force of the request message from other computer rooms, and then causes normal request message by network protection System intercepts.In the prior art, when the request message that first server is sent to second server is intercepted, first service Device continues to send the request message to second server, when same request message is sent repeatedly still without response is obtained, the One server is abandoned sending the request message to second server, so that the request message is unable to get normal processing, and then leads Cause the reliability of across computer room data transmission lower.
Summary of the invention
The embodiment of the present invention provides across the computer room data transmission method of one kind and server, for improving across computer room data transmission Reliability.
In a first aspect, the embodiment of the present invention provides a kind of across computer room data transmission method, it is applied to first server, it is described Method includes:
The initial request message of acquisition request second server processing, the second server and the first server position In different computer rooms;
First character string is added in the initial request message, the first recombination message is obtained, to first recombination Message carries out coded treatment, obtains the first coded message, and send institute to the corresponding network-safeguard system of the second server The first coded message is stated, when so that the network-safeguard system judging that first coded message is safe, Xiang Suoshu second service Device sends first coded message;
If not receiving the response message that the second server is sent in preset duration, the second character string is added To in the initial request message, the second recombination message is obtained, coded treatment is carried out to the second recombination message, obtains second Coded message, and second coded message is sent to the network-safeguard system;Wherein, first coded message and described The similarity of second coded message is less than default similarity.
In a kind of possible embodiment, coded treatment is carried out to the first recombination message, comprising:
The first recombination message is encrypted, and/or, compression processing is carried out to the first recombination message;
Coded treatment is carried out to the second recombination message, comprising:
The second recombination message is encrypted, and/or, compression processing is carried out to the second recombination message.
In alternatively possible embodiment, the second character string is added in the initial request message, obtains Before two recombination message, further includes:
Obtain the transmission failure time of recombination message corresponding to the initial request message and the initial request message Number;
Determine that the transmission frequency of failure is greater than or equal to preset times.
In alternatively possible embodiment, however, it is determined that the transmission frequency of failure is less than the preset times, described Method further include:
The first recombination message is sent to the second server.
Second aspect, the embodiment of the present invention provide a kind of across computer room data transmission method, are applied to second server, described Method includes:
The second coded message that the corresponding network-safeguard system of the second server is sent is received, second coding disappears Breath is what the first server was sent to the network-safeguard system, and the first server and the second server are located at Different computer rooms;
Processing is decoded to second coded message, obtains the second recombination message;
Reduction treatment is carried out to the second recombination message, obtains initial request message, and to the initial request message It is handled.
In a kind of possible embodiment, processing is decoded to second coded message, the second recombination is obtained and disappears Breath, comprising:
Processing is decoded to second coded message;
And/or
Processing is unziped it to second coded message.
In alternatively possible embodiment, reduction treatment is carried out to the second recombination message, obtains initial request Message, comprising:
According to default reformulation rule, determine that the length of the character string in the second recombination message and the character string exist Position in the second recombination message;
According to the length of the character string in the second recombination message and the character string in the second recombination message Position, it is described second recombination message in remove the character string, obtain the initial request message.
The third aspect, the embodiment of the present invention provide a kind of first server, comprising:
First obtains module, for the initial request message of acquisition request second server processing, the second server It is located at different computer rooms from the first server;
Recombination module obtains the first recombination message for the first character string to be added in the initial request message;
Coding module obtains the first coded message for carrying out coded treatment to the first recombination message;
Sending module, for sending first coded message to the corresponding network-safeguard system of the second server, When so that the network-safeguard system judging that first coded message is safe, Xiang Suoshu second server sends described first and compiles Code message;
The recombination module is also used to, when the first server does not receive the second server in preset duration When the response message of transmission, the second character string is added in the initial request message, obtains the second recombination message;
The coding module is also used to, and is carried out coded treatment to the second recombination message, is obtained the second coded message;Its In, the similarity of first coded message and second coded message is less than default similarity;
The sending module is also used to, and Xiang Suoshu network-safeguard system sends second coded message.
In a kind of possible embodiment, the coding module is specifically used for:
The first recombination message is encrypted, and/or, compression processing is carried out to the first recombination message;
The second recombination message is encrypted, and/or, compression processing is carried out to the second recombination message.
In alternatively possible embodiment, the first server further includes the second acquisition module and determining module, Wherein,
The second acquisition module is used for, and the second character string is added to the initial request message in the recombination module In, before obtaining the second recombination message, obtains recombination corresponding to the initial request message and the initial request message and disappear The transmission frequency of failure of breath;
The determining module is used for, and determines that the transmission frequency of failure is greater than or equal to preset times.
In alternatively possible embodiment, the sending module is also used to, and determines the hair in the determining module When the frequency of failure being sent to be less than the preset times, Xiang Suoshu second server sends the first recombination message.
Fourth aspect, the embodiment of the present invention provide a kind of second server, comprising:
Receiving module, the second coded message sent for receiving the corresponding network-safeguard system of the second server, Second coded message is that the first server is sent to the network-safeguard system, the first server and described Second server is located at different computer rooms;
Decoder module obtains the second recombination message for being decoded processing to second coded message;
Recovery module obtains initial request message for carrying out reduction treatment to the second recombination message;
Processing module, for handling the initial request message.
In a kind of possible embodiment, the decoder module is specifically used for:
Processing is decoded to second coded message;
And/or
Processing is unziped it to second coded message.
In alternatively possible embodiment, the recovery module is specifically used for:
According to default reformulation rule, determine that the length of the character string in the second recombination message and the character string exist Position in the second recombination message;
According to the length of the character string in the second recombination message and the character string in the second recombination message Position, it is described second recombination message in remove the character string, obtain the initial request message.
Across computer room data transmission method and server provided in an embodiment of the present invention, in first server to second server After sending corresponding first coded message of initial request message, if first server does not receive the second clothes in preset duration When the response message that business device is sent, first server thinks that first coded message is intercepted, and first server is in order to avoid first The corresponding coded message of beginning request message is intercepted again, then first server is recombinated and compiled to initial request message again Code, obtains the second coded message, and the similarity of second coded message and the first coding is less than default similarity, and then can have Effect avoids the second coded message intercepted so that second server can to the corresponding initial request message of the second coded message into Row processing, and then improve the reliability of across computer room data transmission.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram provided by the invention across computer room data transmission method;
Fig. 2 is the flow diagram one provided by the invention across computer room data transmission method;
Fig. 3 is the flow diagram two provided by the invention across computer room data transmission method;
Fig. 4 is the structural schematic diagram one of first server provided by the invention;
Fig. 5 is the structural schematic diagram two of first server provided by the invention;
Fig. 6 is the structural schematic diagram of second server provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram provided by the invention across computer room data transmission method, referring to Figure 1, including source Computer room 101 and purpose computer room 102 are provided with first server 1011 in source computer room 101, are provided with second in purpose computer room 102 Server 1021 and network-safeguard system 1022.Wherein, source computer room 101 and purpose computer room 102 be usually located at different subnet and Different geographical locations.It should be noted that in actual application, other servers can also be set in source computer room 101, Also other servers can be set in purpose computer room 102, corresponding network protection also can be set in first server 1011 System.
When first server 1011 sends request message to second server 1021, first corresponded to by second server 1021 Network-safeguard system 1022 request message is verified, when network-safeguard system 1022 determine request message it is safe when, then The request message is sent to second server 1021, when network-safeguard system 1022 determines that request message is dangerous, this is asked It asks message to be intercepted, and no longer sends the request message to second server 1021.
In this application, judge that the request message for being sent to second server 1021 is intercepted it in first server 1011 Afterwards, first server 1011 recombinates request message, and sends the request message after recombination to second server 1021, by The similarity of request message and request message after recombination is lower, and then it is possible to prevente effectively from request message is intercepted again, And then improve the reliability of across computer room data transmission.
In the following, technical solution shown in the application is described in detail by specific embodiment.Under it should be noted that These specific embodiments of face can be combined with each other, may be in certain embodiments for the same or similar concept or process It repeats no more.
Fig. 2 is the flow diagram one provided by the invention across computer room data transmission method, refers to Fig. 2, this method can To include:
The initial request message that S201, first server acquisition request second server are handled, second server and first Server is located at different computer rooms;
First character string is added in initial request message by S202, first server, obtains the first recombination message, to One recombination message carries out coded treatment, obtains the first coded message;
S203, first server send the first coded message to the corresponding network-safeguard system of second server;
When S204, network-safeguard system determine that the first coded message is dangerous, the first coded message is intercepted;
If S205, first server do not receive the response message of second server transmission in preset duration, by the Two character strings are added in initial request message, obtain the second recombination message, are carried out coded treatment to the second recombination message, are obtained Second coded message;
S206, first server send the second coded message to network-safeguard system;
Wherein, the similarity of the first coded message and the second coded message is less than default similarity;
When S207, network-safeguard system determine that the second coded message is safe, the second coded message is sent to second server;
S208, second server are decoded processing to the second coded message, obtain the second recombination message;
S209, second server carry out reduction treatment to the second recombination message, obtain initial request message, and to initially asking Message is asked to be handled;
S210, second server send response message to first server.
In this application, first server receive client transmission request message after, first server and with Other servers that first server is located at same computer room possibly can not be handled the request message, if the request message needs When being handled by the second server for being located at other computer rooms, then first server can send the request to second server Message, to request second server to handle the request message.
In this application, after first server gets initial request message for the first time, first server can be executed Embodiment shown in Fig. 2, which is realized to second server, sends the initial request message.In first server N, (N is to be greater than or wait In 1 positive integer) it is secondary to second server send initial request message after, if first server is not received by second service When that device is sent, the corresponding response message of the initial request message, first server can also execute embodiment shown in Fig. 2 again It is secondary to send the initial request message to second server.In actual application, first server repeats shown in Fig. 2 Embodiment, until first server receives second server transmission, the corresponding corresponding message of the initial request message.
It should be noted that if just being received after first server repeatedly sends initial request message to second server Send to second server, the corresponding response message of the initial request message, then first server is each time to second service The process that device sends initial request message is identical, in the following, arbitrarily initially being asked to second server transmission twice with first server For the process for seeking message, across computer room data transmission method is described in detail.
In actual application, when first server gets initial request message for the first time, alternatively, first server When sending initial request message to second server and not receiving the corresponding corresponding message of the initial request message, the first clothes Device of being engaged in generates the first random character string, and optionally, the length of first character string can be preset length, and by first word Symbol string is added in initial request message, is obtained the first recombination message, optionally, the first character string can be added to and initially be asked Ask the head or tail portion of message.
After first server obtains the first recombination message, first server carries out at coding the first recombination message Reason, obtains the first coded message.Optionally, first server can be encrypted the first recombination message, and/or, it is right First recombination message carries out compression processing, and then obtains the first coded message.Optionally, disappear in first server to the first recombination After breath carries out coded treatment, the first obtained coded message is the corresponding binary code stream of the first recombination message.It needs to illustrate , in actual application, most of request message that first server is sent to second server will not be intercepted, because This, for improve data transfer efficiency, when first server sends initial request message to second server for the first time, the first clothes Business device can not carry out recombination and coded treatment to initial request message;Optionally, when first server does not disappear to initial request When breath carries out recombination and coded treatment, default mark can be carried in initial request message, to indicate that second server receives To message be do not carry out recombination and coded treatment message.
After first server obtains the first coded message, when first server needs to send first to second server When coded message, the first coded message is first sent to the corresponding network-safeguard system of second server by first server needs, Safety monitoring is carried out to the first coded message by network-safeguard system.When network-safeguard system determines that the first coded message is dangerous When, network-safeguard system intercepts first coded message, and does not send first coded message to second server;When network is anti- When protecting system determines that the first coded message is safe, which is sent to second server by network-safeguard system, and First coded message is handled by second server.
Assuming that network-safeguard system determines that the first coded message is dangerous, then network-safeguard system is to first coded message It is intercepted, in this way, first server can not receive the response message of second server transmission in preset duration.When first Server does not receive the response message of second server transmission in preset duration, then first server may infer that the first volume Code message is intercepted, and in order to guarantee that initial request message is normally processed, then first server needs again to second server Initial request message is sent, in order to avoid initial request message is intercepted again, then first server needs to disappear to initial request Breath is recombinated, specific:
First server regenerates the second random character string, second character string and the first character string difference, and the Two character strings are identical with the length of the first character string, and second character string is added in initial request message, obtain second Second character string optionally can be added to the head or tail portion of initial request message by recombination message.Due to the first character String is different with the second character string, therefore the first recombination message and the second recombination message are different.
After first server obtains the second recombination message, coded treatment is carried out to the second recombination message, obtains second Coded message.Optionally, first server can be encrypted the second recombination message, and/or, to the second recombination message Compression processing is carried out, to obtain the second coded message.Optionally, which can be corresponding for the second recombination message Binary code stream;Since the first recombination message and the second recombination message is not identical, since the first coded message is recombinated to first The binary encoding of message, the second coded message is the binary encoding to the second recombination message, when the first recombination message and the second weight When having subtle difference in group message, then then there is huge difference between the first recombination message and the second recombination message, therefore, when When the first character string in first recombination message recombinates the second character string difference in new information with second, then it can guarantee first The similarity of coded message and the second coded message is less than default similarity, and optionally, which can be 20% etc..
After first server obtains the second coded message, first server is to the corresponding network protection of second server System sends second coded message, since the similarity of second coded message and the first coded message is similar less than presetting Degree, therefore, a possibility that network-safeguard system intercepts the second coded message very little.
When network-safeguard system judges that the second coded message is safe, network-safeguard system to second server send this Two coded messages.
After second server receives the second coded message, second server first solves the second coded message Code processing, obtains the second recombination message.Wherein, same coding/solution is preset between first server and second server Code rule, when first server encodes recombination message, first server disappears to recombination according to preset coding rule Breath is encoded;Correspondingly, second server is advised according to preset decoding when second server is decoded coded message Then, coded message is decoded.Optionally, when recombination message is encrypted in first server, second server Processing is decoded to coded message, when first server carries out compression processing to recombination message, second server is to coding Message carries out decompression processing, and when first server carries out encryption and compression processing to recombination message, second server is to coding Message is decrypted and decompression processing.
After second server obtains the second recombination message, second server carries out also original place to the second recombination message Reason, obtains initial request message.Wherein, default reformulation rule is provided between first server and second server, this is pre- If reformulation rule defines the position of the length and character string of character string in initial request message;In first server to first When beginning request message is recombinated, first server generates the character string of preset length according to reformulation rule, and by the word of generation Symbol string is added in initial request message, position specified in default reformulation rule, second server to recombination character string into When row reduction, second server determines the length and character string of the character string in the second recombination message according to default reformulation rule Position in the second recombination message, and according to the length and character string of the character string in the second recombination message in the second recombination Position in message removes character string in the second recombination message, obtains initial request message.
After second server obtains initial request message, second server handles initial request message, and Corresponding response message is fed back to first server.
Across computer room data transmission method provided in an embodiment of the present invention is sent initially in first server to second server After corresponding first coded message of request message, if first server does not receive second server transmission in preset duration Response message when, first server thinks that first coded message is intercepted, and first server disappears in order to avoid initial request It ceases corresponding coded message to be intercepted again, then first server is recombinated and encoded to initial request message again, is obtained The similarity of second coded message, second coded message and the first coding, which is less than, presets similarity, and then it is possible to prevente effectively from Second coded message is intercepted so that second server can be to the corresponding initial request message of the second coded message at Reason, and then improve the reliability of across computer room data transmission.
On the basis of embodiment shown in Fig. 2, after first server sends the first coded message to second server, If first server does not receive the response message of second server transmission, initial request message is carried out in first server Before recombinating again, in order to improve data-handling efficiency, first server can first determine the response for not receiving second server The reason of message, and determine whether to carry out again initial request message according to the reason of response message for not receiving second server Secondary recombination, specifically, embodiment shown in Figure 3.
Fig. 3 is the flow diagram two provided by the invention across computer room data transmission method, refers to Fig. 3, this method can To include:
The initial request message that S301, first server acquisition request second server are handled, second server and first Server is located at different computer rooms;
First character string is added in initial request message by S302, first server, obtains the first recombination message, to One recombination message carries out coded treatment, obtains the first coded message;
S303, first server send the first coded message to the corresponding network-safeguard system of second server;
When S304, network-safeguard system determine that the first coded message is dangerous, the first coded message is intercepted;
If S305, first server do not receive the response message of second server transmission, acquisition pair in preset duration The transmission frequency of failure of initial request message and the corresponding recombination message of initial request message;
S306, first server judgement send the frequency of failure and are greater than or equal to preset times;
If it is not, then executing S307;
If so, executing S308;
S307, first server send the first recombination message to second server again;
Second character string is added in initial request message by S308, first server, obtains the second recombination message, to Two recombination message carry out coded treatment, obtain the second coded message;
S309, first server send the second coded message to network-safeguard system;
Wherein, the similarity of the first coded message and the second coded message is less than default similarity;
When S310, network-safeguard system determine that the second coded message is safe, the second coded message is sent to second server;
S311, second server are decoded processing to the second coded message, obtain the second recombination message;
S312, second server carry out reduction treatment to the second recombination message, obtain initial request message, and to initially asking Message is asked to be handled;
S313, second server send response message to first server.
It should be noted that the implementation procedure of S301-S304 may refer to the S201-S204 in embodiment illustrated in fig. 2, The implementation procedure of S308-S313 may refer to the S205-S210 in embodiment illustrated in fig. 2, no longer be repeated herein.
In S305, after first server sends the first coded message to second server, if first server exists The response message of second server transmission is not received in preset duration, first server obtains first server to initial request Message and to initial request message it is corresponding recombination message the transmission frequency of failure, wherein the transmission frequency of failure refers to first Server sends initial request message or the corresponding recombination message of initial request message and the sound for not receiving second server transmission Answer the number of message.
If the frequency of failure is greater than or equal to preset times, it is initial to illustrate that first server is sent to second server Request message or the corresponding recombination message of initial request message are intercepted, then first server again carries out initial request message Recombination and coded treatment.
If the frequency of failure be less than preset times, illustrate may be due to other (such as network cause, load original Cause) etc. make second server not to first server send response message, then in order to improve treatment effeciency, first server is not Initial request message is recombinated again and coded treatment again, but sends the first recombination message to second server again. This way it is possible to avoid first server carries out unnecessary recombination and coded treatment, and then improves and data are handled Efficiency.
Fig. 4 is the structural schematic diagram one of first server provided by the invention, refers to Fig. 4, which can be with Include:
First obtains module 401, for the initial request message of acquisition request second server processing, the second service Device is located at different computer rooms from the first server;
Recombination module 402 obtains the first recombination and disappears for the first character string to be added in the initial request message Breath;
Coding module 403 obtains the first coded message for carrying out coded treatment to the first recombination message;
Sending module 404 disappears for sending first coding to the corresponding network-safeguard system of the second server Breath, when so that the network-safeguard system judge that first coded message is safe, Xiang Suoshu second server transmission described the One coded message;
The recombination module 402 is also used to, when the first server does not receive second clothes in preset duration When the response message that business device is sent, the second character string is added in the initial request message, the second recombination message is obtained;
The coding module 403 is also used to, and is carried out coded treatment to the second recombination message, is obtained the second coding and disappear Breath;Wherein, the similarity of first coded message and second coded message is less than default similarity;
The sending module 404 is also used to, and Xiang Suoshu network-safeguard system sends second coded message.
First server provided in an embodiment of the present invention can execute technical solution shown in above method embodiment, in fact Existing principle and beneficial effect are similar, are no longer repeated herein.
In a kind of possible embodiment, the coding module 403 is used for:
The first recombination message is encrypted, and/or, compression processing is carried out to the first recombination message;
The second recombination message is encrypted, and/or, compression processing is carried out to the second recombination message.
Fig. 5 is that the structural schematic diagram two of first server provided by the invention is asked on the basis of the embodiment shown in fig. 4 Referring to Fig. 5, the first server further includes the second acquisition module 405 and determining module 406, wherein
The second acquisition module 405 is used for, and the second character string is added to the initial request in the recombination module In message, before obtaining the second recombination message, obtain corresponding heavy to the initial request message and the initial request message The transmission frequency of failure of group message;
The determining module 406 is used for, and determines that the transmission frequency of failure is greater than or equal to preset times.
In alternatively possible embodiment, the sending module 404 is also used to, and is determined in the determining module 406 When the transmission frequency of failure is less than the preset times, Xiang Suoshu second server sends the first recombination message.
First server provided in an embodiment of the present invention can execute technical solution shown in above method embodiment, in fact Existing principle and beneficial effect are similar, are no longer repeated herein.
Fig. 6 is the structural schematic diagram of second server provided by the invention, refers to Fig. 6, which can wrap It includes:
Receiving module 601 disappears for receiving the second coding that the corresponding network-safeguard system of the second server is sent Breath, second coded message are that the first server is sent to the network-safeguard system, the first server with The second server is located at different computer rooms;
Decoder module 602 obtains the second recombination message for being decoded processing to second coded message;
Recovery module 603 obtains initial request message for carrying out reduction treatment to the second recombination message;
Processing module 604, for handling the initial request message.
Second server provided in an embodiment of the present invention can execute technical solution shown in above method embodiment, in fact Existing principle and beneficial effect are similar, are no longer repeated herein.
In a kind of possible embodiment, the decoder module 602 is specifically used for:
Processing is decoded to second coded message;
And/or
Processing is unziped it to second coded message.
In alternatively possible embodiment, the recovery module 603 is specifically used for:
According to default reformulation rule, determine that the length of the character string in the second recombination message and the character string exist Position in the second recombination message;
According to the length of the character string in the second recombination message and the character string in the second recombination message Position, it is described second recombination message in remove the character string, obtain the initial request message.
Second server provided in an embodiment of the present invention can execute technical solution shown in above method embodiment, in fact Existing principle and beneficial effect are similar, are no longer repeated herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of across computer room data transmission method, which is characterized in that be applied to first server, which comprises
The initial request message of acquisition request second server processing, the second server and the first server are located at not Same computer room;
First character string is added in the initial request message, the first recombination message is obtained, to the first recombination message Coded treatment is carried out, obtains the first coded message, and sends described the to the corresponding network-safeguard system of the second server One coded message, when so that the network-safeguard system judging that first coded message is safe, Xiang Suoshu second server hair Send first coded message;
If not receiving the response message that the second server is sent in preset duration, the second character string is added to institute It states in initial request message, obtains the second recombination message, coded treatment is carried out to the second recombination message, obtains the second coding Message, and second coded message is sent to the network-safeguard system;Wherein, first coded message and described second The similarity of coded message is less than default similarity.
2. the method according to claim 1, wherein
Coded treatment is carried out to the first recombination message, comprising:
The first recombination message is encrypted, and/or, compression processing is carried out to the first recombination message;
Coded treatment is carried out to the second recombination message, comprising:
The second recombination message is encrypted, and/or, compression processing is carried out to the second recombination message.
3. method according to claim 1 or 2, which is characterized in that the second character string is added to the initial request and is disappeared In breath, before obtaining the second recombination message, further includes:
Obtain the transmission frequency of failure of recombination message corresponding to the initial request message and the initial request message;
Determine that the transmission frequency of failure is greater than or equal to preset times.
4. according to the method described in claim 3, it is characterized in that, however, it is determined that the transmission frequency of failure is less than described default time Number, the method also includes:
The first recombination message is sent to the second server.
5. a kind of across computer room data transmission method, which is characterized in that be applied to second server, which comprises
The second coded message that the corresponding network-safeguard system of the second server is sent is received, second coded message is First server is sent to the network-safeguard system, and the first server and the second server are located at different machines Room;
Processing is decoded to second coded message, obtains the second recombination message;
Reduction treatment is carried out to the second recombination message, obtains initial request message, and carry out to the initial request message Processing.
6. according to the method described in claim 5, obtaining it is characterized in that, be decoded processing to second coded message Second recombination message, comprising:
Processing is decoded to second coded message;
And/or
Processing is unziped it to second coded message.
7. according to the method described in claim 6, it is characterized in that, being obtained to the second recombination message progress reduction treatment Initial request message, comprising:
According to default reformulation rule, the length and the character string for determining the character string in the second recombination message are described Position in second recombination message;
According to the position of the length of the character string in the second recombination message and the character string in the second recombination message It sets, removes the character string in the second recombination message, obtain the initial request message.
8. a kind of first server characterized by comprising
First obtains module, for the initial request message of acquisition request second server processing, the second server and institute It states first server and is located at different computer rooms;
Recombination module obtains the first recombination message for the first character string to be added in the initial request message;
Coding module obtains the first coded message for carrying out coded treatment to the first recombination message;
Sending module, for sending first coded message to the corresponding network-safeguard system of the second server, so that When the network-safeguard system judges that first coded message is safe, Xiang Suoshu second server sends first coding and disappears Breath;
The recombination module is also used to, and is sent when the first server does not receive the second server in preset duration Response message when, the second character string is added in the initial request message, the second recombination message is obtained;
The coding module is also used to, and is carried out coded treatment to the second recombination message, is obtained the second coded message;Wherein, The similarity of first coded message and second coded message is less than default similarity;
The sending module is also used to, and Xiang Suoshu network-safeguard system sends second coded message.
9. first server according to claim 8, which is characterized in that the coding module is specifically used for:
The first recombination message is encrypted, and/or, compression processing is carried out to the first recombination message;
The second recombination message is encrypted, and/or, compression processing is carried out to the second recombination message.
10. a kind of second server characterized by comprising
Receiving module, the second coded message sent for receiving the corresponding network-safeguard system of the second server are described What the second coded message sent for first server to the network-safeguard system, the first server and the second service Device is located at different computer rooms;
Decoder module obtains the second recombination message for being decoded processing to second coded message;
Recovery module obtains initial request message for carrying out reduction treatment to the second recombination message;
Processing module, for handling the initial request message.
CN201610933144.1A 2016-10-31 2016-10-31 Across computer room data transmission method and server Active CN106357371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610933144.1A CN106357371B (en) 2016-10-31 2016-10-31 Across computer room data transmission method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610933144.1A CN106357371B (en) 2016-10-31 2016-10-31 Across computer room data transmission method and server

Publications (2)

Publication Number Publication Date
CN106357371A CN106357371A (en) 2017-01-25
CN106357371B true CN106357371B (en) 2019-09-17

Family

ID=57865119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610933144.1A Active CN106357371B (en) 2016-10-31 2016-10-31 Across computer room data transmission method and server

Country Status (1)

Country Link
CN (1) CN106357371B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400226A (en) * 2013-07-31 2013-11-20 湖南省烟草公司永州市公司 Integrated tobacco industry information security, operation and maintenance application platform system
CN103778136A (en) * 2012-10-19 2014-05-07 阿里巴巴集团控股有限公司 Cross-room database synchronization method and system
CN103927252A (en) * 2014-04-18 2014-07-16 安徽科大讯飞信息科技股份有限公司 Cross-component log recording method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778136A (en) * 2012-10-19 2014-05-07 阿里巴巴集团控股有限公司 Cross-room database synchronization method and system
CN103400226A (en) * 2013-07-31 2013-11-20 湖南省烟草公司永州市公司 Integrated tobacco industry information security, operation and maintenance application platform system
CN103927252A (en) * 2014-04-18 2014-07-16 安徽科大讯飞信息科技股份有限公司 Cross-component log recording method, device and system

Also Published As

Publication number Publication date
CN106357371A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN107180175B (en) Distribution method, distribution device, and distribution system
CN105791245B (en) A kind of data sending, receiving method and device
CN107295011A (en) The safety certifying method and device of webpage
CN112689014B (en) Double-full-work communication method, device, computer equipment and storage medium
CN118175212B (en) Uplink data transmission method, system, equipment and storage medium
CN104980449B (en) The safety certifying method and system of network request
CN110381049A (en) A kind of WEB dynamic security defence method and system
CN105025480B (en) The method and system of subscriber card digital signature authentication
CN113890730A (en) Data transmission method and system
CN113965381A (en) Method, device, processor and computer readable storage medium for realizing security encryption function of monitoring video
CN101707598B (en) Method, device and system for identifying flood attack
CN115643105A (en) Federal learning method and device based on homomorphic encryption and depth gradient compression
KR101055843B1 (en) Method for encryption and decryption of transaction in power network and system thereof
CN106357371B (en) Across computer room data transmission method and server
CN106850669A (en) Network monitoring system for things message safe transmission method and monitor terminal network registration method
CN104243026A (en) Information sending method and information receiving method, device and system
CN114422173A (en) Data transmission method and system based on visible light and storage medium
CN111211894A (en) Data transmission method, device and system
US9876644B2 (en) Authenticating data packet based on hash image of the data packet in erasure coding-based data transmission
CN111698252B (en) Cloud platform data encryption transmission method and system
CN113542242A (en) Device management method and device management apparatus
Rong et al. WindTalker: an efficient and robust protocol of cloud covert channel based on memory deduplication
CN103514407B (en) The virus method and system of the audio-video document of production net are transferred to from Office Network
CN109741078A (en) One kind is towards retrospective Internet of Things storage system and method
CN115865539B (en) Security binding method, device, equipment 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
GR01 Patent grant
GR01 Patent grant