CN105208043A - Outer network agent module, inner network agent module and data transmitting method and system - Google Patents

Outer network agent module, inner network agent module and data transmitting method and system Download PDF

Info

Publication number
CN105208043A
CN105208043A CN201510669993.6A CN201510669993A CN105208043A CN 105208043 A CN105208043 A CN 105208043A CN 201510669993 A CN201510669993 A CN 201510669993A CN 105208043 A CN105208043 A CN 105208043A
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.)
Granted
Application number
CN201510669993.6A
Other languages
Chinese (zh)
Other versions
CN105208043B (en
Inventor
陈诺言
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510669993.6A priority Critical patent/CN105208043B/en
Publication of CN105208043A publication Critical patent/CN105208043A/en
Application granted granted Critical
Publication of CN105208043B publication Critical patent/CN105208043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls

Landscapes

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

Abstract

The invention discloses a data transmitting method. The data transmitting method comprises the following steps that an external network agent module receives push data pushed by an external network server, wherein a URL address of the external network agent module is configured in the external network server; the external network agent module caches the push data into a message queue according to a push time sequence; the external network agent module responds to a connection request of an inner network agent module and sends the push data at the queue head of the message queue to the inner network agent module after connection is established so that the inner network agent module can send the push data to an inner network server after receiving the push data. The invention further provides the outer network agent module, the inner network agent module and a data transmitting system. By means of the outer network agent module, the inner network agent module and the data transmitting method and system, the outer network server can initiatively push data to the inner network server.

Description

Outer net proxy module, Intranet proxy module, data transmission method and system
Technical field
The present invention relates to computer network field, particularly relate to a kind of outer net proxy module, Intranet proxy module, data transmission method and system.
Background technology
Present company or the in-house network of enterprise are all generally private networks (Intranet), and private network can pass through NAT protocol access the Internet (outer net), realizes the unidirectional access of externally netting from in-house network.But the resource that present the Internet provides and service become increasingly abundant, as credulity platform, microblogging propelling data platform and new billow cloud platform etc., they not only provide passive respond services, also provide the service of various kinds active push.In order to allow outer net active push data to intranet server, network manager is needed to carry out after specific configuration realizes a special passage, could allowing specific external network server access intranet server at transport network layer.
The scheme of prior art is for arrange at transport network layer, in order to realize outer net to Intranet pushed information, then need the configuration modification authority having Intranet and outer net connected node, and for guaranteeing the consideration of intranet security, this configuration modification authority is subject to strict restriction, do not have this authority just cannot move pushed information by the inside host of outer net, limit more, cannot instructions for use be met.
For the problems referred to above, the object of the present invention is to provide a kind of outer net proxy module, Intranet proxy module, data transmission method and system, external network server can be realized initiatively to intranet server propelling data from network application layer.
First aspect, the invention provides a kind of data transmission method, comprises the steps:
Outer net proxy module receives the propelling data that external network server pushes, and wherein, described external network server is configured with the URL address of described outer net proxy module;
Described propelling data is cached in a message queue by the sequencing of the time of propelling movement by described outer net proxy module;
The connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
In the first implementation, the connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server, comprising:
Described outer net proxy module responds the short connection request that described Intranet proxy module is initiated, to make described Intranet proxy module, every predetermined time, foundation is once connected with the short of self, and when being received in each described short connection establishment, the request of data that described Intranet proxy module is initiated;
After described outer net proxy module receives described request of data, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
In the second implementation, the connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server, comprising:
Described outer net proxy module responds the long connection request that described Intranet proxy module is initiated, and sets up long connection to make described Intranet proxy module and self;
Described outer net proxy module is not when described message queue is empty, by described long connection, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
Second aspect, the invention provides a kind of data transmission method, comprises the steps:
Intranet proxy module sets up the connection with outer net proxy module, and connect according to described the propelling data obtaining described outer net proxy module buffer memory, wherein, described propelling data pushes to described outer net proxy module by external network server, and is cached in a message queue by described outer net proxy module according to the sequencing of the time of propelling movement;
Described propelling data is sent to intranet server by described Intranet proxy module.
In the first implementation, described Intranet proxy module sets up the connection with outer net proxy module, and connects according to described the propelling data obtaining described outer net proxy module buffer memory, is specially:
Described Intranet proxy module is set up every predetermined time and is once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, to make described outer net proxy module after the described request of data of reception, when described message queue is not empty, the data of the queue head being positioned at described message queue are transferred to described Intranet proxy module.
In the second implementation, described Intranet proxy module sets up the connection with outer net proxy module, and connects according to described the propelling data obtaining described outer net proxy module buffer memory, is specially:
Described Intranet proxy module is set up and is connected with the long of described outer net proxy module, to make described outer net proxy module when described message queue is not for sky, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
The third aspect, the invention provides a kind of data transmission method, comprises the steps:
The propelling data received is sent to outer net proxy module by external network server, and wherein, described external network server is configured with the URL address of described outer net proxy module;
Described outer net proxy module receives described propelling data, and is cached in a message queue by described propelling data by the sequencing of the time of propelling movement;
Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue;
Described propelling data is transferred to intranet server by described Intranet proxy module.
In the first implementation, before the propelling data received is sent to outer net proxy module by described external network server, also comprise:
Intranet server initiates request to Intranet proxy module;
Described Intranet proxy module, after receiving described request, sends to external network server and confirms ready information.
In the second implementation, described Intranet proxy module is configured with the URL address of described outer net proxy module, to be connected by described URL address and described outer net proxy module.
In the third implementation, described Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue, are specially:
Described Intranet proxy module is set up every predetermined time and is once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, after receiving described request of data to make described outer net proxy module, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
In the 4th kind of implementation, described Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue, are specially:
Described Intranet proxy module is set up and is connected with the long of described outer net proxy module, after receiving described propelling data to make described outer net proxy module, when described message queue is not empty, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
In the 5th kind of implementation, after described propelling data is transferred to intranet server by described Intranet proxy module, also comprise:
Described propelling data is transferred to the terminal that described propelling data points to by described intranet server; Wherein, described terminal and described intranet server are arranged in consolidated network.
In the 6th kind of implementation, after described propelling data is transferred to intranet server by described Intranet proxy module, also comprise:
Described intranet server responds according to described propelling data, and response results is back to described Intranet proxy module;
Described response results is sent to described external network server by described Intranet proxy module.
In the 7th kind of implementation, connect at described Intranet proxy module and described outer net proxy module, and after obtaining the propelling data in described message queue, also comprise:
Described propelling data is verified, judges the source whether safety of described propelling data;
If so, then described propelling data is transferred to intranet server;
If not, then described propelling data is deleted.
Fourth aspect, the invention provides a kind of outer net proxy module, comprising:
Receiving element, for receiving the propelling data that external network server sends, wherein, described external network server is configured with the URL address of described outer net proxy module;
Buffer unit, for being cached in a message queue by described propelling data by the sequencing of the time of propelling movement;
First transmitting element, for responding the connection request of Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
In the first implementation, described first transmitting element comprises:
First response unit, for responding the short connection request that described Intranet proxy module is initiated, to make described Intranet proxy module, every predetermined time, foundation is once connected with the short of self, and when receiving each described short connection establishment, the request of data that described Intranet proxy module is initiated;
First data transmission unit, after receiving described request of data, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
In the second implementation, described first transmitting element comprises:
Second response unit, for responding the connection request that described Intranet proxy module is initiated, setting up and being connected with the long of described Intranet proxy module;
Second data transmission unit, during for not being empty at described message queue, by described long connection, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
5th aspect, the invention provides a kind of Intranet proxy module, comprising:
Linkage unit, for setting up the connection with outer net proxy module, and connect according to described the propelling data obtaining described outer net proxy module buffer memory, wherein, described propelling data pushes to described outer net proxy module by external network server, and is cached in a message queue by described outer net proxy module according to the sequencing of the time of propelling movement;
Second transmitting element, for sending to intranet server by described propelling data.
In the first implementation, described linkage unit specifically for, set up every predetermined time and be once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, to make described outer net proxy module after the described request of data of reception, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
In the second implementation, described linkage unit specifically for, set up and be connected with the long of described outer net proxy module, to make described outer net proxy module when described message queue is not for sky, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
6th aspect, the invention provides a kind of data transmission system, comprises external network server, Intranet proxy module, Intranet proxy module and intranet server, wherein:
Described external network server, for the propelling data received is sent to outer net proxy module, wherein, described external network server is configured with the URL address of described outer net proxy module;
Described outer net proxy module, for receiving the propelling data that described external network server sends, and is cached in a message queue by described propelling data by the sequencing of the time of propelling movement;
Described Intranet proxy module, for connecting with described outer net proxy module, obtaining the propelling data in described message queue, and described propelling data is transferred to intranet server.
In the first implementation, described intranet server, also for initiating request to Intranet proxy module;
Described Intranet proxy module, also for after receiving described request, sends to external network server and confirms ready information.
In the second implementation, described Intranet proxy module is configured with the URL address of described outer net proxy module.
In the third implementation, described Intranet proxy module sets up short connection with described outer net proxy module;
Then described Intranet proxy module, is once connected with described the short of outer net proxy module for setting up every predetermined time, and when each described short connection establishment, initiates request of data to described outer net proxy module;
Described outer net proxy module, for after the described request of data of reception, when described message queue is not empty, is transferred to described Intranet proxy module by the propelling data of the queue head being positioned at described message queue;
Described Intranet proxy module, for after the described propelling data of reception, transfers to described intranet server by described propelling data.
In the 4th kind of implementation, described Intranet proxy module and described outer net proxy module set up long connection, then:
Described Intranet proxy module, is connected with the long of described outer net proxy module for setting up;
Described outer net proxy module, after receiving described propelling data, when described message queue is not empty, is transferred to described Intranet proxy module by the propelling data of the queue head being positioned at described message queue successively;
After described Intranet proxy module obtains described propelling data, described propelling data is transferred to described intranet server.
In the 5th kind of implementation, described intranet server, also for described propelling data being transferred to the terminal that described propelling data points to; Wherein, described terminal and described intranet server are arranged in consolidated network.
In the 6th kind of implementation, described intranet server, also for responding according to described propelling data, and is back to described Intranet proxy module by response results;
Described Intranet proxy module, also for described response results is sent to described external network server.
In the 7th kind of implementation, described Intranet proxy module, also for verifying described propelling data, judges the source whether safety of described propelling data; If so, then described propelling data is transferred to intranet server; If not, then described propelling data is deleted.
The outer net proxy module that the embodiment of the present invention provides, Intranet proxy module, data transmission method, system, response process is asked by constructing between described Intranet proxy module and described outer net proxy module, the data that described external network server is buffered in the active push in described outer net proxy module are obtained to make described Intranet proxy module, and described propelling data is sent to intranet server, under the premise that security is guaranteed, achieve described external network server and initiatively send propelling data to intranet server, the two-way interactive of Inside and outside network is realized from network application layer, implementation is simple, Work tool and working method are enriched, Consumer's Experience is good.
Summary of the invention
Accompanying drawing explanation
In order to be illustrated more clearly in technical scheme of the present invention, be briefly described to the accompanying drawing used required in execution mode below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the data transmission method that first embodiment of the invention provides.
Fig. 2 is the schematic flow sheet of the data transmission method that second embodiment of the invention provides.
Fig. 3 is the schematic flow sheet of the data transmission method that third embodiment of the invention provides.
Fig. 4 is the schematic flow sheet of the data transmission method that fourth embodiment of the invention provides.
Fig. 5 is the schematic flow sheet of the data transmission method that fifth embodiment of the invention provides.
Fig. 6 is the structural representation of the outer net proxy module that sixth embodiment of the invention provides.
Fig. 7 is a kind of structural representation of the first transmitting element shown in Fig. 6.
Fig. 8 is the another kind of structural representation of the first transmitting element shown in Fig. 6.
Fig. 9 is the structural representation of the Intranet proxy module that seventh embodiment of the invention provides.
Figure 10 is the structural representation of the data transmission system that eighth embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of outer net proxy module, Intranet proxy module, data transmission method and system, external network server can be realized initiatively to intranet server transmission data.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the data transmission method that first embodiment of the invention provides.Data transmission method shown in Fig. 1 describes from this side of outer net proxy module, and it can comprise the steps:
S101, outer net proxy module receives the propelling data that external network server pushes, and wherein, described external network server is configured with the URL address of described outer net proxy module.
In embodiments of the present invention, external network server needs initiatively to send propelling data to user sometimes, such as, suppose that described external network server is microblogging cloud platform, wherein, some hot news or focus message may be pushed at the scheduled time slot of every day to the microblog users having paid close attention to this public number in the public number of described microblogging cloud platform registration.
In embodiments of the present invention, described external network server the is pre-configured URL address of outer net proxy module, then, when microblogging cloud platform carries out initiatively sending propelling data at needs time, push to described outer net proxy module by described propelling data.
S102, the sequencing of described propelling data by the time of propelling movement is cached in a message queue by described outer net proxy module.
In embodiments of the present invention, described outer net proxy module receives described propelling data, and described propelling data is cached in the message queue of a thread-safe, message queue described in described outer net proxy module ALARA Principle, its propelling data described external network server sent is fallen in lines from the queue tail of described message queue, and when carrying out propelling data and extracting, take out propelling data from the queue head of described message queue.
S103, the connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
Particularly, in one embodiment, Intranet proxy module can initiate once to set up the short request being connected (connection as short in http) with described outer net proxy module every predetermined time, and after described outer net proxy module response described request, described short connection establishment completes.Now, described Intranet proxy module initiates request of data to described outer net proxy module, with the propelling data of buffer memory in the message queue of outer net proxy module described in request receiving, described outer net proxy module is after receiving described request of data, when described message queue is not empty, take out the propelling data being positioned at the queue head of described message queue, and described propelling data is sent to described Intranet proxy module, after described Intranet proxy module receives described propelling data, described propelling data is transferred to described intranet server.
Wherein, described Intranet proxy module, after receiving described propelling data, is connected disconnecting with short between described outer net proxy module.After this, after predetermined time, described Intranet proxy module initiates to be connected with described the short of outer net proxy module again, namely, described Intranet proxy module constantly circulates to set up and is connected with described the short of outer net proxy module, and initiate request of data to described outer net proxy module, then the propelling data received is sent to the operation of described intranet server, namely realize carrying out poll to described outer net proxy module.
It should be noted that, in embodiments of the present invention, when described outer net proxy module is in the request of data receiving described Intranet proxy module, and judge that described message queue is as time empty, can send message queue to described Intranet proxy module is empty feedback information, now, described Intranet proxy module can receive described feedback information, and initiates request of data to described outer net agency again after a stand-by period slightly grown.
In another embodiment of the present invention, described Intranet proxy module can initiate to set up the long request be connected with described outer net proxy module, sets up and be connected with the long of described Intranet proxy module after described outer net proxy module response described request.Now, described outer net proxy module is not when described message queue is empty, automatically the propelling data of the queue head being positioned at described message queue is pushed to described Intranet proxy module, described propelling data, after receiving described propelling data, is sent to described intranet server by described Intranet proxy module.
It should be noted that; when carrying out the transmission of propelling data between described outer net proxy module and described Intranet proxy module; also can adopt other connected modes or interconnection technique; as propelling movement or the transmission that the technology based on websocket also can be used to carry out data; these schemes, also within protection scope of the present invention, do not repeat at this.
The data transmission method that the embodiment of the present invention provides, response process is asked by constructing between described Intranet proxy module and described outer net proxy module, the data that described external network server is buffered in the active push in described outer net proxy module are obtained to make described Intranet proxy module, and described propelling data is sent to intranet server, under the premise that security is guaranteed, achieve described external network server and initiatively send propelling data to intranet server, the two-way interactive of intranet systems and external bending moments is realized from network application layer, implementation is simple, Work tool and working method are enriched, improve Consumer's Experience.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the data transmission method that second embodiment of the invention provides.Data transmission method shown in Fig. 2 describes from this side of Intranet proxy module, and it can comprise the steps:
S201, Intranet proxy module sets up the connection with outer net proxy module, and connect according to described the propelling data obtaining described outer net proxy module buffer memory, wherein, described propelling data pushes to described outer net proxy module by external network server, and is cached in a message queue by the sequencing of described outer net proxy module according to the time of propelling movement.
In embodiments of the present invention, described outer net proxy module receives the propelling data from external network server, and described propelling data is cached in the message queue of a thread-safe, message queue described in described outer net proxy module ALARA Principle, its propelling data described external network server pushed is fallen in lines from the queue tail of described message queue, and when carrying out propelling data and extracting, take out described propelling data from the queue head of described message queue.
In embodiments of the present invention, described Intranet proxy module is configured with the URL address of described outer net proxy module, thus sets up the connection with described outer net proxy module by described URL address.
Particularly, in one embodiment, described Intranet proxy module is set up every predetermined time and is once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, to make described outer net proxy module after the described propelling movement request of reception, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
In one embodiment, described Intranet proxy module is set up and is connected with the long of described outer net proxy module, to make described outer net proxy module when described message queue is not for sky, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
It should be noted that, in above-described embodiment, described Intranet proxy module, after receiving described propelling data, also can verify described propelling data.The source that such as described Intranet proxy module can verify described propelling data whether safety or described propelling data source whether from the source of specifying (such as, described Intranet proxy module can be set to receive only the propelling data from external network server A, and do not receive the propelling data of other external network server transmission), if not being, then described propelling data is deleted or jettisoning, to ensure the safety of described intranet server by described Intranet proxy module.
It should be noted that; when carrying out transfer of data between described outer net proxy module and described Intranet proxy module; also can adopt other connected modes or interconnection technique; as propelling movement or the transmission that the technology based on websocket also can be used to carry out data; these schemes, also within protection scope of the present invention, do not repeat at this.
S202, described propelling data is sent to intranet server by described Intranet proxy module.
In embodiments of the present invention, described intranet server is after receiving described propelling data, described propelling data can be sent to the terminal that this propelling data points to, wherein, described terminal and described intranet server are arranged in consolidated network, or described intranet server also can respond described propelling data according to the service logic of self, response results is transferred to described external network server by described Intranet proxy module.
The data transmission method that the embodiment of the present invention provides, response process is asked by constructing between described Intranet proxy module and described outer net proxy module, the data that described external network server is buffered in the active push in described outer net proxy module are obtained to make described Intranet proxy module, and described propelling data is sent to intranet server, under the premise that security is guaranteed, achieve described external network server and initiatively send propelling data to intranet server, the two-way interactive of intranet systems and external bending moments is realized from network application layer, implementation is simple, Work tool and working method are enriched, Consumer's Experience is good.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the data transmission method that third embodiment of the invention provides.Data transmission method shown in Fig. 3 is describing alternately from intranet server, Intranet proxy module, outer net proxy module and external network server, and it can comprise the steps:
S301, the propelling data received is sent to outer net proxy module by external network server, and wherein, described external network server is configured with the URL address of described outer net proxy module.
It should be noted that, in one embodiment, before the propelling data received is sent to outer net proxy module by described external network server, described intranet server can initiate request by first Intranet proxy module, described Intranet proxy module is after receiving described request, and send to external network server and confirm ready information, described external network server is after receiving described confirmation, according to the operation logic of self, in predetermined time, described propelling data is sent to outer net proxy module.
In addition, described Intranet proxy module is after receiving described request, also can return a feedback information waited for described intranet server, described intranet server, after receiving described feedback information, is namely in the state that Intranet proxy module described in a wait-receiving mode sends propelling data.
S302, described outer net proxy module receives described propelling data, and is cached in a message queue by the sequencing of described propelling data by the time of propelling movement.
It should be noted that, in embodiments of the present invention, described outer net proxy module, when described propelling data is put into message queue, also feeds back to described external network server the information that a propelling data successfully falls in lines.
In addition, fall in lines if described message is unsuccessful, described outer net proxy module also can feed back a propelling data to described external network server and to fall in lines the information of failure, and described external network server can resend the propelling data of failure of falling in lines to described outer net proxy module.
S303, Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue, and described propelling data is transferred to intranet server.
The data transmission method that the embodiment of the present invention provides, response process is asked by constructing between described Intranet proxy module and described outer net proxy module, the data that described external network server is buffered in the active push in described outer net proxy module are obtained to make described Intranet proxy module, and described propelling data is sent to intranet server, under the premise that security is guaranteed, achieve described external network server and initiatively send propelling data to intranet server, the two-way interactive of intranet systems and external bending moments is realized from network application layer, implementation is simple, Work tool and working method are enriched, Consumer's Experience is good.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet of the data transmission method that fourth embodiment of the invention provides.Data transmission method shown in Fig. 4 is describing alternately from intranet server, Intranet proxy module, outer net proxy module and external network server, and it can comprise the steps:
S401, the propelling data received is sent to outer net proxy module by external network server, and wherein, described external network server is configured with the URL address of described outer net proxy module.
S402, described outer net proxy module receives described propelling data, and is cached in a message queue by the sequencing of described propelling data by the time of propelling movement.
S403, Intranet proxy module is set up every predetermined time and is once connected with described the short of outer net proxy module, and when each described short connection establishment, initiates request of data to described outer net proxy module.
S404, after described outer net proxy module receives described request of data, when described message queue is not empty, is transferred to described Intranet proxy module by the propelling data of the queue head being positioned at described message queue.
S405, after described Intranet proxy module receives described propelling data, transfers to described intranet server by described propelling data.
In the embodiment of the present invention, described Intranet proxy module is set up and is connected with described the short of outer net proxy module, the request of data to described outer net proxy module is initiated by the mode of poll, driving logic due to poll is Intranet proxy module, described request of data is initiatively initiated by Intranet proxy module, and thus fail safe is high.
Refer to Fig. 5, Fig. 5 is the schematic flow sheet of the data transmission method that fourth embodiment of the invention provides.Data transmission method shown in Fig. 5 is describing alternately from intranet server, Intranet proxy module, outer net proxy module and external network server, and it can comprise the steps:
S501, the propelling data received is sent to outer net proxy module by external network server, and wherein, described external network server is configured with the URL address of described outer net proxy module.
S502, described outer net proxy module receives described propelling data, and is cached in a message queue by the sequencing of described propelling data by the time of propelling movement.
S503, Intranet proxy module is set up and is connected with the long of described outer net proxy module.
S504, the propelling data of the queue head being positioned at described message queue, when described message queue is not empty, is transferred to described Intranet proxy module by described long connection by described outer net proxy module.
S505, after described Intranet proxy module receives described propelling data, transfers to described intranet server by described propelling data.
In the embodiment of the present invention, described Intranet proxy module is set up and is connected with the long of described outer net proxy module, initiatively according to long connection, propelling data is sent to Intranet proxy module by described outer net proxy module, realizes the transfer of data between described Intranet proxy module and described outer net proxy module.
It should be noted that, in an embodiment of the present invention, after described intranet server receives described propelling data, also can comprise:
Described propelling data is transferred to the terminal that described propelling data points to by described intranet server; Wherein, described terminal and described intranet server are arranged in consolidated network.
Such as, suppose that described external network server is microblogging cloud platform, wherein, public number on described microblogging cloud platform may push hot news or focus message at the scheduled time slot of every day to the microblog users having paid close attention to this public number, then when microblogging cloud platform is after the confirmation ready information receiving described Intranet proxy module, namely can when needs carry out active push data, described propelling data is sent to described outer net proxy module, now, described propelling data is cached in message queue by described outer net proxy module, Intranet agency obtains described propelling data by the polling mode of short connection or the mode of long connection from described outer net proxy module, and described propelling data is sent to described intranet server, described propelling data is sent in the terminal of the user having paid close attention to this public number by described intranet server again, thus achieve and initiatively described propelling data is pushed to intranet server from external network server.
It should be noted that, in use, described microblogging cloud platform and described Intranet proxy module all need the URL address of pre-configured described outer net proxy module.
It should be noted that, in some embodiments of the invention, after described intranet server receives described propelling data, also can comprise:
Described intranet server responds according to described propelling data, and response results is back to described Intranet proxy module.And
Described response results is sent to described external network server by described Intranet proxy module.
Such as, suppose that described external network server is a credulity server, when needing the resource by certain intranet server of credulity server access, then first register a credulity public number, and configure the URL address of described outer net proxy module, after completing configuration, when the user having paid close attention to this public number sends message (i.e. propelling data) to public number, this message can be forwarded on the outer net proxy module at configured URL place automatically.If the message that user sends is the weather in requesting query Guangzhou, then the form of described message on described outer net proxy module can be:
<xml>
[CDATA [the credulity public number registered]] ></ToUserName>
<FromUserName><![CDATA[NPC]]></FromUserName>
<CreateTime> form is timestamp type </CreateTime>
<MsgType><![CDATA[text]]></MsgType>
[CDATA [weather Guangzhou]] ></Content>
</xml>
In embodiments of the present invention, the effect of described outer net proxy module is to provide a URL address can be able to accessed by the interface of intranet server and credulity server, in addition, described outer net proxy module also realizes a Buffer Pool, for the message queue of a buffer memory thread-safe.Should illustrate, if this message queue is not thread-safe, when external network server is constantly to described message queue propelling data, the situation causing propelling data to be lost can be easy to.
In embodiments of the present invention, the propelling data act as in the described message queue of acquisition of described Intranet proxy module.If message queue is not empty, then obtains the propelling data being positioned at the queue head of message queue, and described propelling data is verified, guarantee the safe source of propelling data; Verification is by rear, and described propelling data is sent to intranet server by described Intranet proxy module, and described intranet server can make the response (as this response is: Guangzhou is fine) of own service logic to described propelling movement.By Intranet service, response message is sent to the interface of credulity public platform again, and sends the response results of " Guangzhou is fine " to the user initiating access request, so, user can realize initiatively accessing intranet server.Wherein, the logic OR principle that described intranet server specifically processes described propelling data can be:
Http request mode: POST (https agreement please be use)
Wherein access_token can directly obtain.
https://api.yixin.im/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
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; described intranet server, Intranet proxy module, outer net proxy module, external network server can be independently device or server; also can merge; as as described in Intranet proxy module can be as described in a module of intranet server; and outer net proxy module can be a module of external network server, these schemes are all within protection scope of the present invention, and the present invention is not specifically limited.
See also Fig. 6, Fig. 6 is the structural representation of the outer net proxy module that sixth embodiment of the invention provides.Described outer net proxy module 600 comprises:
Receiving element 610, for receiving the propelling data that external network server sends, wherein, described external network server is configured with the URL address of described outer net proxy module.
Buffer unit 620, for being cached to the sequencing of described propelling data by the time of propelling movement in a message queue.
First transmitting element 630, for responding the connection request of Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
See also Fig. 7, in one embodiment, described first transmitting element 630 comprises:
First response unit 631, for responding the short connection request that described Intranet proxy module is initiated, to make described Intranet proxy module, every predetermined time, foundation is once connected with the short of self, and when receiving each described short connection establishment, the request of data that described Intranet proxy module is initiated.
First data transmission unit 632, after receiving described request of data, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
See also Fig. 8, in one embodiment, described first transmitting element 630 comprises:
Second response unit 633, for responding the connection request that described Intranet proxy module is initiated, setting up and being connected with the long of described Intranet proxy module.
Second propelling data transmitting element 634, during for not being empty at described message queue, by described long connection, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
The outer net proxy module 600 that the embodiment of the present invention provides, the request response process with described Intranet proxy module is constructed by described first response unit 631, the data that described external network server is buffered in the active push in described buffer unit 620 are obtained to make described Intranet proxy module, and described propelling data is sent to intranet server, under the premise that security is guaranteed, achieve described external network server and initiatively send propelling data to intranet server, the two-way interactive of intranet systems and external bending moments is realized from network application layer, implementation is simple, Work tool and working method are enriched, improve Consumer's Experience.
See also Fig. 9, Fig. 9 is the structural representation of the Intranet proxy module that seventh embodiment of the invention provides.Described Intranet proxy module 700 comprises:
Linkage unit 710, for setting up the connection with outer net proxy module, and connect according to described the propelling data obtaining described outer net proxy module buffer memory, wherein, described propelling data pushes to described outer net proxy module by external network server, and is cached in a message queue by the sequencing of described outer net proxy module according to the time of propelling movement.
In one embodiment, described linkage unit 710 specifically for, set up every predetermined time and be once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, to make described outer net proxy module after the described request of data of reception, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
In one embodiment, described linkage unit 710 specifically for, set up and be connected with the long of described outer net proxy module, to make described outer net proxy module when described message queue is not for sky, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
Second transmitting element 720, for sending to intranet server by described propelling data.
It should be noted that, in some embodiments of the invention, described Intranet proxy module 700 also can comprise correction verification module, and described correction verification module can be used for verifying described propelling data, judges the source whether safety of described propelling data; If so, then described propelling data is transferred to intranet server; If not, then described propelling data is deleted.
The Intranet proxy module 700 that the embodiment of the present invention provides, the request response process with described outer net proxy module is constructed by described linkage unit 710, to obtain the data that described external network server is buffered in the active push in described outer net proxy module, and by the second transmitting element 720, described propelling data is sent to intranet server, under the premise that security is guaranteed, achieve described external network server and initiatively send propelling data to intranet server, the two-way interactive of intranet systems and external bending moments is realized from network application layer, implementation is simple, Work tool and working method are enriched, improve Consumer's Experience.
See also Figure 10, Figure 10 is the structural representation of the data transmission system that eighth embodiment of the invention provides.Described data transmission system propelling data comprises external network server 810, outer net proxy module 820, Intranet proxy module 830 and intranet server 840, wherein:
Described external network server 810, for the propelling data received is sent to outer net proxy module 830, wherein, described external network server 810 is configured with the URL address of described outer net proxy module 820.
Described outer net proxy module 820, for receiving the propelling data that described external network server 810 sends, and is cached to the sequencing of described propelling data by the time of propelling movement in a message queue.
Described Intranet proxy module 830, for connecting with described outer net proxy module 820, obtaining the propelling data in described message queue, and described propelling data is transferred to intranet server 840.
Wherein, preferably, in described external network server 810, before the propelling data received is sent to outer net proxy module 820,
Described intranet server 840, also for initiating request of data to Intranet proxy module 830.
Described Intranet proxy module 830, also for after receiving described request of data, sends to external network server 810 and confirms ready information.Now, described external network server can send described propelling data after receiving described confirmation ready information.
Wherein, preferably, described Intranet proxy module 830 is configured with the URL address of described outer net proxy module 820.
Wherein, in one embodiment, the connection that described Intranet proxy module 830 and described outer net proxy module 820 are set up is short connection, then now,
Described Intranet proxy module 830, is once connected with described the short of outer net proxy module 830 for setting up every predetermined time, and when each described short connection establishment, initiates request of data to described outer net proxy module 830.
Described outer net proxy module 820, for after the described request of data of reception, when described message queue is not empty, is transferred to described Intranet proxy module 830 by the propelling data of the queue head being positioned at described message queue.
Described Intranet proxy module 830, for after the described propelling data of reception, transfers to described intranet server 840 by described propelling data.
Wherein, in one embodiment, the connection that described Intranet proxy module 830 and described outer net proxy module 820 are set up connects for long, then:
Described Intranet proxy module 830, is connected with the long of described outer net proxy module 820 for setting up.
Described outer net proxy module 820, after receiving described propelling data, when described message queue is not empty, is transferred to described Intranet proxy module 830 by the propelling data of the queue head being positioned at described message queue successively.
Described Intranet proxy module 830, for after the described propelling data of acquisition, transfers to described intranet server 840 by described propelling data.
Wherein, in one embodiment, after described intranet server 840 receives described propelling data,
Described intranet server 840, also for described propelling data being transferred to the terminal that described propelling data points to; Wherein, described terminal and described intranet server 840 are arranged in consolidated network.
Wherein, in one embodiment, after described intranet server 840 receives described propelling data, described intranet server 840, also for responding according to described propelling data, and is back to described Intranet proxy module 830 by response results.
Described Intranet proxy module 830, also for described response propelling data is sent to described external network server 810.
The data transmission system that the embodiment of the present invention provides, response process is asked by constructing between described Intranet proxy module 830 and described outer net proxy module 820, the data that described external network server 810 is buffered in the active push in described outer net proxy module 820 are obtained to make described Intranet proxy module 820, and described propelling data is sent to intranet server 840, under the premise that security is guaranteed, achieve described external network server 810 and initiatively send propelling data to intranet server 840, the two-way interactive of intranet systems and external bending moments is realized from network application layer, implementation is simple, Work tool and working method are enriched, improve Consumer's Experience.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.

Claims (28)

1. a data transmission method, is characterized in that, comprises the steps:
Outer net proxy module receives the propelling data that external network server pushes, and wherein, described external network server is configured with the URL address of described outer net proxy module;
Described propelling data is cached in a message queue by the sequencing of the time of propelling movement by described outer net proxy module;
The connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
2. data transmission method according to claim 1, it is characterized in that, the connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server, comprising:
Described outer net proxy module responds the short connection request that described Intranet proxy module is initiated, to make described Intranet proxy module, every predetermined time, foundation is once connected with the short of self, and when being received in each described short connection establishment, the request of data that described Intranet proxy module is initiated;
After described outer net proxy module receives described request of data, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
3. data transmission method according to claim 1, it is characterized in that, the connection request of described outer net proxy module response Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server, comprising:
Described outer net proxy module responds the long connection request that described Intranet proxy module is initiated, and sets up long connection to make described Intranet proxy module and self;
Described outer net proxy module is not when described message queue is empty, by described long connection, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
4. a data transmission method, is characterized in that, comprises the steps:
Intranet proxy module sets up the connection with outer net proxy module, and connect according to described the propelling data obtaining described outer net proxy module buffer memory, wherein, described propelling data pushes to described outer net proxy module by external network server, and is cached in a message queue by described outer net proxy module according to the sequencing of the time of propelling movement;
Described propelling data is sent to intranet server by described Intranet proxy module.
5. data transmission method according to claim 4, is characterized in that, described Intranet proxy module sets up the connection with outer net proxy module, and connects according to described the propelling data obtaining described outer net proxy module buffer memory, is specially:
Described Intranet proxy module is set up every predetermined time and is once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, to make described outer net proxy module after the described request of data of reception, when described message queue is not empty, the data of the queue head being positioned at described message queue are transferred to described Intranet proxy module.
6. data transmission method according to claim 4, is characterized in that, described Intranet proxy module sets up the connection with outer net proxy module, and connects according to described the propelling data obtaining described outer net proxy module buffer memory, is specially:
Described Intranet proxy module is set up and is connected with the long of described outer net proxy module, to make described outer net proxy module when described message queue is not for sky, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
7. a data transmission method, is characterized in that, comprises the steps:
The propelling data received is sent to outer net proxy module by external network server, and wherein, described external network server is configured with the URL address of described outer net proxy module;
Described outer net proxy module receives described propelling data, and is cached in a message queue by described propelling data by the sequencing of the time of propelling movement;
Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue;
Described propelling data is transferred to intranet server by described Intranet proxy module.
8. data transmission method according to claim 7, is characterized in that, before the propelling data received is sent to outer net proxy module by described external network server, also comprises:
Intranet server initiates request to Intranet proxy module;
Described Intranet proxy module, after receiving described request, sends to external network server and confirms ready information.
9. data transmission method according to claim 7, is characterized in that, described Intranet proxy module is configured with the URL address of described outer net proxy module, to be connected by described URL address and described outer net proxy module.
10. data transmission method according to claim 7, is characterized in that, described Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue, are specially:
Described Intranet proxy module is set up every predetermined time and is once connected with described the short of outer net proxy module, and when each described short connection establishment, request of data is initiated to described outer net proxy module, after receiving described request of data to make described outer net proxy module, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
11. data transmission methods according to claim 7, is characterized in that, described Intranet proxy module and described outer net proxy module connect, and obtain the propelling data in described message queue, are specially:
Described Intranet proxy module is set up and is connected with the long of described outer net proxy module, after receiving described propelling data to make described outer net proxy module, when described message queue is not empty, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
12. data transmission methods according to claim 7, is characterized in that, after described propelling data is transferred to intranet server by described Intranet proxy module, also comprise:
Described propelling data is transferred to the terminal that described propelling data points to by described intranet server; Wherein, described terminal and described intranet server are arranged in consolidated network.
13. data transmission methods according to claim 7, is characterized in that, after described propelling data is transferred to intranet server by described Intranet proxy module, also comprise:
Described intranet server responds according to described propelling data, and response results is back to described Intranet proxy module;
Described response results is sent to described external network server by described Intranet proxy module.
14. data transmission methods according to claim 7 to 13 any one, is characterized in that, connect, and after obtaining the propelling data in described message queue, also comprise at described Intranet proxy module and described outer net proxy module:
Described propelling data is verified, judges the source whether safety of described propelling data;
If so, then described propelling data is transferred to intranet server;
If not, then described propelling data is deleted.
15. 1 kinds of outer net proxy modules, is characterized in that, comprising:
Receiving element, for receiving the propelling data that external network server sends, wherein, described external network server is configured with the URL address of described outer net proxy module;
Buffer unit, for being cached in a message queue by described propelling data by the sequencing of the time of propelling movement;
First transmitting element, for responding the connection request of Intranet proxy module, and after described connection establishment, the propelling data of the queue head being positioned at described message queue is sent to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
16. outer net proxy modules according to claim 15, is characterized in that, described first transmitting element comprises:
First response unit, for responding the short connection request that described Intranet proxy module is initiated, to make described Intranet proxy module, every predetermined time, foundation is once connected with the short of self, and when receiving each described short connection establishment, the request of data that described Intranet proxy module is initiated;
First data transmission unit, after receiving described request of data, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
17. outer net proxy modules according to claim 15, is characterized in that, described first transmitting element comprises:
Second response unit, for responding the connection request that described Intranet proxy module is initiated, setting up and being connected with the long of described Intranet proxy module;
Second data transmission unit, during for not being empty at described message queue, by described long connection, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module, after receiving described propelling data to make described Intranet proxy module, described propelling data is sent to intranet server.
18. 1 kinds of Intranet proxy modules, is characterized in that, comprising:
Linkage unit, for setting up the connection with outer net proxy module, and connect according to described the propelling data obtaining described outer net proxy module buffer memory, wherein, described propelling data pushes to described outer net proxy module by external network server, and is cached in a message queue by described outer net proxy module according to the sequencing of the time of propelling movement;
Second transmitting element, for sending to intranet server by described propelling data.
19. Intranet proxy modules according to claim 18, it is characterized in that, described linkage unit specifically for, set up every predetermined time and be once connected with described the short of outer net proxy module, and when each described short connection establishment, initiate request of data to described outer net proxy module, to make described outer net proxy module after the described request of data of reception, when described message queue is not empty, the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
20. Intranet proxy modules according to claim 17, it is characterized in that, described linkage unit specifically for, set up and be connected with the long of described outer net proxy module, to make described outer net proxy module when described message queue is not for sky, successively the propelling data of the queue head being positioned at described message queue is transferred to described Intranet proxy module.
21. 1 kinds of data transmission systems, is characterized in that, comprise external network server, Intranet proxy module, Intranet proxy module and intranet server, wherein:
Described external network server, for the propelling data received is sent to outer net proxy module, wherein, described external network server is configured with the URL address of described outer net proxy module;
Described outer net proxy module, for receiving the propelling data that described external network server sends, and is cached in a message queue by described propelling data by the sequencing of the time of propelling movement;
Described Intranet proxy module, for connecting with described outer net proxy module, obtaining the propelling data in described message queue, and described propelling data is transferred to intranet server.
22. data transmission systems according to claim 21, is characterized in that,
Described intranet server, also for initiating request to Intranet proxy module;
Described Intranet proxy module, also for after receiving described request, sends to external network server and confirms ready information.
23. data transmission systems according to claim 21, is characterized in that, described Intranet proxy module is configured with the URL address of described outer net proxy module.
24. data transmission systems according to claim 21, is characterized in that, described Intranet proxy module sets up short connection with described outer net proxy module;
Then described Intranet proxy module, is once connected with described the short of outer net proxy module for setting up every predetermined time, and when each described short connection establishment, initiates request of data to described outer net proxy module;
Described outer net proxy module, for after the described request of data of reception, when described message queue is not empty, is transferred to described Intranet proxy module by the propelling data of the queue head being positioned at described message queue;
Described Intranet proxy module, for after the described propelling data of reception, transfers to described intranet server by described propelling data.
25. data transmission systems according to claim 21, is characterized in that, described Intranet proxy module and described outer net proxy module set up long connection, then:
Described Intranet proxy module, is connected with the long of described outer net proxy module for setting up;
Described outer net proxy module, after receiving described propelling data, when described message queue is not empty, is transferred to described Intranet proxy module by the propelling data of the queue head being positioned at described message queue successively;
After described Intranet proxy module obtains described propelling data, described propelling data is transferred to described intranet server.
26. data transmission systems according to claim 21, is characterized in that,
Described intranet server, also for described propelling data being transferred to the terminal that described propelling data points to; Wherein, described terminal and described intranet server are arranged in consolidated network.
27. data transmission systems according to claim 21, is characterized in that,
Described intranet server, also for responding according to described propelling data, and is back to described Intranet proxy module by response results;
Described Intranet proxy module, also for described response results is sent to described external network server.
28. data transmission systems according to claim 21 to 27 any one, is characterized in that, described Intranet proxy module, also for verifying described propelling data, judge the source whether safety of described propelling data; If so, then described propelling data is transferred to intranet server; If not, then described propelling data is deleted.
CN201510669993.6A 2015-10-13 2015-10-13 Outer net proxy module, Intranet proxy module, data transmission method and system Active CN105208043B (en)

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 true CN105208043A (en) 2015-12-30
CN105208043B 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)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161593A (en) * 2016-06-21 2016-11-23 北京奇虎科技有限公司 MESSAGE POLL method and server, communication system
CN106230870A (en) * 2016-10-13 2016-12-14 成都东方盛行电子有限责任公司 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
CN107846405A (en) * 2017-10-31 2018-03-27 北京百悟科技有限公司 The control system and implementation method that intranet and extranet file is exchanged visits
CN108932329A (en) * 2018-07-04 2018-12-04 北京奇安信科技有限公司 A kind of data query processing method and processing device
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
CN110365802A (en) * 2019-08-26 2019-10-22 北京奇艺世纪科技有限公司 A kind of method for message transmission, message forwarding device and storage medium
CN110661858A (en) * 2019-09-12 2020-01-07 南京博联智能科技有限公司 Websocket-based intranet penetration method and system
WO2020024380A1 (en) * 2018-08-01 2020-02-06 平安科技(深圳)有限公司 Data access method and system
CN110913008A (en) * 2019-11-29 2020-03-24 成都知道创宇信息技术有限公司 Data transmission method and device
CN112202795A (en) * 2020-09-30 2021-01-08 腾讯科技(深圳)有限公司 Data processing method, gateway equipment and medium
CN112243026A (en) * 2020-09-25 2021-01-19 中国铁道科学研究院集团有限公司 Railway data interaction system and method
CN112887762A (en) * 2021-01-26 2021-06-01 广州欢网科技有限责任公司 Method and system for delivering IPTV (Internet protocol television) advertisement resources according to crowd labels
CN113037696A (en) * 2019-12-25 2021-06-25 中移全通系统集成有限公司 Data transmission method, system server, storage medium and computer equipment
CN113257404A (en) * 2021-05-12 2021-08-13 山东志盈医学科技有限公司 Communication method and platform for pathological remote consultation
CN114268459A (en) * 2021-11-23 2022-04-01 贵州电网有限责任公司 Data security access method based on service side

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350242A (en) * 2001-12-03 2002-05-22 复旦大学 Information bridge network safety isolator
CN102035880A (en) * 2010-11-02 2011-04-27 中兴通讯股份有限公司 Method and device for maintaining connection
CN202424770U (en) * 2011-12-08 2012-09-05 杭州翼鹏科技有限公司 Safety isolator for network data
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1350242A (en) * 2001-12-03 2002-05-22 复旦大学 Information bridge network safety isolator
CN102035880A (en) * 2010-11-02 2011-04-27 中兴通讯股份有限公司 Method and device for maintaining connection
CN202424770U (en) * 2011-12-08 2012-09-05 杭州翼鹏科技有限公司 Safety isolator for network data
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

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161593A (en) * 2016-06-21 2016-11-23 北京奇虎科技有限公司 MESSAGE POLL method and server, communication system
CN106161593B (en) * 2016-06-21 2020-02-07 北京奇虎科技有限公司 Message polling method, server and communication system
CN106230870A (en) * 2016-10-13 2016-12-14 成都东方盛行电子有限责任公司 Proprietary protocol document transmission system and method
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
WO2018103454A1 (en) * 2016-12-09 2018-06-14 北京奇虎科技有限公司 Communication method and system in a uni-directionally connected multi-layer network
CN107846405A (en) * 2017-10-31 2018-03-27 北京百悟科技有限公司 The control system and implementation method that intranet and extranet file is exchanged visits
CN107846405B (en) * 2017-10-31 2020-11-10 北京百悟科技有限公司 Control system for internal and external network file mutual access and implementation method
CN108932329A (en) * 2018-07-04 2018-12-04 北京奇安信科技有限公司 A kind of data query processing method and processing device
WO2020024380A1 (en) * 2018-08-01 2020-02-06 平安科技(深圳)有限公司 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
CN110365802A (en) * 2019-08-26 2019-10-22 北京奇艺世纪科技有限公司 A kind of method for message transmission, message forwarding device and storage medium
CN110661858A (en) * 2019-09-12 2020-01-07 南京博联智能科技有限公司 Websocket-based intranet penetration method and system
CN110913008A (en) * 2019-11-29 2020-03-24 成都知道创宇信息技术有限公司 Data transmission method and device
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
CN113037696A (en) * 2019-12-25 2021-06-25 中移全通系统集成有限公司 Data transmission method, system server, storage medium and computer equipment
CN112243026A (en) * 2020-09-25 2021-01-19 中国铁道科学研究院集团有限公司 Railway data interaction system and method
CN112202795A (en) * 2020-09-30 2021-01-08 腾讯科技(深圳)有限公司 Data processing method, gateway equipment and medium
CN112202795B (en) * 2020-09-30 2023-07-14 腾讯科技(深圳)有限公司 Data processing method, gateway equipment and medium
CN112887762A (en) * 2021-01-26 2021-06-01 广州欢网科技有限责任公司 Method and system for delivering IPTV (Internet protocol television) advertisement resources according to crowd labels
CN113257404A (en) * 2021-05-12 2021-08-13 山东志盈医学科技有限公司 Communication method and platform for pathological remote consultation
CN114268459A (en) * 2021-11-23 2022-04-01 贵州电网有限责任公司 Data security access method based on service side

Also Published As

Publication number Publication date
CN105208043B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN105208043A (en) Outer network agent module, inner network agent module and data transmitting method and system
CN102196015B (en) Manuscript system-based internal and external network data transmission method and system
CN107360177B (en) A kind of message transmitting method and device based on UDP
CN104010039A (en) Multi-radar remote monitoring system and method based on WebSocket
CN103339910A (en) Full-duplex bi-directional communication over a remote procedure call based communications protocol, and applications thereof
CN103001860A (en) Achieving system for converged communication Web instant messages
CN105119986A (en) Web reverse proxy method based on preconnect
CN103457843A (en) Communication method, communication system, relay gateway device, application server and client side
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN103096271A (en) Information pushing system and information pushing method
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
CN102111419A (en) Message middleware-based client automatic reconnection method
CN102739560A (en) Instant communication method, system thereof and device thereof
CN103401946A (en) HTTP (hyper text transfer protocol) uploading acceleration method and system
CN107567107A (en) A kind of method and device for transmitting data
CN105812406A (en) Information transmission method and device based on WEB simulation terminal system
CN103491162A (en) Method and system for sharing information based on mobile Internet
CN104539510A (en) Multi-protocol-based information pushing system and method
CN102065143B (en) Communication method and system based on HTTP (hyper Text Transfer Protocol), HTTP server and HTTP client
CN103716230A (en) Message sending method, device and server
CN102917082A (en) Information push method and system of transit-network address translation
CN110247926A (en) A kind of exchange method and system
CN109618004A (en) A kind of message forwarding method and device
CN103731424B (en) A kind of transmission method of network data, apparatus and system
JP5405550B2 (en) File transmission management system and file transmission management method for supporting file transmission in mobile messaging service

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