CN115695420A - Data interaction line control method, device, medium and equipment of cloud platform - Google Patents

Data interaction line control method, device, medium and equipment of cloud platform Download PDF

Info

Publication number
CN115695420A
CN115695420A CN202110857953.XA CN202110857953A CN115695420A CN 115695420 A CN115695420 A CN 115695420A CN 202110857953 A CN202110857953 A CN 202110857953A CN 115695420 A CN115695420 A CN 115695420A
Authority
CN
China
Prior art keywords
cloud host
camera equipment
network
client
network cloud
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
CN202110857953.XA
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.)
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 CN202110857953.XA priority Critical patent/CN115695420A/en
Publication of CN115695420A publication Critical patent/CN115695420A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application discloses a data interaction line control method, a data interaction line control device, a data interaction line control medium and data interaction equipment of a cloud platform. The method comprises the following steps: receiving a connection request after camera equipment is powered on through a hybrid network cloud host; determining a target single network cloud host matched with the camera equipment according to the information of the network operator accessed by the camera equipment; sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment initiates a connection request to the target single network cloud host to connect with the camera equipment; receiving an access request of a client to camera equipment through a hybrid network cloud host; and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request. According to the scheme, the use cost of the cloud platform system can be reduced while the performance of data transmission is improved.

Description

Data interaction line control method, device, medium and equipment of cloud platform
Technical Field
The embodiment of the application relates to the technical field of video monitoring, in particular to a data interaction line control method, device, medium and equipment of a cloud platform.
Background
In the field of video monitoring, an enterprise developer can lease basic resources such as a cloud host, bandwidth and a database from a cloud manufacturer, deploy own business application software and the database in the basic resources, and provide business support services to the outside through a public network.
In the prior art, a cloud manufacturer builds an internet data center machine room by himself, integrates network resource access of operators, and finally provides the network resource product for enterprise developers. When the business application software of the enterprise developer exchanges data with the outside, signaling delivery is carried out with the client through the network line, so that service is provided for the client.
In a video monitoring scene, service application software needs to transmit a large amount of video code stream data in a network, and the consumption of network resources is high. When a single network cloud host is used, the interoperability between single networks is poor under the condition that network resource transmission needs to be completed across the networks, and service faults are easily caused. The multi-line hybrid network cloud host integrates multiple mainstream operator networks, and although the data transmission effect is guaranteed, the price is high and the use cost is high.
Disclosure of Invention
The embodiment of the application provides a data interaction line control method, device, medium and equipment of a cloud platform, which can perform network access allocation and adjustment on camera equipment and a client based on a cloud host cluster formed by different network modes, thereby improving the performance of data transmission, reducing the use cost of the cloud platform system and meeting diversified customer requirements.
In a first aspect, an embodiment of the present application provides a data interaction line control method for a cloud platform, where the method is executed by the cloud platform, a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, and the method includes:
receiving a connection request after camera equipment is powered on through the hybrid network cloud host;
determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment;
sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host to be connected with the camera equipment;
receiving an access request of a client to the camera equipment through the hybrid network cloud host;
and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
In a second aspect, an embodiment of the present application provides a data interaction line control apparatus for a cloud platform, where the apparatus is configured on the cloud platform, a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, and the apparatus includes:
the connection request receiving module is used for receiving a connection request after the camera equipment is powered on through the hybrid network cloud host;
the network cloud host determining module is used for determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment;
the network address sending module is used for sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host to be connected with the camera equipment;
the access request receiving module is used for receiving an access request of a client to the camera equipment through the hybrid network cloud host;
and the network address feedback module is used for feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a data interaction line control method of a cloud platform according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for controlling the data interaction line of the cloud platform according to the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, a connection request after camera equipment is powered on is received through a hybrid network cloud host; then determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment; sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment initiates a connection request to the target single network cloud host to be connected with the camera equipment; then, receiving an access request of a client to the camera equipment through the hybrid network cloud host; and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request. According to the scheme, the distribution and adjustment of the access network of the camera equipment and the client can be carried out based on the cloud host cluster formed by different network modes, so that the use cost of the cloud platform system is reduced while the data transmission performance is improved, and diversified customer requirements are met.
Drawings
Fig. 1 is a flowchart of a data interaction line control method of a cloud platform according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a server cluster of a cloud platform according to an embodiment of the present invention;
fig. 3 is a flowchart of a data interaction line control method of a cloud platform according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data interaction line control device of a cloud platform according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently, or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but could have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like.
Example one
Fig. 1 is a flowchart of a data interaction line control method for a cloud platform according to an embodiment of the present application, where the present embodiment is applicable to a data interaction scene of video monitoring, and is applied to the cloud platform, and a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode. The method can be executed by a data interaction line control device of the cloud platform provided by the embodiment of the application, and the device can be realized in a software and/or hardware manner and can be integrated in an electronic device.
As shown in fig. 1, the data interaction line control method of the cloud platform includes:
and S110, receiving a connection request after the camera equipment is powered on through the hybrid network cloud host.
The present solution may be performed by a cloud platform comprising at least one server cluster. The server cluster is divided according to a network mode and can comprise at least one hybrid network cloud host and at least one single network cloud host. The hybrid network cloud host may use a plurality of connection lines, and may be, for example, a BGP (Border Gateway Protocol) network cloud host. The single network cloud host can use a connection line, such as a telecommunication network cloud host, a mobile network cloud host, a communication network cloud host and the like.
The server cluster structure can be as shown in fig. 2, where the cloud host 1 is a BGP network cloud host, the cloud host 2 is a telecommunications network cloud host, the cloud host 3 is a mobile network cloud host, and the cloud host 4 is a communication network cloud host.
The single network cloud host can perform distributed deployment according to the area, and specifically, a deployment strategy can be determined according to the distribution range of the camera device and the client. For example, if more camera devices and clients in the vicinity of a certain area use the mobile network, the cloud host of the certain area may be the mobile network cloud host. And multiple cloud hosts can be connected by adopting an internal backbone network of a cloud manufacturer, so that a rapid and stable data transmission effect is achieved.
The cloud host can be used for deploying cloud services, and the cloud services can comprise a business processing module, a connection scheduling module and a network diagnosis module. The service response module can be used for processing service requests from the client and the camera equipment. The connection scheduling module can be used for scheduling the client and the camera equipment to be connected through which cloud platform respectively. The network diagnosis module can be used for detecting the network states of the client and the camera equipment and judging whether network switching is needed or not by combining preset indexes.
The camera equipment can actively send a connection request to a hybrid network cloud platform in the server cluster after being powered on, and the hybrid network cloud platform can receive the connection request sent by the camera equipment. For example, after the camera device 1 and the camera device 2 in fig. 2 are powered on, both of them may send connection requests to the BGP network cloud platform in the server cluster.
And S120, determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment.
After receiving a connection request sent by camera equipment, a hybrid network cloud platform in the server cluster can determine a target single network cloud host matched with the camera equipment according to access network operator information of the camera equipment. The network operator information may include operator name, bandwidth, data transmission rate, etc.
For example, the network accessed by the camera device 2 in fig. 2 is a telecommunication network, and the cloud host 1 in the cloud platform can determine that the target single-network cloud host adapted to the camera device 2 is the cloud host 2 according to the access network of the camera device 2.
S130, sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host to be connected with the camera equipment.
After the adaptive target single network cloud host is determined for the camera equipment, the hybrid network cloud platform in the server cluster sends the network address of the target single network cloud host to the camera equipment, and the camera equipment can initiate a connection request to the target single network cloud host so as to establish connection.
For example, the connection scheduling module of the cloud service in the Yun Pingtai cloud host 1 in fig. 2 sends the address of the cloud host 2 to the camera device 2, and simultaneously sends the identification information of the camera device 2 to the connection scheduling module of the cloud service of the cloud host 2, and records the redirection information of the camera device 2 in the database. After receiving the network address of the redirection connection, the camera device 2 initiates a connection request to the cloud host 2, so that the cloud host 2 and the camera device 2 can establish connection.
And S140, receiving an access request of a client to the camera equipment through the hybrid network cloud host.
When a client initiates an access request to camera equipment for the first time, the access request needs to be sent to a hybrid network cloud host. The access request may include client information, information of a camera device to be accessed, a service request, and the like. The hybrid network cloud host can query the redirected target single network cloud host of the camera device according to the camera device information in the request to be accessed.
As shown in fig. 2, when the client 2 initiates an access request, the access request is first sent to the cloud host 1, and the connection scheduling module in the cloud host 1 may query, according to the camera device information in the access request, that the redirected cloud host of the camera device 2 is the cloud host 2.
S150, feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
And the hybrid network cloud platform in the server cluster feeds back the network address of the target single network cloud host to the client. The client side can send an access request to the camera equipment to the target single network cloud host according to the network address of the target single network cloud host, and therefore the client side is connected with the camera equipment to complete processing of the access request of the client side.
With continued reference to fig. 2, after querying that the redirected cloud host of the camera device 2 is the cloud host 2, the cloud host 1 may return the address of the cloud host 2 to the client 2, send the account information of the client 2 to the cloud host 2, and record the redirection information of the account to the database. The client 2 can update the access address and initiate connection to the cloud host 2, so that the cloud host 2 can process the service request sent by the client.
In one possible embodiment, optionally, the method further includes:
determining transmission quantity parameter weight and aging parameter weight of a service request according to the received service request sent by a client;
if the transmission quantity parameter weight is larger than the aging parameter weight, performing service processing by adopting a target single network cloud host;
and if the transmission quantity parameter weight is less than the aging parameter weight, performing service processing by adopting a hybrid network cloud host.
The service request can comprise a transmission quantity parameter weight and an aging parameter weight, wherein the transmission quantity parameter weight can be used for evaluating the transmission quantity of the service request, and the aging parameter weight can be used for evaluating the aging requirement size of the service request.
The cloud platform can process the service by the single network cloud host according to the specific service request sent by the client, wherein the request is large in data transmission quantity and low in delay effect requirement. For example, when a client sends a service request for long-time live video or playback, the cloud platform may perform service processing by using a single network cloud host through connection scheduling. For requests with small data transmission quantity and high requirement on delay effect, the cloud platform can utilize the hybrid network cloud host to perform service processing.
In an actual video monitoring scene, a service request strategy can be preset at a client side, classification can be carried out according to specific service requests, weight can be distributed to each service request according to timeliness requirements and data transmission quantity requirements, transmission quantity parameter weight and timeliness parameter weight can have the same numerical range, comparison and calculation are convenient, a calculation system can be respectively provided, and preset rules are adopted for comparison when comparison is needed. And when the weight of the time efficiency parameter is larger, the service request is connected with the hybrid network cloud host, and when the weight of the transmission quantity parameter is larger, the request is connected with the single network cloud host. When the weights of the two are the same, a single network cloud host can be preferentially adopted from the perspective of cost optimization; from the time efficiency, a hybrid network cloud host may be preferentially employed.
The transmission quantity parameter weight and the aging parameter weight can be fixed in the client, can also be synchronously issued to the client through the cloud service, and even can be flexibly set in a certain range by the client.
According to the scheme, different business processes can be performed according to specific business requests, the use cost of the cloud platform is saved to the greatest extent, and diversified requirements of customers are met.
According to the technical scheme provided by the embodiment of the application, a connection request after camera equipment is powered on is received through a hybrid network cloud host; then determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment; sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment initiates a connection request to the target single network cloud host to be connected with the camera equipment; then, receiving an access request of a client to the camera equipment through the hybrid network cloud host; and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request. According to the scheme, the distribution and adjustment of the access network of the camera equipment and the client can be carried out based on the cloud host cluster formed by different network modes, so that the use cost of the cloud platform system is reduced while the data transmission performance is improved, and diversified customer requirements are met.
Example two
Fig. 3 is a flowchart of data interaction line control of a cloud platform according to a second embodiment of the present invention, which is optimized based on the second embodiment.
As shown in fig. 3, the method of this embodiment specifically includes the following steps:
and S210, receiving a connection request after the camera equipment is powered on through the hybrid network cloud host.
S220, determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment.
S230, sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host; and sending the equipment information of the camera equipment to the target single network cloud host for the target single network cloud host to perform identity verification on the received connection request, and connecting the target single network cloud host with the camera equipment after the verification is passed.
The connection request may include an originating device number, a request target, a request task, a request time, and the like. The device information of the camera device may include a device number, a device model, a location, a connection status, a belonging area, and the like.
After the adaptive target single network cloud host is determined for the camera equipment, the hybrid network cloud platform in the server cluster sends the network address of the target single network cloud host to the camera equipment, and the camera equipment can initiate a connection request to the target single network cloud host. Meanwhile, the hybrid network cloud platform in the server cluster sends the equipment information of the camera equipment to the target single network cloud host, the target single network cloud host can perform identity verification on the received connection request, and if the verification is passed, the target single network cloud host is connected with the camera equipment.
For example, the connection scheduling module of the cloud service in the Yun Pingtai cloud host 1 in fig. 2 sends the address of the cloud host 2 to the camera device 2, and simultaneously sends the identification information of the camera device 2 to the connection scheduling module of the cloud service of the cloud host 2, and records the redirection information of the camera device 2 in the database. After receiving the network address of the redirection connection, the camera device 2 initiates a connection request to the cloud host 2. After the connection scheduling module in the cloud service of the cloud host 2 verifies the connection request of the camera device 2, the connection request is transferred to the service response module of the cloud service, and connection is established with the camera device 2.
In the scheme, the target single network cloud host needs to check the equipment information of the camera equipment to establish connection, so that the safety of the cloud platform is protected, the working stability of the cloud platform is ensured, and the connection disorder is avoided.
And S240, receiving an access request of a client to the camera equipment through the hybrid network cloud host.
S250, feeding back a network address of a target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host to connect the client with the camera equipment; and sending the account information of the client to the target single network cloud host for the target single network cloud host to perform account verification on the received access request, and connecting the client with the camera equipment after the verification is passed so as to process the access request.
The access request may include a requesting device number, an access target, an access reason, an access time, and the like. The account information of the client may include an account ID, access time, common access, historical access records, and the like.
And the hybrid network cloud platform in the server cluster feeds back the network address of the target single network cloud host to the client. The client side can send an access request for the camera equipment to the target single network cloud host according to the network address of the target single network cloud host. Meanwhile, the hybrid network cloud platform sends the account information of the client to the target single network cloud host, the target single network cloud host can perform account verification on the received access request, and the client is connected with the camera equipment after the verification is passed.
As shown in fig. 2, after querying that the redirected cloud host of the camera device 2 is the cloud host 2, the cloud host 1 may return the address of the cloud host 2 to the client 2, send the account information of the client 2 to the cloud host 2, and record the redirection information of the account to the database. The client 2 may update the access address and initiate a connection to the cloud host 2. After checking the account information, the connection scheduling module of the cloud service in the cloud host 2 transfers the access request to the service response module, and then processes the service request sent by the client.
In the scheme, the connection can be established only by checking the account information of the client by the target single network cloud host, so that the safety of the client is protected, the reliability of connection establishment is ensured, and the disorder of connection is avoided.
In this embodiment, optionally, the method further includes:
if the target single network cloud host identifies a first network mode switching event, sending network addresses of hybrid network cloud hosts to the camera equipment and the client, so that the camera equipment and the client can respectively initiate connection requests to the hybrid network cloud hosts;
and the hybrid network cloud host establishes network connection with the camera equipment and the client according to the connection request.
The first network mode switching event may be a situation that the target single network cloud host determines that the network connection of the camera device needs to be switched to the hybrid network. When the first network mode switching event occurs, the target single network cloud host may recognize the event, for example, a network failure may be discovered by a network diagnostic module of the cloud service.
In this scheme, optionally, the first network mode switching event includes that the target single network cloud host detects that the network delay and/or the network interruption frequency reach a set threshold.
The set threshold value reached by the network delay may be a fixed network delay duration, or may be a network delay duration dynamically set according to specific conditions. The embodiment can evaluate the network condition through the network delay condition and/or the network interruption times, and provides an accurate evaluation standard for the target single network cloud host.
In actual use, a single network cloud host can meet normal use in most periods, but when the single network cloud host encounters some problems, the problems exposed by the characteristics of the single network cloud host cannot be immediately solved. For example, when the network node of the operator has a large delay or fails, the network can be repaired only by the operator. When the real-time performance of the client to some service scenes is high, the client experience is poor because no alternative route exists.
In this case, the cloud platform may send the network address of the hybrid network cloud host to the camera device and the client, so that the camera device and the client respectively initiate connection requests to the hybrid network cloud host to implement connection scheduling, and the hybrid network cloud host processes the requests sent by the camera device and the client. The hybrid network cloud host can establish network connection with the camera device and the client according to the connection request.
On the basis of the foregoing embodiments, optionally, after sending network addresses of a hybrid network cloud host to the camera device and the client, so that the camera device and the client initiate connection requests to the hybrid network cloud host respectively, the method further includes:
and sending the identity information of the camera equipment and the client account information to the hybrid network cloud host through the target single network cloud host, so that the hybrid network cloud host can verify the identity information and the account information.
Still taking the content shown in fig. 2 as an example, when the network diagnosis module of the cloud service in the cloud host 2 determines that the network connection of the camera 2 needs to be switched to the BGP network, the following method may be adopted for scheduling: the network address of the cloud host 1 can be respectively sent to the camera 2 and the client 2 in the cloud host 2, and meanwhile, the account information of the client 2 can be sent to the cloud host 1; the client 2 and the camera 2 initiate connection to the cloud host 1 according to the network address sent by the cloud host 2; after receiving the request, the cloud host 1 collates the information sent from the cloud host 2. After the verification is passed, connection service is provided for the camera 2 and the client 2.
According to the scheme, when a single network cloud host network fails, dynamic scheduling of connection can be timely performed, timely request response is provided for the client, the anti-interference capability of the cloud platform is stronger, and the cloud platform has good stability.
In another possible embodiment, optionally, the method further includes:
if the hybrid network cloud host receives a second network mode switching event sent by a client, determining a network address of a target single network cloud host connected with the camera equipment;
sending a connection switching instruction to the target single network cloud host to provide a network address of the hybrid network cloud host to the camera device through the target single network cloud host; the camera equipment is connected to the hybrid network cloud host through the network address of the hybrid network cloud host; and sending a connection switching instruction to the client through the target single network cloud host so that the client can be connected to the hybrid network cloud host.
The second network mode switching event may be a case where the client determines that it is necessary to switch the network connection of the camera device to the hybrid network. The client can detect the network condition and can actively trigger the network switching request.
In this scheme, optionally, the second network mode switching event includes that the client detects that the network delay and/or the number of network interruptions reaches a set threshold.
The set threshold value reached by the network delay may be a fixed network delay duration, or may be a network delay duration dynamically set according to specific conditions. The embodiment can evaluate the network condition through the network delay condition and/or the network interruption times, and provides accurate evaluation criteria for the client.
After receiving a second network mode switching event sent by the client, the hybrid network cloud host can determine a network address of a target single network cloud host connected with the camera device. As can be appreciated, the hybrid network cloud host may send a connection switch instruction to the target single network cloud host to provide the network address of the hybrid network cloud host to the camera device through the target single network cloud host. The camera device can be connected to the hybrid network cloud host through the network address of the hybrid network cloud host, and simultaneously sends a connection switching instruction to the client through the target single network cloud host. So that the client can connect to the hybrid network cloud host.
Continuing with the content shown in fig. 2 as an example, assuming that the network switching request is triggered when the client 2 accesses the camera 2, the following method may be specifically adopted for scheduling: the client 2 is connected with the address of the cloud host 1 and requests to establish connection through the cloud service of the cloud host 1; after receiving the information, the cloud service of the cloud host 1 queries according to the account information sent by the client 2 to find a corresponding network address of the target single network cloud host; the connection scheduling module of the cloud service of the cloud host 1 sends a message to the cloud service scheduling module of the cloud host 2, and redirects the connection of the corresponding camera equipment to the cloud service of the cloud host 1; after receiving the message, the cloud host 2 sends the address of the cloud host 1 to the camera 2; the camera 2 initiates connection to the cloud host 1, and the cloud host 1 establishes service; the cloud host 1 updates the connection server information of the device information and the account information.
According to the scheme, when a network fails or the current network does not meet customer requirements, dynamic scheduling of connection can be performed in time, timely request response is provided for a client, diversified requirements of customers are met, and customer satisfaction is improved.
According to the technical scheme provided by the embodiment of the application, a connection request after camera equipment is powered on is received through a hybrid network cloud host; then determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment; sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment initiates a connection request to the target single network cloud host to be connected with the camera equipment; then, receiving an access request of a client to the camera equipment through the hybrid network cloud host; and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request. According to the scheme, the data transmission performance can be improved, the use cost of the cloud platform system is reduced, and diversified customer requirements are met.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a data interaction line control device of a cloud platform according to a fourth embodiment of the present invention, where the device is capable of executing a data interaction line control method of a cloud platform according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. The device is configured on a cloud platform, a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, and the device comprises:
a connection request receiving module 310, configured to receive, by the hybrid network cloud host, a connection request after the camera device is powered on;
the network cloud host determination module 320 is configured to determine a target single network cloud host adapted to the camera device according to the access network operator information of the camera device;
a network address sending module 330, configured to send the network address of the target single network cloud host to the camera device, so that the camera device initiates a connection request to the target single network cloud host to connect to the camera device;
an access request receiving module 340, configured to receive, through the hybrid network cloud host, an access request from a client to a camera device;
a network address feedback module 350, configured to feed back a network address of the target single network cloud host connected to the camera device to the client, so that the client sends an access request for the camera device to the target single network cloud host, so as to connect the client with the camera device, and process the access request.
In this embodiment, optionally, the network address sending module 330 is specifically configured to:
sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host; sending the equipment information of the camera equipment to the target single network cloud host, so that the target single network cloud host can perform identity verification on the received connection request and is connected with the camera equipment after the verification is passed;
accordingly, in a possible embodiment, optionally, the network address feedback module 350 is specifically configured to:
feeding back a network address of a target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host to connect the client with the camera equipment; and sending the account information of the client to the target single network cloud host for the target single network cloud host to perform account verification on the received access request, and connecting the client with the camera equipment after the verification is passed so as to process the access request.
In this embodiment, optionally, the network cloud host determining module 320 is further configured to:
if the target single network cloud host identifies a first network mode switching event, sending network addresses of hybrid network cloud hosts to the camera equipment and the client, so that the camera equipment and the client can respectively initiate connection requests to the hybrid network cloud hosts;
and the hybrid network cloud host establishes network connection with the camera equipment and the client according to the connection request.
In another possible embodiment, the network cloud host determination module 320 is further configured to:
and sending the identity information of the camera equipment and the client account information to the hybrid network cloud host through the target single network cloud host, so that the hybrid network cloud host can verify the identity information and the account information.
In this embodiment, optionally, the network cloud host determining module 320 is further configured to:
if the hybrid network cloud host receives a second network mode switching event sent by a client, determining a network address of a target single network cloud host connected with the camera equipment;
sending a connection switching instruction to the target single network cloud host to provide a network address of the hybrid network cloud host to the camera device through the target single network cloud host; the camera equipment is connected to the hybrid network cloud host through the network address of the hybrid network cloud host; and sending a connection switching instruction to the client through the target single network cloud host so that the client can be connected to the hybrid network cloud host.
In this embodiment of the present invention, optionally, the first network mode switching event includes that the target single network cloud host detects that the network delay and/or the number of network interruptions reaches a set threshold;
and the second network mode switching event comprises the fact that the network delay and/or the network interruption frequency reach a set threshold value through the client.
In a preferred embodiment, optionally, the access request receiving module 340 is further configured to:
determining transmission quantity parameter weight and aging parameter weight of a service request according to the received service request sent by a client;
if the transmission quantity parameter weight is larger than the aging parameter weight, performing service processing by adopting a target single network cloud host;
and if the transmission quantity parameter weight is less than the aging parameter weight, performing service processing by adopting a hybrid network cloud host.
The product can execute the data interaction line control method of the cloud platform provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for controlling a data interaction line of a cloud platform according to any embodiment of the present invention, where the method is executed by the cloud platform, a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, and the method includes:
receiving a connection request after camera equipment is powered on through the hybrid network cloud host;
determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment;
sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment initiates a connection request to the target single network cloud host to connect with the camera equipment;
receiving an access request of a client to the camera equipment through the hybrid network cloud host;
and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
EXAMPLE five
The fifth embodiment of the application provides electronic equipment. Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 5, the present embodiment provides an electronic device 500, which includes: one or more processors 520; the storage device 510 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 520, the one or more processors 520 implement the method for controlling the data interaction line of the cloud platform provided in an embodiment of the present application, where the method is executed by the cloud platform, and a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, where the method includes:
receiving a connection request after camera equipment is powered on through the hybrid network cloud host;
determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment;
sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host to be connected with the camera equipment;
receiving an access request of a client to the camera equipment through the hybrid network cloud host;
and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
Of course, those skilled in the art can understand that the processor 520 also implements the technical solution of the data interaction line control method of the cloud platform provided in any embodiment of the present application.
The electronic device 500 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the electronic device 500 includes a processor 520, a storage 510, an input 530, and an output 540; the number of the processors 520 in the electronic device may be one or more, and one processor 520 is taken as an example in fig. 5; the processor 520, the storage 510, the input device 530, and the output device 540 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 550 in fig. 5.
The storage device 510 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the data interaction line control method of the cloud platform in this embodiment.
The storage device 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 510 may further include memory located remotely from processor 520, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 540 may include a display screen, speakers, etc. of electronic equipment.
According to the electronic equipment provided by the embodiment of the application, the cloud host information packet connection of a single network, the dynamic scheduling switching connection and the classification of the service request are realized, the data transmission performance is improved, the use cost of a cloud platform system is reduced, and diversified customer requirements are met.
The data interaction line control device, the medium and the electronic device of the cloud platform provided in the above embodiments may execute the data interaction line control method of the cloud platform provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For details of the technology not described in detail in the above embodiments, reference may be made to a data interaction line control method of a cloud platform provided in any embodiment of the present application.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A data interaction line control method of a cloud platform is characterized in that the method is executed by the cloud platform, a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, and the method comprises the following steps:
receiving a connection request after camera equipment is powered on through the hybrid network cloud host;
determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment;
sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment initiates a connection request to the target single network cloud host to connect with the camera equipment;
receiving an access request of a client to the camera equipment through the hybrid network cloud host;
and feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
2. The method of claim 1, wherein sending the network address of the target single network cloud host to the camera device for the camera device to initiate a connection request to the target single network cloud host to connect with the camera device comprises:
sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host; sending the equipment information of the camera equipment to the target single network cloud host, so that the target single network cloud host can perform identity verification on the received connection request, and is connected with the camera equipment after the verification is passed;
correspondingly, feeding back the network address of the target single network cloud host connected to the camera device to the client, so that the client sends an access request for the camera device to the target single network cloud host, connects the client with the camera device, and processes the access request, including:
feeding back a network address of a target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host to connect the client with the camera equipment; and sending the account information of the client to the target single network cloud host for the target single network cloud host to perform account verification on the received access request, and connecting the client with the camera equipment after the verification is passed so as to process the access request.
3. The method of claim 1, further comprising:
if the target single network cloud host identifies a first network mode switching event, sending network addresses of hybrid network cloud hosts to the camera equipment and the client, so that the camera equipment and the client can respectively initiate connection requests to the hybrid network cloud hosts;
and the hybrid network cloud host establishes network connection with the camera equipment and the client according to the connection request.
4. The method of claim 3, wherein after sending the network addresses of the hybrid network cloud hosts to the camera device and the client for the camera device and the client to respectively initiate connection requests to the hybrid network cloud hosts, the method further comprises:
and sending the identity information of the camera equipment and the client account information to the hybrid network cloud host through the target single network cloud host, so that the hybrid network cloud host can verify the identity information and the account information.
5. The method of claim 1, further comprising:
if the hybrid network cloud host receives a second network mode switching event sent by a client, determining a network address of a target single network cloud host connected with the camera equipment;
sending a connection switching instruction to the target single network cloud host to provide a network address of the hybrid network cloud host to the camera device through the target single network cloud host; the camera equipment is connected to the hybrid network cloud host through the network address of the hybrid network cloud host; and sending a connection switching instruction to the client through the target single network cloud host so that the client can be connected to the hybrid network cloud host.
6. The method according to claim 3 or 5, characterized in that:
the first network mode switching event comprises that the target single network cloud host detects that the network delay and/or the network interruption times reach a set threshold value;
and the second network mode switching event comprises the fact that the network delay and/or the network interruption frequency reach a set threshold value through the client.
7. The method of claim 1, further comprising:
determining the transmission quantity parameter weight and the aging parameter weight of a service request according to the received service request sent by a client;
if the transmission quantity parameter weight is larger than the aging parameter weight, performing service processing by adopting a target single network cloud host;
and if the transmission quantity parameter weight is less than the aging parameter weight, performing service processing by adopting a hybrid network cloud host.
8. A data interaction line control device of a cloud platform is configured on the cloud platform, a server cluster of the cloud platform is divided into a hybrid network cloud host and at least one single network cloud host in a network mode, and the device comprises:
the connection request receiving module is used for receiving a connection request after the camera equipment is powered on through the hybrid network cloud host;
the network cloud host determining module is used for determining a target single network cloud host matched with the camera equipment according to the access network operator information of the camera equipment;
the network address sending module is used for sending the network address of the target single network cloud host to the camera equipment, so that the camera equipment can initiate a connection request to the target single network cloud host to be connected with the camera equipment;
the access request receiving module is used for receiving an access request of a client to the camera equipment through the hybrid network cloud host;
and the network address feedback module is used for feeding back the network address of the target single network cloud host connected with the camera equipment to the client, so that the client sends an access request for the camera equipment to the target single network cloud host, and the client is connected with the camera equipment to process the access request.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a data interaction line control method for a cloud platform according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the data interaction line control method of the cloud platform according to any one of claims 1 to 7 when executing the computer program.
CN202110857953.XA 2021-07-28 2021-07-28 Data interaction line control method, device, medium and equipment of cloud platform Pending CN115695420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110857953.XA CN115695420A (en) 2021-07-28 2021-07-28 Data interaction line control method, device, medium and equipment of cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110857953.XA CN115695420A (en) 2021-07-28 2021-07-28 Data interaction line control method, device, medium and equipment of cloud platform

Publications (1)

Publication Number Publication Date
CN115695420A true CN115695420A (en) 2023-02-03

Family

ID=85059177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110857953.XA Pending CN115695420A (en) 2021-07-28 2021-07-28 Data interaction line control method, device, medium and equipment of cloud platform

Country Status (1)

Country Link
CN (1) CN115695420A (en)

Similar Documents

Publication Publication Date Title
CN110493352B (en) Unified gateway service system based on WEB middleware and service method thereof
CN110855633B (en) DDOS attack protection method, device, system, communication equipment and storage medium
CN106993043B (en) Data communication system and method based on agency
US20230412456A1 (en) Data communication method and apparatus, electronic device, and storage medium
RU2011110346A (en) MEDIA RESOURCE SYSTEM AND METHOD OF PROVIDING MEDIA RESOURCES
CN111970362B (en) LVS-based vehicle networking gateway clustering method and system
CN103312593B (en) A kind of message distributing system and method
JP2016511451A (en) System and method for opening network functions and associated network elements
US20190349436A1 (en) Methods, apparatus and systems for resuming transmission link
CN111769997A (en) Method, server, device and computer readable medium for network monitoring
CN113132293B (en) Attack detection method and device and public honeypot system
US11303506B2 (en) Method, remote device and computer-readable medium for reselecting principal core device
CN116414521A (en) Virtual machine remote command interaction method, device and medium for distributed heterogeneous shooting ranges
CN110661673B (en) Heartbeat detection method and device
CN113301079A (en) Data acquisition method, system, computing device and storage medium
CN102571383B (en) Access control method and system
EP2385726B1 (en) Apparatus and method for controlling amount of concurrent calls
CN107770203B (en) Service request forwarding method, device and system
CN109688011B (en) Agent selection method and device based on OpenStack
CN110011850B (en) Management method and device for services in cloud computing system
JPH10320362A (en) Method for transmitting communication in network including communication service and network for using the same
CN115695420A (en) Data interaction line control method, device, medium and equipment of cloud platform
WO2018086575A1 (en) Method and device for controlling media resource
EP3435615B1 (en) Network service implementation method, service controller, and communication system
CN113535402A (en) Load balancing processing method and device based on 5G MEC and electronic equipment

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