CN108418884A - A kind of method, apparatus and electronic equipment of transmission services data - Google Patents

A kind of method, apparatus and electronic equipment of transmission services data Download PDF

Info

Publication number
CN108418884A
CN108418884A CN201810193194.XA CN201810193194A CN108418884A CN 108418884 A CN108418884 A CN 108418884A CN 201810193194 A CN201810193194 A CN 201810193194A CN 108418884 A CN108418884 A CN 108418884A
Authority
CN
China
Prior art keywords
destination server
data
sent
client
load equalizer
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
Application number
CN201810193194.XA
Other languages
Chinese (zh)
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810193194.XA priority Critical patent/CN108418884A/en
Publication of CN108418884A publication Critical patent/CN108418884A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1017Server selection for load balancing based on a round robin mechanism
    • 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 Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The method, apparatus and electronic equipment of transmission services data provided in an embodiment of the present invention, belong to computer realm.The present invention to load equalizer by sending the first request message, when receiving the first response message of load equalizer transmission, the second request message is sent to load equalizer, so that the load equalizer is according to preset scheduling rule, it is determined for compliance with the destination server of scheduling rule, then the data of balancing received load device transmission, the internal address of destination server is included in data, further according to internal address, business data transmission is carried out with destination server.Using the method for transmission services data provided by the invention, the server internal address that client in same intranet environment can be sent according to load equalizer, directly data connection is established with server, after establishing data connection, between server and client when transmission services data, it need not be by load equalizer transfer, to improve the reliability and efficiency of communication.

Description

A kind of method, apparatus and electronic equipment of transmission services data
Technical field
The present invention relates to computer realm, more particularly to a kind of the method, apparatus and electronic equipment of transmission services data.
Background technology
In network communications, client usually requires just be communicated after establishing connection with server.Due to client The enormous amount at end, single service node usually cannot be satisfied the service request of whole clients, thus need to provide multiple clothes Business node provides service to the user.Each service node generally comprises multiple servers, and technical staff can give each service node Public network IP (Internet Protocol, an Internet protocol) address is preset, to each server in each service node An IP address of internal network is preset respectively.
For the load of balanced each server, it usually needs use load equalizer, load equalizer can be according to default Scheduling rule, choose and meet the server of the scheduling rule, so that server establishes number with the client for sending connection request According to connection.Then, client sends service data request message to load equalizer, and load equalizer disappears service data request Breath is transmitted to server;Corresponding business datum is sent to load equalizer by server according to business request information, and load is equal The business datum received is transmitted to client by weighing apparatus.
However, the gross efficiency of load equalizer forwarding service data has the upper limit, thus limiting server and client The efficiency of business data transmission between end.Also, when load equalizer breaks down, the data between client and server Connection can be interrupted, and server cannot continue to send business datum to client.
Invention content
The embodiment of the present invention is designed to provide a kind of method, apparatus and electronic equipment of transmission services data, with reality Client in existing same intranet environment directly establishes data connection with server, after establishing data connection, server and visitor It, need not be by load equalizer transfer, to improve the reliability and efficiency of communication between the end of family when transmission services data. Specific technical solution is as follows:
In a first aspect, a kind of method of transmission services data is provided, the method includes:
The first request message is sent to load equalizer;
When receiving the first response message that the load equalizer is sent, sends second to the load equalizer and ask Message is sought, so that the load equalizer is determined for compliance with the destination server of the scheduling rule according to preset scheduling rule;
The data that the load equalizer is sent are received, the internal address of the destination server is included in the data;
According to the internal address, business data transmission is carried out with the destination server.
Optionally, described according to the internal address, business data transmission is carried out with the destination server, including:
According to the internal address, third request message is sent to the destination server;
When receiving the third response message that the destination server is sent, establishes data with the destination server and connect It connects;
Business data transmission is carried out by the data connection and the destination server.
Optionally, described to carry out business data transmission with the destination server, including:
Business request information is sent to the destination server, the mark of business datum is included in the business request information Know;
Receive the corresponding business datum of mark for the business datum that the destination server is sent.
Optionally, the internal address of the destination server is the Intranet Internet protocol IP of the destination server Location.
Second aspect, the method for providing another transmission services data, the method includes:
Receive the first request message that client is sent;
The first response message is sent to the client;
The second request message that the client is sent is received, second request message is used for the Intranet of request server Address;
According to preset scheduling rule, it is determined for compliance with the destination server of the scheduling rule;
Obtain the internal address of the destination server;
The data for including the internal address are sent to the client, so that the client and the destination server Carry out business data transmission.
The third aspect, provides a kind of device of transmission services data, and described device includes:
First sending module, for sending the first request message to load equalizer;
Second sending module, for when receiving the first response message that the load equalizer is sent, being born to described It carries balanced device and sends the second request message, so that the load equalizer is determined for compliance with the tune according to preset scheduling rule The destination server of metric then;
Receiving module, the data sent for receiving the load equalizer include the destination service in the data The internal address of device;
Transmission module, for according to the internal address, business data transmission to be carried out with the destination server.
Optionally, the transmission module, including:
Third sending module, for according to the internal address, third request message to be sent to the destination server;
First receiving module is used for when receiving the third response message that the destination server is sent, with the target Server establishes data connection;
First transmission module, for carrying out business data transmission by the data connection and the destination server.
Optionally, the transmission module, including:
4th sending module, for sending business request information to the destination server, in the business request information Include the mark of business datum;
Second receiving module, the corresponding business of mark for receiving the business datum that the destination server is sent Data.
Optionally, the internal address of the destination server is the Intranet Internet protocol IP of the destination server Location.
Fourth aspect, provides a kind of device of transmission services data, and described device includes:
Third receiving module, the first request message for receiving client transmission;
5th sending module, for sending the first response message to the client;
4th receiving module, the second request message sent for receiving the client, second request message are used In the internal address of request server;
Determining module, for according to preset scheduling rule, being determined for compliance with the destination server of the scheduling rule;
Acquisition module, the internal address for obtaining the destination server;
6th sending module, for sending the data for including the internal address to the client, so that the client End carries out business data transmission with the destination server.
5th aspect, provides a kind of electronic equipment, the electronic equipment include processor, communication interface, memory and Communication bus, wherein the processor, the communication interface, the memory are completed each other by the communication bus Communication;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes above-mentioned transmission services data Method and step.
6th aspect, in order to achieve the above object, the embodiment of the invention also discloses a kind of computer readable storage medium, It is stored with computer program in the computer readable storage medium, when the computer program is executed by processor, realizes such as The method and step of above-mentioned transmission services data.
The method, apparatus and electronic equipment of transmission services data provided in an embodiment of the present invention, by load equalizer The first request message is sent, when receiving the first response message of load equalizer transmission, second is sent to load equalizer Request message, so that load equalizer is determined for compliance with the destination server of scheduling rule, then connects according to preset scheduling rule The data that load equalizer is sent are received, the internal address of destination server is included in data, further according to internal address, are taken with target Business device carries out business data transmission.Using the method for transmission services data provided by the invention, the client in same intranet environment The server internal address that end can be sent according to load equalizer, directly establishes data connection with server, is establishing data It, need not be logical to improve by load equalizer transfer between server and client when transmission services data after connection The reliability and efficiency of letter.Certainly, it implements any of the products of the present invention or method is not necessarily required to reach above-described simultaneously All advantages.
Description of the drawings
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 technology description to be briefly described.
Fig. 1 is a kind of system framework figure of prior art transmission services data provided in an embodiment of the present invention;
Fig. 2 is a kind of system framework figure of transmission services data provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram of transmission services data provided in an embodiment of the present invention;
Fig. 4 is that the signal between a kind of client provided in an embodiment of the present invention, load equalizer and destination server passes Defeated schematic diagram;
Fig. 5 is a kind of apparatus structure schematic diagram of transmission services data provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
The embodiment of the invention discloses a kind of method, apparatus and electronic equipment of transmission services data, carry out individually below It is described in detail.
As shown in FIG. 1, FIG. 1 is client in the prior art, load equalizer and servers provided in an embodiment of the present invention System framework figure, wherein each service node generally comprises multiple servers.In the prior art, when establishing data connection, Client sends the first request message to load equalizer, and load equalizer is according to preset scheduling rule (for example, minimum connection The rules such as scheduling rule or polling dispatching), the server for meeting the scheduling rule is chosen, then establishes server and client Data connection;When carrying out business data transmission, client sends service data request message, load balancing to load equalizer Service data request message is transmitted to server by device, and then server sends out corresponding business datum according to business request information Load equalizer is given, business datum is transmitted to client by final load balanced device.
As shown in Fig. 2, Fig. 2 is a kind of client provided in an embodiment of the present invention, the system of load equalizer and server Frame diagram, client, load equalizer and server in the embodiment of the present invention are in the same intranet environment.In the company of foundation When connecing, client sends the first request message to load equalizer, and load equalizer is according to preset scheduling rule (for example, most Scheduling rule and polling dispatching scheduling algorithm are connected less), the server for meeting the scheduling rule is chosen, then by the Intranet of server Address (for example, IP address of internal network) is sent to client, and client is established with corresponding server and connected according to the internal address It connects;When carrying out business data transmission, client directly sends business request information to server, and server is by corresponding business Data are transmitted directly to client, and business datum no longer needs load equalizer to forward.
As shown in figure 3, be a kind of connection method flow chart of load equalizer provided in an embodiment of the present invention, including it is as follows Step:
Step 301, client sends the first request message to load equalizer.
In force, when client receives the instruction for obtaining business datum, client can be sent out to load equalizer Send the first request message.The address information of address information and load equalizer comprising client in first request message, for example, In first request message, source address is the IP address of client, and destination address is the IP address of load equalizer.Client can be with By sending the first request message, data connection is established with load equalizer.
Step 302, load equalizer receives the first request message that client is sent.
In force, load equalizer can detect the message of client transmission in real time, when client sends the first request After message, load equalizer can receive the first request message, then parse the first request message, obtain the first request message pair The solicited message and client ip address answered.
Step 303, load equalizer sends the first response message to client.
In force, after load equalizer receives the first request message, the first response message can be sent to client, So that client establishes data connection with load equalizer.
Step 304, then the first response message that client balancing received load device is sent sends the to load equalizer Two request messages, so that load equalizer is determined for compliance with the destination server of scheduling rule according to preset scheduling rule.
In force, after client receives the first response message, the second request message is sent to load equalizer, the The internal address that two request messages are used to that load equalizer to be asked to send destination server.Load equalizer receives the second request After message, step 305 is then executed.
Step 305, load equalizer is determined for compliance with the destination server of scheduling rule according to preset scheduling rule.
In force, scheduling rule, such as minimum connection scheduling rule and poll can be prestored in load equalizer The rules such as scheduling.The server that load equalizer according to scheduling rule is prestored, can be determined for compliance with the scheduling rule (can be with Referred to as destination server).In service node, the data connection number of destination server usually connects than the data of other servers Connect that number is few, alternatively, the business datum flow that destination server is sent is fewer than other servers.For example, in service node Including 3 servers, the number of the data connection of 2 servers is all 9000, the data connection of another server Number is 8999, and load equalizer can determine that data connection number is 8999 according to preset minimum connection scheduling rule A server is destination server.
Step 306, load equalizer obtains the internal address of destination server.
In force, load equalizer can obtain the interior of preset destination server after determining destination server Net address and port numbers.Wherein, the internal address of each server is unique in a network, and each server in service node can To be distinguished by respective internal address.
Step 307, load equalizer sends the data for including internal address to client, so that client and destination service Device carries out business data transmission.
In force, the internal address of destination server and port numbers can be sent to client by load equalizer, with Make client executing step 308.
Step 308, client carries out business data transmission according to internal address with destination server.
In force, the internal address that client can be sent according to load equalizer, target corresponding with internal address Server establishes data connection, then carries out business data transmission with destination server.
Optionally, client sends third request message according to internal address to destination server, then receives target clothes The third response message that business device is sent, establishes data connection, finally by data connection and destination server with destination server Carry out business data transmission.
In force, client can send third request according to the internal address of destination server to destination server Message, in third request message, source address can be the IP address of client, and destination address can be the IP address of client, Client can be by sending third request message so that destination server establishes data connection with client.Work as destination server After receiving third request message, third response message can be sent to client, in third response message, source address can be The IP address of destination server, destination address can be the IP address of client, and client can receive third response message.Visitor Family end can also send third confirmation message after receiving third response message to destination server, in third confirmation message, Source address can be the IP address of client, and destination address can be the IP address of destination server so that destination server with Client establishes data connection.After data connection foundation, client and destination server can be by data connections into industry Business data transmission.
In scheme provided in an embodiment of the present invention, client before carrying out business data transmission, is first established with server Data connection can in the transmission lose in this way to avoid business datum.
Optionally, client sends business request information to destination server, includes business datum in business request information Mark, then receive destination server send business datum the corresponding business datum of mark.
In force, client can send business request information to destination server, include pre- in business request information If business datum mark.After destination server receives business request information, being obtained according to the mark of business datum should Corresponding business datum is identified, business datum is then sent into client.For example, being previously stored with multi-section electricity in destination server The video data of shadow, each video data have respective mark, destination server can according to the mark in business request information, It obtains corresponding video data and is sent to client.
In scheme provided in an embodiment of the present invention, client directly carries out business data transmission with destination server, is not required to Load equalizer forwarding service data, the total flow of such business datum are wanted not to be limited by load equalizer, to improve The efficiency of transmission of business datum, and after client and destination server establish data connection, load equalizer breaks down When, business datum can continue to transmit.
Optionally, the internal address of destination server is the IP address of internal network of destination server.
In force, the internal address of destination server can be the IP address of internal network of destination server, because carrying out When business data transmission, usually using TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet protocol) agreement.When using ICP/IP protocol, each server is preset with Intranet IP Address can make client and load equalizer pass through IP address of internal network and identify each server in this way.
When business datum is transmitted using ICP/IP protocol, the letter between client, load equalizer and destination server Number transmission schematic diagram it is as shown in Figure 4.Client sends SYN (synchronous is synchronized) signal, load to load equalizer After equalizer input to SYN signals, to client send SYN-ACK (synchronous-acknowledgement, it is synchronous- Confirm) signal, then client sends ack signal to load equalizer, at this point, client establishes data with load equalizer Connection.Then client sends PSH-ACK (push-acknowledgement, transmission-confirmation) signal to load equalizer, uses In the IP address of internal network of request server, after load equalizer sends ack signal to client, PSH-ACK is sent to client DATA:RS (push-acknowledgement DATA-Real Server, transmission-confirmation data-real server) signal, PSH-ACK DATA:The IP address of internal network and port numbers of destination server can be included in RS signals.Client receives PSH- ACK DATA:After RS signals, sends FIN-ACK (finish-acknowledgement, end-confirmation) to load equalizer and believe Number, it is connect with load equalizer turn-off data, vacates the resource for occupying load equalizer;At the same time, client takes to target Business device sends SYN signals, and data connection is established with destination server for asking, after destination server receives SYN signals, to Client sends SYN-ACK signals, after client receives SYN-ACK signals, sends ack signal to destination server, at this time Client establishes data connection with destination server.Then client carries out business data transmission with destination server.Work as business When the data transfer ends, client is with destination server by sending FIN-ACK signals and ack signal, turn-off data connection.
The method of transmission services data provided in an embodiment of the present invention is disappeared by sending the first request to load equalizer Breath sends the second request message, so that institute when receiving the first response message of load equalizer transmission to load equalizer Load equalizer is stated according to preset scheduling rule, is determined for compliance with the destination server of scheduling rule, then balancing received load The data that device is sent include the internal address of destination server in data, further according to internal address, with destination server into industry Business data transmission.Using the method for transmission services data provided by the invention, the client in same intranet environment can basis The server internal address that load equalizer is sent, directly establishes data connection with server, after establishing data connection, service It, need not be by load equalizer transfer, to improve the reliability of communication between device and client when transmission services data And efficiency.
Based on the same technical idea, embodiment of the method shown in Fig. 1 is corresponded to, the embodiment of the present invention additionally provides a kind of biography The device of defeated business datum, as shown in figure 5, the device includes:
First sending module 501, for sending the first request message to load equalizer;
Second sending module 502, for when receiving the first response message that the load equalizer is sent, to described Load equalizer sends the second request message so that the load equalizer according to preset scheduling rule, be determined for compliance with it is described The destination server of scheduling rule;
Receiving module 503, the data sent for receiving the load equalizer are taken comprising the target in the data The internal address of business device;
Transmission module 504, for according to the internal address, business data transmission to be carried out with the destination server.
Optionally, the transmission module, including:
Third sending module, for according to the internal address, third request message to be sent to the destination server;
First receiving module is used for when receiving the third response message that the destination server is sent, with the target Server establishes data connection;
First transmission module, for carrying out business data transmission by the data connection and the destination server.
Optionally, the transmission module, including:
4th sending module, for sending business request information to the destination server, in the business request information Include the mark of business datum;
Second receiving module, the corresponding business of mark for receiving the business datum that the destination server is sent Data.
Optionally, the internal address of the destination server is the Intranet Internet protocol IP of the destination server Location.
The embodiment of the present invention additionally provides the device of another transmission services data, and described device includes:
Third receiving module, the first request message for receiving client transmission;
5th sending module, for sending the first response message to the client;
4th receiving module, the second request message sent for receiving the client, second request message are used In the internal address of request server;
Determining module, for according to preset scheduling rule, being determined for compliance with the destination server of the scheduling rule;
Acquisition module, the internal address for obtaining the destination server;
6th sending module, for sending the data for including the internal address to the client, so that the client End carries out business data transmission with the destination server.
The device of transmission services data provided in an embodiment of the present invention is disappeared by sending the first request to load equalizer Breath sends the second request message, so that institute when receiving the first response message of load equalizer transmission to load equalizer Load equalizer is stated according to preset scheduling rule, is determined for compliance with the destination server of scheduling rule, then balancing received load The data that device is sent include the internal address of destination server in data, further according to internal address, with destination server into industry Business data transmission.Using the method for transmission services data provided by the invention, the client in same intranet environment can basis The server internal address that load equalizer is sent, directly establishes data connection with server, after establishing data connection, service It, need not be by load equalizer transfer, to improve the reliability of communication between device and client when transmission services data And efficiency.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in fig. 6, including processor 601, communication interface 602, Memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are complete by communication bus 604 At mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes biography provided in an embodiment of the present invention The method of defeated business datum.
Specifically, the method for above-mentioned transmission services data, including:
The first request message is sent to load equalizer;
When receiving the first response message that the load equalizer is sent, sends second to the load equalizer and ask Message is sought, so that the load equalizer is determined for compliance with the destination server of the scheduling rule according to preset scheduling rule;
The data that the load equalizer is sent are received, the internal address of the destination server is included in the data;
According to the internal address, business data transmission is carried out with the destination server.
It should be noted that other realization methods of the method for above-mentioned transmission services data and preceding method embodiment part Identical, which is not described herein again.
The communication bus of above-mentioned electronic equipment can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any institute in above-described embodiment The method for the transmission services data stated.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that the method that computer executes any transmission services data in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
The method, apparatus and electronic equipment of transmission services data provided in an embodiment of the present invention, by load equalizer The first request message is sent, when receiving the first response message of load equalizer transmission, second is sent to load equalizer Request message, so that the load equalizer is determined for compliance with the destination server of scheduling rule, so according to preset scheduling rule The data that load equalizer is sent are received afterwards, the internal address of destination server are included in data, further according to internal address, with mesh It marks server and carries out business data transmission.Using the method for transmission services data provided by the invention, in same intranet environment The server internal address that client can be sent according to load equalizer, directly establishes data connection with server, is establishing It, need not be by load equalizer transfer, to improve between server and client when transmission services data after data connection The reliability and efficiency of communication.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.

Claims (11)

1. a kind of method of transmission services data, which is characterized in that the method includes:
The first request message is sent to load equalizer;
When receiving the first response message that the load equalizer is sent, sends the second request to the load equalizer and disappear Breath, so that the load equalizer is determined for compliance with the destination server of the scheduling rule according to preset scheduling rule;
The data that the load equalizer is sent are received, the internal address of the destination server is included in the data;
According to the internal address, business data transmission is carried out with the destination server.
2. according to the method described in claim 1, it is characterized in that, described according to the internal address, with the destination service Device carries out business data transmission, including:
According to the internal address, third request message is sent to the destination server;
When receiving the third response message that the destination server is sent, data connection is established with the destination server;
Business data transmission is carried out by the data connection and the destination server.
3. method according to claim 1 or 2, which is characterized in that described to carry out business datum with the destination server Transmission, including:
Business request information is sent to the destination server, the mark of business datum is included in the business request information;
Receive the corresponding business datum of mark for the business datum that the destination server is sent.
4. according to the method described in claim 1, it is characterized in that, the internal address of the destination server takes for the target The Intranet internet protocol address of business device.
5. a kind of method of transmission services data, which is characterized in that the method includes:
Receive the first request message that client is sent;
The first response message is sent to the client;
The second request message that the client is sent is received, second request message is used for the interior entoilage of request server Location;
According to preset scheduling rule, it is determined for compliance with the destination server of the scheduling rule;
Obtain the internal address of the destination server;
The data for including the internal address are sent to the client, so that the client is carried out with the destination server Business data transmission.
6. a kind of device of transmission services data, which is characterized in that described device includes:
First sending module, for sending the first request message to load equalizer;
Second sending module, for when receiving the first response message that the load equalizer is sent, being loaded to described Weighing apparatus sends the second request message, so that the load equalizer is determined for compliance with the scheduling rule according to preset scheduling rule Destination server then;
Receiving module, the data sent for receiving the load equalizer, comprising the destination server in the data Internal address;
Transmission module, for according to the internal address, business data transmission to be carried out with the destination server.
7. device according to claim 6, which is characterized in that the transmission module, including:
Third sending module, for according to the internal address, third request message to be sent to the destination server;
First receiving module is used for when receiving the third response message that the destination server is sent, with the destination service Device establishes data connection;
First transmission module, for carrying out business data transmission by the data connection and the destination server.
8. the device described according to claim 6 or 7, which is characterized in that the transmission module, including:
4th sending module is used to send business request information to the destination server, includes in the business request information The mark of business datum;
Second receiving module, the corresponding business number of mark for receiving the business datum that the destination server is sent According to.
9. device according to claim 6, which is characterized in that the internal address of the destination server takes for the target The Intranet internet protocol address of business device.
10. a kind of device of transmission services data, which is characterized in that described device includes:
Third receiving module, the first request message for receiving client transmission;
5th sending module, for sending the first response message to the client;
4th receiving module, the second request message sent for receiving the client, second request message is for asking Seek the internal address of server;
Determining module, for according to preset scheduling rule, being determined for compliance with the destination server of the scheduling rule;
Acquisition module, the internal address for obtaining the destination server;
6th sending module include the data of the internal address for being sent to the client so that the client and The destination server carries out business data transmission.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes that processor, communication interface, memory and communication are total Line, wherein the processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any sides claim 1-5 Method step.
CN201810193194.XA 2018-03-09 2018-03-09 A kind of method, apparatus and electronic equipment of transmission services data Pending CN108418884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810193194.XA CN108418884A (en) 2018-03-09 2018-03-09 A kind of method, apparatus and electronic equipment of transmission services data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810193194.XA CN108418884A (en) 2018-03-09 2018-03-09 A kind of method, apparatus and electronic equipment of transmission services data

Publications (1)

Publication Number Publication Date
CN108418884A true CN108418884A (en) 2018-08-17

Family

ID=63130771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810193194.XA Pending CN108418884A (en) 2018-03-09 2018-03-09 A kind of method, apparatus and electronic equipment of transmission services data

Country Status (1)

Country Link
CN (1) CN108418884A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361752A (en) * 2018-10-30 2019-02-19 红芯时代(北京)科技有限公司 A kind of data transmission method, device, server, system and storage medium
CN111131333A (en) * 2020-02-24 2020-05-08 广州虎牙科技有限公司 Business data pushing method and server cluster
CN111212109A (en) * 2019-12-13 2020-05-29 东软集团股份有限公司 Internet of things communication method, server, terminal and equipment
CN111327647A (en) * 2018-12-13 2020-06-23 北京金山云网络技术有限公司 Method and device for providing service to outside by container and electronic equipment
CN111800499A (en) * 2020-06-30 2020-10-20 北京百度网讯科技有限公司 Data transmission method and device and electronic equipment
CN111970315A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method, device and system for pushing message
CN112003885A (en) * 2019-05-27 2020-11-27 三星Sds株式会社 Content transmission apparatus and content transmission method
CN113556291A (en) * 2021-07-08 2021-10-26 北京奇艺世纪科技有限公司 Flow tracking method, device, equipment and computer readable medium
CN115379009A (en) * 2022-08-18 2022-11-22 中国建设银行股份有限公司 Data processing method, device, equipment and medium
CN116055565A (en) * 2023-01-28 2023-05-02 北京蓝色星际科技股份有限公司 Data transmission method, system, device, electronic equipment and storage medium
CN116471343A (en) * 2023-06-19 2023-07-21 成都星联芯通科技有限公司 Equipment board card management method, load balancing method, device, server and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064659A (en) * 2006-04-28 2007-10-31 腾讯科技(深圳)有限公司 Data transmission system and method
CN101175030A (en) * 2006-10-31 2008-05-07 中兴通讯股份有限公司 Method for implementing proxy to multiple isomorphic subnets
CN101175029A (en) * 2006-10-31 2008-05-07 中兴通讯股份有限公司 Device for implementing proxy to multiple isomorphic subnets
CN101616079A (en) * 2009-07-30 2009-12-30 杭州华三通信技术有限公司 The NAT outbound load-balancing method and the device of DNS request message
CN103067292A (en) * 2012-12-26 2013-04-24 华为技术有限公司 Websocket-transmission-based load balancing method and device
CN103873515A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Infor Information processing method, electronic device and movable electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064659A (en) * 2006-04-28 2007-10-31 腾讯科技(深圳)有限公司 Data transmission system and method
CN101175030A (en) * 2006-10-31 2008-05-07 中兴通讯股份有限公司 Method for implementing proxy to multiple isomorphic subnets
CN101175029A (en) * 2006-10-31 2008-05-07 中兴通讯股份有限公司 Device for implementing proxy to multiple isomorphic subnets
CN101616079A (en) * 2009-07-30 2009-12-30 杭州华三通信技术有限公司 The NAT outbound load-balancing method and the device of DNS request message
CN103873515A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Infor Information processing method, electronic device and movable electronic device
CN103067292A (en) * 2012-12-26 2013-04-24 华为技术有限公司 Websocket-transmission-based load balancing method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361752A (en) * 2018-10-30 2019-02-19 红芯时代(北京)科技有限公司 A kind of data transmission method, device, server, system and storage medium
CN111327647A (en) * 2018-12-13 2020-06-23 北京金山云网络技术有限公司 Method and device for providing service to outside by container and electronic equipment
CN111970315A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method, device and system for pushing message
CN112003885A (en) * 2019-05-27 2020-11-27 三星Sds株式会社 Content transmission apparatus and content transmission method
CN112003885B (en) * 2019-05-27 2024-02-27 三星Sds株式会社 Content transmission apparatus and content transmission method
CN111212109A (en) * 2019-12-13 2020-05-29 东软集团股份有限公司 Internet of things communication method, server, terminal and equipment
CN111131333B (en) * 2020-02-24 2022-10-28 广州虎牙科技有限公司 Business data pushing method and server cluster
CN111131333A (en) * 2020-02-24 2020-05-08 广州虎牙科技有限公司 Business data pushing method and server cluster
CN111800499A (en) * 2020-06-30 2020-10-20 北京百度网讯科技有限公司 Data transmission method and device and electronic equipment
CN113556291A (en) * 2021-07-08 2021-10-26 北京奇艺世纪科技有限公司 Flow tracking method, device, equipment and computer readable medium
CN113556291B (en) * 2021-07-08 2024-04-30 北京奇艺世纪科技有限公司 Flow tracking method, device, equipment and computer readable medium
CN115379009A (en) * 2022-08-18 2022-11-22 中国建设银行股份有限公司 Data processing method, device, equipment and medium
CN115379009B (en) * 2022-08-18 2024-04-26 中国建设银行股份有限公司 Data processing method, device, equipment and medium
CN116055565A (en) * 2023-01-28 2023-05-02 北京蓝色星际科技股份有限公司 Data transmission method, system, device, electronic equipment and storage medium
CN116471343A (en) * 2023-06-19 2023-07-21 成都星联芯通科技有限公司 Equipment board card management method, load balancing method, device, server and medium
CN116471343B (en) * 2023-06-19 2023-08-15 成都星联芯通科技有限公司 Equipment board card management method, load balancing method, device, server and medium

Similar Documents

Publication Publication Date Title
CN108418884A (en) A kind of method, apparatus and electronic equipment of transmission services data
CN107171885B (en) A kind of methods, devices and systems of detection service device operating status
CN107948324B (en) Request Transmission system, method, apparatus and storage medium
CN110247784B (en) Method and device for determining network topology structure
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
US20130275492A1 (en) Enabling Web Clients to Provide Web Services
CN108200218A (en) A kind of method, apparatus and electronic equipment for realizing load balancing
WO2017031460A1 (en) Device and method for establishing connection in load-balancing system
CN101809966A (en) Develop and manage the method and apparatus of DIAMETER association
US20150256622A1 (en) Connection management device, communication system, connection management method, and computer program product
US11283668B2 (en) Method and apparatus in a web service system
CN102571947A (en) Processing method proxy method, device and system
CN109818997A (en) A kind of load-balancing method, system and storage medium
JP2005322107A (en) Load distribution device and program
CN110120897A (en) Link detection method, apparatus, electronic equipment and machine readable storage medium
CN104506549A (en) Method, device and system for establishing online game connection
US8156209B1 (en) Aggregation devices processing keep-alive messages of point-to-point sessions
CN110300026A (en) A kind of network connectivity fai_lure processing method and processing device
CN109618004A (en) A kind of message forwarding method and device
CN107493254A (en) The methods, devices and systems of TCP message forwarding
CN110535959A (en) A kind of method, apparatus and computer readable storage medium for transmitting data
US9804907B2 (en) Remote procedure call for a distributed system
CN109617817A (en) A kind of generation method and device of the forwarding-table item of MLAG networking
CN115996187A (en) Routing information processing method and device, routing information interaction system and routing equipment
CN109150726A (en) A kind of message processing method and device

Legal Events

Date Code Title Description
PB01 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

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication