CN113572855B - Device connection processing method and system under hybrid network - Google Patents

Device connection processing method and system under hybrid network Download PDF

Info

Publication number
CN113572855B
CN113572855B CN202110931576.XA CN202110931576A CN113572855B CN 113572855 B CN113572855 B CN 113572855B CN 202110931576 A CN202110931576 A CN 202110931576A CN 113572855 B CN113572855 B CN 113572855B
Authority
CN
China
Prior art keywords
client
port
signaling
transmission link
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110931576.XA
Other languages
Chinese (zh)
Other versions
CN113572855A (en
Inventor
黄诚
陈庆议
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202110931576.XA priority Critical patent/CN113572855B/en
Publication of CN113572855A publication Critical patent/CN113572855A/en
Application granted granted Critical
Publication of CN113572855B publication Critical patent/CN113572855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Abstract

The embodiment of the invention discloses a device connection processing method and a system under a hybrid network, wherein the method comprises the following steps: splitting an initial transmission link between a client and a response end into a code stream transmission link and a signaling transmission link; a code stream transmission link is adopted to transmit code stream data between a client and a response end; two ends of the code stream transmission link are respectively bound with a client code stream port and a response code stream port; signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link; two ends of the signaling transmission link are respectively bound with a client signaling port and a response signaling port; the two ends of the initial transmission link are respectively bound with the client code stream port and the signaling port, and the response end code stream port and the signaling port. By adopting the technical scheme of the embodiment of the invention, the connection between the application and the equipment is adaptively adjusted, so that the technical effects of saving network resources and improving the usability of a service system are achieved.

Description

Device connection processing method and system under hybrid network
Technical Field
The embodiment of the invention relates to the technical field of equipment interconnection, in particular to a method and a system for processing equipment connection under a hybrid network.
Background
The Internet of things industry is increasingly applied to the ground, mobile Internet and network infrastructure develop, and access to Internet of things equipment is achieved through a cross-public network connection mode, so that the Internet of things foundation stone in various subdivision areas is formed.
Currently, an enterprise providing an internet of things solution to the outside generally needs to provide a cloud service that can be accessed by a public network, and opens a network connection between a client application and a device for signaling interaction between the client application and the device. The enterprise can provide computing and network resources through a machine room establishment or a third-party cloud manufacturer, run own service programs, and connect with clients and devices through domain names or public network addresses. However, in the related technical solutions, a server needs to be deployed at the cloud as an intermediate node to provide end-to-end connection between a client and a device. In the connection between the client and the equipment, a large amount of code stream data consume system resources, and when the network fluctuates, the data transmission quantity is particularly large, and certain links such as application software or equipment cannot be processed, key signaling cannot be transmitted timely, service system response is not timely, and the like, the availability is reduced.
Disclosure of Invention
The embodiment of the invention provides a device connection processing method and a device connection processing system under a hybrid network, which are used for realizing self-adaptive adjustment of connection between an application and a device, saving network resources and improving service system availability.
In a first aspect, an embodiment of the present invention provides a method for processing device connection in a hybrid network, where the method includes:
splitting an initial transmission link between a client and a response end into a code stream transmission link and a signaling transmission link;
a code stream transmission link is adopted to transmit code stream data between a client and a response end; two ends of the code stream transmission link are respectively bound with a client code stream port and a response code stream port;
signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link; two ends of the signaling transmission link are respectively bound with a client signaling port and a response signaling port;
the two ends of the initial transmission link are respectively bound with the client code stream port and the signaling port, and the response end code stream port and the signaling port.
In a second aspect, an embodiment of the present invention further provides a device connection processing system under a hybrid network, where the system includes: the client and the response end; wherein: ,
the client business layer is configured to split an initial transmission link between a client and a response end into a code stream transmission link and a signaling transmission link;
the response end business layer is configured to transmit code stream data between the client and the response end by adopting a code stream transmission link; two ends of the code stream transmission link are respectively bound with a client code stream port and a response code stream port;
The response end business layer is also configured to adopt a signaling transmission link to carry out signaling interactive transmission between the client and the response end; two ends of the signaling transmission link are respectively bound with a client signaling port and a response signaling port;
the two ends of the initial transmission link are respectively bound with the client code stream port and the signaling port, and the response end code stream port and the signaling port.
The embodiment of the invention provides a device connection processing scheme under a hybrid network, wherein two ends of an initial transmission link are respectively bound with a client code stream port and a signaling port and a response end code stream port and a signaling port, and the initial transmission link between a client and a response end is split into a code stream transmission link and a signaling transmission link; two ends of the code stream transmission link are respectively bound with a client code stream port and a response end code stream port, and two ends of the signaling transmission link are respectively bound with a client signaling port and a response end signaling port; a code stream transmission link is adopted to transmit code stream data between a client and a response end; and signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link. By adopting the technical scheme of the embodiment of the invention, the connection mode of the application program and the equipment is adjusted by combining the service model, so that the transmission of the key signaling and the transmission of a large amount of code stream data are split, the problem that the system availability is reduced due to the fact that the key signaling cannot be timely transmitted, the service system response is not timely and the like because a large amount of resources are consumed in the code stream transmission is avoided, the resource consumption of cloud service is reduced, the stability of the performance of the service system is improved, and the purposes of saving network resources and providing the service system availability are achieved.
The foregoing summary is merely an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more fully understood, and in order that the same or additional objects, features and advantages of the present invention may be more fully understood.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a flow chart of a device connection processing method under a hybrid network according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a networking mode of a public network internet of things device according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of information transmission from a client to a device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a split signaling transmission and code stream transmission according to an embodiment of the present invention;
Fig. 5 is a flow chart of a device connection processing method under a hybrid network according to a second embodiment of the present invention;
fig. 6 is a flow chart of a device connection processing method under a hybrid network according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of another split signaling transmission and code stream transmission according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a split signaling transmission and code stream transmission with abnormal network delay according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a split signaling transmission and code stream transmission structure with abnormal message conversion and abnormal network delay according to an embodiment of the present invention;
fig. 10 is a block diagram of a device connection processing system under a hybrid network according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example 1
Fig. 1 is a flow chart of a device connection processing method under a hybrid network according to an embodiment of the present invention. The technical scheme of the embodiment can be applied to the situation that equipment connection is carried out on the client and the response end under the hybrid network. As shown in fig. 1, the method for processing device connection under the hybrid network in the embodiment of the application may include the following steps:
s110, splitting an initial transmission link between the client and the response end into a code stream transmission link and a signaling transmission link.
Referring to fig. 2, a networking mode of a public network internet of things device is described, after an account is registered on an internet of things cloud service platform, a plurality of response end devices (such as internet of things monitoring devices) are accessed to the cloud service platform in a local area network through a router, and the response end devices are added under the account. After the client application logs in the cloud service platform account, the responding end equipment under the account can be checked, and the service operation is performed.
Referring to fig. 2, the cloud service platform may include a plurality of functional components such as a service server, a forwarding server, and a P2P server, where the forwarding server mainly provides a relay forwarding function, and when a client and a responding device cannot be directly connected or need relay forwarding, network link resources are allocated to the client and the responding device to implement connection; and the response end equipment sends the code stream signaling to the forwarding server, and the forwarding server forwards the code stream signaling to the client. The link established by the responding device and the client through the forwarding server is in a one-to-one relationship. The P2P server mainly provides a P2P tunnel connection function, and after the client acquires the P2P server connection information and the device connection information through the scheduling server, a tunnel is established between the client and the responding device through the P2P server, so that end-to-end connection is realized.
The client may also be referred to as a user end, and may also refer to an application program corresponding to a server, which provides local services for the client. For example, in a real-time streaming media forwarding, a client connects to a forwarding server, and enters a playing page to send a playing request according to a playing requirement of a user. Clients include, but are not limited to, APP, applet, web browser, etc.
The response end can refer to a reply to the request sent by the client, the client sends out the request according to the client requirement, and the response end sends out a corresponding response according to the requirement after receiving the request. For example, the client sends a play request according to the client requirement, and the response end forwards the play request to the play port for playing after receiving the play request.
Referring to fig. 2, when a client initiates a connection access service to a responding device through a cloud service, a cloud service platform service server returns network information required for establishing a forwarding or P2P tunnel connection with the responding device to the client. After receiving the information, the client initiates forwarding connection and/or P2P tunnel connection to the responding end equipment through the forwarding server and the P2P server. Alternatively, the established connection may comprise a tunnel connection and a forwarding connection, which may be implemented via TCP and UDP, respectively.
Referring to fig. 3, when a client establishes a connection service with a responder device, support of a client connection service C placed at the client and a responder connection service S placed at the responder device is generally required. Taking the example of establishing forwarding connection, after receiving network information (such as a connection port S1) required for establishing connection with a response end device sent by a cloud service platform, a client service layer establishes connection with a signaling port X1 of a client connection service C; the client connection service C establishes connection with a connection port S1 in a response end connection service C in a response end connection service S through a connection port C1 in the client connection service C, and the response end connection service S establishes connection with a signaling port X2 returned by a response end device business layer in a callback function in advance. The connection service establishment between the client and the responding device is completed.
Referring to fig. 3, after the connection between the client and the response end device is established successfully, when the client needs to perform the code stream service, the connection between the client and the client connection service C is established through the code stream port M1. The response end connection service S establishes connection with the response end equipment through the code stream port M2, an initial transmission link between the client end and the response end can be formed at the moment, and two ends of the initial transmission link are respectively bound with the client end code stream port M1 and the signaling port and the response end code stream port M2 and the signaling port. In this way, the response end device sends the coded video frequency code stream data through the code stream port M2, and the data forms a format suitable for transmission in a tunnel or a forwarding connection link through the response end connection service S. After data is transmitted to a connection port C1 of the client through a network, the client connection service C converts the data format, the video code stream data is divided into packets and then is transmitted to a service layer of the client through a code stream port M1 of the client, the service layer is displayed on an interface after being decoded and displayed, and the code stream data is transmitted between the client and a response end through an initial transmission link.
Referring to fig. 3, the connection between the client and the responding device is split between the signaling port and the code stream port, but the final transmission is converged on one transmission link. When the network fluctuates, video jamming or signaling accumulation can obviously occur; when serious, the client sends control signaling to the responding terminal equipment or the responding terminal equipment actively reports the service alarm information, and the information is accumulated in the connecting channel to wait for processing, so that the key signaling cannot take effect or the key alarm information cannot be reported in time, thereby reducing the service availability.
Referring to fig. 4, in order to solve the problem of the scheme in fig. 3, an initial transmission link between a client and a responding device may be split into a code stream transmission link and a signaling transmission link respectively established between the client and the responding device. Fig. 3 shows that both ends of an initial transmission link formed by the establishment of the client connection service C and the response connection service S bind the client code stream port and the signaling port, and bind the response code stream port and the signaling port, respectively. However, referring to fig. 4, after the initial transmission link is split into the code stream transmission link and the signaling transmission link, two ends of the signaling transmission link are respectively connected with the signaling port X1 of the client and the signaling port X2 of the response end in a binding manner, and two ends of the code stream transmission link are no longer connected with the signaling port X1 of the client and the signaling port X2 of the response end in a binding manner, but are only connected with the code stream port M1 of the client and the code stream port M2 of the response end in a binding manner. The code stream transmission link generated by splitting the initial transmission link may include one or at least two, and the signaling transmission link generated by splitting the initial transmission link may include one or at least two.
Signaling interaction between the client and the responding terminal equipment or signaling report such as an alarm event of the responding terminal equipment are transmitted through a signaling transmission link (as a dashed line box in fig. 4); particularly, some key signaling, such as reporting of a message of a key event or keep-alive heartbeat of equipment, can cause the condition that the equipment is disconnected, alarm message is missed and the like to influence service availability if the key signaling cannot be timely transmitted.
S120, the code stream transmission link is adopted to transmit the code stream data between the client and the response end.
The code stream may refer to the number of times that the communication port changes in level when transmitting data in 2 seconds, also called the code rate, and the more data is transmitted in unit time, the more information is contained. For example, a video stream with a large message size may be used.
S130, signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link.
The signaling may refer to various signals transmitted by the network, some of which are not directly needed by the user and are used for specially controlling the circuit, and the signals are called signaling, and may refer to a request of a small-message-amount control message. The transmission of signaling requires transmission between different links of the communication network, including, but not limited to, base stations, mobile stations, and mobile control switching centers, etc.
The embodiment of the invention discloses a device connection processing method under a hybrid network, which splits an initial transmission link between a client and a response end according to a service model and a network condition, and respectively establishes a signaling transmission link and a code stream transmission link, wherein the establishment of the two links can flexibly adopt tunnel connection and forwarding connection according to service requirements and is established through TCP or UDP; a code stream transmission link is adopted to transmit code stream data between a client and a response end; and signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link. The transmission of the key signaling is separated from the transmission of the video code stream data, so that the technical effect of avoiding influencing the transmission of the key signaling due to overlarge code stream data quantity is realized.
Example two
Fig. 5 is a flow chart of a device connection processing method under a hybrid network according to a second embodiment of the present application. Embodiments of the present invention may be further optimized on the basis of the foregoing embodiments, and may be combined with each of the alternatives of one or more of the foregoing embodiments. As shown in fig. 5, the method for processing device connection under a hybrid network according to the embodiment of the present invention may include the following steps:
S210, enabling a client standby connection port in the client connection service and a response standby connection port in the response connection service.
The standby connection port of the client in the client connection service is a connection port C2 as shown in fig. 4, and the connection port C2 is connected with the standby connection port S2 of the response end in the response end connection service, so as to implement signaling interaction between the client and the response end device or reporting of signaling such as an alarm event of the device. Of course, the client backup connection port in the client connection service is not limited to one client backup connection port in fig. 4, and may include at least two client backup connection ports, and likewise the response backup connection port in the response connection service is not limited to one response backup connection port in fig. 4, and may include at least two response backup connection ports, so that it is convenient to establish and generate multiple transmission links, and is not limited to one signaling transmission link and one barcode streaming transmission link.
S220, connecting the client spare connection port with the response end spare connection port, and respectively binding the client signaling port and the response end signaling port at the two ends of the connection to obtain a signaling transmission link.
The binding of the client signaling port and the response signaling port at the two connecting ends respectively comprises: as shown in fig. 4, a client standby connection port C2 is bound to a client signaling port X1 by using a client standby message conversion unit CT in the client connection service; and binding the response end standby connection port S2 with the response end signaling port X2 by adopting a response end standby message conversion unit ST in the response end connection service.
S230, unbinding the client signaling ports bound with the client main connection ports in the client connection service corresponding to the initial transmission link, and unbinding the response signaling ports bound with the response main connection ports in the response connection service corresponding to the initial transmission link, so as to obtain the code stream transmission link.
Optionally, as shown in fig. 4, the client primary message conversion unit CT for binding the client primary connection port C1 and the client signaling port X1 in the client connection service in the initial transmission link is unbinding with the client signaling port X1;
and unbinding the response end main message conversion unit ST used for binding the response end main connection port S1 and the response end signaling port X2 in the response end connection service in the initial transmission link and the client signaling port X2.
S240, the code stream transmission link is adopted to transmit the code stream data between the client and the response end.
The transmission of the code stream data may refer to outputting from a client primary code stream port M1 in the client connection service, transmitting the data to a connection port C1 through a message conversion unit CT, connecting the client connection port C1 with a connection port S1 of a response end device, and transmitting the code stream data to a code stream port M2 through the message conversion unit ST, thereby implementing code stream data transmission between the client and the response end by using a code stream transmission link.
The client code stream port and the response end code stream port in the code stream transmission link are connected through a tunnel, and are transmitted through a UDP protocol, so that the network resource consumption of the cloud server is reduced, and the connection success rate and the stability are improved.
S250, signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link.
The signaling interactive transmission may be that the signaling is output from a main signaling port X1 of the client in the client connection service, the signaling is transmitted to a connection port C2 through a message conversion unit CT, the connection port C2 of the client is connected to a connection port S2 of the response end device, and the signaling is transmitted to the signaling port X2 through a message conversion unit ST, so that the signaling interactive transmission between the client and the response end is implemented by using a signaling transmission link.
The client signaling port and the response end signaling port in the signaling transmission link are connected in a forwarding mode, and the transmission of the TCP protocol is adopted, so that the timely delivery of key signaling, the timely response of a service system and the like are realized, and the stability of the performance of the service system is improved.
The embodiment of the invention discloses a device connection processing method under a hybrid network, which is characterized in that a client standby connection port and a response terminal standby connection port are connected, and a client signaling port and a response terminal signaling port are respectively bound at two ends of the connection to obtain a signaling transmission link; and unbinding the client signaling ports bound with the client main connection ports in the client connection service corresponding to the initial transmission link, and unbinding the response signaling ports bound with the response main connection ports in the response connection service corresponding to the initial transmission link, so as to obtain the code stream transmission link. The method and the device realize separation of transmission of the key signaling and transmission of video code stream data, avoid influencing the transmission of the key signaling due to overlarge code stream data quantity, reduce network resource consumption of the cloud server and improve connection success rate between devices and stability of service system performance.
Example III
Fig. 6 is a flow chart of a device connection processing method under a hybrid network according to a third embodiment of the present application. Embodiments of the present invention may be further optimized on the basis of the foregoing embodiments, and may be combined with each of the alternatives of one or more of the foregoing embodiments. As shown in fig. 6, the method for processing device connection under a hybrid network according to the embodiment of the present invention may include the following steps:
and S310, after the client and the response end communicate through an initial transmission link, periodically detecting resource state information between the client and the response end.
Wherein, in the connection service C, a dispatching unit CD and a resource detecting unit CR are added; and in the connection service S, a scheduling unit SD and a resource detection unit SR are added. As depicted by the dashed lines in fig. 7, the resource detecting unit detects resource information of the client and the responding device, including network delay and congestion conditions, system resource consumption conditions, and the like. The scheduling unit is used for scheduling and establishing new connection according to the information fed back by the resource detection unit and combining with a preset strategy, and binding the related unit with the new connection.
Optionally, the resource detection unit pre-configured in the client connection service communicates with the resource detection unit pre-configured in the response end connection service through an initial transmission link, periodically sends a resource detection packet, and records the packet sending time and the detection packet identification of the detection packet;
After receiving the resource detection packet, the resource detection unit pre-configured in the response end connection service sends a detection packet reply message to the resource detection unit pre-configured in the client connection service; the probe packet reply message includes, but is not limited to, a probe packet identifier and a standby connection port of a response end in the response end connection service;
and the resource detection unit preconfigured in the client connection service determines resource state information between the client and the response end according to the packet receiving and transmitting conditions of the same detection packet.
And S320, if the resource state information is detected to find out that the resource is abnormal, enabling a client standby connection port in the client connection service and a response standby connection port in the response connection service to obtain a code stream transmission link and a signaling transmission link.
After the connection between the client and the responding device is established, the resource detection unit CR communicates with the resource detection unit SR through the connection port C1. After the first-test communication is completed, the resource detection unit CR and the resource unit S detect a plurality of parameters such as system cache, network delay, congestion, and the like. When detecting that an abnormality is found, the resource detecting unit CR transmits a message of the abnormality of the resource to the resource detecting unit SR. The resource detection unit CR and the resource detection unit SR are reported to the scheduling unit CD and the scheduling unit SD, respectively, and a new connection is established.
Optionally, the resource detection unit pre-configured in the client connection service sends the resource abnormality information to the resource detection unit pre-configured in the response end connection service through the initial transmission link and the resource scheduling unit pre-configured in the client connection service reports the resource abnormality information; the resource abnormality information comprises a resource abnormality type and a standby connection port of a response end in the response end connection service;
the resource scheduling unit monitors a standby connection port of the client in the client connection service according to the resource abnormality information and informs the resource detection unit which is preconfigured in the client connection service to detect the standby connection port of the client;
the resource scheduling unit is pre-configured in the response terminal connection service, monitors the standby connection port of the response terminal in the response terminal connection service according to the resource abnormality information, and informs the resource detection unit pre-configured in the response terminal connection service to detect the standby connection port of the response terminal.
Optionally, a network delay anomaly is specifically described as an example. As shown in fig. 8: the resource detection unit CR communicates with the resource detection unit SR through the connection C1-S1, periodically transmits detection packets, and records packet transmission time and special identification;
After receiving the detection packet, the resource detection unit SR replies a message to the resource detection unit CR, wherein the message comprises a special identifier and a reserved connection port S2 for connecting the service S;
after receiving the reply message of the resource detection unit SR, the resource detection unit CR records the packet receiving time and the special identifier, matches the packet sending information and calculates the sequence conditions of delay data and data packets;
when the network delay of the detection packet of the resource detection unit CR exceeds a preset threshold (assumed to be 1S), the network delay in the connection C1-S1 is considered to be larger, and an abnormal state is reached. The resource detection unit CR sends a message of resource abnormality to the resource detection unit SR;
the resource detection unit CR reports a message of resource abnormality to the dispatching unit CD, wherein the message contains information such as the type of the resource abnormality and a reserved connection port S2 of the connection service S;
the scheduling unit CD judges according to the type of resource abnormality, the current abnormality is that network congestion causes larger delay, and in order to ensure key signaling delivery and key information reporting, the message conversion unit CT is informed to monitor the reserved connection port C2 at the same time; notifying the resource detecting unit CR to detect the connection port C2;
meanwhile, the scheduling unit SD of the connection service S notifies the message conversion unit ST to monitor the connection port S2 at the same time according to the type of the resource abnormality. Notifying the resource detection unit SR to detect the connection port S2;
The connection service C establishes a connection to the connection port S2 of the connection service S through the connection port C2.
From this point on, the client establishes a new connection C2-S2 with the responding device, which may be connected differently than C1-S1. For example, C1-S1 may employ a tunnel connection, transported via UDP protocol; the C2-S2 may employ a forwarding connection for transmission over the TCP protocol. The resources are not occupied mutually, and the key signaling of C2-S2 and the network access for reporting the key information are ensured.
Optionally, the scheduling unit adopts different strategies according to different types of resource exceptions. The embodiment also provides a connection mode under the conditions that the message conversion unit has performance bottleneck and the network delay is larger. As shown in fig. 9: the scheduling unit CD combines a preset policy according to the anomaly type, and when a new connection is established, adds a message conversion unit CT2, and notifies the message conversion unit CT2 to monitor the connection port C2 and bind with the signaling port X1. Meanwhile, the notification message converting unit CT is unbinding from the signaling port X1. The resource detecting unit CR detects the connection ports C1 and C2 at the same time.
The scheduling unit SD combines the preset policy according to the anomaly type, and when a new connection is established, adds the message conversion unit ST2, and notifies the message conversion unit ST2 to monitor the connection port S2 and bind with the signaling port X2. The notification, notification message conversion unit ST unbundles with signaling port X. The resource detection unit SR detects the connection ports S1 and S2 at the same time.
S330, when the resource state information is detected and the abnormal recovery of the resource is found, reverse merging recovery is carried out from the code stream transmission link and the signaling transmission link to the initial transmission link according to the type of the abnormal recovery of the resource.
With the processing of the service and the change of the network condition, the system resource consumption of the connection C1-S1 between the client and the responding terminal equipment can change. When the system resource changes, the resource detecting unit CR reports the abnormal recovery information to the dispatching unit CD according to the real-time detection condition and combining with the preset threshold value, and simultaneously informs the resource detecting unit SR.
After receiving the abnormal recovery message of the resource detection unit CR, the scheduling unit CD performs reverse operation during connection splitting according to the type of resource recovery, and adaptively merges the connections.
For example, the connection splitting condition (as shown in fig. 9) when the message conversion unit has a performance bottleneck and the network delay is large is restored to the connection condition (as shown in fig. 7) that the message conversion unit has normal performance and the network delay is normal. The operation steps are as follows: the resource detection unit SR reports the abnormal type to the scheduling unit SD; the dispatching unit SD informs the message conversion unit ST to be bound with the signaling port X2; the scheduling unit SD clears the message conversion unit ST2 and recovers resources; the connection service C disconnects the connection port C2 from the connection port S2; the dispatching unit CD informs the message conversion unit CT to bind with the signaling port X1; the scheduling unit CD retrieves the message converting unit CT2 and retrieves the resources.
The embodiment of the invention discloses a device connection processing method under a hybrid network, which is characterized by periodically detecting resource state information between a client and a response end; when detecting the resource state information and finding out that the resource is abnormal, starting a client standby connection port in the client connection service and a response standby connection port in the response connection service to obtain a code stream transmission link and a signaling transmission link. The method solves the problem that the message conversion unit has performance bottleneck and larger network delay, ensures the network path for reporting key signaling and key information, realizes the connection between the self-adaptive adjustment application and the equipment, saves network resources and improves the usability of a service system.
Example IV
Fig. 10 is a schematic structural diagram of a device connection processing system under a hybrid network according to an embodiment of the present invention, where the technical solution of this embodiment is applicable to a device connection processing case, and particularly to a device connection processing case under a hybrid network. As shown in fig. 10, the device connection processing system under a hybrid network provided in the embodiment of the present invention specifically includes: client 410 and responder 420; wherein: ,
The client service layer 430 is configured to split an initial transmission link between the client 410 and the response end 420 into a code stream transmission link and a signaling transmission link;
the response end service layer 440 is configured to transmit code stream data between the client 410 and the response end 420 using a code stream transmission link; two ends of the code stream transmission link are respectively bound with a client code stream port and a response code stream port;
the response end layer 440 is further configured to perform signaling interactive transmission between the client 410 and the response end 420 by using a signaling transmission link; two ends of the signaling transmission link are respectively bound with a client signaling port and a response signaling port;
the two ends of the initial transmission link are respectively bound with the client code stream port and the signaling port, and the response end code stream port and the signaling port.
Optionally, in the system, the splitting the initial transmission link between the client and the response end into the code stream transmission link and the signaling transmission link includes:
enabling client 410 to connect with an in-service client backup connection port and responding end 420 to connect with an in-service responding end backup connection port;
connecting a client standby connection port with a response terminal standby connection port, and respectively binding a client signaling port and a response terminal signaling port at two ends of the connection to obtain a signaling transmission link;
And unbinding the client signaling ports bound with the client main connection ports in the client connection service corresponding to the initial transmission link, and unbinding the response signaling ports bound with the response main connection ports in the response connection service corresponding to the initial transmission link, so as to obtain the code stream transmission link.
Optionally, in the system, the splitting the initial transmission link between the client and the response end into a code stream transmission link and a signaling transmission link further includes:
after the client 410 and the response 420 communicate through the initial transmission link, periodically detecting resource status information between the client 410 and the response 420; the resource state information comprises network delay and congestion conditions and system resource consumption conditions;
if the resource status information detects that the resource is abnormal, the client 410 is enabled to connect with the in-service client backup connection port and the response end 420 is enabled to connect with the in-service response backup connection port, so as to obtain the code stream transmission link and the signaling transmission link.
Optionally, in the system, the periodically detecting resource status information between the client 410 and the responder 420 includes:
the client 410 is connected with a resource detection unit pre-configured in the service, communicates with the resource detection unit pre-configured in the response end connection service through an initial transmission link, periodically transmits a resource detection packet, and records the packet sending time and the detection packet identification of the detection packet;
After receiving the resource detection packet, the resource detection unit preconfigured in the response end 420 connection service sends a detection packet reply message to the resource detection unit preconfigured in the client connection service; the detection packet reply message comprises a detection packet identifier and a standby connection port of a response end in the response end connection service;
the resource detection unit preconfigured in the connection service of the client 410 determines the resource status information between the client 410 and the response end 420 according to the packet receiving and transmitting conditions of the same detection packet.
Optionally, in the system, the enabling the client backup connection port in the client connection service and the responding backup connection port in the responding connection service includes:
the client 410 connects with the resource detection unit preconfigured in the service, and sends the resource abnormality information to the resource detection unit preconfigured in the response end connection service through the initial transmission link and the resource abnormality information is reported by the resource scheduling unit preconfigured in the client connection service; the resource abnormality information comprises a resource abnormality type and a standby connection port of a response end in the response end connection service;
the client 410 is connected with a resource scheduling unit preconfigured in the service, monitors a client standby connection port in the client connection service according to the resource abnormality information, and notifies a resource detection unit preconfigured in the client connection service to detect the client standby connection port;
The response end 420 is connected with a pre-configured resource scheduling unit in the service, monitors a standby connection port of the response end in the response end connection service according to the resource abnormality information, and notifies a pre-configured resource detection unit in the response end connection service to detect the standby connection port of the response end.
Optionally, in the system, the binding the client signaling port and the response signaling port at the two connection ends includes:
the client 410 is adopted to connect with a standby message conversion unit of the client in service, and a standby connection port of the client is bound with a signaling port of the client; and, adopting the response end 420 to connect with the response end standby message conversion unit in the service, binding the response end standby connection port with the response end signaling port;
unbinding a client signaling port bound by a client primary connection port in a client connection service corresponding to an initial transmission link, unbinding a response signaling port bound by a response primary connection port in a response connection service corresponding to the initial transmission link, including:
the client side active message conversion unit used for binding the client side active connection port and the client side signaling port in the client side connection service in the initial transmission link is unbinding with the client side signaling port;
And unbinding the response end primary message conversion unit used for binding the response end primary connection port and the response end signaling port in the response end connection service in the initial transmission link with the client signaling port.
Optionally, in the system, the connection mode adopted by the code stream transmission link and the signaling transmission link is the same or different; the connection mode comprises tunnel connection and forwarding connection.
Optionally, in the system, a client code stream port and a response end code stream port in the code stream transmission link are connected by adopting a tunnel and transmitted by a UDP protocol; the client signaling port and the response signaling port in the signaling transmission link are connected in a forwarding mode and are transmitted through a TCP protocol.
Optionally, the system further comprises:
and when detecting the resource state information and finding out abnormal recovery of the resource, carrying out reverse merging recovery from the code stream transmission link and the signaling transmission link to the initial transmission link according to the type of abnormal recovery of the resource.
The device connection processing system under a hybrid network provided in the embodiment of the present invention may be applied to the device connection processing method under a hybrid network provided in any embodiment of the present invention, and has corresponding functions and beneficial effects of the device connection processing method under a hybrid network, and technical details not described in detail in the foregoing embodiment may be specifically referred to the device connection processing method under a hybrid network provided in any embodiment of the present invention.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (9)

1. A device connection processing method under a hybrid network, the method comprising:
splitting an initial transmission link between a client and a response end into a code stream transmission link and a signaling transmission link;
a code stream transmission link is adopted to transmit code stream data between a client and a response end; two ends of the code stream transmission link are respectively bound with a client code stream port and a response code stream port;
signaling interactive transmission is carried out between the client and the response end by adopting a signaling transmission link; two ends of the signaling transmission link are respectively bound with a client signaling port and a response signaling port;
the two ends of the initial transmission link are respectively bound with a client code stream port and a signaling port, and a response code stream port and a signaling port;
the method for splitting the initial transmission link between the client and the response end into a code stream transmission link and a signaling transmission link comprises the following steps:
enabling a client standby connection port in the client connection service and a response terminal standby connection port in the response terminal connection service; connecting a client standby connection port with a response terminal standby connection port, and respectively binding a client signaling port and a response terminal signaling port at two ends of the connection to obtain a signaling transmission link; and unbinding the client signaling ports bound with the client main connection ports in the client connection service corresponding to the initial transmission link, and unbinding the response signaling ports bound with the response main connection ports in the response connection service corresponding to the initial transmission link, so as to obtain the code stream transmission link.
2. The method of claim 1, wherein splitting the initial transmission link between the client and the responder into a code stream transmission link and a signaling transmission link, further comprises:
after the client side and the response side communicate through an initial transmission link, resource state information between the client side and the response side is detected regularly; the resource state information comprises network delay and congestion conditions and system resource consumption conditions;
and if the resource state information is detected to find out that the resource is abnormal, starting a client standby connection port in the client connection service and a response standby connection port in the response connection service to obtain a code stream transmission link and a signaling transmission link.
3. The method of claim 2, wherein periodically probing resource status information between the client and the responder comprises:
the method comprises the steps that a resource detection unit pre-configured in a client connection service communicates with a resource detection unit pre-configured in a response end connection service through an initial transmission link, periodically transmits a resource detection packet, and records the packet sending time and the detection packet identification of the detection packet;
after receiving the resource detection packet, the resource detection unit pre-configured in the response end connection service sends a detection packet reply message to the resource detection unit pre-configured in the client connection service; the detection packet reply message comprises a detection packet identifier and a standby connection port of a response end in the response end connection service;
And the resource detection unit preconfigured in the client connection service determines resource state information between the client and the response end according to the packet receiving and transmitting conditions of the same detection packet.
4. The method of claim 2, wherein enabling the client backup connection port in the client connection service and the response backup connection port in the response connection service comprises:
the method comprises the steps that a resource detection unit pre-configured in a client connection service sends resource abnormality information to a resource detection unit pre-configured in a response end connection service through an initial transmission link, and a resource scheduling unit pre-configured in the client connection service reports the resource abnormality information; the resource abnormality information comprises a resource abnormality type and a standby connection port of a response end in the response end connection service;
the resource scheduling unit monitors a standby connection port of the client in the client connection service according to the resource abnormality information and informs the resource detection unit which is preconfigured in the client connection service to detect the standby connection port of the client;
the resource scheduling unit is pre-configured in the response terminal connection service, monitors the standby connection port of the response terminal in the response terminal connection service according to the resource abnormality information, and informs the resource detection unit pre-configured in the response terminal connection service to detect the standby connection port of the response terminal.
5. The method of claim 2, wherein binding the client signaling port and the response signaling port at the two ends of the connection, respectively, comprises:
binding a client standby connection port to a client signaling port by adopting a client standby message conversion unit in client connection service; binding the standby connection port of the response end with the signaling port of the response end by adopting a standby message conversion unit of the response end in the response end connection service;
unbinding a client signaling port bound by a client primary connection port in a client connection service corresponding to an initial transmission link, unbinding a response signaling port bound by a response primary connection port in a response connection service corresponding to the initial transmission link, including:
the client side active message conversion unit used for binding the client side active connection port and the client side signaling port in the client side connection service in the initial transmission link is unbinding with the client side signaling port;
and unbinding the response end primary message conversion unit used for binding the response end primary connection port and the response end signaling port in the response end connection service in the initial transmission link with the client signaling port.
6. The method of claim 1, wherein the code stream transmission link and the signaling transmission link are connected in the same or different manners; the connection mode comprises tunnel connection and forwarding connection.
7. The method of claim 6, wherein the client code stream port and the response end code stream port in the code stream transmission link are tunneled and transmitted via UDP protocol; the client signaling port and the response signaling port in the signaling transmission link are connected in a forwarding mode and are transmitted through a TCP protocol.
8. The method according to claim 2, wherein the method further comprises:
and when detecting the resource state information and finding out abnormal recovery of the resource, carrying out reverse merging recovery from the code stream transmission link and the signaling transmission link to the initial transmission link according to the type of abnormal recovery of the resource.
9. A device connection processing system under a hybrid network, the system comprising: the client and the response end; wherein:
the client business layer is configured to split an initial transmission link between a client and a response end into a code stream transmission link and a signaling transmission link;
the response end business layer is configured to transmit code stream data between the client and the response end by adopting a code stream transmission link; two ends of the code stream transmission link are respectively bound with a client code stream port and a response code stream port;
The response end business layer is also configured to adopt a signaling transmission link to carry out signaling interactive transmission between the client and the response end; two ends of the signaling transmission link are respectively bound with a client signaling port and a response signaling port;
the two ends of the initial transmission link are respectively bound with a client code stream port and a signaling port, and a response code stream port and a signaling port;
the splitting the initial transmission link between the client and the response end into a code stream transmission link and a signaling transmission link includes:
enabling a client standby connection port in the client connection service and a response terminal standby connection port in the response terminal connection service; connecting a client standby connection port with a response terminal standby connection port, and respectively binding a client signaling port and a response terminal signaling port at two ends of the connection to obtain a signaling transmission link; and unbinding the client signaling ports bound with the client main connection ports in the client connection service corresponding to the initial transmission link, and unbinding the response signaling ports bound with the response main connection ports in the response connection service corresponding to the initial transmission link, so as to obtain the code stream transmission link.
CN202110931576.XA 2021-08-13 2021-08-13 Device connection processing method and system under hybrid network Active CN113572855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110931576.XA CN113572855B (en) 2021-08-13 2021-08-13 Device connection processing method and system under hybrid network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110931576.XA CN113572855B (en) 2021-08-13 2021-08-13 Device connection processing method and system under hybrid network

Publications (2)

Publication Number Publication Date
CN113572855A CN113572855A (en) 2021-10-29
CN113572855B true CN113572855B (en) 2024-02-20

Family

ID=78171741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110931576.XA Active CN113572855B (en) 2021-08-13 2021-08-13 Device connection processing method and system under hybrid network

Country Status (1)

Country Link
CN (1) CN113572855B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USH1898H (en) * 1997-09-26 2000-10-03 Dsc/Celcore, Inc. Signaling data processing
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
CN101815032A (en) * 2010-03-16 2010-08-25 中国电子科技集团公司第三十研究所 Method for classifying and isolating information based on integrated network security service architecture
CN109996126A (en) * 2017-12-29 2019-07-09 浙江宇视科技有限公司 Equipment connection dynamic dispatching method and system under a kind of hybrid network framework

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USH1898H (en) * 1997-09-26 2000-10-03 Dsc/Celcore, Inc. Signaling data processing
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
CN101815032A (en) * 2010-03-16 2010-08-25 中国电子科技集团公司第三十研究所 Method for classifying and isolating information based on integrated network security service architecture
CN109996126A (en) * 2017-12-29 2019-07-09 浙江宇视科技有限公司 Equipment connection dynamic dispatching method and system under a kind of hybrid network framework

Also Published As

Publication number Publication date
CN113572855A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
US9722875B2 (en) Master device, slave device, and methods thereof
JP5828954B2 (en) Packet processing method and router during server failure
US9137623B2 (en) Method and system for realizing concurrent access of multi-kinds of bearer protocols on machine-to-machine (M2M) platform
CN102394925B (en) Communication method and device for remote monitoring diagnosis center and area regulation center
JP2010063022A (en) Method of controlling access gateway apparatus, and communicating system
CN103916275A (en) BFD detection device and method
CN112333015B (en) Media data storage method, device, system, electronic equipment and storage medium
US20110145406A1 (en) Method and apparatus for realizing heartbeat mechanism in a communication network
CN102006268A (en) Method, equipment and system for switching main interface and standby interface
CN101720035A (en) Disaster-recovery method and equipment in video monitoring scene
CN113572855B (en) Device connection processing method and system under hybrid network
CN112788700A (en) Communication method, terminal and readable storage medium
CN114629825A (en) Path detection method, device and node of computing power sensing network
CN101404674B (en) Call routing method, proxy server and relay device
CN101695049A (en) Method and device for processing businesses in monitoring system
CN103875267A (en) Access node, mobile management network element and paging message processing method
JP4967674B2 (en) Media service system, media service device, and LAN redundancy method used therefor
CN107579896B (en) Internet of things data transmission method based on ring network and storage medium
CN113595894B (en) Communication method, device, equipment and medium between service nodes and client nodes
CN114143569B (en) Webpage recording and live broadcasting method and system
CN101828420B (en) Communication method, and control device, base station device, and terminal device using the same
CN108307401A (en) Establish the method, apparatus and communication equipment of communication connection
KR101143510B1 (en) Apparatus and method for message transmission in delay tolerant network using communication infrastructure
US8417769B2 (en) Gateway having distributed processing function, and communication terminal
JP2003283567A (en) Data communication system and method, server device, client device, repeater, and program

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
GR01 Patent grant
GR01 Patent grant