CN110933121A - Connection establishing method, communication processing method and device and communication equipment - Google Patents

Connection establishing method, communication processing method and device and communication equipment Download PDF

Info

Publication number
CN110933121A
CN110933121A CN201811096456.7A CN201811096456A CN110933121A CN 110933121 A CN110933121 A CN 110933121A CN 201811096456 A CN201811096456 A CN 201811096456A CN 110933121 A CN110933121 A CN 110933121A
Authority
CN
China
Prior art keywords
communication
network connection
message
connection
communication object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811096456.7A
Other languages
Chinese (zh)
Inventor
王吉波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811096456.7A priority Critical patent/CN110933121A/en
Publication of CN110933121A publication Critical patent/CN110933121A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The embodiment of the application provides a connection establishing method, a communication processing method, a device and communication equipment. The first communication object sends a network connection request to a second communication object and establishes network connection with the second communication object, wherein the second communication object prohibits sending the network connection request to the first communication object, then the first communication object sends a first communication message based on the network connection, the second communication object identifies an object identifier in the first communication message, the network connection is put into a connection pool, and the corresponding relation between the object identifier and a storage address of the network connection in the connection pool is stored; the second communication object acquires network connection from the connection pool based on the corresponding relation, and can send a second communication message to the first communication object based on the network connection. The embodiment of the application ensures the real-time performance of communication and reduces the resource consumption.

Description

Connection establishing method, communication processing method and device and communication equipment
Technical Field
The embodiment of the application relates to the technical field of network communication, in particular to a connection establishing method, a communication processing method, a device and communication equipment.
Background
TCP (transmission Control Protocol) is a connection-oriented and reliable network communication Protocol, and a TCP connection needs to be established before both communication parties perform TCP communication.
At present, there are situations where two communication parties are in a unidirectional network environment, for example, due to VPC (private network) limitation, etc., it is required that, in the two communication parties, a first communication end and a second communication end are supposed to be included, a connection can only be actively established from the first communication end to the second communication end, otherwise, the connection is not established, so that the first communication end can actively access the second communication end, but the second communication end cannot actively access the first communication end.
However, in practical applications, there is a need for the second communication end to actively access the first communication end, for example, to issue some control commands, and in a unidirectional network environment, at present, only the first communication end establishes a TCP connection with the second communication end at a fixed time interval, queries whether the second communication end has a control command or the like that needs to be processed by the first communication end, and then closes the TCP connection.
Disclosure of Invention
The embodiment of the application provides a connection establishing method, a communication processing method, a device and communication equipment.
In a first aspect, an embodiment of the present application provides a connection establishment method, including:
the second communication object establishes network connection with the first communication object based on a network connection request initiated by the first communication object; receiving a first communication message sent by the first communication object based on the network connection;
identifying an object identification in the first communication message;
putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
In a second aspect, an embodiment of the present application provides a communication processing method, including:
the second communication object searches a storage address corresponding to the object identification based on the object identification of the first communication object;
acquiring network connection corresponding to the storage address from a connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and sending a second communication message to the first communication object based on the network connection.
In a third aspect, an embodiment of the present application provides a communication processing method, including:
packaging to obtain a first communication message based on the object identifier of the first communication object;
searching for a network connection established with the second communication object;
and sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
In a fourth aspect, an embodiment of the present application provides a connection establishment apparatus, including:
the connection establishing module is used for establishing network connection with a first communication object based on a network connection request initiated by the first communication object;
the message receiving module is used for receiving a first communication message sent by the first communication object based on the network connection;
the identification module is used for identifying the object identification in the first communication message;
a connection storage module, configured to place the network connection into a connection pool, and store a correspondence between the object identifier and a storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
In a fifth aspect, an embodiment of the present application provides a communication processing apparatus, including:
the address searching module is used for searching a storage address corresponding to an object identifier based on the object identifier of a first communication object;
the connection acquisition module is used for acquiring the network connection corresponding to the storage address from the connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and the first message sending module is used for sending a second communication message to the first communication object based on the network connection.
In a sixth aspect, an embodiment of the present application provides a communication processing apparatus, including:
the message encapsulation module is used for encapsulating and obtaining a first communication message based on the object identification of the first communication object;
the connection searching module is used for searching the network connection established with the second communication object;
and the second message sending module is used for sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
In a seventh aspect, an embodiment of the present application provides a communication device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing network connection with a first communication object based on a network connection request initiated by the first communication object;
receiving a first communication message sent by the first communication object based on the network connection;
identifying an object identification in the first communication message;
putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
In an eighth aspect, an embodiment of the present application provides a communication device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
based on the object identification of the first communication object, searching a storage address corresponding to the object identification;
acquiring network connection corresponding to the storage address from a connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and sending a second communication message to the first communication object based on the network connection.
In a ninth aspect, an embodiment of the present application provides a communication device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
packaging to obtain a first communication message based on the object identifier of the first communication object;
searching for a network connection established with the second communication object;
and sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
In the embodiment of the application, a first communication object sends a network connection request to a second communication object to establish network connection with the second communication object, and then when the first communication object sends a first communication message based on the network connection, the second communication object can identify an object identifier in the first communication message, place the network connection in a connection pool, and store a corresponding relation between the object identifier and a storage address of the network connection in the connection pool; therefore, when the second communication object needs to actively communicate with the first communication object, the network connection can be searched from the connection pool based on the corresponding relation, and the second communication message can be sent to the first communication object based on the network connection. The embodiment of the application ensures the real-time performance of communication, and the network connection is kept in the connection pool without frequently establishing the connection, thereby reducing the resource consumption.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating an embodiment of a connection establishment method provided in the present application;
fig. 2 is a schematic diagram illustrating a message structure in an actual application according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating one embodiment of a method for communication processing provided herein;
FIG. 4 is a flow diagram illustrating one embodiment of a communication processing method provided herein;
fig. 5 is a schematic diagram illustrating communication interaction between a server and a client in an actual application according to the embodiment of the present application;
fig. 6 is a schematic structural diagram illustrating an embodiment of a connection establishment apparatus provided in the present application;
FIG. 7 is a schematic block diagram illustrating an embodiment of a communication device provided herein;
fig. 8 is a schematic structural diagram illustrating an embodiment of a communication processing apparatus provided in the present application;
fig. 9 is a schematic structural diagram of another embodiment of a communication device provided in the present application;
fig. 10 is a schematic structural diagram illustrating an embodiment of a communication processing apparatus provided in the present application;
fig. 11 is a schematic structural diagram of another embodiment of a communication device provided in the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical scheme of the embodiment of the application is mainly applied to a TCP (Transmission control Protocol) connection establishment scene in a unidirectional network environment.
For convenience of description, in this embodiment, two communication parties are named as a first communication object and a second communication object, respectively, in an actual application, the first communication object and the second communication object may be in a unidirectional network environment, the second communication object is prohibited from directly initiating a network connection request to the first communication object, for example, a network connection request actively initiated by the second communication object to the first communication object may be intercepted or shielded, and the first communication object is allowed to initiate a network connection request to the second communication object in a unidirectional manner, where the second communication object may maintain network connection with a plurality of first communication objects. In an actual application, the second communication object may refer to a server, and the first communication object may refer to a client process corresponding to the server, and the like.
Taking a unidirectional network environment as an example, because the second communication object is prohibited from directly initiating a network connection request to the first communication object, the second communication object cannot actively establish connection with the first communication object, so that the second communication object cannot actively communicate with the first communication object, and only by adopting a mode that the first communication object regularly establishes connection with the second communication object to inquire the second communication object, under a service scene needing control or data acquisition and the like, service processing is affected due to poor communication real-time performance, and resource waste is caused.
In order to solve the problems of poor communication real-time performance and resource waste, the inventor provides a technical scheme of the embodiment of the application through a series of researches, in the embodiment of the application, a first communication object sends a network connection request to a second communication object to establish network connection with the second communication object, and then when the first communication object sends a first communication message based on the network connection, the second communication object can identify an object identifier in the first communication message, place the network connection into a connection pool, and store a corresponding relation between the object identifier and a storage address of the network connection in the connection pool; therefore, when the second communication object needs to actively communicate with the first communication object, the network connection can be searched and obtained based on the corresponding relation, and the second communication message can be sent to the first communication object based on the network connection. According to the embodiment of the application, the second communication object and the first communication object are actively communicated, when a communication demand exists, real-time communication with the first communication object can be immediately realized, the inquiry of the first communication object is not needed to be waited, so that the communication real-time performance is ensured, and network connection is kept by putting the network connection into the connection pool, so that frequent connection establishment is not needed, and the resource consumption is reduced.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of an embodiment of a connection establishment method provided in an embodiment of the present application, where the embodiment is executed by a second communication object, and the method may include the following steps:
101: and establishing network connection with the first communication object based on the network connection request initiated by the first communication object.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
In practical application, the network connection request is a TCP connection request, wherein the second communication object needs to perform three-way handshake based on the network connection request initiated by the first communication object, which is the same as the prior art and is not described herein again. Wherein the network connection may be embodied as a long connection.
102: and receiving a first communication message sent by the first communication object based on the network connection.
After the first communication object establishes network connection with the second communication object, the first communication object may store the network connection into a corresponding connection pool thereof, and may communicate with the second communication object based on the network connection in the connection pool, and send a first communication packet.
The first communication packet may include service-related information, such as a service request packet or a data packet, and the second communication object may perform corresponding service processing based on the service-related information. In addition, the first communication packet may also refer to a heartbeat message or the like, so that the second communication object can determine whether the first communication object has a fault or not.
103: identifying an object identification in the first communication message.
The first communication message may carry an object identifier, so that the object identifier may be obtained by parsing the first communication message. The first communication object can be uniquely identified by the object identification.
Optionally, the object identifier may be encapsulated in a header of the first communication packet. The first communication message is composed of a message header and a message body, wherein the message body is used for storing actual transmission content, and the message header stores message meta information and the like.
In an actual application, the first communication object may be a process running in the communication device, such as an application program, and the object identifier may be formed by a network address corresponding to the first communication object and a process identifier of the process in which the first communication object is located.
The network address corresponding to the first communication object may refer to a network address of the communication device, and the process identifier refers to a process identifier of a process corresponding to the first communication object.
The network address may specifically refer to an IP address.
Thus, as a further embodiment, the identifying the object identification in the first communication message may comprise:
analyzing a message header of the first communication message to obtain a network address corresponding to the first communication object and a process identifier of a process where the first communication object is located;
and forming the object identification of the first communication object by the network address and the process identification.
The message format of the first communication message may refer to fig. 2, and is composed of a message header 201 and a message body (body)202, where the message header 201 at least includes a field (IP) storing an IP address and a field (process flag) storing a process identifier, and may further include a message body length field (body length), a process identifier length field (process flag length), and the like, which is not specifically limited in this application.
104: and putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection.
The storage address of the network connection also refers to the storage address of the network connection in the connection pool.
The connection pool is a buffer pool for managing connections, and is used for storing the created connections in the pool, so that the connections in the pool can be directly used for access.
The first communication object sends a first communication message to the second communication object based on network connection, the network connection is transmitted to the second communication object, the second communication object can put the network connection into a connection pool in the second communication object, and the corresponding relation between the storage address of the network connection in the connection pool and the object identification is stored.
The corresponding relation is used for searching the connection pool and obtaining the network connection from the connection pool based on the object identification of the first communication object, so as to issue a second communication message to the first communication object based on the network connection, and realize the active access of the second communication object to the first communication object.
In different service scenarios, the second communication message may carry different contents, for example, the second communication message may carry processing instructions such as a control instruction and a collection instruction, so that the first communication object responds to the processing instructions to perform corresponding processing operations.
In this embodiment, a first communication object requests to establish a network connection with a second communication object, the second communication object can acquire the network connection and place the network connection into a connection pool of the second communication object according to a first communication packet sent by the first communication object based on the network connection, and can identify and obtain an object identifier identifying the first communication object from the first communication packet, so that the object identifier and a storage address of the network connection in the connection pool can be correspondingly stored, when the first communication object needs to be actively accessed, the storage address can be obtained based on the object identifier of the first communication object, and further the network connection stored at the storage address can be found from the connection pool, the active access to the first communication object can be realized based on the network connection, the real-time communication between the second communication object and the first communication object is realized, and the network connection does not need to be frequently established, the problem of resource waste is avoided.
When the first communication message is a service-related message, the second communication object may also process the first communication message after receiving the first communication message.
Thus, in certain embodiments, the method may further comprise:
responding to the first communication message to obtain a first response message;
and sending the first response message to the first communication object based on the network connection.
Because the first communication message is sent to the second communication object by the first communication object based on the network connection, and the first communication object transmits both the first communication message and the network connection to the second communication object, the second communication object can acquire the network connection, and the first response message can be directly fed back to the first communication object through the network connection.
In practical application, when the first communication packet is service-related information, the first response packet may include a service processing result and the like.
After the first communication object establishes network connection with the second communication object, the first communication object may send service-related information based on the network connection, may also send heartbeat messages, and the like, and the second communication object may identify any first communication packet sent by the first communication object, identify an object identifier therefrom, and place the network connection in a connection pool, and the like.
Of course, to save resources, in some embodiments, the identifying the object identifier in the first communication message comprises:
judging whether the first communication message meets an identification condition;
and if the first communication message meets the identification condition, identifying the object identification in the first communication message.
That is, when the first communication packet satisfies the identification condition, the first communication packet is identified, otherwise, the process can be ended.
Alternatively, the identification condition may be, for example, a preset time interval from whether the communication packet identified last time is received.
Alternatively, the identification condition may be, for example, whether a predetermined number of unidentified communication packets are separated from the most recently identified communication packet.
In some embodiments, the placing the network connection into a connection pool and storing the correspondence between the object identifier and the storage address of the network connection may include:
searching whether a storage address corresponding to the object identifier exists or not;
if not, the network connection is put into a connection pool, and the corresponding relation between the object identification and the storage address of the network connection in the connection pool is stored.
If the storage address corresponding to the object identifier exists, the process can be ended, and the network connection does not need to be put into the connection pool.
That is, if there is a storage address corresponding to the object identifier, indicating that the second communication object stores the network connection with the first communication object in its connection pool, then the network connection does not need to be put into the connection pool. Otherwise, the network connection is put into the connection pool.
Fig. 3 is a flowchart of an embodiment of a communication processing method provided in an embodiment of the present application, where a technical solution of the embodiment is executed by a second communication object, and the method may include the following steps:
301: and searching a storage address corresponding to the object identification based on the object identification of the first communication object.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
Optionally, when the first communication object is an application process, the obtaining, by encapsulation, the first communication packet based on the object identifier of the first communication object may include:
and encapsulating the network address and the process identification corresponding to the first communication object into a message header of a first communication message to obtain the first communication message.
302: and acquiring the network connection stored at the storage address from a connection pool.
The network connection is established based on a network connection request of a first communication object and is placed in the connection pool, and the corresponding relation between the object identification and a storage address of the network connection in the connection pool is stored according to the object identification obtained by identification in a first communication message sent by the first communication object.
The specific establishment of the corresponding relationship may be described in the embodiment shown in fig. 1, and is not described herein again.
303: and sending a second communication message to the first communication object based on the network connection.
Optionally, the searching for the storage address corresponding to the object identifier based on the object identifier of the first communication object may include:
in response to a business process instruction for the first communication object, determining an object identification of the first communication object;
and searching the storage address corresponding to the object identifier of the first communication object from the corresponding relation between the object identifier and the storage address.
The second communication message may include, for example, a control instruction or a processing instruction such as a collecting instruction, so that the first communication object performs a corresponding service processing operation in response to the processing instruction.
Optionally, the method may further include:
and receiving a second response message sent by the first communication object based on the network connection, wherein the second response message is obtained by responding the second communication message by the first communication object.
In this embodiment, the second communication object may store the corresponding identifier of the first communication object and the corresponding relationship between the corresponding identifier and the storage address of the network connection in the connection pool, and based on the corresponding relationship, when the first object to be processed needs to be communicated, the network connection may be searched for and obtained, and then the second communication packet is initiated to the first communication object based on the network connection, so that active access to the first communication object is realized, real-time communication between the second communication object and the first communication object is realized, and frequent establishment of the network connection is not needed, thereby avoiding the problem of resource waste.
Fig. 4 is a flowchart of another embodiment of a communication processing method provided in an embodiment of the present application, where the technical solution of the present embodiment is executed by a first communication partner, and the method may include the following steps:
401: and packaging to obtain the first communication message based on the object identification of the first communication object.
402: and searching the network connection established with the second communication object.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
403: and sending the first communication message to the second communication object based on the network connection.
The second communication object can identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection in the connection pool.
In certain embodiments, the method may further comprise:
and if the network connection established with the second communication object is not obtained, sending a network connection request to the second communication object so as to establish the network connection with the second communication object.
The first communication object can put the network connection established with the second communication object into the established connection pool, and when the first communication object needs to communicate with the second communication object, the first communication object can acquire one network connection from the connection pool, and then can send the first communication message based on the network connection.
Since the second communication object may maintain network connection with a plurality of first communication objects, it is necessary to store the correspondence between the storage addresses of the network connections of different first communication objects in the connection pool and the object identifiers of the respective object identifiers, so as to distinguish the network connections corresponding to different first communication objects.
In certain embodiments, the method may further comprise:
and receiving a first response message aiming at the first communication message, which is sent by the second communication object based on the network connection.
In certain embodiments, the method may further comprise:
receiving a second communication message sent by the second communication object based on the network connection; the second communication message is sent after the second communication object acquires the network connection from the connection pool based on the corresponding relation;
processing the second communication message to obtain a second response message;
and sending the second response message to the second communication object through the network connection.
In practical application, the technical scheme of the embodiment of the application can be applied to a cloud service scene, the second communication object can be a server side providing cloud service, and the first communication object can be a client side using cloud service.
The cloud Service may include, for example, PaaS (Platform-as-a-Service), SaaS (Software-as-a-Service), and the like.
The server can provide cloud services to a plurality of clients, each client can be an application process running in the communication device, one communication device can run a plurality of clients capable of establishing TCP connections with the server, and the clients can be service applications for performing different business processes, for example.
It is assumed that the server can establish TCP connections with the client a and the client B, respectively. The user side a and the user side B may operate in the same communication device, or certainly may operate in different communication devices.
As shown in the interaction diagram of fig. 5, when the user terminal a501 requests to perform TCP communication with the server terminal 502, it may first search whether a network connection with the server terminal 502 exists, and optionally, the user terminal a502 may put the network connection established with the server terminal 502 into a connection pool created by the user terminal a502, so that it may search whether a network connection with the server terminal 502 exists from the connection pool of the user terminal a 501;
if the network connection with the server 502 exists, a first communication message can be obtained by encapsulation based on the IP address and the process identifier of the user a501, and the first communication message is sent to the server 502 based on the network connection;
if there is no network connection with the server 502, a request to establish a network connection with the server 502 may be made.
After the ue a501 establishes a network connection with the server 502, it may send a first communication packet based on the network connection.
After the server 502 obtains the first communication packet, the network connection may be placed in a connection pool created by the server 502, an object identifier formed by the IP address of the client a and the process identifier may be identified and obtained from the first communication packet, and a corresponding relationship between the object identifier and the storage address of the network connection in the connection pool is stored.
The corresponding relationship may be stored in a memory of the server 502, and optionally, the server 502 may cache the corresponding relationship in a distributed manner.
The first response packet obtained by the server 502 responding to the first communication packet is fed back to the user a501 based on the network connection.
The server 502 may store the corresponding relationship between different clients, that is, the corresponding relationship between the object identifiers of different clients and the corresponding storage addresses in the connection pool.
Assume that the server 502 already stores the corresponding relationship between the object id of the user B503 and the corresponding storage address.
When the server 502 needs to communicate with the user B503, the storage address corresponding to the user B503 may be searched based on the object identifier of the user B503, the network connection stored at the storage address is obtained from the connection pool, and the second communication message is sent to the user B503 based on the network connection.
If the storage address corresponding to the object identifier of the user B503 is not obtained, it indicates that the network connection between the user B503 and the server B502 is not established or the network connection is closed, and the communication cannot be implemented, that is, the process is ended.
It should be noted that, in fig. 5, the technical solution of the present application is illustrated only by an interaction process between the server and two clients, and the server and the client a are mainly described from the perspective of connection establishment, and the server and the client B are mainly described from the perspective of communication processing. The server is the same or similar for any ue, whether the connection establishment or the communication process, and is not limited to the process described in fig. 5.
Fig. 6 is a schematic structural diagram of an embodiment of a connection establishment apparatus according to an embodiment of the present application, where the apparatus may be configured in a second communication object in any of the embodiments in practical applications, and the apparatus may include:
a connection establishing module 601, configured to establish a network connection with a first communication object based on a network connection request initiated by the first communication object;
a message receiving module 602, configured to receive a first communication message sent by the first communication object based on the network connection;
an identifier recognizing module 603, configured to recognize an object identifier in the first communication message;
a connection saving module 604, configured to put the network connection into a connection pool, and save a correspondence between the object identifier and a storage address of the network connection; and the corresponding relation is used for searching the network connection in the connection pool so as to issue a second communication message to the first communication object based on the network connection.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
In some embodiments, the identifier identifying module is specifically configured to analyze a packet header of the first communication packet to obtain a network address corresponding to the first communication object and a process identifier of a process in which the first communication object is located;
and forming the object identification of the first communication object by the network address and the process identification.
In some embodiments, the apparatus may further comprise:
the first response module is used for responding to the first communication message and obtaining a first response message; and sending the first response message to the first communication object based on the network connection.
In some embodiments, the identifier identifying module may be specifically configured to determine whether the first communication packet satisfies an identifying condition; and if the first communication message meets the identification condition, identifying the object identification in the first communication message.
Optionally, the determining, by the identifier identifying module, whether the first communication packet satisfies an identifying condition may specifically be:
and judging whether the first communication message and the communication message identified last time receive a preset time interval or not, or whether a preset number of unidentified communication messages are separated.
In some embodiments, the connection saving module may be specifically configured to find whether a storage address corresponding to the object identifier exists; if not, the network connection is put into a connection pool, and the corresponding relation between the object identification and the storage address of the network connection in the connection pool is stored.
The connection establishing apparatus shown in fig. 6 may execute the connection establishing method shown in the embodiment shown in fig. 1, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the connection establishing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
In one possible design, the connection establishing apparatus of the embodiment shown in fig. 6 may be implemented as a communication device, as shown in fig. 7, which may include a storage component 701 and a processing component 702;
the storage component 701 includes one or more computer instructions, where the one or more computer instructions are invoked for execution by the processing component 702.
The processing component 702 is configured to:
establishing network connection with a first communication object based on a network connection request initiated by the first communication object; wherein the communication device can process a one-way environment with a first communication object, the communication device is prohibited from directly initiating a network connection request to the first communication object, and the first communication object is permitted to unidirectionally initiate a network connection request to the communication device;
receiving a first communication message sent by the first communication object based on the network connection;
identifying an object identification in the first communication message;
putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
Among other things, the processing component 702 may include one or more processors to execute computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 701 is configured to store various types of data to support operations in a communication device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the communication device may of course also comprise other components, such as input/output interfaces, etc.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the connection establishment method according to the embodiment shown in fig. 7 may be implemented.
Fig. 8 is a schematic structural diagram of an embodiment of a communication processing apparatus according to an embodiment of the present application, where the apparatus may be configured in a second communication object described in any of the embodiments in practical applications, and the apparatus may include:
an address searching module 801, configured to search, based on an object identifier of a first communication object, a storage address corresponding to the object identifier;
a connection obtaining module 802, configured to obtain a network connection corresponding to the stored address from the connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
a first message sending module 803, configured to send a second communication message to the first communication object based on the network connection.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
In some embodiments, the address lookup module may be specifically configured to determine an object identifier of the first communication object in response to a business processing instruction for the first communication object;
and searching the storage address corresponding to the object identifier of the first communication object from the corresponding relation between the object identifier and the storage address.
The communication processing apparatus shown in fig. 8 may execute the communication processing method shown in the embodiment shown in fig. 3, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the communication processing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the communication processing apparatus of the embodiment shown in fig. 8 may be implemented as a communication device, which may include a storage component 901 and a processing component 902, as shown in fig. 9;
the storage component 901 is one or more computer instructions, wherein the one or more computer instructions are for execution invoked by the processing component 902.
The processing component 902 is configured to:
based on the object identification of the first communication object, searching a storage address corresponding to the object identification; wherein the communication device may be in a unidirectional network environment with a first communication object, the communication device is prohibited from initiating a network connection request directly to the first communication object, and the first communication object is permitted to initiate a network connection request unidirectionally to the communication device;
acquiring network connection corresponding to the storage address from a connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and sending a second communication message to the first communication object based on the network connection.
Among other things, the processing component 902 may include one or more processors to execute computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 901 is configured to store various types of data to support operations in the communication device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Therefore, before the communication device shown in fig. 9 finds the connection pool address corresponding to the object identifier based on the object identifier of the first communication object, the communication device shown in fig. 9 may further be configured to:
establishing network connection with a first communication object based on a network connection request initiated by the first communication object;
receiving a first communication message sent by the first communication object based on the network connection;
identifying an object identification in the first communication message;
putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
Of course, the communication device may of course also comprise other components, such as input/output interfaces etc.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the communication processing method of the embodiment shown in fig. 3 may be implemented.
Fig. 10 is a schematic structural diagram of another embodiment of a communication processing apparatus according to an embodiment of the present application, where the apparatus may be configured in a first communication object described in any of the embodiments in practical applications, and the apparatus may further include:
a message encapsulation module 1001, configured to encapsulate to obtain a first communication message based on an object identifier of a first communication object;
a connection searching module 1002, configured to search for a network connection established with the second communication object; wherein the second communication object prohibits initiating a network connection request to the first communication object;
a second message sending module 1003, configured to send the first communication message to the second communication object based on the network connection, so that the second communication object identifies and obtains the object identifier from the first communication message, puts the network connection into a connection pool, and stores a corresponding relationship between the object identifier and a storage address of the network connection.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
In some embodiments, the apparatus may further comprise:
and the connection request module is used for sending a network connection request to the second communication object to establish the network connection with the second communication object if the network connection established with the second communication object is not obtained.
In some embodiments, the apparatus may further comprise:
a second response module, configured to receive a second communication packet sent by the second communication object based on the network connection; the second communication message is sent after the second communication object acquires the network connection from the connection pool based on the corresponding relation;
processing the second communication message to obtain a second response message;
and sending the second response message to the second communication object through the network connection.
In some embodiments, the apparatus may further comprise:
and the response result acquisition module is used for receiving a first response message aiming at the first communication message, which is sent by the second communication object based on the network connection.
In some embodiments, the message encapsulation module may be specifically configured to encapsulate the network address and the process identifier of the first communication object into a header of a first communication message, so as to obtain the first communication message.
The communication processing apparatus shown in fig. 10 may execute the communication processing method shown in the embodiment shown in fig. 4, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the communication processing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the communication processing apparatus of the embodiment shown in fig. 10 may be implemented as a communication device, which may include a storage component 1101 and a processing component 1102 as shown in fig. 11;
the storage component 1101 is one or more computer instructions, wherein the one or more computer instructions are for invocation execution by the processing component 1102.
The processing component 1102 is configured to:
packaging to obtain a first communication message based on the object identifier of the first communication object;
searching for a network connection established with the second communication object; wherein the second communication object prohibits initiating a network connection request to the first communication object;
and sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
The first communication object and the second communication object can be in a unidirectional network environment, the second communication object is prohibited from directly initiating the network connection request to the first communication object, and the first communication object is allowed to unidirectionally initiate the network connection request to the second communication object.
The first communication object may be the communication device, and of course, in some embodiments, the first communication object may be an application process running in the communication device.
Among other things, the processing component 1102 may include one or more processors to execute computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1101 is configured to store various types of data to support operations in the communication device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the communication device may of course also comprise other components, such as input/output interfaces etc.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the communication processing method of the embodiment shown in fig. 4 can be implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (19)

1. A method for establishing a connection, comprising:
the second communication object establishes network connection with the first communication object based on a network connection request initiated by the first communication object; receiving a first communication message sent by the first communication object based on the network connection;
identifying an object identification in the first communication message;
putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
2. The method of claim 1, wherein the identifying the object identification in the first communication message comprises:
analyzing a message header of the first communication message to obtain a network address corresponding to the first communication object and a process identifier of a process where the first communication object is located;
and forming the object identification of the first communication object by the network address and the process identification.
3. The method of claim 1, further comprising:
responding to the first communication message to obtain a first response message;
and sending the first response message to the first communication object based on the network connection.
4. The method of claim 1, wherein the identifying the object identification in the first communication message comprises:
judging whether the first communication message meets an identification condition;
and if the first communication message meets the identification condition, identifying the object identification in the first communication message.
5. The method of claim 4, wherein determining whether the first communication packet satisfies an identification condition comprises:
and judging whether the first communication message and the communication message identified last time receive a preset time interval or not, or whether a preset number of unidentified communication messages are separated.
6. The method of claim 1, wherein placing the network connection into a connection pool and saving the object identifier corresponding to the storage address of the network connection comprises:
searching whether a storage address corresponding to the object identifier exists or not;
if not, the network connection is put into a connection pool, and the corresponding relation between the object identification and the storage address of the network connection in the connection pool is stored.
7. A communication processing method, comprising:
the second communication object searches a storage address corresponding to the object identification based on the object identification of the first communication object;
acquiring network connection corresponding to the storage address from a connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and sending a second communication message to the first communication object based on the network connection.
8. The method of claim 7, wherein the second communication object searches for the storage address corresponding to the object identifier based on the object identifier of the first communication object, and comprises:
in response to a business process instruction for the first communication object, determining an object identification of the first communication object;
and searching the storage address corresponding to the object identifier of the first communication object from the corresponding relation between the object identifier and the storage address.
9. A communication processing method, comprising:
packaging to obtain a first communication message based on the object identifier of the first communication object;
searching for a network connection established with the second communication object;
and sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
10. The method of claim 9, further comprising:
and if the network connection established with the second communication object is not obtained, sending a network connection request to the second communication object so as to establish the network connection with the second communication object.
11. The method of claim 9, further comprising:
receiving a second communication message sent by the second communication object based on the network connection; the second communication message is sent after the second communication object acquires the network connection from the connection pool based on the corresponding relation;
processing the second communication message to obtain a second response message;
and sending the second response message to the second communication object through the network connection.
12. The method of claim 9, further comprising:
and receiving a first response message aiming at the first communication message, which is sent by the second communication object based on the network connection.
13. The method of claim 9, wherein encapsulating the first communication packet based on the object identifier of the first communication object comprises:
and packaging the network address and the process identification of the first communication object into a message header of a first communication message to obtain the first communication message.
14. A connection establishment apparatus, comprising:
the connection establishing module is used for establishing network connection with a first communication object based on a network connection request initiated by the first communication object;
the message receiving module is used for receiving a first communication message sent by the first communication object based on the network connection;
the identification module is used for identifying the object identification in the first communication message;
a connection storage module, configured to place the network connection into a connection pool, and store a correspondence between the object identifier and a storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
15. A communication processing apparatus, comprising:
the address searching module is used for searching a storage address corresponding to an object identifier based on the object identifier of a first communication object;
the connection acquisition module is used for acquiring the network connection corresponding to the storage address from the connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and the first message sending module is used for sending a second communication message to the first communication object based on the network connection.
16. A communication processing apparatus, comprising:
the message encapsulation module is used for encapsulating and obtaining a first communication message based on the object identification of the first communication object;
the connection searching module is used for searching the network connection established with the second communication object;
and the second message sending module is used for sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
17. A communication device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing network connection with a first communication object based on a network connection request initiated by the first communication object;
receiving a first communication message sent by the first communication object based on the network connection;
identifying an object identification in the first communication message;
putting the network connection into a connection pool, and storing the corresponding relation between the object identification and the storage address of the network connection; and the corresponding relation is used for searching the network connection from the connection pool so as to issue a second communication message to the first communication object based on the network connection.
18. A communication device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
based on the object identification of the first communication object, searching a storage address corresponding to the object identification;
acquiring network connection corresponding to the storage address from a connection pool; the network connection is established based on a network connection request of a first communication object and is placed into the connection pool, and the corresponding relation between the object identification and the storage address of the network connection is stored according to the object identification obtained by identification in a first communication message sent by the first communication object;
and sending a second communication message to the first communication object based on the network connection.
19. A communication device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
packaging to obtain a first communication message based on the object identifier of the first communication object;
searching for a network connection established with the second communication object;
and sending the first communication message to the second communication object based on the network connection so as to facilitate the second communication object to identify and obtain the object identifier from the first communication message, place the network connection into a connection pool, and store the corresponding relation between the object identifier and the storage address of the network connection.
CN201811096456.7A 2018-09-19 2018-09-19 Connection establishing method, communication processing method and device and communication equipment Pending CN110933121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811096456.7A CN110933121A (en) 2018-09-19 2018-09-19 Connection establishing method, communication processing method and device and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811096456.7A CN110933121A (en) 2018-09-19 2018-09-19 Connection establishing method, communication processing method and device and communication equipment

Publications (1)

Publication Number Publication Date
CN110933121A true CN110933121A (en) 2020-03-27

Family

ID=69855257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811096456.7A Pending CN110933121A (en) 2018-09-19 2018-09-19 Connection establishing method, communication processing method and device and communication equipment

Country Status (1)

Country Link
CN (1) CN110933121A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468521A (en) * 2021-02-01 2021-03-09 支付宝(杭州)信息技术有限公司 Data processing method and device based on privacy protection and server
CN112468285A (en) * 2021-02-01 2021-03-09 支付宝(杭州)信息技术有限公司 Data processing method and device based on privacy protection and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060028996A1 (en) * 2004-08-09 2006-02-09 Huegen Craig A Arrangement for tracking IP address usage based on authenticated link identifier
CN1767509A (en) * 2004-10-29 2006-05-03 北京佳讯飞鸿电气有限责任公司 Method for realizing external network user crossing NAT equipment
CN101359998A (en) * 2007-07-30 2009-02-04 大唐移动通信设备有限公司 Network element route establishing method and apparatus
US20130064092A1 (en) * 2010-06-13 2013-03-14 Zte Corporation Method and system for implementing direct interface between access network nodes
CN103795569A (en) * 2014-01-22 2014-05-14 亿赞普(北京)科技有限公司 Server connection method and device based on connection pool
US20150117438A1 (en) * 2007-08-24 2015-04-30 Samsung Electronics Co., Ltd. Network connection method and apparatus of a mobile station
CN104811478A (en) * 2015-03-27 2015-07-29 上海斐讯数据通信技术有限公司 Remote control system and method of wireless terminal equipment
CN106899614A (en) * 2017-04-14 2017-06-27 北京洋浦伟业科技发展有限公司 In-vehicle network intrusion detection method and device based on the message cycle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060028996A1 (en) * 2004-08-09 2006-02-09 Huegen Craig A Arrangement for tracking IP address usage based on authenticated link identifier
CN1767509A (en) * 2004-10-29 2006-05-03 北京佳讯飞鸿电气有限责任公司 Method for realizing external network user crossing NAT equipment
CN101359998A (en) * 2007-07-30 2009-02-04 大唐移动通信设备有限公司 Network element route establishing method and apparatus
US20150117438A1 (en) * 2007-08-24 2015-04-30 Samsung Electronics Co., Ltd. Network connection method and apparatus of a mobile station
US20130064092A1 (en) * 2010-06-13 2013-03-14 Zte Corporation Method and system for implementing direct interface between access network nodes
CN103795569A (en) * 2014-01-22 2014-05-14 亿赞普(北京)科技有限公司 Server connection method and device based on connection pool
CN104811478A (en) * 2015-03-27 2015-07-29 上海斐讯数据通信技术有限公司 Remote control system and method of wireless terminal equipment
CN106899614A (en) * 2017-04-14 2017-06-27 北京洋浦伟业科技发展有限公司 In-vehicle network intrusion detection method and device based on the message cycle

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘继明等: "一种优化连接速率的ICE算法实现", 《西安邮电大学学报》 *
周春生: "为网络访问不快支招", 《网络安全和信息化》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468521A (en) * 2021-02-01 2021-03-09 支付宝(杭州)信息技术有限公司 Data processing method and device based on privacy protection and server
CN112468285A (en) * 2021-02-01 2021-03-09 支付宝(杭州)信息技术有限公司 Data processing method and device based on privacy protection and server
CN112468285B (en) * 2021-02-01 2021-04-27 支付宝(杭州)信息技术有限公司 Data processing method and device based on privacy protection and server
CN112468521B (en) * 2021-02-01 2021-05-07 支付宝(杭州)信息技术有限公司 Data processing method and device based on privacy protection and server

Similar Documents

Publication Publication Date Title
CN110300050B (en) Message pushing method and device, computer equipment and storage medium
US8971820B2 (en) Power consumption reduction in a user terminal
EP2985705A2 (en) Webpage access method and apparatus, and router
US11025724B2 (en) Transport of control data in proxy-based network communications
CN107332908B (en) Data transmission method and system
CN112261094B (en) Message processing method and proxy server
WO2014067311A1 (en) Resource subscription method and device
US9843514B2 (en) Packet processing method and background server
US10693785B2 (en) Method and system for forwarding data, virtual load balancer, and readable storage medium
CN112804223B (en) Message processing method and device
US20150067066A1 (en) Provisioning Communication Services using Proxy Server in a Cloud
CN110933121A (en) Connection establishing method, communication processing method and device and communication equipment
CN108965359B (en) Communication method, communication device, readable medium, and electronic apparatus
CN109561054B (en) Data transmission method, controller and access device
CN110611937B (en) Data distribution method and device, edge data center and readable storage medium
CN110769045A (en) Data processing method, data processing device, computer equipment and storage medium
CN108595574B (en) Database cluster connection method, device, equipment and storage medium
CN112073512B (en) Data processing method and device
CN111614792B (en) Transparent transmission method, system, server, electronic device and storage medium
US9703618B1 (en) Communication between a software program that uses RPC with another software program using a different communications protocol enabled via proxy
CN107612831B (en) Transmission method and device for data message of access source station
CN110545453B (en) Content distribution method, device and system of content distribution network
CN107404504B (en) Communication method, device and system
CN109361716B (en) Method and device for acquiring IP address, terminal equipment and storage medium
CN110875854B (en) Method and device for detecting connectivity of virtual machine in virtual private network 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: 20200327

RJ01 Rejection of invention patent application after publication