CN105208043B - Outer net proxy module, Intranet proxy module, data transmission method and system - Google Patents
Outer net proxy module, Intranet proxy module, data transmission method and system Download PDFInfo
- Publication number
- CN105208043B CN105208043B CN201510669993.6A CN201510669993A CN105208043B CN 105208043 B CN105208043 B CN 105208043B CN 201510669993 A CN201510669993 A CN 201510669993A CN 105208043 B CN105208043 B CN 105208043B
- Authority
- CN
- China
- Prior art keywords
- proxy module
- intranet
- outer net
- data
- propelling data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
Abstract
The invention discloses a kind of data transmission method, include the following steps: that outer net proxy module receives the propelling data of external network server push, wherein the external network server is configured with the address URL of the outer net proxy module;The propelling data is cached in a message queue by the outer net proxy module by the sequencing of push time;The connection request of the outer net proxy module response Intranet proxy module, and after connection foundation, the propelling data for being located at the queue head of the message queue is sent to the Intranet proxy module, so as to which the propelling data is sent to intranet server after the Intranet proxy module receives the propelling data.The present invention also provides a kind of outer net proxy module, Intranet proxy module and data transmission system, outer net proxy module of the invention, Intranet proxy module and data transmission method and system, it can be achieved that external network server actively to intranet server propelling data.
Description
Technical field
The present invention relates to computer network fields more particularly to a kind of outer net proxy module, Intranet proxy module, data to pass
Transmission method and system.
Background technique
The intranet of present company or enterprise is typically all private network (Intranet), and private network can be assisted by NAT
The unidirectional access from intranet to extranets is realized in view access internet (outer net).However, now internet provide resource with
Service becomes increasingly abundant, such as credulity platform, microblogging propelling data platform and Sina's cloud platform, they, which are not only provided, passively rings
It should service, the service of various kinds active push is also provided.In order to allow outer net active push data to intranet server, network pipe is needed
Reason person could allow specific external network server to visit after transport network layer carries out one special channel of specific configuration realization
Ask intranet server.
Summary of the invention
The scheme of the prior art is to be configured in transport network layer, in order to realize that outer net to Intranet pushed information, then needs
Possess the configuration modification permission of Intranet Yu outer net connecting node, and the considerations of for the purpose of ensuring that intranet security, this configuration is repaired
Change permission be it is severely limited, without this permission just can not by the inside host of outer net move pushed information, limit more, nothing
Method meets requirement.
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of outer net proxy module, Intranet proxy module, data to pass
Transmission method and system can realize external network server actively to intranet server propelling data from network application layer.
In a first aspect, the present invention provides a kind of data transmission method, include the following steps:
Outer net proxy module receives the propelling data of external network server push, wherein the external network server configuration is
State the address URL of outer net proxy module;
The propelling data is cached to a message queue by the sequencing of push time by the outer net proxy module
In;
The connection request of the outer net proxy module response Intranet proxy module, and after connection foundation, it will be located at
The propelling data of the queue head of the message queue is sent to the Intranet proxy module, so that the Intranet proxy module connects
After receiving the propelling data, the propelling data is sent to intranet server.
In the first implementation, the connection request of the outer net proxy module response Intranet proxy module, and in institute
After stating connection foundation, the propelling data for being located at the queue head of the message queue is sent to the Intranet proxy module, with
After so that the Intranet proxy module is received the propelling data, the propelling data is sent to intranet server, comprising:
The outer net proxy module responds the short connection request that the Intranet proxy module is initiated, so that the Intranet is acted on behalf of
Module establishes the once short connection with itself at every predetermined time, and receives when the short connection is established every time, described interior
The request of data that net proxy module is initiated;
After the outer net proxy module receives the request of data, when the message queue is not sky, it will be located at described
The propelling data of the queue head of message queue is transferred to the Intranet proxy module, so that the Intranet proxy module receives institute
After stating propelling data, the propelling data is sent to intranet server.
In the second implementation, the connection request of the outer net proxy module response Intranet proxy module, and in institute
After stating connection foundation, the propelling data for being located at the queue head of the message queue is sent to the Intranet proxy module, with
After so that the Intranet proxy module is received the propelling data, the propelling data is sent to intranet server, comprising:
The outer net proxy module responds the long connection request that the Intranet proxy module is initiated, so that the Intranet is acted on behalf of
Module and the long connection of itself foundation;
The outer net proxy module will be located at the message team when the message queue is not sky, through the long connection
The propelling data of the queue head of column is transferred to the Intranet proxy module, so that the Intranet proxy module receives the push
After data, the propelling data is sent to intranet server.
Second aspect, the present invention provide a kind of data transmission method, include the following steps:
Intranet proxy module establishes the connection with outer net proxy module, and obtains the outer net according to the connection and act on behalf of mould
The propelling data of block caching, wherein the propelling data pushes to the outer net proxy module by external network server, and described
Outer net proxy module is cached in a message queue according to the sequencing of push time;
The propelling data is sent to intranet server by the Intranet proxy module.
In the first implementation, the Intranet proxy module establishes the connection with outer net proxy module, and according to institute
The propelling data that connection obtains the outer net proxy module caching is stated, specifically:
The Intranet proxy module establishes the once short connection with the outer net proxy module at every predetermined time, and
When the short connection is established every time, request of data is initiated to the outer net proxy module, so that the outer net proxy module is connecing
After receiving the request of data, when the message queue is not sky, the data that will be located at the queue head of the message queue are passed
It is defeated by the Intranet proxy module.
In the second implementation, the Intranet proxy module establishes the connection with outer net proxy module, and according to institute
The propelling data that connection obtains the outer net proxy module caching is stated, specifically:
The Intranet proxy module is established to be connected with the long of the outer net proxy module, so that the outer net proxy module exists
When the message queue is not sky, the propelling data for being located at the queue head of the message queue is successively transferred to the Intranet
Proxy module.
The third aspect, the present invention provide a kind of data transmission method, include the following steps:
The propelling data received is sent to outer net proxy module by external network server, wherein the external network server is matched
It is equipped with the address URL of the outer net proxy module;
The outer net proxy module receives the propelling data, and by the propelling data by the sequencing of push time
It is cached in a message queue;
Intranet proxy module and the outer net proxy module establish connection, and obtain the push number in the message queue
According to;
The propelling data is transferred to intranet server by the Intranet proxy module.
In the first implementation, the propelling data received is sent to outer net in the external network server and acts on behalf of mould
Before block, further includes:
Intranet server is initiated to request to Intranet proxy module;
The Intranet proxy module sends confirmation ready information after receiving the request, to external network server.
In the second implementation, the Intranet proxy module is configured with the address URL of the outer net proxy module, with
Connection is established by the address URL and the outer net proxy module.
In the third implementation, the Intranet proxy module and the outer net proxy module establish connection, obtain institute
The propelling data in message queue is stated, specifically:
The Intranet proxy module establishes the once short connection with the outer net proxy module at every predetermined time, and
When the short connection is established every time, request of data is initiated to the outer net proxy module, so that the outer net proxy module receives
After the request of data, when the message queue is not sky, the propelling data of the queue head of the message queue will be located at
It is transferred to the Intranet proxy module.
In the 4th kind of implementation, the Intranet proxy module and the outer net proxy module establish connection, obtain institute
The propelling data in message queue is stated, specifically:
The Intranet proxy module is established to be connected with the long of the outer net proxy module, so that the outer net proxy module connects
After receiving the propelling data, when the message queue is not sky, it will successively be located at the queue head of the message queue
Propelling data is transferred to the Intranet proxy module.
In the 5th kind of implementation, the Intranet proxy module by the propelling data be transferred to intranet server it
Afterwards, further includes:
The propelling data is transmitted to the terminal that the propelling data is directed toward by the intranet server;Wherein, the end
End is located in consolidated network with the intranet server.
In the 6th kind of implementation, the Intranet proxy module by the propelling data be transferred to intranet server it
Afterwards, further includes:
The intranet server is responded according to the propelling data, and response results are back to the Intranet and are acted on behalf of
Module;
The response results are sent to the external network server by the Intranet proxy module.
In the 7th kind of implementation, connection is established in the Intranet proxy module and the outer net proxy module, and obtain
After taking the propelling data in the message queue, further includes:
The propelling data is verified, judges whether the source of the propelling data is safe;
If so, the propelling data is transferred to intranet server;
If it is not, then deleting the propelling data.
Fourth aspect, the present invention provide a kind of outer net proxy module, comprising:
Receiving unit, for receiving the propelling data of external network server transmission, wherein the external network server configuration is
State the address URL of outer net proxy module;
Cache unit, for the propelling data to be cached in a message queue by the sequencing of push time;
First transmission unit will be located at for responding the connection request of Intranet proxy module, and after connection foundation
The propelling data of the queue head of the message queue is sent to the Intranet proxy module, so that the Intranet proxy module connects
After receiving the propelling data, the propelling data is sent to intranet server.
In the first implementation, first transmission unit includes:
First response unit, the short connection request initiated for responding the Intranet proxy module, so that the Intranet generation
Reason module establishes the once short connection with itself at every predetermined time, and when receiving every time the short connection and establishing, it is described in
The request of data that net proxy module is initiated;
First data transmission unit, when the message queue is not sky, will be located at after receiving the request of data
The propelling data of the queue head of the message queue is transferred to the Intranet proxy module, so that the Intranet proxy module connects
After receiving the propelling data, the propelling data is sent to intranet server.
In the second implementation, first transmission unit includes:
Second response unit, the connection request initiated for responding the Intranet proxy module, is established and the Intranet generation
Manage the long connection of module;
Second data transmission unit, for that will be located at by the long connection described when the message queue is not sky
The propelling data of the queue head of message queue is transferred to the Intranet proxy module, so that the Intranet proxy module receives institute
After stating propelling data, the propelling data is sent to intranet server.
5th aspect, the present invention provide a kind of Intranet proxy module, comprising:
Connection unit, for establish with the connection of outer net proxy module, and outer net agency is obtained according to the connection
The propelling data of module caching, wherein the propelling data pushes to the outer net proxy module by external network server, and by institute
Outer net proxy module is stated to be cached in a message queue according to the sequencing of push time;
Second transmission unit, for the propelling data to be sent to intranet server.
In the first implementation, the connection unit is specifically used for, establish at every predetermined time once with it is described
The short connection of outer net proxy module, and when the short connection is established every time, request of data is initiated to the outer net proxy module,
So that the outer net proxy module after receiving the request of data, when the message queue is not sky, will be located at described disappear
The propelling data for ceasing the queue head of queue is transferred to the Intranet proxy module.
In the second implementation, the connection unit is specifically used for, and establishes and connects with the long of the outer net proxy module
It connects, so that the outer net proxy module when the message queue is not sky, will successively be located at the queue heads of the message queue
The propelling data in portion is transferred to the Intranet proxy module.
6th aspect, the present invention provide a kind of data transmission system, including external network server, Intranet proxy module, Intranet
Proxy module and intranet server, in which:
The external network server, for the propelling data received to be sent to outer net proxy module, wherein the outer net
Server is configured with the address URL of the outer net proxy module;
The outer net proxy module, the propelling data sent for receiving the external network server, and by the push number
It is cached in a message queue according to by the sequencing of push time;
The Intranet proxy module obtains in the message queue for establishing connection with the outer net proxy module
Propelling data, and the propelling data is transferred to intranet server.
In the first implementation, the intranet server is also used to initiate to request to Intranet proxy module;
The Intranet proxy module, is also used to after receiving the request, sends to external network server and confirms ready letter
Breath.
In the second implementation, the Intranet proxy module is configured with the address URL of the outer net proxy module.
In the third implementation, the Intranet proxy module and the outer net proxy module establish short connection;
The then Intranet proxy module, for establishing the primary and outer net proxy module short company at every predetermined time
It connects, and when the short connection is established every time, initiates request of data to the outer net proxy module;
The outer net proxy module is used for after receiving the request of data, when the message queue is not sky, by position
The Intranet proxy module is transferred in the propelling data of the queue head of the message queue;
The Intranet proxy module, for after receiving the propelling data, the propelling data to be transmitted in described
Network server.
In the 4th kind of implementation, the Intranet proxy module and the outer net proxy module establish long connection, then:
The Intranet proxy module is connected for establishing with the long of the outer net proxy module;
The outer net proxy module, after receiving the propelling data, when the message queue is not sky, successively
The propelling data for being located at the queue head of the message queue is transferred to the Intranet proxy module;
After the Intranet proxy module obtains the propelling data, the propelling data is transmitted to the Intranet service
Device.
In the 5th kind of implementation, the intranet server is also used to the propelling data being transmitted to the push
The terminal that data are directed toward;Wherein, the terminal and the intranet server are located in consolidated network.
In the 6th kind of implementation, the intranet server is also used to be responded according to the propelling data, and will
Response results are back to the Intranet proxy module;
The Intranet proxy module is also used to the response results being sent to the external network server.
In the 7th kind of implementation, the Intranet proxy module is also used to verify the propelling data, judgement
Whether the source of the propelling data is safe;If so, the propelling data is transferred to intranet server;If it is not, then deleting
The propelling data.
Outer net proxy module provided in an embodiment of the present invention, Intranet proxy module, data transmission method, system, pass through structure
It makes and requests response process between the Intranet proxy module and the outer net proxy module, so that the Intranet proxy module obtains
The external network server is buffered in the data of the active push in the outer net proxy module, and the propelling data is sent to
Intranet server realizes the external network server to intranet server active transmission and pushes number under the premise that security is guaranteed
According to from the two-way interactive of network application layer realization Intranet and outer net, implementation is simple, enriches Work tool and work side
Formula, user experience are good.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below
Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram for the data transmission method that first embodiment of the invention provides.
Fig. 2 is the flow diagram for the data transmission method that second embodiment of the invention provides.
Fig. 3 is the flow diagram for the data transmission method that third embodiment of the invention provides.
Fig. 4 is the flow diagram for the data transmission method that fourth embodiment of the invention provides.
Fig. 5 is the flow diagram for the data transmission method that fifth embodiment of the invention provides.
Fig. 6 is the structural schematic diagram for the outer net proxy module that sixth embodiment of the invention provides.
Fig. 7 is a kind of structural schematic diagram of the first transmission unit shown in fig. 6.
Fig. 8 is another structural schematic diagram of the first transmission unit shown in fig. 6.
Fig. 9 is the structural schematic diagram for the Intranet proxy module that seventh embodiment of the invention provides.
Figure 10 is the structural schematic diagram for the data transmission system that eighth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of outer net proxy module, Intranet proxy module, data transmission method and system, energy
Enough realize that external network server actively transmits data to intranet server.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is the flow diagram for the data transmission method that first embodiment of the invention provides.Shown in Fig. 1
Data transmission method be to describe from this side of outer net proxy module, may include following steps:
S101, outer net proxy module receive the propelling data of external network server push, wherein the external network server configuration
There is the address URL of the outer net proxy module.
In embodiments of the present invention, external network server is sometimes for user's active transmission propelling data, for example, it is assumed that institute
Stating external network server is microblogging cloud platform, wherein may be made a reservation in daily in the public platform of microblogging cloud platform registration
Period pushes some hot news or hot spot message to the microblog users for having paid close attention to the public platform.
In embodiments of the present invention, the external network server has been pre-configured with the address URL of outer net proxy module, then when micro-
The propelling data is pushed to the outer net and acts on behalf of mould by rich cloud platform when needing to carry out active transmission propelling data
Block.
The propelling data is cached to a message by the sequencing of push time by S102, the outer net proxy module
In queue.
In embodiments of the present invention, the outer net proxy module receives the propelling data, and the propelling data is delayed
It is stored in the message queue of a thread-safe, the outer net proxy module can manage the message queue, by the outer net
The propelling data that server is sent is fallen in lines from the queue tail of the message queue, and when carrying out propelling data extraction, from institute
The queue head for stating message queue takes out propelling data.
S103, the connection request of the outer net proxy module response Intranet proxy module, and after connection foundation, it will
It is sent to the Intranet proxy module positioned at the propelling data of the queue head of the message queue, so that the Intranet acts on behalf of mould
After block receives the propelling data, the propelling data is sent to intranet server.
Specifically, in one embodiment, Intranet proxy module can initiate the primary and outer net at every predetermined time
Proxy module establishes the request of short connection (the short connection of such as http), described short after the outer net proxy module responds the request
Connection, which is established, to be completed.At this point, the Intranet proxy module initiates request of data to the outer net proxy module, to request to receive institute
The propelling data cached in the message queue of outer net proxy module is stated, the outer net proxy module is receiving the request of data
Afterwards, when the message queue is not sky, the propelling data for being located at the queue head of the message queue is taken out, and push away described
Data are sent to be sent to the Intranet proxy module, after the Intranet proxy module receives the propelling data, by the push number
According to being transferred to the intranet server.
Wherein, the Intranet proxy module will be switched off and the outer net proxy module after receiving the propelling data
Between short connection.Hereafter, after a predetermined time has passed, the Intranet proxy module initiates to act on behalf of mould with the outer net again
The short connection of block, that is, the Intranet proxy module constantly recycle establish with the short connection of the outer net proxy module, and to described
Outer net proxy module initiates request of data, then the propelling data received is sent to the operation of the intranet server, i.e., in fact
Now the outer net proxy module is polled.
It should be noted that in embodiments of the present invention, when the outer net proxy module is receiving the Intranet agency
The request of data of module, and judge the message queue for sky when, can to the Intranet proxy module send message queue be sky
Feedback information, at this point, the Intranet proxy module can receive the feedback information, and in a slightly long waiting time
It is acted on behalf of again to the outer net afterwards and initiates request of data.
In another embodiment of the present invention, the Intranet proxy module can initiate to establish with the outer net proxy module
The request of long connection, the outer net proxy module is established after responding the request and the long of the Intranet proxy module connects.This
When, the outer net proxy module will be located at the queue head of the message queue when the message queue is not sky automatically
Propelling data pushes to the Intranet proxy module, and the Intranet proxy module, will be described after receiving the propelling data
Propelling data is sent to the intranet server.
It should be noted that carrying out the biography of propelling data between the outer net proxy module and the Intranet proxy module
When defeated, other connection types or interconnection technique also can be used, such as also the technology based on websocket can be used to carry out pushing away for data
It send or transmits, also within protection scope of the present invention, this will not be repeated here for these schemes.
Data transmission method provided in an embodiment of the present invention is acted on behalf of by constructing the Intranet proxy module and the outer net
Response process is requested between module, so that the Intranet proxy module obtains the external network server and is buffered in the outer net agency
The data of active push in module, and the propelling data is sent to intranet server, it is under the premise that security is guaranteed, real
The external network server is showed to intranet server active transmission propelling data, from network application layer realization intranet systems and outside
The two-way interactive of net platform, implementation is simple, enriches Work tool and working method, and the user experience is improved.
Referring to Fig. 2, Fig. 2 is the flow diagram for the data transmission method that second embodiment of the invention provides.Shown in Fig. 2
Data transmission method be to describe from this side of Intranet proxy module, may include following steps:
S201, Intranet proxy module establishes the connection with outer net proxy module, and obtains the outer net according to the connection
The propelling data of proxy module caching, wherein the propelling data pushes to the outer net proxy module by external network server, and
It is cached in a message queue by the outer net proxy module according to the sequencing of push time.
In embodiments of the present invention, the outer net proxy module receives the propelling data from external network server, and by institute
Propelling data to be stated to be cached in the message queue of a thread-safe, the outer net proxy module can manage the message queue,
It falls in lines the propelling data that the external network server pushes from the queue tail of the message queue, and is carrying out propelling data
When extraction, the propelling data is taken out from the queue head of the message queue.
In embodiments of the present invention, the Intranet proxy module is configured with the address URL of the outer net proxy module, thus
The connection with the outer net proxy module can be established by the address URL.
Specifically, in one embodiment, the Intranet proxy module establish at every predetermined time once with it is described outer
The short connection of net proxy module, and when the short connection is established every time, request of data is initiated to the outer net proxy module, with
Make the outer net proxy module after receiving the push request, when the message queue is not sky, the message will be located at
The propelling data of the queue head of queue is transferred to the Intranet proxy module.
In one embodiment, the Intranet proxy module is established connects with the long of the outer net proxy module, so that institute
Outer net proxy module is stated when the message queue is not sky, will successively be located at the push number of the queue head of the message queue
According to being transferred to the Intranet proxy module.
It should be noted that the Intranet proxy module may be used also after receiving the propelling data in above-described embodiment
The propelling data is verified.Such as the Intranet proxy module can verify the propelling data source whether safety or
Whether the source of propelling data described in person (is come from specified source for example, the Intranet proxy module may be configured as only reception
From the propelling data of external network server A, propelling data without receiving the transmission of other external network servers), if not, in described
Net proxy module deletes the propelling data or jettisoning, to guarantee the safety of the intranet server.
It should be noted that when carrying out data transmission between the outer net proxy module and the Intranet proxy module,
Other connection types or interconnection technique also can be used, such as also can be used technology based on websocket carry out data push or
Transmission, also within protection scope of the present invention, this will not be repeated here for these schemes.
The propelling data is sent to intranet server by S202, the Intranet proxy module.
In embodiments of the present invention, the intranet server, can be by the push number after receiving the propelling data
According to the terminal for being sent to propelling data direction, wherein the terminal and the intranet server are located in consolidated network, or
Person, the intranet server can also respond the propelling data according to the service logic of itself, response results passed through
The Intranet proxy module is transmitted to the external network server.
Data transmission method provided in an embodiment of the present invention is acted on behalf of by constructing the Intranet proxy module and the outer net
Response process is requested between module, so that the Intranet proxy module obtains the external network server and is buffered in the outer net agency
The data of active push in module, and the propelling data is sent to intranet server, it is under the premise that security is guaranteed, real
The external network server is showed to intranet server active transmission propelling data, from network application layer realization intranet systems and outside
The two-way interactive of net platform, implementation is simple, enriches Work tool and working method, and user experience is good.
Referring to Fig. 3, Fig. 3 is the flow diagram for the data transmission method that third embodiment of the invention provides.Shown in Fig. 3
Data transmission method be to retouch from the interaction of intranet server, Intranet proxy module, outer net proxy module and external network server
It states, may include following steps:
The propelling data received is sent to outer net proxy module by S301, external network server, wherein the outer net service
Device is configured with the address URL of the outer net proxy module.
It should be noted that in one embodiment, the propelling data received is sent in the external network server
Before outer net proxy module, the intranet server can first Intranet proxy module initiate request, the Intranet proxy module is connecing
After receiving the request, confirmation ready information is sent to external network server, the external network server is receiving the confirmation letter
After breath, according to the operation logic of itself, the propelling data is sent to outer net proxy module in the scheduled time.
In addition, the Intranet proxy module after receiving the request, can also return to one to the intranet server
The feedback information of waiting, the intranet server are after receiving the feedback information, i.e., to be received described interior in one etc.
The state of net proxy module transmission propelling data.
S302, the outer net proxy module receive the propelling data, and by the propelling data by the elder generation of push time
Order buffer is into a message queue afterwards.
It should be noted that in embodiments of the present invention, the outer net proxy module disappears the propelling data to be put into
When ceasing in queue, the information that a propelling data is successfully fallen in lines also is fed back to the external network server.
In addition, the outer net proxy module can also feed back one to the external network server if the message is fallen in lines not successfully
A propelling data is fallen in lines the information of failure, and the external network server can retransmit the propelling data of failure of falling in lines to the outer net
Proxy module.
S303, Intranet proxy module and the outer net proxy module establish connection, obtain the push in the message queue
Data, and the propelling data is transferred to intranet server.
Data transmission method provided in an embodiment of the present invention is acted on behalf of by constructing the Intranet proxy module and the outer net
Response process is requested between module, so that the Intranet proxy module obtains the external network server and is buffered in the outer net agency
The data of active push in module, and the propelling data is sent to intranet server, it is under the premise that security is guaranteed, real
The external network server is showed to intranet server active transmission propelling data, from network application layer realization intranet systems and outside
The two-way interactive of net platform, implementation is simple, enriches Work tool and working method, and user experience is good.
Referring to Fig. 4, Fig. 4 is the flow diagram for the data transmission method that fourth embodiment of the invention provides.Shown in Fig. 4
Data transmission method be to retouch from the interaction of intranet server, Intranet proxy module, outer net proxy module and external network server
It states, may include following steps:
The propelling data received is sent to outer net proxy module by S401, external network server, wherein the outer net service
Device is configured with the address URL of the outer net proxy module.
S402, the outer net proxy module receive the propelling data, and by the propelling data by the elder generation of push time
Order buffer is into a message queue afterwards.
S403, Intranet proxy module establish the once short connection with the outer net proxy module at every predetermined time, and
When the short connection is established every time, request of data is initiated to the outer net proxy module.
S404, when the message queue is not sky, will be located at after the outer net proxy module receives the request of data
The propelling data of the queue head of the message queue is transferred to the Intranet proxy module.
The propelling data is transmitted to the Intranet after the Intranet proxy module receives the propelling data by S405
Server.
In the embodiment of the present invention, the Intranet proxy module establishes the short connection with the outer net proxy module, passes through wheel
The mode of inquiry initiates the request of data to the outer net proxy module, since the driving logic of poll is Intranet proxy module, institute
Stating request of data is actively initiated by Intranet proxy module, thus highly-safe.
Referring to Fig. 5, Fig. 5 is the flow diagram for the data transmission method that fourth embodiment of the invention provides.Shown in Fig. 5
Data transmission method be to retouch from the interaction of intranet server, Intranet proxy module, outer net proxy module and external network server
It states, may include following steps:
The propelling data received is sent to outer net proxy module by S501, external network server, wherein the outer net service
Device is configured with the address URL of the outer net proxy module.
S502, the outer net proxy module receive the propelling data, and by the propelling data by the elder generation of push time
Order buffer is into a message queue afterwards.
S503, Intranet proxy module is established to be connected with the long of the outer net proxy module.
S504, the outer net proxy module will be located at described when the message queue is not sky by the long connection
The propelling data of the queue head of message queue is transferred to the Intranet proxy module.
The propelling data is transmitted to the Intranet after the Intranet proxy module receives the propelling data by S505
Server.
In the embodiment of the present invention, the Intranet proxy module is established to be connected with the long of the outer net proxy module, by described
Outer net proxy module actively sends Intranet proxy module for propelling data according to long connection, realize the Intranet proxy module with
Data transmission between the outer net proxy module.
It should be noted that in an embodiment of the present invention, the intranet server receive the propelling data it
Afterwards, may also include that
The propelling data is transmitted to the terminal that the propelling data is directed toward by the intranet server;Wherein, the end
End is located in consolidated network with the intranet server.
For example, it is assumed that the external network server is microblogging cloud platform, wherein the public platform in the microblogging cloud platform can
Hot news or hot spot message can be pushed to the microblog users for having paid close attention to the public platform in daily predetermined period, then work as microblogging
Cloud platform can need to carry out active push data after the confirmation ready information for receiving the Intranet proxy module
When, the propelling data is sent to the outer net proxy module, at this point, the outer net proxy module is by the propelling data
It is cached in message queue, Intranet agency acts on behalf of mould from the outer net by way of the polling mode of short connection or long connection
Block obtains the propelling data, and the propelling data is sent to the intranet server, and the intranet server is again by institute
It states propelling data to be sent in the terminal for having paid close attention to the user of this public platform, to realize from external network server actively by institute
It states propelling data and is pushed to intranet server.
It should be noted that when in use, the microblogging cloud platform and the Intranet proxy module are both needed to be pre-configured with institute
State the address URL of outer net proxy module.
It should be noted that in some embodiments of the invention, receiving the push number in the intranet server
According to later, may also include that
The intranet server is responded according to the propelling data, and response results are back to the Intranet and are acted on behalf of
Module.And
The response results are sent to the external network server by the Intranet proxy module.
For example, it is assumed that the external network server be a credulity server, when need by credulity server access some
When the resource of intranet server, then a credulity public platform is registered first, and configure the address URL of the outer net proxy module,
When the user for completing to have paid close attention to postponing the public platform sends message (i.e. propelling data) to public platform, which can be from turn
It is dealt on the outer net proxy module where configured URL.If the message that user sends is the weather in request inquiry Guangzhou, then
Format of the message on the outer net proxy module can are as follows:
<xml>
<ToUserName><![ CDATA [ registered Yixin public number ] ]></ToUserName>
<FromUserName><![CDATA[NPC]]></FromUserName>
<createTime>format is timestamp type</CreateTime>
<MsgType><![CDATA[text]]></MsgType>
<Content><![ CDATA [ weatherGuangzhou ] ]></Content>
</xml>
In embodiments of the present invention, the effect of the outer net proxy module be to provide one can by intranet server and easily
The address URL that the interface of telecommunications services device can access, in addition, the outer net proxy module also realizes a buffer pool, for delaying
Deposit the message queue of a thread-safe.It should be noted that if this message queue is not thread-safe, when outer net service
Device constantly to the message queue propelling data when, the case where propelling data is lost can be easily lead to.
In embodiments of the present invention, the effect of the Intranet proxy module is the push number obtained in the message queue
According to.If message queue is not sky, the propelling data for being located at the queue head of message queue is obtained, and to the propelling data
It is verified, it is ensured that the safe source of propelling data;After verification passes through, the Intranet proxy module sends the propelling data
To intranet server, the intranet server can make the response of own service logic (such as response is: wide to described push
State is fine).Response message is sent to the interface of credulity public platform by Intranet service again, and to the user for initiating access request
The response results for sending " Guangzhou is fine ", in this way, user, which can be realized, actively accesses intranet server.Wherein, the Intranet service
Implement body handles the logic of the propelling data or principle can are as follows:
Http request mode: POST (please use https agreement)
Wherein access_token can be directly acquired.
Https: //api.yixin.im/cgi-bin/message/custom/send? access_token=
ACCESS_TOK EN
Sending content is a json text:
{
"touser":"NPC",
"msgtype":"text",
"text":{
" content ": " Guangzhou is fine "
}
}
It should be noted that in above-mentioned all embodiments, the intranet server, Intranet proxy module, outer net agency
Module, external network server can be independent device or server, can also merge, and such as Intranet proxy module can be described
One module of intranet server, and outer net proxy module can be a module of external network server, these schemes are in this hair
Within bright protection scope, the present invention is not specifically limited.
Referring to Figure 6 together, Fig. 6 is the structural schematic diagram for the outer net proxy module that sixth embodiment of the invention provides.Institute
Stating outer net proxy module 600 includes:
Receiving unit 610, for receiving the propelling data of external network server transmission, wherein the external network server configuration
There is the address URL of the outer net proxy module.
Cache unit 620, for the propelling data to be cached to a message queue by the sequencing of push time
In.
First transmission unit 630 will for responding the connection request of Intranet proxy module, and after connection foundation
It is sent to the Intranet proxy module positioned at the propelling data of the queue head of the message queue, so that the Intranet acts on behalf of mould
After block receives the propelling data, the propelling data is sent to intranet server.
Referring to Figure 7 together, in one embodiment, first transmission unit 630 includes:
First response unit 631, the short connection request initiated for responding the Intranet proxy module, so that the Intranet
Proxy module establishes the once short connection with itself at every predetermined time, and when receiving every time the short connection and establishing, described
The request of data that Intranet proxy module is initiated.
First data transmission unit 632, will when the message queue is not sky after receiving the request of data
It is transferred to the Intranet proxy module positioned at the propelling data of the queue head of the message queue, so that the Intranet acts on behalf of mould
After block receives the propelling data, the propelling data is sent to intranet server.
Also referring to Fig. 8, in one embodiment, first transmission unit 630 includes:
Second response unit 633, the connection request initiated for responding the Intranet proxy module, is established and the Intranet
The long connection of proxy module.
Second propelling data transmission unit 634, for being connected position by the length when the message queue is not sky
It is transferred to the Intranet proxy module in the propelling data of the queue head of the message queue, so that the Intranet proxy module
After receiving the propelling data, the propelling data is sent to intranet server.
Outer net proxy module 600 provided in an embodiment of the present invention, by first response unit 631 construction with it is described interior
The request response process of net proxy module, so that the Intranet proxy module obtains the external network server and is buffered in the caching
The data of active push in unit 620, and the propelling data is sent to intranet server, in the premise for guaranteeing safety
Under, the external network server is realized to intranet server active transmission propelling data, realizes intranet system from network application layer
The two-way interactive of system and external bending moments, implementation is simple, enriches Work tool and working method, and the user experience is improved.
It is the structural schematic diagram for the Intranet proxy module that seventh embodiment of the invention provides also referring to Fig. 9, Fig. 9.Institute
Stating Intranet proxy module 700 includes:
Connection unit 710, for establish with the connection of outer net proxy module, and according to connection acquisition outer net generation
Manage the propelling data of module caching, wherein the propelling data pushes to the outer net proxy module by external network server, and by
The outer net proxy module is cached in a message queue according to the sequencing of push time.
In one embodiment, the connection unit 710 is specifically used for, establish at every predetermined time once with it is described outer
The short connection of net proxy module, and when the short connection is established every time, request of data is initiated to the outer net proxy module, with
Make the outer net proxy module after receiving the request of data, when the message queue is not sky, the message will be located at
The propelling data of the queue head of queue is transferred to the Intranet proxy module.
In one embodiment, the connection unit 710 is specifically used for, and establishes and connects with the long of the outer net proxy module
It connects, so that the outer net proxy module when the message queue is not sky, will successively be located at the queue heads of the message queue
The propelling data in portion is transferred to the Intranet proxy module.
Second transmission unit 720, for the propelling data to be sent to intranet server.
It should be noted that in some embodiment of the invention, the Intranet proxy module 700 may also include calibration mode
Block, the correction verification module can be used for verifying the propelling data, judge whether the source of the propelling data is safe;If
It is that the propelling data is then transferred to intranet server;If it is not, then deleting the propelling data.
Intranet proxy module 700 provided in an embodiment of the present invention passes through the connection unit 710 construction and the outer net generation
The request response process of module is managed, to obtain active push that the external network server is buffered in the outer net proxy module
Data, and the propelling data is sent to by intranet server by the second transmission unit 720, under the premise that security is guaranteed,
The external network server is realized to intranet server active transmission propelling data, from network application layer realize intranet systems and
The two-way interactive of external bending moments, implementation is simple, enriches Work tool and working method, and the user experience is improved.
It is the structural schematic diagram for the data transmission system that eighth embodiment of the invention provides also referring to Figure 10, Figure 10.
The data transmission system propelling data includes external network server 810, outer net proxy module 820, Intranet proxy module 830 and interior
Network server 840, in which:
The external network server 810, for the propelling data received to be sent to outer net proxy module 830, wherein institute
State the address URL that external network server 810 is configured with the outer net proxy module 820.
The outer net proxy module 820, the propelling data sent for receiving the external network server 810, and will be described
Propelling data is cached in a message queue by the sequencing of push time.
The Intranet proxy module 830 obtains the message team for establishing connection with the outer net proxy module 820
Propelling data in column, and the propelling data is transferred to intranet server 840.
Wherein it is preferred in the external network server 810, for the propelling data received to be sent to outer net agency
Before module 820,
The intranet server 840 is also used to initiate request of data to Intranet proxy module 830.
The Intranet proxy module 830, is also used to after receiving the request of data, sends to external network server 810
Confirm ready information.At this point, the external network server can send the propelling data after receiving the confirmation ready information.
Wherein it is preferred to which the Intranet proxy module 830 is configured with the address URL of the outer net proxy module 820.
Wherein, in one embodiment, the company that the Intranet proxy module 830 is established with the outer net proxy module 820
Be connected in short connection, then at this point,
The Intranet proxy module 830, it is primary and the outer net proxy module 830 for establishing at every predetermined time
Short connection, and when the short connection is established every time, request of data is initiated to the outer net proxy module 830.
The outer net proxy module 820 is used for after receiving the request of data, when the message queue is not sky,
The propelling data for being located at the queue head of the message queue is transferred to the Intranet proxy module 830.
The Intranet proxy module 830, for the propelling data being transmitted to described after receiving the propelling data
Intranet server 840.
Wherein, in one embodiment, the company that the Intranet proxy module 830 is established with the outer net proxy module 820
Be connected in long connection, then:
The Intranet proxy module 830 is connected for establishing with the long of the outer net proxy module 820.
The outer net proxy module 820, after receiving the propelling data, when the message queue is not sky,
The propelling data for being located at the queue head of the message queue is successively transferred to the Intranet proxy module 830.
The Intranet proxy module 830, for the propelling data being transmitted to described after obtaining the propelling data
Intranet server 840.
Wherein, in one embodiment, after the intranet server 840 receives the propelling data,
The intranet server 840 is also used to for the propelling data being transmitted to the terminal that the propelling data is directed toward;Its
In, the terminal and the intranet server 840 are located in consolidated network.
Wherein, in one embodiment, after the intranet server 840 receives the propelling data, the Intranet
Server 840 is also used to be responded according to the propelling data, and response results are back to the Intranet proxy module
830。
The Intranet proxy module 830 is also used to the response propelling data being sent to the external network server 810.
Data transmission system provided in an embodiment of the present invention, by constructing the Intranet proxy module 830 and the outer net
Response process is requested between proxy module 820, so that the Intranet proxy module 820 obtains the external network server 810 and caches
The data of active push in the outer net proxy module 820, and the propelling data is sent to intranet server 840,
Under the premise that security is guaranteed, the external network server 810 is realized to 840 active transmission propelling data of intranet server, from
Network application layer realizes the two-way interactive of intranet systems and external bending moments, and implementation is simple, enriches Work tool and work
Make mode, the user experience is improved.
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Claims (28)
1. a kind of data transmission method, which comprises the steps of:
Outer net proxy module receives the propelling data of external network server push, wherein the external network server is configured with described outer
The address URL of net proxy module;
The propelling data is cached in a message queue by the outer net proxy module by the sequencing of push time;
The connection request of the outer net proxy module response Intranet proxy module, and after connection foundation, it will be located at described
The propelling data of the queue head of message queue is sent to the Intranet proxy module, so that the Intranet proxy module receives institute
After stating propelling data, the propelling data is sent to intranet server.
2. data transmission method according to claim 1, which is characterized in that the outer net proxy module response Intranet agency
The connection request of module, and after connection foundation, the propelling data that will be located at the queue head of the message queue is sent
To the Intranet proxy module, so as to which the propelling data is sent after the Intranet proxy module receives the propelling data
To intranet server, comprising:
The outer net proxy module responds the short connection request that the Intranet proxy module is initiated, so that the Intranet proxy module
The short connection once with the outer net proxy module is established at every predetermined time, and is received and established in the short connection every time
When, the request of data of the Intranet proxy module initiation;
After the outer net proxy module receives the request of data, when the message queue is not sky, the message will be located at
The propelling data of the queue head of queue is transferred to the Intranet proxy module, so as to push away described in Intranet proxy module reception
After sending data, the propelling data is sent to intranet server.
3. data transmission method according to claim 1, which is characterized in that the outer net proxy module response Intranet agency
The connection request of module, and after connection foundation, the propelling data that will be located at the queue head of the message queue is sent
To the Intranet proxy module, so as to which the propelling data is sent after the Intranet proxy module receives the propelling data
To intranet server, comprising:
The outer net proxy module responds the long connection request that the Intranet proxy module is initiated, so that the Intranet proxy module
Long connection is established with the outer net proxy module;
The outer net proxy module will be located at the message queue when the message queue is not sky, through the long connection
The propelling data of queue head is transferred to the Intranet proxy module, so that the Intranet proxy module receives the propelling data
Afterwards, the propelling data is sent to intranet server.
4. a kind of data transmission method, which comprises the steps of:
Intranet proxy module establishes the connection with outer net proxy module, and obtains the outer net proxy module according to the connection and delay
The propelling data deposited, wherein the propelling data pushes to the outer net proxy module by external network server, and by the outer net
Proxy module is cached in a message queue according to the sequencing of push time;
Wherein, the external network server is configured with the address URL of the outer net proxy module;
The propelling data is sent to intranet server by the Intranet proxy module.
5. data transmission method according to claim 4, which is characterized in that the Intranet proxy module is established and outer net generation
The connection of module is managed, and obtains the propelling data of the outer net proxy module caching according to the connection, specifically:
The Intranet proxy module establishes the once short connection with the outer net proxy module at every predetermined time, and each
When the short connection is established, request of data is initiated to the outer net proxy module, so that the outer net proxy module is receiving institute
After stating request of data, when the message queue is not sky, the data for being located at the queue head of the message queue are transferred to
The Intranet proxy module.
6. data transmission method according to claim 4, which is characterized in that the Intranet proxy module is established and outer net generation
The connection of module is managed, and obtains the propelling data of the outer net proxy module caching according to the connection, specifically:
The Intranet proxy module is established to be connected with the long of the outer net proxy module, so that the outer net proxy module is described
When message queue is not sky, the propelling data for being located at the queue head of the message queue is successively transferred to the Intranet and is acted on behalf of
Module.
7. a kind of data transmission method, which comprises the steps of:
The propelling data received is sent to outer net proxy module by external network server, wherein the external network server is configured with
The address URL of the outer net proxy module;
The outer net proxy module receives the propelling data, and the propelling data is cached by the sequencing of push time
Into a message queue;
Intranet proxy module and the outer net proxy module establish connection, and obtain the propelling data in the message queue;
The propelling data is transferred to intranet server by the Intranet proxy module.
8. data transmission method according to claim 7, which is characterized in that pushed away in the external network server by what is received
Data are sent to be sent to before outer net proxy module, further includes:
Intranet server is initiated to request to Intranet proxy module;
The Intranet proxy module sends confirmation ready information after receiving the request, to external network server.
9. data transmission method according to claim 7, which is characterized in that the Intranet proxy module is configured with described outer
The address URL of net proxy module, to establish connection by the address URL and the outer net proxy module.
10. data transmission method according to claim 7, which is characterized in that the Intranet proxy module and the outer net
Proxy module establishes connection, obtains the propelling data in the message queue, specifically:
The Intranet proxy module establishes the once short connection with the outer net proxy module at every predetermined time, and each
When the short connection is established, request of data is initiated to the outer net proxy module, so that described in outer net proxy module reception
After request of data, when the message queue is not sky, the propelling data that will be located at the queue head of the message queue is transmitted
To the Intranet proxy module.
11. data transmission method according to claim 7, which is characterized in that the Intranet proxy module and the outer net
Proxy module establishes connection, obtains the propelling data in the message queue, specifically:
The Intranet proxy module is established to be connected with the long of the outer net proxy module, so that the outer net proxy module receives
After the propelling data, when the message queue is not sky, it will successively be located at the push of the queue head of the message queue
Data are transferred to the Intranet proxy module.
12. data transmission method according to claim 7, which is characterized in that pushed away in the Intranet proxy module by described
Data are sent to be transferred to after intranet server, further includes:
The propelling data is transmitted to the terminal that the propelling data is directed toward by the intranet server;Wherein, the terminal with
The intranet server is located in consolidated network.
13. data transmission method according to claim 7, which is characterized in that pushed away in the Intranet proxy module by described
Data are sent to be transferred to after intranet server, further includes:
The intranet server is responded according to the propelling data, and response results are back to the Intranet and act on behalf of mould
Block;
The response results are sent to the external network server by the Intranet proxy module.
14. according to data transmission method described in claim 7 to 13 any one, which is characterized in that acted on behalf of in the Intranet
Module and the outer net proxy module establish connection, and after obtaining the propelling data in the message queue, further includes:
The propelling data is verified, judges whether the source of the propelling data is safe;
If so, the propelling data is transferred to intranet server;
If it is not, then deleting the propelling data.
15. a kind of outer net proxy module characterized by comprising
Receiving unit, for receiving the propelling data of external network server transmission, wherein the external network server is configured with described outer
The address URL of net proxy module;
Cache unit, for the propelling data to be cached in a message queue by the sequencing of push time;
First transmission unit will be located at described for responding the connection request of Intranet proxy module, and after connection foundation
The propelling data of the queue head of message queue is sent to the Intranet proxy module, so that the Intranet proxy module receives institute
After stating propelling data, the propelling data is sent to intranet server.
16. outer net proxy module according to claim 15, which is characterized in that first transmission unit includes:
First response unit, the short connection request initiated for responding the Intranet proxy module, so that the Intranet acts on behalf of mould
Block establishes the once short connection with itself at every predetermined time, and when receiving every time the short connection and establishing, the Intranet generation
Manage the request of data that module is initiated;
First data transmission unit, when the message queue is not sky, will be located at described after receiving the request of data
The propelling data of the queue head of message queue is transferred to the Intranet proxy module, so that the Intranet proxy module receives institute
After stating propelling data, the propelling data is sent to intranet server.
17. outer net proxy module according to claim 15, which is characterized in that first transmission unit includes:
Second response unit, the connection request initiated for responding the Intranet proxy module, establishes and acts on behalf of mould with the Intranet
The long connection of block;
Second data transmission unit, for the message will to be located at by the long connection when the message queue is not sky
The propelling data of the queue head of queue is transferred to the Intranet proxy module, so as to push away described in Intranet proxy module reception
After sending data, the propelling data is sent to intranet server.
18. a kind of Intranet proxy module characterized by comprising
Connection unit, for establish with the connection of outer net proxy module, and according to the connection acquisition outer net proxy module
The propelling data of caching, wherein the propelling data pushes to the outer net proxy module by external network server, and by described outer
Net proxy module is cached in a message queue according to the sequencing of push time;
Wherein, the external network server is configured with the address URL of the outer net proxy module;
Second transmission unit, for the propelling data to be sent to intranet server.
19. Intranet proxy module according to claim 18, which is characterized in that the connection unit is specifically used for, every
Scheduled time establishes the once short connection with the outer net proxy module, and when the short connection is established every time, to described
Outer net proxy module initiates request of data, so that the outer net proxy module is after receiving the request of data, in the message
When queue is not sky, the propelling data for being located at the queue head of the message queue is transferred to the Intranet proxy module.
20. Intranet proxy module according to claim 18, which is characterized in that the connection unit is specifically used for, and establishes
Long with the outer net proxy module connects, so that the outer net proxy module when the message queue is not sky, successively will
The Intranet proxy module is transferred to positioned at the propelling data of the queue head of the message queue.
21. a kind of data transmission system, which is characterized in that including external network server, Intranet proxy module, Intranet proxy module and
Intranet server, in which:
The external network server, for the propelling data received to be sent to outer net proxy module, wherein the outer net service
Device is configured with the address URL of the outer net proxy module;
The outer net proxy module, the propelling data sent for receiving the external network server, and the propelling data is pressed
The sequencing of push time is cached in a message queue;
The Intranet proxy module obtains the push in the message queue for establishing connection with the outer net proxy module
Data, and the propelling data is transferred to intranet server.
22. data transmission system according to claim 21, which is characterized in that
The intranet server is also used to initiate to request to Intranet proxy module;
The Intranet proxy module, is also used to after receiving the request, sends confirmation ready information to external network server.
23. data transmission system according to claim 21, which is characterized in that the Intranet proxy module is configured with described
The address URL of outer net proxy module.
24. data transmission system according to claim 21, which is characterized in that the Intranet proxy module and the outer net
Proxy module establishes short connection;
The then Intranet proxy module, for establishing the primary and outer net proxy module short connection at every predetermined time,
And when the short connection is established every time, request of data is initiated to the outer net proxy module;
The outer net proxy module, for when the message queue is not sky, institute will to be located at after receiving the request of data
The propelling data for stating the queue head of message queue is transferred to the Intranet proxy module;
The Intranet proxy module, for the propelling data being transmitted to the Intranet and is taken after receiving the propelling data
Business device.
25. data transmission system according to claim 21, which is characterized in that the Intranet proxy module and the outer net
Proxy module establishes long connection, then:
The Intranet proxy module is connected for establishing with the long of the outer net proxy module;
The outer net proxy module, after receiving the propelling data, when the message queue is not sky, successively by position
The Intranet proxy module is transferred in the propelling data of the queue head of the message queue;
After the Intranet proxy module obtains the propelling data, the propelling data is transmitted to the intranet server.
26. data transmission system according to claim 21, which is characterized in that
The intranet server is also used to for the propelling data being transmitted to the terminal that the propelling data is directed toward;Wherein, described
Terminal and the intranet server are located in consolidated network.
27. data transmission system according to claim 21, which is characterized in that
The intranet server is also used to be responded according to the propelling data, and response results is back to the Intranet
Proxy module;
The Intranet proxy module is also used to the response results being sent to the external network server.
28. according to data transmission system described in claim 21 to 27 any one, which is characterized in that the Intranet acts on behalf of mould
Block is also used to verify the propelling data, judges whether the source of the propelling data is safe;If so, will be described
Propelling data is transferred to intranet server;If it is not, then deleting the propelling data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510669993.6A CN105208043B (en) | 2015-10-13 | 2015-10-13 | Outer net proxy module, Intranet proxy module, data transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510669993.6A CN105208043B (en) | 2015-10-13 | 2015-10-13 | Outer net proxy module, Intranet proxy module, data transmission method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105208043A CN105208043A (en) | 2015-12-30 |
CN105208043B true CN105208043B (en) | 2019-02-12 |
Family
ID=54955476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510669993.6A Active CN105208043B (en) | 2015-10-13 | 2015-10-13 | Outer net proxy module, Intranet proxy module, data transmission method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105208043B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161593B (en) * | 2016-06-21 | 2020-02-07 | 北京奇虎科技有限公司 | Message polling method, server and communication system |
CN106230870B (en) * | 2016-10-13 | 2019-04-09 | 成都东方盛行电子有限责任公司 | Proprietary protocol document transmission system and method |
CN106657043A (en) * | 2016-12-09 | 2017-05-10 | 北京奇虎科技有限公司 | Communication method and system in multi-layer networks in unidirectional connection |
CN107846405B (en) * | 2017-10-31 | 2020-11-10 | 北京百悟科技有限公司 | Control system for internal and external network file mutual access and implementation method |
CN108932329B (en) * | 2018-07-04 | 2021-05-25 | 北京奇安信科技有限公司 | Data query processing method and device |
CN109040237A (en) * | 2018-08-01 | 2018-12-18 | 平安科技(深圳)有限公司 | A kind of data access method and system |
CN109194637A (en) * | 2018-08-23 | 2019-01-11 | 深圳点猫科技有限公司 | It is a kind of for educating the intranet and extranet means of communication and system of cloud platform |
CN110365802B (en) * | 2019-08-26 | 2022-11-15 | 北京奇艺世纪科技有限公司 | Message transmission method, message forwarding equipment and storage medium |
CN110661858A (en) * | 2019-09-12 | 2020-01-07 | 南京博联智能科技有限公司 | Websocket-based intranet penetration method and system |
CN110913008B (en) * | 2019-11-29 | 2023-02-28 | 成都知道创宇信息技术有限公司 | Data transmission method and device |
CN113037696B (en) * | 2019-12-25 | 2022-12-16 | 中移全通系统集成有限公司 | Data transmission method, system server, storage medium and computer equipment |
CN112243026B (en) * | 2020-09-25 | 2022-08-09 | 中国铁道科学研究院集团有限公司 | Railway data interaction system and method |
CN112202795B (en) * | 2020-09-30 | 2023-07-14 | 腾讯科技(深圳)有限公司 | Data processing method, gateway equipment and medium |
CN112887762B (en) * | 2021-01-26 | 2023-07-25 | 广州欢网科技有限责任公司 | Method and system for putting IPTV advertisement resources according to crowd labels |
CN113257404B (en) * | 2021-05-12 | 2023-06-23 | 山东志盈医学科技有限公司 | Communication method and platform for pathology remote consultation |
CN114268459A (en) * | 2021-11-23 | 2022-04-01 | 贵州电网有限责任公司 | Data security access method based on service side |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166933A (en) * | 2011-12-15 | 2013-06-19 | 北京天行网安信息技术有限责任公司 | System and method for data safe exchange |
CN103209191A (en) * | 2013-05-08 | 2013-07-17 | 天津工业大学 | Method for realizing physical partition of internal and external networks |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1142506C (en) * | 2001-12-03 | 2004-03-17 | 复旦大学 | Information bridge network safety isolator |
CN102035880B (en) * | 2010-11-02 | 2014-04-30 | 中兴通讯股份有限公司 | Method and device for maintaining connection |
CN202424770U (en) * | 2011-12-08 | 2012-09-05 | 杭州翼鹏科技有限公司 | Safety isolator for network data |
-
2015
- 2015-10-13 CN CN201510669993.6A patent/CN105208043B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166933A (en) * | 2011-12-15 | 2013-06-19 | 北京天行网安信息技术有限责任公司 | System and method for data safe exchange |
CN103209191A (en) * | 2013-05-08 | 2013-07-17 | 天津工业大学 | Method for realizing physical partition of internal and external networks |
Also Published As
Publication number | Publication date |
---|---|
CN105208043A (en) | 2015-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105208043B (en) | Outer net proxy module, Intranet proxy module, data transmission method and system | |
CN103339910A (en) | Full-duplex bi-directional communication over a remote procedure call based communications protocol, and applications thereof | |
WO2017128178A1 (en) | Information interaction method, client and device | |
CN101114980B (en) | Method and system for establishing instant communication relation | |
CN103001860A (en) | Achieving system for converged communication Web instant messages | |
CN103401946B (en) | HTTP uploads accelerated method and system | |
WO2013097401A1 (en) | Method, gateway and communication system for browser client directly communicating with back-end server | |
CN103164790A (en) | Internet payment system and data processing method thereof | |
CN103457843A (en) | Communication method, communication system, relay gateway device, application server and client side | |
CN109756508A (en) | Message Agent method and relevant device based on multi-protocols access block chain network | |
CN104954348A (en) | Reliable message pushing method based on XMPP | |
CN108683653A (en) | A kind of active message push system based on WebSocket | |
CN104539510A (en) | Multi-protocol-based information pushing system and method | |
CN109040017B (en) | Intelligent customer service system based on MQTT and HTTP and implementation method | |
CN113162989A (en) | MQTT-Websocket-based message transceiving method | |
WO2021008567A1 (en) | Request transmission method and apparatus based on full duplex communication protocol | |
WO2015090225A1 (en) | Linux-based adaptive component communication method | |
CN102065143B (en) | Communication method and system based on HTTP (hyper Text Transfer Protocol), HTTP server and HTTP client | |
CN101599921A (en) | A kind of enterprise instant communication system and document transmission method thereof | |
WO2017101409A1 (en) | Video push notification method, system, and server between different client ends | |
US20080256245A1 (en) | Method and system for information exchange utilizing an asynchronous persistent store protocol | |
CN105721509A (en) | Server system | |
JP5405550B2 (en) | File transmission management system and file transmission management method for supporting file transmission in mobile messaging service | |
CN103560937A (en) | Data accessing method and entry server | |
CN116308671A (en) | Online bidding method based on MQTT protocol, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |