Summary of the invention
The embodiment of the present application proposes method for transmitting information and device.
In a first aspect, the embodiment of the present application provides a kind of method for transmitting information, it is applied to comprising virtual privately owned
The cluster of cloud network, this method include:Receive information to be sent, wherein above-mentioned information to be sent includes sending virtual private cloud
Network address receives virtual private cloud network address and the information content;The transmission of the corresponding above-mentioned information to be sent of inquiry is empty respectively
The reception host for sending host and receiving virtual private cloud network address of quasi- private clound network address, wherein above-mentioned hair
The host where the transmission virtual private cloud network that host is corresponding above-mentioned transmission virtual private cloud network address is sent, it is above-mentioned to connect
Receive the host where the reception virtual private cloud network that host is corresponding above-mentioned reception virtual private cloud network address, above-mentioned hair
It send host and receives and connected between host by communication network;It establishes above-mentioned transmission host and receives between host
Information transmission path;Above-mentioned information to be sent is sent to above-mentioned reception host by above- mentioned information transmission path.
In some embodiments, above-mentioned inquiry corresponds to the hair of the transmission virtual private cloud network address of above-mentioned information to be sent
Host is sent, including:The transmission host of corresponding above-mentioned transmission virtual private cloud network address is inquired from peer to peer connection information table
Machine, wherein above-mentioned peer to peer connection information table contains the network connection relation between networking component and networking component, above-mentioned network
Component includes at least one of following:Cluster, host and virtual private cloud network.
In some embodiments, above-mentioned peer to peer connection information table is constructed by following steps:The configuration information of cluster is obtained,
Above-mentioned configuration information includes at least one of following:Network between networking component that cluster name, cluster include, networking component connects
Relationship is connect, above-mentioned network connection relation includes application programming interfaces information;Network topology structure is determined based on above-mentioned configuration information;
The connection relationship between application programming interfaces is determined by above-mentioned network topology structure, obtains peer to peer connection information table.
In some embodiments, the above method further includes:Above-mentioned peer to peer connection information table is sent to cluster.
It is in some embodiments, above-mentioned to establish above-mentioned transmission host and receive the information transmission path between host,
Including:The first application programming interfaces of above-mentioned transmission host are inquired respectively and receive the second application programming interfaces of host,
Above-mentioned second application programming interfaces are corresponding with the reception virtual private cloud network received on host;By the first application programming interfaces
Establish connection with above-mentioned communication network respectively with the second application programming interfaces, obtain above-mentioned transmission host and receive host it
Between information transmission path.
In some embodiments, above-mentioned that above-mentioned information to be sent is sent to above-mentioned reception by above- mentioned information transmission path
Host, including:By the second interface of the first interface information of above-mentioned first application programming interfaces and the second application programming interfaces
Above-mentioned information to be sent is written in information, obtains updating information to be sent;Above-mentioned update information to be sent is passed by above- mentioned information
Defeated path is sent to above-mentioned reception host.
Second aspect, the embodiment of the present application provide a kind of device for being used for transmission information, are applied to comprising virtual privately owned
The cluster of cloud network, the device include:Information receiving unit is configured to receive information to be sent, wherein above-mentioned pending to deliver letters
Breath includes sending virtual private cloud network address, receiving virtual private cloud network address and the information content;Host query unit,
It is configured to inquire transmission host and the reception of the transmission virtual private cloud network address of corresponding above-mentioned information to be sent respectively
The reception host of virtual private cloud network address, wherein above-mentioned transmission host is corresponding above-mentioned transmission virtual private cloud net
Host where the transmission virtual private cloud network of network address, above-mentioned reception host are corresponding above-mentioned reception virtual private cloud net
Host where the reception virtual private cloud network of network address passes through communication network between above-mentioned transmission host and reception host
Network connection;Information transmission path construction unit is configured to establish above-mentioned transmission host and receives the information between host
Transmission path;Information transmitting unit is configured to for above-mentioned information to be sent being sent to by above- mentioned information transmission path above-mentioned
Receive host.
In some embodiments, above-mentioned host query unit includes:Host inquires subelement, is configured to from equity
The transmission host of corresponding above-mentioned transmission virtual private cloud network address is inquired in link information table, wherein above-mentioned peer to peer connection
Information table contains the network connection relation between networking component and networking component, and above-mentioned networking component includes following at least one
?:Cluster, host and virtual private cloud network.
In some embodiments, above-mentioned apparatus further includes peer to peer connection information table construction unit, is configured to construct equity
Link information table, above-mentioned peer to peer connection information table construction unit include:Configuration information obtains subelement, is configured to obtain cluster
Configuration information, above-mentioned configuration information includes at least one of following:Networking component that cluster name, cluster include, networking component
Between network connection relation, above-mentioned network connection relation includes application programming interfaces information;It is single that network topology structure obtains son
Member is configured to determine network topology structure based on above-mentioned configuration information;Peer to peer connection information table constructs subelement, is configured to
The connection relationship between application programming interfaces is determined by above-mentioned network topology structure, obtains peer to peer connection information table.
In some embodiments, above-mentioned apparatus further includes:Peer to peer connection information table transmission unit, being configured to will be above-mentioned right
Etc. link informations table be sent to cluster.
In some embodiments, above- mentioned information transmission path construction unit includes:Application programming interfaces inquire subelement, quilt
It is configured to inquire the first application programming interfaces of above-mentioned transmission host respectively and receives the second application programming interfaces of host,
Above-mentioned second application programming interfaces are corresponding with the reception virtual private cloud network received on host;Information transmission path building
Unit is configured to the first application programming interfaces and the second application programming interfaces establishing connection with above-mentioned communication network respectively,
It obtains above-mentioned transmission host and receives the information transmission path between host.
In some embodiments, above- mentioned information transmission unit includes:Information modifies subelement, is configured to above-mentioned first
Above-mentioned information to be sent is written in the first interface information of application programming interfaces and the second interface information of the second application programming interfaces,
It obtains updating information to be sent;Information transmission sub-unit is configured to pass above-mentioned update information to be sent by above- mentioned information
Defeated path is sent to above-mentioned reception host.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including:One or more processors;Memory,
One or more programs are stored thereon with, when said one or multiple programs are executed by said one or multiple processors, are made
It obtains said one or multiple processors executes the method for transmitting information of above-mentioned first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program,
It is characterized in that, which realizes the method for transmitting information of above-mentioned first aspect when being executed by processor.
Method for transmitting information provided by the embodiments of the present application and device receive information to be sent first, then divide
The transmission host of the transmission virtual private cloud network address of above-mentioned information to be sent Cha Xun not corresponded to and receive virtual private cloud
The reception host of network address establishes above-mentioned transmission host later and receives the information transmission path between host, most
Above-mentioned information to be sent is sent to above-mentioned reception host by above- mentioned information transmission path afterwards, is realized by sending host
Machine and the information transmission path received between host transmit information to be sent, improve the stability and quickly of information transmitting
Property.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 show can using the embodiment of the present application method for transmitting information or be used for transmission the device of information
Exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include that information sends agency 101, cluster 102,103, virtual private cloud net
Network 104,105.Wherein, information sends agency 101 and is connect respectively with cluster 102,103 by network.Virtual private cloud network 104
In cluster 102, virtual private cloud network 105 is included in cluster 103.The host of cluster 102,103 can be identical,
It can also be different.Network may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be sent by information agency 101 establish between cluster 102,103, virtual private cloud network 104,105
Between connection (such as can be peer to peer connection etc.), to receive message.It is sent between 101 building host of agency by information
, information transmission path for transmitting information, and information is transmitted by information transmission path.Information sends agency 101 can be with
It is hardware, is also possible to software.When it is hardware that information, which sends agency 101, it can be with display screen and information supported to turn
The various electronic equipments of hair, including but not limited to tablet computer, pocket computer on knee and desktop computer etc..Work as information
When transmission agency 101 is software, it may be mounted in above-mentioned cited electronic equipment.Multiple softwares or soft may be implemented into it
Part module (such as providing Distributed Services), also may be implemented into single software or software module, does not do specific limit herein
It is fixed.
Usual virtual private cloud network 104,105 needs to construct based on host.Wherein, host is usually physics master
Machine.Cluster 102,103 may include multiple virtual private cloud networks, can also include middle child servers, database, centralization
The components such as gateway, message queue, specifically depending on actual conditions.
It is acted on behalf of it should be noted that method for transmitting information provided by the embodiment of the present application is generally sent by information
101 execute, and correspondingly, the device for being used for transmission information is generally positioned at information and sends in agency 101.
Cluster can be hardware, be also possible to software.When server is hardware, multiple server compositions may be implemented into
Distributed server cluster, individual server also may be implemented into.When server is software, multiple softwares may be implemented into
Or software module (such as providing Distributed Services), single software or software module also may be implemented into, do not do have herein
Body limits.
It should be understood that the number that the information in Fig. 1 sends agency, cluster and virtual private cloud network is only schematic
's.According to needs are realized, it can have any number of information and send agency, cluster and virtual private cloud network.
With continued reference to Fig. 2, the process of one embodiment of the method for transmitting information according to the application is shown
200.The method for transmitting information is applied to the cluster comprising virtual private cloud network, includes the following steps:
Step 201, information to be sent is received.
In the present embodiment, method for transmitting information executing subject (such as information shown in FIG. 1 send agency
101) information to be sent can be received by wired connection mode or radio connection.It should be pointed out that above-mentioned wireless
Connection type can include but is not limited to 3G/4G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB
(ultra wideband) connection and other currently known or exploitation in the future radio connections.
The component parts such as cluster, virtual private cloud network, virtual machine that existing trunked communication system includes be usually with according to
The data mode for investing physical host exists.When being established between the component parts such as cluster, virtual private cloud network, virtual machine pair
Equal connections go forward side by side row information transmitting when, need through the centralized gateway in cluster come the transmitting-receiving of coordination information.Due in cluster
Multiple component parts be virtual hardware, the data processing method of each component part may be different in addition, this is resulted in
Between component part when carrying out primary information transmitting, host may handle the data between each component part respectively,
To realize that information is transmitted.Therefore, the information transfer efficiency in existing trunked communication system between cluster or between cluster is not high.
Also, when unstable networks or very big information content, the case where centralized gateway is easy to appear delay machine, cluster further reduced
The transmission efficiency of intra communication system information.
The executing subject of the application can receive information to be sent first.Information to be sent may include that transmission is virtual privately owned
Cloud network address receives the information such as virtual private cloud network address and the information content.Wherein, virtual private cloud network address is sent
It can be the address for sending the virtual private cloud network of information to be sent.Receive virtual private cloud network address can be reception to
Send the address of the virtual private cloud network of information.
Step 202, the transmission host of the transmission virtual private cloud network address of corresponding above-mentioned information to be sent is inquired respectively
Machine and the reception host for receiving virtual private cloud network address.
After receiving information to be sent, the transmission that executing subject can inquire corresponding above-mentioned information to be sent respectively is virtual
The reception host for sending host and receiving virtual private cloud network address of private clound network address.Wherein, above-mentioned transmission
Host is the host where the transmission virtual private cloud network of corresponding above-mentioned transmission virtual private cloud network address, above-mentioned reception
Host is the host where the reception virtual private cloud network of corresponding above-mentioned reception virtual private cloud network address.It is retouched by above-mentioned
It states it is found that host is usually physical host, and the data transmission bauds between physical host is usually very high, can satisfy information
The needs of fast and stable transmission.It can be connected by communication network between transmission host in the application and reception host.
Send host and reception host can by wired (such as can be cable) or wirelessly with communication network (such as
Can be local area network or wide area network etc.) establish connection.
In some optional implementations of the present embodiment, the transmission of the corresponding above-mentioned information to be sent of inquiry is virtually privately owned
The transmission host of cloud network address may include:Corresponding above-mentioned transmission virtual private cloud net is inquired from peer to peer connection information table
The transmission host of network address.
Peer to peer connection information table can be preserved in executing subject.Wherein, above-mentioned peer to peer connection information table contains network
Network connection relation between component and networking component.Network connection relation can pass through the name of each networking component in a network
The information such as title, network address determine.Above-mentioned networking component may include at least one of following:Cluster, host and virtual privately owned
Cloud network.Executing subject can inquire the transmission of corresponding above-mentioned transmission virtual private cloud network address from peer to peer connection information table
Host.Similarly, executing subject can inquire corresponding above-mentioned reception virtual private cloud network address from peer to peer connection information table
Reception host.
Step 203, it establishes above-mentioned transmission host and receives the information transmission path between host.
It can be connected by communication network between transmission host in the application and reception host.Send host and
The transmitting of various information can usually be carried out by receiving the communication network between host.Executing subject can be built on a communication network
It founds above-mentioned transmission host and receives the information transmission path between host.That is, information transmission path can be for sending
Information transfer channel between virtual private cloud network and reception virtual private cloud network, for peer to peer connection.
In some optional implementations of the present embodiment, it is above-mentioned establish above-mentioned transmission host and receive host it
Between information transmission path may comprise steps of:
The first step inquires the first application programming interfaces of above-mentioned transmission host respectively and receives the second application of host
Routine interface.
Application programming interfaces (such as can be above-mentioned each group of networks with software systems specific on host
Part) corresponding relationship is established, to realize the information transmit-receive of software systems.In order to establish information transmission path, executing subject can divide
The first application programming interfaces of above-mentioned transmission host are not inquired and receive the second application programming interfaces of host.Wherein,
One application programming interfaces can be corresponding with the cluster where sending virtual private cloud network or sending virtual private cloud network.Second
Application programming interfaces can with receive host on receptions virtual private cloud network or reception virtual private cloud network where
Cluster is corresponding.
First application programming interfaces and the second application programming interfaces are established with above-mentioned communication network respectively and are connected by second step
It connects, obtain above-mentioned transmission host and receives the information transmission path between host.
After obtaining the first application programming interfaces and the second application programming interfaces, executing subject can establish the first application program
The connection of interface and the second application programming interfaces and communication network obtains above-mentioned transmission host and receives the letter between host
Cease transmission path.That is, the both ends of information transmission path are connect with the first application programming interfaces and the second application programming interfaces respectively,
To realize corresponding transmission virtual private cloud network and receive the information transmitting between virtual private cloud network.
Step 204, above-mentioned information to be sent is sent to above-mentioned reception host by above- mentioned information transmission path.
After establishing information transmission path, information to be sent can be sent to by information transmission path and be connect by executing subject
Host is received, to complete the transmission of information to be sent.
It is above-mentioned to transmit above-mentioned information to be sent by above- mentioned information in some optional implementations of the present embodiment
Path is sent to above-mentioned reception host and may comprise steps of:
The first step connects the second of the first interface information of above-mentioned first application programming interfaces and the second application programming interfaces
Above-mentioned information to be sent is written in message breath, obtains updating information to be sent.
For the ease of the transmitting of information, executing subject can by the first interface information of above-mentioned first application programming interfaces and
Above-mentioned information to be sent is written in the second interface information of second application programming interfaces, obtains updating information to be sent.Wherein, first
Interface message can be used for identifying the address for sending virtual private cloud network in transmission host.Second interface information can be used
Virtual private cloud network, which is received, in mark is receiving the address in host.For example, interface message (such as can be first interface
Information or second interface information) it can wrap the information containing host, cluster information, virtual private cloud network.According to practical need
It wants, interface message can also include the information etc. of virtual machine in virtual private cloud network.
Above-mentioned update information to be sent is sent to above-mentioned reception host by above- mentioned information transmission path by second step.
It updates information to be sent and contains first interface information and second interface information.Executing subject can will update pending
Breath of delivering letters by above- mentioned information transmission path is sent to above-mentioned reception host.Receiving host can deliver letters according to update is pending
Second interface information searching in breath is virtual so that the information content is sent to reception to corresponding reception virtual private cloud network
Privately owned cloud network.When reception host needs to send information to transmission host, can include according to information to be sent is updated
First interface information information is packaged so that information is sent to transmission host.
It is realized by information transmission path and carries out letter by sending host and receiving the communication network between host
Breath transmission, substantially increases the stability and rapidity of information transmission.Letter when avoiding through centralized gateway passes information
Breath transmission speed is slow, is easy the deficiencies of delay machine.
With further reference to Fig. 3, it illustrates an implementations according to the construction method of the peer to peer connection information table of the application
The process 300 of example.The process 300 of the construction method of the peer to peer connection information table, includes the following steps:
Step 301, the configuration information of cluster is obtained.
In the present embodiment, method for transmitting information executing subject (such as information shown in FIG. 1 send agency
101) wired connection mode or the configuration information of radio connection cluster can be passed through.
When constructing peer to peer connection information table, executing subject can receive the instruction of building peer to peer connection information table.It
Afterwards, executing subject can collection pocket transmission inquiry request into certain network area, and get the configuration information of cluster.Its
In, above-mentioned configuration information may include at least one of following:Networking component that cluster name, cluster include (such as in can be
Child servers, virtual private cloud network address, database, router, message queue etc.), the network connection between networking component
Relationship, above-mentioned network connection relation include application programming interfaces information.
Step 302, network topology structure is determined based on above-mentioned configuration information.
After obtaining the configuration information of cluster, executing subject can determine that the connection between networking component is closed according to configuration information
System, and then determine network topology structure.
Step 303, the connection relationship between application programming interfaces is determined by above-mentioned network topology structure, obtains equity even
Connect information table.
Executing subject can determine the structure between networking component according to network topology structure.Later, according to each network
The corresponding application programming interfaces of component construct peer to peer connection information table.When needing to inquire corresponding host, executing subject can
It is looked into information such as the transmission virtual private cloud network address for including according to information to be sent and reception virtual private cloud network address
Corresponding application programming interfaces are found, and then determines and sends virtual private cloud network address and reception virtual private cloud network address
The information such as corresponding transmission virtual private cloud network and reception virtual private cloud network, finally determine and send host and reception
Host.
For the ease of carrying out information transmission by information transmission path between cluster, executing subject can also be by peer to peer connection
Information table is sent to cluster, so that cluster determines the reception address of information according to peer to peer connection information table, realization passes through transmission
Host and the communication network received between host carry out information transmission.
With continued reference to the signal that Fig. 4, Fig. 4 are according to the application scenarios of the method for transmitting information of the present embodiment
Figure.In the application scenarios of Fig. 4, trunked communication system includes that information sends agency 401, cluster 402,403, virtual private cloud net
Network 404,405.Virtual private cloud net after establishing peer to peer connection between virtual private cloud network 404,405, in cluster 402
Information to be sent can be sent to message queue 1 by network 1.Message queue 1 can send agency 401 to information in sequence and send
Information to be sent.After information transmission agency 401 receives information to be sent, corresponding virtual private cloud network 404 is inquired first
Send the reception host 407 of host 406 and virtual private cloud network 405.Then, information sends agency 401 and establishes transmission
Information transmission path between host 406 and reception host 407.Information to be sent is led to finally, information sends agency 401
It crosses information transmission path and is sent to above-mentioned reception host 407.Receiving host 407 can connect according to what information to be sent included
Receive the middle child servers 2 that information to be sent is sent to cluster 2 by virtual private cloud network address.Later, middle child servers 2 will be to
It sends information and is sent to message queue 2.Finally, information to be sent is sent to virtual private cloud network 2 by message queue 2, realize
Pass through the communication network for sending host 406 and receiving between host 407 and sends information to be sent.
The method provided by the above embodiment of the application receives information to be sent first, then respectively inquiry it is corresponding it is above-mentioned to
Send the reception place for sending host and receiving virtual private cloud network address of the transmission virtual private cloud network address of information
Host establishes above-mentioned transmission host later and receives the information transmission path between host, finally pending delivers letters above-mentioned
Breath by above- mentioned information transmission path is sent to above-mentioned reception host, realize by send host and reception host it
Between information transmission path transmit information to be sent, improve the stability and rapidity of information transmitting.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind to be used for transmission letter
One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in figure 5, the device 500 for being used for transmission information of the present embodiment may include:Information receiving unit 501, place
Host query unit 502, information transmission path construction unit 503 and information transmitting unit 504.Wherein, information receiving unit 501
It is configured to receive information to be sent, wherein above-mentioned information to be sent includes sending virtual private cloud network address, receiving virtually
Private clound network address and the information content;Host query unit 502 is configured to inquire corresponding above-mentioned information to be sent respectively
Transmission virtual private cloud network address send host and receive virtual private cloud network address reception host,
In, above-mentioned transmission host is the master where the transmission virtual private cloud network of corresponding above-mentioned transmission virtual private cloud network address
Machine, above-mentioned reception host are the master where the reception virtual private cloud network of corresponding above-mentioned reception virtual private cloud network address
Machine is connected between above-mentioned transmission host and reception host by communication network;Information transmission path construction unit 503 is matched
It is set to the information transmission path established between above-mentioned transmission host and reception host;Information transmitting unit 504 is configured to
Above-mentioned information to be sent is sent to above-mentioned reception host by above- mentioned information transmission path.
In some optional implementations of the present embodiment, above-mentioned host query unit 502 may include:Host
Subelement (not shown) is inquired, is configured to inquire corresponding above-mentioned transmission virtual private cloud net from peer to peer connection information table
The transmission host of network address, wherein above-mentioned peer to peer connection information table contains the network between networking component and networking component
Connection relationship, above-mentioned networking component include at least one of following:Cluster, host and virtual private cloud network.
In some optional implementations of the present embodiment, the device 500 for being used for transmission information can also include equity
Link information table construction unit (not shown), is configured to construct peer to peer connection information table.Above-mentioned peer to peer connection information table
Construction unit may include:Configuration information obtains subelement (not shown), network topology structure obtains subelement (in figure not
Show) and peer to peer connection information table building subelement (not shown).Wherein, configuration information obtains subelement and is configured to obtain
The configuration information of cluster is taken, above-mentioned configuration information includes at least one of following:Networking component that cluster name, cluster include, net
Network connection relation between network component, above-mentioned network connection relation include application programming interfaces information;Network topology structure obtains
Subelement is taken to be configured to determine network topology structure based on above-mentioned configuration information;Peer to peer connection information table building subelement is matched
It is set to and connection relationship between application programming interfaces is determined by above-mentioned network topology structure, obtain peer to peer connection information table.
In some optional implementations of the present embodiment, the device 500 for being used for transmission information can also include:Equity
Link information table transmission unit (not shown) is configured to above-mentioned peer to peer connection information table being sent to cluster.
In some optional implementations of the present embodiment, above- mentioned information transmission path construction unit 503 may include:
Application programming interfaces inquire subelement (not shown) and information transmission path constructs subelement (not shown).Wherein,
Application programming interfaces inquiry subelement is configured to inquire the first application programming interfaces and the reception of above-mentioned transmission host respectively
Second application programming interfaces of host, above-mentioned second application programming interfaces and the reception virtual private cloud net on reception host
Network is corresponding;Information transmission path building subelement is configured to distinguish the first application programming interfaces and the second application programming interfaces
Connection is established with above-mentioned communication network, obtain above-mentioned transmission host and receives the information transmission path between host.
In some optional implementations of the present embodiment, above- mentioned information transmission unit 504 may include:Information modification
Subelement (not shown) and information transmission sub-unit (not shown).Wherein, information modification subelement be configured to by
The first interface information of above-mentioned first application programming interfaces and the write-in of the second interface information of the second application programming interfaces it is above-mentioned to
Information is sent, obtains updating information to be sent;Information transmission sub-unit is configured to pass through above-mentioned update information to be sent upper
It states information transmission path and is sent to above-mentioned reception host.
The present embodiment additionally provides a kind of electronic equipment, including:One or more processors;Memory is stored thereon with
One or more programs, when said one or multiple programs are executed by said one or multiple processors, so that said one
Or multiple processors execute above-mentioned method for transmitting information.
The present embodiment additionally provides a kind of computer-readable medium, is stored thereon with computer program, and the program is processed
Device realizes above-mentioned method for transmitting information when executing.
Below with reference to Fig. 6, it illustrates the electronic equipments for being suitable for being used to realize the embodiment of the present application (for example, the letter in Fig. 1
Breath sends the structural schematic diagram of the computer system 600 of agency 101).Electronic equipment shown in Fig. 6 is only an example, no
The function and use scope for coping with the embodiment of the present application bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes
Above-mentioned function.
It should be noted that the above-mentioned computer-readable medium of the application can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this application, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In application, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet
Include information receiving unit, host query unit, information transmission path construction unit and information transmitting unit.Wherein, these lists
The title of member does not constitute the restriction to the unit itself under certain conditions, for example, information transmitting unit can also be described
For " for sending the unit of information to be sent by information transmission path ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device:Receive information to be sent, wherein above-mentioned information to be sent includes sending virtual private cloud network address, receiving virtual private
There are cloud network address and the information content;
The transmission host of the transmission virtual private cloud network address of the corresponding above-mentioned information to be sent of inquiry and reception respectively
The reception host of virtual private cloud network address, wherein above-mentioned transmission host is corresponding above-mentioned transmission virtual private cloud net
Host where the transmission virtual private cloud network of network address, above-mentioned reception host are corresponding above-mentioned reception virtual private cloud net
Host where the reception virtual private cloud network of network address passes through communication network between above-mentioned transmission host and reception host
Network connection;It establishes above-mentioned transmission host and receives the information transmission path between host;Above-mentioned information to be sent is passed through
Above- mentioned information transmission path is sent to above-mentioned reception host.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.