CN108540503A - A kind of data interactive method and relevant apparatus - Google Patents
A kind of data interactive method and relevant apparatus Download PDFInfo
- Publication number
- CN108540503A CN108540503A CN201810806332.7A CN201810806332A CN108540503A CN 108540503 A CN108540503 A CN 108540503A CN 201810806332 A CN201810806332 A CN 201810806332A CN 108540503 A CN108540503 A CN 108540503A
- Authority
- CN
- China
- Prior art keywords
- data
- sent
- network node
- client
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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
- H04L63/0227—Filtering policies
-
- 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
- H04L63/0209—Architectural arrangements, e.g. perimeter networks or demilitarized zones
-
- 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
- H04L63/0281—Proxies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of data interactive methods, when client is needed with external server interaction data, destination server can be established with client connect first, the Data Concurrent of client is received to the target network node determined, external server is forwarded the data to by target network node and carries out response processing, after obtaining handling result, handling result is equally transmitted to client by target network node and network server.Therefore, there is no direct interactions between client and external server, but carry out indirect interaction by target network node, therefore, external server may only know the information of target network node, without can know that the real information of client, therefore the safety of client be effectively ensured.A kind of data interaction system, network server, network node, network service device, network node device is also disclosed in the application, and above-mentioned technique effect equally may be implemented.
Description
Technical field
This application involves network safety fileds, more specifically to a kind of data interactive method, system, network service
Device, network node, network service device, network node device.
Background technology
With the development of internet, more and more users can obtain information by internet.Currently, user obtains outside
Information be typically directly carry out data interaction using the client of user and the server of external storage resources, such as user to
Server initiates data acquisition request, and server responds the request and corresponding data are directly returned to client.
However, when user is extraneous server direct interaction, the information for the client that often sticks one's chin out, such as IP
Location, therefore, the safety of client suffer from threat.
Therefore, the online for how alloing user safer is those skilled in the art's problem to be solved.
Invention content
The application's is designed to provide a kind of data interactive method, system, network server, network node, network clothes
Business device device, network node device, to solve the problems, such as the online for how alloing user safer.
To achieve the above object, the embodiment of the present application provides following technical solution:
A kind of data interactive method, is applied to network server, and this method includes:
The first data that client is sent are received, first data are the number that the client is sent to external server
According to;
The first data that the client is sent are sent to target network node, so that the target network node is by institute
It states the first data and is sent to external server;
Receive the second data that the target network node is sent;Wherein, second data are the external server
It is sent to the handling result of the target network node handled first data;
Second data are sent to the client.
Wherein, described that the first data that the client is sent are sent to target network node, including:
Determine the IP address of the client;
Optimal network node corresponding with the client is determined using the IP address, and the optimal network node is made
For target network node;
First data are sent to the target network node.
Wherein, described to determine optimal network node corresponding with the client using the IP address, including:
Determine that at least one network node identical with the client region and/or operator is made using the IP address
For optimal network node.
Wherein, the handling result for receiving the target network node and sending, including:
Receive the second data filtered using predetermined filtering rule that the target network node is sent.
Wherein, further include:
Receive the information for the modification predetermined filtering rule that client is sent;
The information of the modification filtering rule is sent to the target network node, so that the target network section
The current predetermined filtering rule of point modification.
Wherein, further include:
The newly-increased filtering rule that the client is sent is sent to the target network node, so that the target network
Node updates current predetermined filtering rule using the newly-increased filtering rule.
Wherein, further include:
Updated predetermined filtering rule is synchronized to all-network node using the target network node.
In order to solve the above technical problems, present invention also provides a kind of data interactive method, it is applied to network node, the party
Method includes:
The first data that network server is sent are received, first data are the client being connect with the network server
End is sent to the data of external server;
First data are sent to the external server;
Receive the second data that the external server is sent, second data are the external server to described the
The handling result that one data are handled;
Second data are sent to the network server, so that the network server sends out second data
It send to the client.
Wherein, described that first data are sent to the external server, including:
First data are filtered using predetermined filtering rule, and filtered first data are sent to the external clothes
Business device.
In order to solve the above technical problems, present invention also provides a kind of network servers, including:
First receiving module, the first data for receiving client transmission, first data are sent out for the client
Toward the data of external server;
First sending module, the first data for sending the client are sent to target network node, so that institute
It states target network node and first data is sent to external server;
Second receiving module, the second data sent for receiving the target network node;Wherein, second data
The handling result of the target network node handled first data is sent to for the external server;
Second sending module, for second data to be sent to the client.
In order to solve the above technical problems, present invention also provides a kind of network nodes, including:
Third receiving module, the first data for receiving network server transmission, first data are and the net
The client of network server connection is sent to the data of external server;
Third sending module, for first data to be sent to the external server;
4th receiving module, the second data sent for receiving the external server, second data are described
The handling result that external server handles first data;
4th sending module, for second data to be sent to the network server, so that the network service
Second data are sent to the client by device.
In order to solve the above technical problems, present invention also provides a kind of data interaction systems, including:
Network server and at least two network nodes, wherein:
The network server is used to receive the first data of client transmission, and first data are sent out for the client
Toward the data of external server;The first data that the client is sent are sent to target network node, so that the target
First data described in network node are sent to external server;Wherein, the target network node is at least two nets
At least one of network node network node;Receive the second data that the target network node is sent;Wherein, second number
According to the processing knot handled first data for being sent to the target network node for the external server
Fruit;Second data are sent to the client.
The network node is used to receive the first data of network server transmission;First data are sent to described
External server;Receive the second data that the external server is sent;Second data are sent to the network service
Device.
In order to solve the above technical problems, present invention also provides a kind of network service devices, including:
First memory, for storing computer program;
First processor is realized when for executing the computer program such as the step of the data interactive method.
In order to solve the above technical problems, present invention also provides a kind of network node devices, including:
Second memory, for storing computer program;
Second processor is realized when for executing the computer program such as the step of the data interactive method.
In order to solve the above technical problems, present invention also provides a kind of computer storage medias, which is characterized in that the meter
Calculation machine storage medium has program stored therein, and described program, which is performed, can realize data interactive method as mentioned.
It can be seen that a kind of data interactive method provided by the present application, needs to interact number with external server in client
According to when, destination server can be established with client connect first, receive the Data Concurrent of client to the target network that determines
Node forwards the data to external server by target network node and carries out response processing, after obtaining handling result, equally by
Handling result is transmitted to client by target network node and destination server.Therefore, between client and external server
There is no direct interactions, but carry out indirect interaction by target network node, and therefore, external server may only know target
Without can know that the real information of client, therefore the safety of client has been effectively ensured in the information of network node.
Present invention also provides a kind of data interaction system, network server, network node, network service device, nets
Above-mentioned technique effect equally may be implemented in network node apparatus.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of data interactive method flow chart applied to network server disclosed in the embodiment of the present application;
Fig. 2 is a kind of specific data interactive method flow for being applied to network server disclosed in the embodiment of the present application
Figure;
Fig. 3 is a kind of specific data interactive method flow for being applied to network server disclosed in the embodiment of the present application
Figure;
Fig. 4 is a kind of data interactive method flow chart applied to network node disclosed in the embodiment of the present application;
Fig. 5 is a kind of network server structure schematic diagram disclosed in the embodiment of the present application;
Fig. 6 is a kind of network service device structural schematic diagram disclosed in the embodiment of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of data interactive method, system, network server, network node, network service
Device device, network node device, to solve the problems, such as the online for how alloing user safer.
Referring to Fig. 1, a kind of data interactive method provided by the embodiments of the present application is applied to network server, specifically includes:
S101, receives the first data that client is sent, and first data are that the client is sent to external server
Data.
In the present solution, providing a kind of network server, which distinguishes with target network node and client
Be connected, wherein target network node can be using mass network node organization at mesh topology in a node, tissue
The network node quantity for reticulating topology is numerous, for example, quantity can be 100,000, million, the network section of the even higher order of magnitude
Point, can be distributed widely in multiple regions, and different network nodes can utilize different operators to access network, therefore quantity
Numerous network nodes can relate to multiple operators.
It should be noted that the data interaction of client and external server does not carry out directly, but pass through target
Network node is forwarded realization, and target network node be by destination server in above-mentioned mesh topology mass network section
At least one node determined in point.About the determination of target network node, mass velocity that can be based on data forwarding etc. because
This is carried out, and specific to determine that method refer to Examples below, details are not described herein again.Client need connect network obtain or
When person uploads data, that is, when needing to obtain the data on external a certain server or uploading data to external server, net
Network server receives the first data that client is sent, and the first data are the data that client is sent to external server.The data
It can be the request for obtaining external server data, can also be to upload the request of data and specific needs to external server
The data of upload.
The first data that the client is sent are sent to target network node by S102, so that the target network section
First data are sent to external server by point.
In the present solution, network server after receiving the first data sent by client, can first first count this
According to being sent to target network node.
S103 receives the second data that the target network node is sent;Wherein, second data are the external clothes
Business device is sent to the handling result of the target network node handled first data.
In the present solution, external server only and target network node establish connect, without with client establish connect,
That is external server may only obtain the IP address of target network node, and cannot obtain the IP address of client.
It, first can be using handling result as the second data after the access request that external server has responded client transmission
It is sent to target network node, then network server is sent to by target network node, then is forwarded to client.
Such as it is to obtain the number of request of certain data on external server that client, which is sent to the data of target network node,
According to then external server can respond the request, and the data that client wants to be obtained are as second when receiving the data
Data are sent on target network node, and the handling result got can be sent to network server by target network node, by
Network server is forwarded to client.
Second data are sent to the client by S104.
It can be seen that a kind of data interactive method provided by the embodiments of the present application, in client needs and external server
When interaction data, network server can be established with client connect first, receive the Data Concurrent of client to the mesh determined
Network node is marked, external server is forwarded the data to by target network node and carries out response processing, after obtaining handling result,
Handling result is equally transmitted to client by target network node and destination server.Therefore, client and external service
There is no direct interactions between device, but carry out indirect interaction by target network node, and therefore, external server may only be known
Without can know that the real information of client, therefore the safety of client has been effectively ensured in the information of road target network node.
A kind of specific data interactive method provided by the embodiments of the present application is introduced below, the embodiment of the present application carries
Specifically data interactive method can be cross-referenced with above-described embodiment for one kind of confession.
Referring to Fig. 2, a kind of specific data interactive method provided by the embodiments of the present application specifically includes:
S201, receives the first data that client is sent, and first data are that the client is sent to external server
Data.
S202 determines the IP address of the client.
Due to parsing the network environment information that can be got about client to IP address, such as operator,
Domain etc., therefore it is preferable to use client ip address to determine corresponding target network node in this programme.
Specifically, destination server can determine whether the IP address of client after establishing connection with client.
S203 determines optimal network node corresponding with the client, by the optimal network using the IP address
Node is as target network node.
Wherein, optimal node identical with the client region and/or operator is determined using the IP address, by institute
Optimal node is stated as target network node.
It should be noted that destination server is connected with magnanimity node, it is therefore desirable to determine at least one in all nodes
A node, for forwarding the data of active client.
In the present solution, the optimal section of most suitable active client is determined in all nodes using the IP address of client
Point, as target network node.
Preferably, network server can parse region and the operation of client using the IP address of client
Then quotient screens region and/or the corresponding nodes of operator IP identical with client, to improve Service Quality in all nodes
Amount.For example, the network environment of subscription client is Nanjing telecommunications network, then network server can screen Nanjing telecommunications
The node of net provides service for the client.
It is understood that target network node is preferably region node identical with client with operator, if not
There are such nodes, then preferably satisfy the node of one of which condition as target network node.
First data are sent to the target network node by S204;The wherein described target network node is used for will
The data are sent to external server.
S205 receives the second data that the target network node is sent;Wherein, second data are the external clothes
Business device is sent to the handling result of the target network node handled first data.
Second data are sent to the client by S206.
Wherein, S204, S205, S206 are corresponded to above-described embodiment S102, S103, S104 respectively, and particular content can join
Above-described embodiment is examined, details are not described herein again.
It can be seen that a kind of specific data interactive method provided by the embodiments of the present application, due to target network node
Screening is screened according to the IP address of client, and the preferred the selection result of target network node is i.e. identically as client
Domain, same operator node, therefore in practical applications, between client and target network node the speed of data transmission with
Quality can obtain good guarantee, ensure that the good online experience of user.
A kind of specific data interactive method provided by the embodiments of the present application is introduced below, one kind described below
Specific data interactive method can be cross-referenced with above-described any embodiment.
Referring to Fig. 3, a kind of specific data interactive method provided by the embodiments of the present application specifically includes:
S301, receives the first data that client is sent, and first data are that the client is sent to external server
Data.
The first data that the client is sent are sent to target network node by S302, so that the target network section
First data are sent to external server by point.
Wherein, target network node is preferably the operation that the IP address using client described in above-described embodiment determines
Quotient's preferred node identical with client with region.
S303 receives the second data filtered using predetermined filtering rule that the target network node is sent;Wherein, institute
It is that the external server is sent to the target network node and to first data is handled to obtain to state the second data
Handling result.
In the present solution, target network node is preset with filtering rule, filtering rule is used for Exception Filter data, such as extensively
Announcement, trojan horse, fishing website etc..Target network node is after receiving external server and being responded to client data
When handling result, handling result is filtered first with filtering rule, obtains filtered handling result, then by the result
It is sent to destination server.
Specifically, the second data that network server receives are the second number after being filtered by target network node
According to, therefore the second data being currently received are comparatively safe result.
The handling result is sent to the client by S304.
Specifically, above-mentioned filtered handling result is re-send to client by destination server.Due to target network section
Point has carried out the filtering of abnormal data to handling result, therefore the data that client receives largely have intercepted for example extensively
The abnormal data of announcement, trojan horse, fishing website, therefore provide the user the network environment of a safety and comfort.
It should be noted that since abnormal data is generally also constantly updating, it is preset in target network node
Filtering rule may cannot filter current all abnormal datas, and there are fish that has escape the net, and therefore, the embodiment of the present application provides one
The specific data interactive method of kind provides modification to the user or adds the function of filtering rule, to update existing filtering
Rule improves current filtering rule.
A kind of specific data interactive method provided by the embodiments of the present application further includes on the basis of the above embodiments:
Receive the information for the modification predetermined filtering rule that client is sent;
The information of the modification filtering rule is sent to the target network node, so that the target network section
The current predetermined filtering rule of point modification.
In the present solution, network server can receive the information of the modification current filter rule of client transmission, then
The information of the modification is sent to target network node, target network node currently makes a reservation for filtering rule using the information update of modification
Then.
In another particular embodiment of the invention, the newly-increased filtering rule that network server sends the client is sent
To the target network node, so that the target network node updates current predetermined filtering rule using the newly-increased filtering rule
Then.
In the present solution, network server can also receive client transmission newly-increased filtering rule, then will increase newly
Filter rule is sent to target network node, and target network node updates current predetermined filtering rule using filtering rule is increased newly.
As a preferred embodiment, network server was made a reservation for using the target network node by updated
Regular and synchronized is filtered to all nodes.
Specifically, in order to keep the filtering rule of whole nodes more perfect, in making a reservation for for itself of each node updates
After filter rule, also update result is synchronized in each node, makes all nodes can be according to current newest, most perfect
Rule realizes the filtering of handling result.
A kind of data interactive method applied to network node provided by the embodiments of the present application is introduced below, hereafter
A kind of data interactive method of description can be cross-referenced with above-mentioned any embodiment.
Referring to Fig. 4, a kind of data interactive method provided by the embodiments of the present application is applied to network node, specifically includes:
S401, receives the first data that network server is sent, and first data are to be connect with the network server
Client be sent to the data of external server.
In the present solution, network node receives the first data sent by network server, wherein the first data are clients
End is sent to the data of external server, which can be sent to network server by client first, then be sent out by network server
It send to network node.
It is sent to the data of external server it should be noted that the first data are clients.The data can be outside obtaining
The request of portion's server data can also be the data for uploading the request of data to external server and specifically needing to upload.
First data are sent to the external server by S402.
Specifically, the first data can be sent to external server by network node after receiving the first data.
As a preferred embodiment, network node filters first data using predetermined filtering rule, and will
Filtered first data are sent to the external server.
Specifically, in order to ensure that the safety of data that client is sent to external server, network node are receiving
After first data of client, first the first data are filtered, then filtered first data are sent to external server.
In relation to method that the first data are filtered can with specific reference in above-described embodiment about the second data filtering
Method, details are not described herein again.
S403, receives the second data that the external server is sent, and second data are the external server pair
The handling result that first data are handled.
Specifically, after external server has responded the first data of client, handling result can be obtained, by handling result
It is sent to network node as the second data, network node then receives second data.
Preferably, network node can be filtered the second data, to ensure that the data returned to client are peaces
Complete reliable, specific introduction has been done in the operation about filtering in the above-described embodiments, and particular content can refer to above-described embodiment,
Details are not described herein again.
Second data are sent to the network server by S404, so that the network server is by described second
Data are sent to the client.
Network node is sent to network server after receiving the second data, by second data, and network server is again
Second data are returned into corresponding client.
A kind of data interaction system provided by the embodiments of the present application is introduced below, a kind of data described below are handed over
Mutual system can be cross-referenced with either method embodiment above.
Referring to Fig. 5, a kind of network server provided by the embodiments of the present application specifically includes:
First receiving module 501, the first data for receiving client transmission, first data are the client
It is sent to the data of external server;
First sending module 502, the first data for sending the client are sent to target network node, so that
First data are sent to external server by the target network node;
Second receiving module 503, the second data sent for receiving the target network node;Wherein, described second
Data are the processing handled first data that the external server is sent to the target network node
As a result;
Second sending module 504, for second data to be sent to the client.
The network server of the present embodiment is therefore specific in network server for realizing data interactive method above-mentioned
The embodiment part of the visible data interactive method hereinbefore of embodiment, for example, the first receiving module 501, first sends mould
Block 502, the second receiving module 503, the second receiving module 504 are respectively used to realize step S101 in above-mentioned data interactive method,
S102, S103 and S104, so, specific implementation mode is referred to the description of corresponding various pieces embodiment, herein not
It repeats again.
A kind of specific network server provided by the embodiments of the present application is introduced below, a kind of net described below
Network server can be cross-referenced with above-described embodiment.
A kind of specific network server provided by the embodiments of the present application, specifically includes:
First sending module, the first data for sending the client are sent to target network node, so that institute
It states target network node and first data is sent to external server.
Wherein, the first sending module includes:
First determination unit, the IP address for determining the client.
Second determination unit will be described for determining optimal node corresponding with the client using the IP address
Optimal node is as target network node.
Wherein, the second determination unit, specifically for determining at least one and client region using the IP address
And/or the identical network node of operator is as optimal network node, using the optimal network node as target network node.
Transmission unit, for first data to be sent to the target network node.
Second receiving module, the second data sent for receiving the target network node;Wherein, second data
The handling result of the target network node handled first data is sent to for the external server.
Second sending module, for second data to be sent to the client.
A kind of specific network server provided by the embodiments of the present application is introduced below, a kind of tool described below
The network server of body, specifically includes:
First receiving module, the first data for receiving client transmission, first data are sent out for the client
Toward the data of external server.
First sending module, the first data for sending the client are sent to target network node, so that institute
It states target network node and first data is sent to external server.
Second receiving module, the second data sent for receiving the target network node;Wherein, second data
The handling result of the target network node handled first data is sent to for the external server.
Wherein, the second receiving module is specifically used for receiving the predetermined filtering rule mistake of utilization that the target network node is sent
Second data of filter.
Second sending module, for second data to be sent to the client.
Wherein, further include:
Alteration ruler receiving module, the information of the modification predetermined filtering rule for receiving client transmission.
Alteration ruler sending module, for the information of the modification filtering rule to be sent to the target network section
Point, so that the current predetermined filtering rule of target network node modification.
Newly-increased rule sending module, the newly-increased filtering rule for sending the client are sent to the target network
Node, so that the target network node updates current predetermined filtering rule using the newly-increased filtering rule.
Synchronization module, for updated predetermined filtering rule to be synchronized to all sections using the target network node
Point.
A kind of network node provided by the present application is introduced below, a kind of network node described below with above-mentioned
One embodiment can be cross-referenced.Target network node described in above-described embodiment is provided by the embodiments of the present application one
A network node, specifically can be cross-referenced with content.
A kind of network node provided by the embodiments of the present application, specifically includes:
Third receiving module, the first data for receiving network server transmission, first data are and the net
The client of network server connection is sent to the data of external server.
Third sending module, for first data to be sent to the external server.
Wherein, third sending module is specifically used for filtering first data using predetermined filtering rule, and will be after filtering
The first data be sent to the external server.
4th receiving module, the second data sent for receiving the external server, second data are described
The handling result that external server handles first data.
4th sending module, for second data to be sent to the network server, so that the network service
Second data are sent to the client by device.
The network server of the present embodiment is therefore specific in network server for realizing data interactive method above-mentioned
The embodiment part of the visible data interactive method hereinbefore of embodiment, for example, third receiving module, third sending module,
4th receiving module, the 4th sending module are respectively used to realize step S401 in above-mentioned data interactive method, S402, S403 and
404, so, specific implementation mode is referred to the description of corresponding various pieces embodiment, and details are not described herein.
A kind of data interaction system provided by the embodiments of the present application is introduced below, a kind of data described below are handed over
Mutual system, can be cross-referenced with any of the above-described embodiment.
A kind of data interaction system provided by the embodiments of the present application specifically includes network server and at least two network sections
Point, wherein:
The network server is used to receive the first data of client transmission, and first data are sent out for the client
Toward the data of external server;The first data that the client is sent are sent to target network node, so that the target
First data described in network node are sent to external server;Wherein, the target network node is at least two nets
A network node in network node;Receive the second data that the target network node is sent;Wherein, second data are
The external server is sent to the handling result of the target network node handled first data;It will
Second data are sent to the client.
The network node is used to receive the first data of network server transmission;First data are sent to described
External server;Receive the second data that the external server is sent;Second data are sent to the network service
Device.
The content of related network server and network node specifically refers to above-mentioned network server embodiment and network section
The particular content of point embodiment, details are not described herein again.
Present invention also provides a kind of network service devices, referring to Fig. 6, a kind of data friendship provided by the embodiments of the present application
The structure chart of mutual equipment, as shown, including:
First memory 100, for storing computer program;
First processor 200, may be implemented the step of above-described embodiment is provided when for executing the computer program.
Specifically, first memory 100 includes non-volatile memory medium, built-in storage.The non-volatile memory medium
It is stored with operating system and computer-readable instruction, which is operating system and calculating in non-volatile memory medium
The operation of machine readable instruction provides environment.First processor 200 provides calculating and control ability, Ke Yishi for data interaction device
Existing following steps:
The first data that client is sent are received, first data are the number that the client is sent to external server
According to;The first data that the client is sent are sent to target network node, so that the target network node is by described
One data are sent to external server;Receive the second data that the target network node is sent;Wherein, second data are
The external server is sent to the handling result of the target network node handled first data;It will
Second data are sent to the client.
In the present embodiment, the first processor 200 executes the computer subprogram preserved in the first memory 100
When, following steps can be implemented:
Determine the IP address of the client;Optimal node corresponding with the client is determined using the IP address,
Using the optimal node as target network node;First data are sent to the target network node.
In the present embodiment, the first processor 200 executes the computer subprogram preserved in the first memory 100
When, following steps can be implemented:
Optimal node identical with the client region and/or operator is determined using the IP address, by described in most
Excellent node is as target network node.
In the present embodiment, the first processor 200 executes the computer subprogram preserved in the first memory 100
When, following steps can be implemented:
Receive the second data filtered using predetermined filtering rule that the target network node is sent.
Receive the information for the modification predetermined filtering rule that client is sent;
The information of the modification filtering rule is sent to the target network node, so that the target network section
The current predetermined filtering rule of point modification.
The newly-increased filtering rule that the client is sent is sent to the target network node, so that the target network
Node updates current predetermined filtering rule using the newly-increased filtering rule.
Updated predetermined filtering rule is synchronized to all nodes using the target network node.
On the basis of the above embodiments, preferably, the network server further includes:
First input interface 300, computer program, parameter and instruction for obtaining external importing, controls through processor
It preserves into memory.First input interface 300 can be connected with input unit, receive parameter or refer to that user is manually entered
It enables.The input unit can be the touch layer covered on display screen, can also be the button being arranged in terminal enclosure, trace ball or
Trackpad can also be keyboard, Trackpad or mouse etc..Specifically, in the present embodiment, user can be connect by the first input
Mouth 300 manually selects the mode that network server determines target network node.
First display unit 400, the data sent for video-stream processor.First display unit 400 can be PC machine
On display screen, liquid crystal display or electric ink display screen etc..Specifically, in the present embodiment, the first display unit 400
It can show the determination for the data, target network node that client and target network node received by network server are sent
As a result etc..
First network port 500, for being communicatively coupled with external each terminal device.Lead to used by the communication connection
Letter technology can be cable communicating technology or wireless communication technique, such as mobile high definition chained technology (MHL), universal serial bus
(USB), high-definition media interface (HDMI), adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption bluetooth communicate skill
Art, the communication technology etc. based on IEEE802.11s.Specifically, in the present embodiment, 500 company of being respectively used to of first network port
Client and target network node are connect, realizes the data interaction between data interaction device and client and target network node.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
It may be implemented what above application was provided in the embodiment of the data interactive method of network server when program is executed by processor
Step.The storage medium may include:USB flash disk, read-only memory (Read-Only Memory, ROM), is deposited mobile hard disk at random
The various media that can store program code such as access to memory (Random AccessMemory, RAM), magnetic disc or CD.
A kind of network node device provided by the embodiments of the present application is introduced below, a kind of network section described below
Point device can be cross-referenced with any of the above-described embodiment.
A kind of network node device provided by the embodiments of the present application, specifically includes:
Second memory, for storing computer program;
Second processor realizes such as following steps when for executing the computer program:
The first data that network server is sent are received, first data are the client being connect with the network server
End is sent to the data of external server;First data are sent to the external server;Receive the external server
The second data sent, second data are the processing knot that the external server handles first data
Fruit;Second data are sent to the network server, so that second data are sent to by the network server
The client.
On the basis of the above embodiments, preferably, the network node further includes:
Second input interface, computer program, parameter and instruction for obtaining external importing, controls through processor and preserves
Into memory.Second input interface can be connected with input unit, receive parameter or instruction that user is manually entered.This is defeated
It can be the touch layer covered on display screen to enter device, can also be the button being arranged in terminal enclosure, trace ball or Trackpad,
Can also be keyboard, Trackpad or mouse etc..Specifically, in the present embodiment, user can be inputted by the second input interface
Predetermined filtering rule.
Second display unit, the data sent for video-stream processor.Second display unit can be aobvious in PC machine
Display screen, liquid crystal display or electric ink display screen etc..Specifically, in the present embodiment, the second display unit can be shown
The first data that network node receives, the second data, the transmission result of data, right between network server, external server
The result etc. that first data, the second data are filtered.
Second network port, for being communicatively coupled with external each terminal device.Communication used by the communication connection
Technology can be cable communicating technology or wireless communication technique, such as mobile high definition chained technology (MHL), universal serial bus
(USB), high-definition media interface (HDMI), adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption bluetooth communicate skill
Art, the communication technology etc. based on IEEE802.11s.Specifically, in the present embodiment, which is respectively used to connection net
Network server and external server realize the forwarding of the first data of the client transmitted to network server.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
The step that above application is provided in the embodiment of the data interactive method of network node may be implemented when program is executed by processor
Suddenly.The storage medium may include:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), arbitrary access
The various media that can store program code such as memory (Random Access Memory, RAM), magnetic disc or CD.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (15)
1. a kind of data interactive method, which is characterized in that be applied to network server, this method includes:
The first data that client is sent are received, first data are the data that the client is sent to external server;
The first data that the client is sent are sent to target network node, so that the target network node is by described
One data are sent to external server;
Receive the second data that the target network node is sent;Wherein, second data send for the external server
To the handling result of the target network node handled first data;
Second data are sent to the client.
2. according to the method described in claim 1, it is characterized in that, described be sent to the first data that the client is sent
Target network node, including:
Determine the IP address of the client;
Optimal network node corresponding with the client is determined using the IP address, using the optimal network node as mesh
Mark network node;
First data are sent to the target network node.
3. according to the method described in claim 2, it is characterized in that, described determined and the client pair using the IP address
The optimal network node answered, including:
Determine at least one network node identical with the client region and/or operator as most using the IP address
Excellent network node.
4. according to the method described in claims 1 to 3 any one, which is characterized in that described to receive the target network node
The handling result of transmission, including:
Receive the second data filtered using predetermined filtering rule that the target network node is sent.
5. according to the method described in claim 4, it is characterized in that, further including:
Receive the information for the modification predetermined filtering rule that client is sent;
The information of the modification filtering rule is sent to the target network node, so that the target network node is repaiied
Change current predetermined filtering rule.
6. according to the method described in claim 5, it is characterized in that, further including:
The newly-increased filtering rule that the client is sent is sent to the target network node, so that the target network node
Current predetermined filtering rule is updated using the newly-increased filtering rule.
7. method according to claim 5 or 6, which is characterized in that further include:
Updated predetermined filtering rule is synchronized to all-network node using the target network node.
8. a kind of data interactive method, which is characterized in that be applied to network node, this method includes:
The first data that network server is sent are received, first data are the client hair being connect with the network server
Toward the data of external server;
First data are sent to the external server;
The second data that the external server is sent are received, second data are the external server to first number
According to the handling result handled;
Second data are sent to the network server, so that second data are sent to by the network server
The client.
9. according to the method described in claim 8, it is characterized in that, described be sent to the external service by first data
Device, including:
First data are filtered using predetermined filtering rule, and filtered first data are sent to the external service
Device.
10. a kind of network server, which is characterized in that including:
First receiving module, the first data for receiving client transmission, first data are outside the client is sent to
The data of portion's server;
First sending module, the first data for sending the client are sent to target network node, so that the mesh
The first data are sent to external server described in mark network node;
Second receiving module, the second data sent for receiving the target network node;Wherein, second data are institute
State the handling result handled first data that external server is sent to the target network node;
Second sending module, for second data to be sent to the client.
11. a kind of network node, which is characterized in that including:
Third receiving module, the first data for receiving network server transmission, first data are to be taken with the network
The client of business device connection is sent to the data of external server;
Third sending module, for first data to be sent to the external server;
4th receiving module, the second data sent for receiving the external server, second data are the outside
The handling result that server handles first data;
4th sending module, for second data to be sent to the network server, so that the network server will
Second data are sent to the client.
12. a kind of data interaction system, which is characterized in that including:Network server and at least two network nodes, wherein:
The network server is used to receive the first data of client transmission, and first data are outside the client is sent to
The data of portion's server;The first data that the client is sent are sent to target network node, so that the target network
First data are sent to external server by node;Wherein, the target network node is at least two network sections
At least one of point network node;Receive the second data that the target network node is sent;Wherein, second data are
The external server is sent to the handling result of the target network node handled first data;It will
Second data are sent to the client;
The network node is used to receive the first data of network server transmission;First data are sent to the outside
Server;Receive the second data that the external server is sent;Second data are sent to the network server.
13. a kind of network service device, which is characterized in that including:
First memory, for storing computer program;
First processor realizes the data interaction side as described in any one of claim 1 to 8 when for executing the computer program
The step of method.
14. a kind of network node device, which is characterized in that including:
Second memory, for storing computer program;
Second processor, the step of data interactive method as claimed in claim 9 is realized when for executing the computer program.
15. a kind of computer storage media, which is characterized in that the computer storage media has program stored therein, described program quilt
It can be realized when execution such as claim 1-9 any one of them data interactive methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810806332.7A CN108540503A (en) | 2018-07-20 | 2018-07-20 | A kind of data interactive method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810806332.7A CN108540503A (en) | 2018-07-20 | 2018-07-20 | A kind of data interactive method and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108540503A true CN108540503A (en) | 2018-09-14 |
Family
ID=63487038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810806332.7A Pending CN108540503A (en) | 2018-07-20 | 2018-07-20 | A kind of data interactive method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540503A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351383A (en) * | 2019-07-18 | 2019-10-18 | 深圳市元征科技股份有限公司 | Method for processing business, equipment and readable storage medium storing program for executing |
CN111405039A (en) * | 2020-03-16 | 2020-07-10 | 深圳市网心科技有限公司 | Data transparent transmission method, device and system, client and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101640684A (en) * | 2009-08-21 | 2010-02-03 | 中国电信股份有限公司 | Content delivering method, network system, GSLB device and domain name server |
CN103733568A (en) * | 2011-08-18 | 2014-04-16 | 国际商业机器公司 | Stream processing using a client-server architecture |
CN104661291A (en) * | 2015-03-12 | 2015-05-27 | 厦门大学 | Energy saving method for WiFi access device based on traffic filtering and Web cache prefetching |
US20170104797A1 (en) * | 2015-10-13 | 2017-04-13 | Dell Products L.P. | System and method for multimedia redirection for cloud desktop conferencing |
CN106936709A (en) * | 2017-01-19 | 2017-07-07 | 广州华多网络科技有限公司 | Remote service access path control method and relevant device |
CN108023867A (en) * | 2016-10-28 | 2018-05-11 | 中国移动通信集团广东有限公司 | Method, gateway server and the filtering server of mobile terminal web advertisement filtering |
-
2018
- 2018-07-20 CN CN201810806332.7A patent/CN108540503A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101640684A (en) * | 2009-08-21 | 2010-02-03 | 中国电信股份有限公司 | Content delivering method, network system, GSLB device and domain name server |
CN103733568A (en) * | 2011-08-18 | 2014-04-16 | 国际商业机器公司 | Stream processing using a client-server architecture |
CN104661291A (en) * | 2015-03-12 | 2015-05-27 | 厦门大学 | Energy saving method for WiFi access device based on traffic filtering and Web cache prefetching |
US20170104797A1 (en) * | 2015-10-13 | 2017-04-13 | Dell Products L.P. | System and method for multimedia redirection for cloud desktop conferencing |
CN108023867A (en) * | 2016-10-28 | 2018-05-11 | 中国移动通信集团广东有限公司 | Method, gateway server and the filtering server of mobile terminal web advertisement filtering |
CN106936709A (en) * | 2017-01-19 | 2017-07-07 | 广州华多网络科技有限公司 | Remote service access path control method and relevant device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351383A (en) * | 2019-07-18 | 2019-10-18 | 深圳市元征科技股份有限公司 | Method for processing business, equipment and readable storage medium storing program for executing |
CN111405039A (en) * | 2020-03-16 | 2020-07-10 | 深圳市网心科技有限公司 | Data transparent transmission method, device and system, client and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5873188B2 (en) | Method, device and system for monitoring quality of internet access service of mobile terminal | |
CN105144110A (en) | Automatic configuration of external services based upon network activity | |
CN109155994A (en) | A kind of user face method for managing resource, user's veil member and control plane network element | |
CN105099881A (en) | Information sharing method and device in instant messaging | |
JP5625217B2 (en) | Network management system and management computer | |
US20150156135A1 (en) | Reputation-based mediation of virtual control planes | |
US9882773B2 (en) | Virtual resource provider with virtual control planes | |
CN108667638A (en) | A kind of network service configuration method and network management device | |
CN107979534A (en) | Method implemented in a device connected to a user premises equipment and corresponding device | |
CN108540503A (en) | A kind of data interactive method and relevant apparatus | |
US8667399B1 (en) | Cost tracking for virtual control planes | |
CN109964507A (en) | Management method, administrative unit and the system of network function | |
JP2016184853A (en) | Control system and control method | |
CN104488240B (en) | Session management method, address management method and relevant device | |
CN111193792A (en) | Message transmission method and device, electronic equipment and storage medium | |
CN108075912A (en) | The definite method, apparatus and device node of Network Central Node | |
KR101845195B1 (en) | Multiple Resource Subscriptions Association Method in an M2M system | |
JP6487643B2 (en) | Information processing apparatus, control method therefor, program, and storage medium | |
CN107431641A (en) | Subscription to communication attributes | |
JP5680802B2 (en) | Method, apparatus and system for establishing adjacency relationships | |
CN110213073A (en) | Data flow variation, electronic equipment, calculate node and storage medium | |
CN115499323B (en) | Method and device for constructing target virtual scene and electronic equipment | |
TW201719455A (en) | Metadata server, network device and automatic resource management method | |
JP6064720B2 (en) | Electronic device and script generation device | |
CN113708961B (en) | Method, device and system for migrating equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180914 |
|
RJ01 | Rejection of invention patent application after publication |