CN114629947B - Method for accessing equipment to platform and related equipment - Google Patents

Method for accessing equipment to platform and related equipment Download PDF

Info

Publication number
CN114629947B
CN114629947B CN202210092995.3A CN202210092995A CN114629947B CN 114629947 B CN114629947 B CN 114629947B CN 202210092995 A CN202210092995 A CN 202210092995A CN 114629947 B CN114629947 B CN 114629947B
Authority
CN
China
Prior art keywords
accessed
equipment
node
access node
access
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
CN202210092995.3A
Other languages
Chinese (zh)
Other versions
CN114629947A (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 Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202210092995.3A priority Critical patent/CN114629947B/en
Publication of CN114629947A publication Critical patent/CN114629947A/en
Application granted granted Critical
Publication of CN114629947B publication Critical patent/CN114629947B/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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method for accessing equipment to a platform, electronic equipment, a video monitoring cloud platform and a computer readable storage medium. The method comprises the following steps: acquiring equipment information of equipment to be accessed, wherein the equipment information comprises equipment types; determining an access node group of equipment to be accessed in a platform according to the equipment type; the platform comprises at least two access node groups, wherein the access node groups comprise at least one access node; the access node group is for at least one device class; the device class used by each access node group is at least partially different; the device to be accessed is allocated to the node to be accessed in the determined access node group so as to be connected to the platform. By the mode, the capability of the platform for accessing the equipment can be fully utilized.

Description

Method for accessing equipment to platform and related equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method for accessing a device to a platform, an electronic device, a video monitoring cloud platform, and a computer readable storage medium.
Background
In the field of intelligent security, it is necessary to monitor the scene through video streaming. Namely, internet of things (IoT) devices are deployed on site to obtain video streams of the site through the internet of things devices, and the video streams are analyzed to determine conditions of the site, so that monitoring of the site is achieved. The monitoring of the scene through the video stream is based on a video monitoring cloud platform. The video monitoring cloud platform comprises a plurality of server nodes, and the server nodes can be divided into access node clusters, storage node clusters, analysis node clusters, sharing node clusters and the like according to functions. The access node cluster is used for accessing the Internet of things equipment, the storage node cluster is used for storing the video stream, the analysis node cluster is used for analyzing the video stream, and the sharing node cluster is used for forwarding the shared video stream.
However, in the existing scheme, the stability of the access node cluster is poor, and the equipment access capability of the video monitoring cloud platform cannot be fully utilized.
Disclosure of Invention
The application provides a method for accessing a platform by equipment, electronic equipment, a video monitoring cloud platform and a computer readable storage medium, which can solve the problem that the equipment access capability of the video monitoring cloud platform cannot be fully utilized.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: a method for accessing a device to a platform is provided. The method comprises the following steps: acquiring equipment information of equipment to be accessed, wherein the equipment information comprises equipment types; determining an access node group of equipment to be accessed in a platform according to the equipment type; the platform comprises at least two access node groups, wherein the access node groups comprise at least one access node; the access node group is for at least one device class; the device class used by each access node group is at least partially different; the device to be accessed is allocated to the node to be accessed in the determined access node group so as to be connected to the platform.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: providing an electronic device comprising a processor, a memory connected to the processor, wherein the memory stores program instructions; the processor is configured to execute the program instructions stored in the memory to implement the method described above.
In order to solve the technical problem, another technical scheme adopted by the application is as follows: there is provided a computer readable storage medium storing program instructions which, when executed, enable the above-described method to be carried out.
In order to solve the technical problem, a further technical scheme adopted by the application is as follows: providing a video monitoring cloud platform, wherein the video monitoring cloud platform comprises at least two access node groups and access management nodes, the access node groups comprise at least one access node, the access node groups are used for at least one equipment type, and the equipment types used by each access node group are at least partially different; the access management node is used for acquiring equipment information of equipment to be accessed, wherein the equipment information comprises equipment types; determining an access node group of equipment to be accessed in the video monitoring platform according to the equipment type; and allocating the equipment to be accessed to the nodes to be accessed in the determined access node group.
In this way, the present application divides the access node cluster of the platform into at least two access node groups, each access node group including at least one access node, each access node group being for at least one device class, the device classes for each access node group being at least partially different. Therefore, the same access node group only needs to integrate the access protocol of the corresponding equipment type and start the access protocol software module of the corresponding equipment type, even if the access protocol software module of one or more equipment types has problems, the influence range is limited to be applied to the access node group of the equipment type or the equipment types, and the access of the access node groups of other equipment types can not be influenced. Therefore, the stability of the access node cluster can be improved on the whole, and the equipment access capability of the platform/access node cluster is fully utilized.
Drawings
Fig. 1 is a schematic flow chart of an existing internet of things device accessing a video monitoring cloud platform;
FIG. 2 is a flow chart of an embodiment of a method for accessing a platform by a device of the present application;
FIG. 3 is a schematic diagram of the specific flow of S13 in FIG. 2;
FIG. 4 is a schematic diagram of a structure according to the method of the access platform of the device of the present application;
FIG. 5 is a flow chart of another embodiment of a method for accessing a platform by a device of the present application;
FIG. 6 is a flow chart of an embodiment of a method for accessing a platform by a device of the present application;
FIG. 7 is a flow chart of yet another embodiment of a method for accessing a platform by a device of the present application;
FIG. 8 is a flow chart of another embodiment of a method for accessing a platform by a device of the present application;
FIG. 9 is a schematic diagram of an embodiment of an electronic device of the present application;
FIG. 10 is a schematic diagram illustrating the construction of one embodiment of a computer-readable storage medium of the present application;
fig. 11 is a schematic structural diagram of an embodiment of a video surveillance cloud platform according to the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," "third," and the like in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", and "a third" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
The following describes the process of accessing the existing internet of things equipment into the video monitoring cloud platform in detail:
from the perspective of equipment types, the Internet of things equipment which is supported by the video monitoring platform to be accessed can be divided into audio and video acquisition equipment, bayonet camera equipment, RFID, MAC, a barrier gate, an alarm host and the like. From the perspective of equipment manufacturers/equipment models/equipment versions, the Internet of things equipment which is supported to be accessed by the video monitoring platform can be divided into Internet of things equipment of different equipment manufacturers/equipment models/equipment versions.
Referring to fig. 1 in combination, an access node cluster of a video surveillance cloud platform includes an access management node and a plurality of access nodes. When various kinds of to-be-accessed internet of things equipment (to-be-accessed equipment) have access requirements, the access management node distributes the to-be-accessed equipment to a proper access node so that the to-be-accessed equipment is connected to the video monitoring cloud platform through the access node.
However, long-term researches of the inventor of the application find that under the access flow, the stability of the access node cluster is poor, and the access capability of the access node cluster cannot be fully exerted. The specific reason is that:
the access protocols of different kinds of internet of things equipment are not standardized, namely, the access protocols of the internet of things equipment with different equipment types can be different, and the access protocols of the internet of things equipment with the same equipment type and different manufacturers/models/versions can be different. In order to support access of all kinds of internet of things devices, each access node in the access node cluster needs to integrate access protocols of different kinds of internet of things devices. Some of these access protocols are developed based on vendor-supplied documentation, and some are vendor-supplied SDK packages that are available for integration.
During the access procedure, each access node needs to start all the different access protocol software modules. If a problem occurs in the access protocol software module of an internet of things device of a certain device class or classes, for example, a program bug or a security bug exists, all access nodes of the access node cluster may not work normally because the access protocol or protocols are started. Therefore, the stability of the access node cluster is poor, and the access capability of the access node cluster cannot be fully exerted.
The method provided by the application is introduced as follows, wherein for simplifying the description, a video monitoring platform is simply called a platform, and an internet of things device is called a device:
fig. 2 is a flow chart of an embodiment of a method for accessing a platform by a device of the present application. It should be noted that, if there are substantially the same results, the embodiment is not limited to the flow sequence shown in fig. 2. As shown in fig. 2, the present embodiment may include:
s11: and acquiring equipment information of equipment to be accessed.
The device information includes a device class. The device class of the device to be accessed may be embodied by at least one of a device type, a device vendor, a device model, a device version. For example, embodied by the device type and device vendor, this step may include: and obtaining the equipment type and equipment manufacturer of the equipment to be accessed.
In other embodiments, the device information may also include login information, address, listening port, etc. of the device to be accessed.
S12: and determining an access node group of the equipment to be accessed in the platform according to the equipment type.
The platform comprises at least two access node groups, wherein the access node groups comprise at least one access node; the access node group is for at least one device class; the device class used by each access node group is at least partially different.
For example, the platform includes 2 access node groups, one for a primary device class, which has a large number of devices, and another for other device classes. For another example, the platform includes 2 access node groups, one for the a vendor and another for the other vendors, which have a high probability of experiencing problems with respect to the access protocol of the a vendor. For another example, the platform includes 4 access node groups, where the 4 access node groups are used for the audio and video device of the manufacturer, the audio and video device of the third party manufacturer, the bayonet camera device of the manufacturer, and other devices.
The number of access nodes of an access node group may be determined based on the number of devices of the device class for which the access node group is intended. For example, the access node group for the device class A, B, the number of access nodes of the access node group may be calculated as follows:
calculation result 1 = number of devices a + number of devices B + load of devices B;
or, the calculation result 1=the number of devices a×the equivalent load of devices a+the number of devices b×the equivalent load of devices B.
And rounding up the calculation result 1 to obtain the number of access nodes. For a relevant explanation of the load and equivalent load reference is made to the following examples.
S13: the device to be accessed is allocated to the node to be accessed in the determined access node group so as to be connected to the platform.
The node to be accessed may be determined based on the determined current load of each access node in the group of access nodes, e.g. access node group 1. The access management node maintains a current load table of the access nodes, and the current load of each access node can be determined from the current load table of the access nodes. The node to be accessed may be determined based on the access node current load table. An example of the access node current load table is shown in table 1 below:
TABLE 1
Access node ID Access node IP Current load Access node group
A 192.168.1.10 0.4451 Access node group 1_ID
B 192.168.1.11 0.4502 Access node group 1_ID
Access node group 2_id
As shown in table 1, the mapping relationship among the access node, the current load and the access node group to which the current load belongs is recorded in the current load table of the access node. From this, it can be determined that the current load of access node group 1 is 0.4451 and the current load of access node B is 0.4502.
The node to be accessed can be any one access node with the residual load larger than the load of the equipment to be accessed in the determined access node group, and the residual load is the difference between the maximum load and the current load. For example, the one with the smallest current load.
Referring to fig. 3 in combination, in case of assigning a device to be accessed to an access node of the smallest current load, S13 may include the following sub-steps:
s131: and calculating the sum of the load of the equipment to be accessed and the minimum current load.
The load of each kind of device is the same, and the load of the access node is equal to the number of devices accessed by the access node multiplied by the load of the devices. Thus, the current load of the access node is equal to the number of devices currently accessed by the access node multiplied by the load of the devices, and the maximum load of the access node is equal to the maximum number of devices accessed by the access node multiplied by the load of the devices, and the maximum number of devices accessed by each access node is the same.
In an embodiment, the sum of the load of the device to be accessed and the minimum current load may be calculated directly.
The load of different kinds of devices can be different due to different CPU, memory, network resource consumption and the like of the different kinds of devices. For example, the network resource consumption required by the access of the audio-video device is larger than that required by the RFID device, and the load of the audio-video device is larger than that of the RFID device. Therefore, if the sum of the load of the device to be accessed and the minimum current load is directly calculated in S131, load balancing of the access node may not be achieved, instability is brought to the access node, and the access node in the access node group may not be fully utilized.
For this purpose, in another embodiment, the equivalent load of the device to be accessed with respect to the node to be accessed may be obtained, and the sum of the equivalent load and the minimum current load is calculated.
The equivalent load is the maximum load of the node to be accessed divided by the maximum load number of the equipment to be accessed in the access node. The maximum load number of the to-be-accessed devices in the to-be-accessed node refers to the maximum number of the to-be-accessed devices which can be accessed when the to-be-accessed node is only used for accessing the to-be-accessed devices.
Alternatively, the equivalent load is the maximum load of the access node cluster divided by the maximum load number of devices to be accessed in the access node cluster. The maximum load number of the equipment to be accessed in the access node cluster refers to the maximum number of the equipment to be accessed which can be accessed when the access node cluster is only used for accessing the equipment to be accessed.
The equivalent load may be obtained from a device equivalent load table maintained by the access management node based on the device class. Examples of device equivalent load tables are shown in Table 2 below:
TABLE 2
Equipment manufacturer Device type Equivalent load Access node group
A Audio-video equipment 0.002 Access node group 1_ID
A Bayonet camera 0.001 Access node group 2_id
A RFID 0.0001 Access node group 3_id
As shown in table 2, the device equivalent load table records the corresponding relationship between the device type (device manufacturer, device type), the equivalent load and the access node group to which the device belongs. From this, it can be determined that the equivalent load of the audio and video device from vendor a is 0.002, the equivalent load of the bayonet camera from vendor B is 0.001, and the equivalent load of the RFID from vendor a is 0.0001, ….
As an example, a comparison of the sum based on the load calculation and the sum based on the equivalent load calculation is described as follows:
the access node group comprises access nodes 1-3, the maximum load of each access node is 1, and the load of each type of equipment is 0.11. The access node 1 has currently accessed 7 devices with a current load of 0.7. The access node 2 has currently accessed 6 devices with a current load of 0.6. The access node 3 has currently accessed 5 devices with a current load of 0.5. The node to be accessed is the access node 3, and the minimum current load is 0.5.
Thus, under the condition of calculating the sum of the loads of the equipment to be accessed, the sum of the loads of the equipment to be accessed and the minimum current load is calculated to be 0.5+0.1=0.6. Under the condition of calculating the sum of the equivalent loads of the equipment to be accessed, the maximum number of the equipment to be accessed which can be accessed by the access node is 5, and the equivalent load of the equipment to be accessed relative to the access node obtained from the equivalent load table is equal to 1/5=0.2; the sum of the calculated equivalent load and the minimum current load is 0.5+0.2=0.7.
S132: and judging whether the maximum load of the access node is smaller than the minimum current load.
If yes, executing S133; if not, S134 is performed.
S133: and distributing the equipment to be accessed to the access node with the minimum current load.
S134: not allocated.
In addition, after the equipment to be accessed is successfully connected to the platform, the current load of the node to be accessed can be updated, so that the subsequent access of new equipment to be accessed is facilitated. If the sum is calculated based on the load of the device to be accessed in S131, the current load of the node to be accessed is updated to be the sum of the current load of the node to be accessed and the load of the device to be accessed. If S131 is based on the sum of the equivalent loads of the devices to be accessed, the current load of the nodes to be accessed is updated to be the sum of the current load of the nodes to be accessed and the equivalent load of the devices to be accessed.
S11 to S13 will be described below in an example with reference to fig. 4:
as shown in FIG. 4, the platform comprises access node groups 1-4, and the access node groups 1-4 are respectively applied to audio and video equipment, third party audio and video equipment, bayonet cameras and other equipment of the manufacturer.
And when the equipment to be accessed has an access requirement, acquiring the equipment type of the equipment to be accessed, and determining an access node group of the equipment to be accessed according to the equipment type. For example, the device type of the device to be accessed is a bayonet camera device, then a node to be accessed is determined from the access node group 3, and the device to be accessed is allocated to the node to be accessed.
Through implementation of this embodiment, the application divides the access node cluster of the platform into at least two access node groups, each access node group comprising at least one access node, each access node group being for at least one device class, the device classes for each access node group being at least partially different. Therefore, the same access node group only needs to integrate the access protocol of the corresponding equipment type and start the access protocol software module of the corresponding equipment type, even if the access protocol software module of one or more equipment types has problems, the influence range is limited to be applied to the access node group of the equipment type or the equipment types, and the access of the access node groups of other equipment types can not be influenced. Therefore, the stability of the access node cluster can be improved on the whole, and the equipment access capability of the platform/access node cluster is fully utilized. And the mode of dividing the access node cluster into at least two access node groups is flexible, and the applicability is wide.
Further, according to the access mode, the devices can be divided into an active access device and a passive access device, and the access modes of the active access device and the passive access device are different.
The passive access device opens a monitoring port, passive monitoring is performed, and the access node accesses the address of the passive access device and the port to initiate active connection, thereby completing access. The method can be concretely as follows:
fig. 5 is a flow chart of another embodiment of a method for accessing a platform by a device of the present application. It should be noted that, if there are substantially the same results, the embodiment is not limited to the flow sequence shown in fig. 5. In this embodiment, the device to be accessed is a passive access device. As shown in fig. 5, the present embodiment may include:
s21: device information is received from a user interface.
The related personnel can input the equipment information of the equipment to be used through a user interface (SaaS service platform interface). The device information may include a device type, login information, an address, and a port.
S22: and determining an access node group of the equipment to be accessed in the platform according to the equipment type.
S23: and transmitting the equipment information of the equipment to be accessed to the nodes to be accessed of the determined access node group so that the nodes to be accessed establish connection with the equipment to be accessed based on the equipment information.
After the node to be accessed receives the device information, the validity of the device to be accessed can be verified based on the device information. For example, the node to be accessed logs in the device to be accessed by using the login information to verify whether the login information, the address and the like are correct. If the verification is successful, the connection is established with the equipment to be accessed.
S21 to S23 will be described as a specific example with reference to fig. 6 as follows:
after a constructor installs a device to be accessed on site, informing a manager of device information (device type, device manufacturer, IP address, account number and password of the Internet of things device) of the device to be accessed, and further inputting the device information through a user interface by the manager, so that the following access flow can be triggered:
1) The access management node receives equipment information of equipment to be accessed, which is input by a manager in a user interface, and obtains an equivalent load (Ld) of the equipment to be accessed and an access node group based on equipment type and equipment manufacturer.
2) The access management node determines the access node of the smallest current load (denoted ln) from the group of access nodes as the node to be accessed.
3) What is the access management node determines that ld+ln is less than or equal to 1 is satisfied? If so, enter 4).
4) And sending the equipment information of the equipment to be accessed to the node to be accessed.
5) And the node to be accessed performs validity verification on the device to be accessed based on the device information.
6) If the verification is passed, the node to be accessed and the equipment to be accessed are connected.
The access mode of the active access device is that the active access device sends a fixed address to a platform: a PORT (hereinafter referred to as the address of the peripheral node of the platform) initiates an active connection request to access the platform. The method comprises the following steps:
fig. 7 is a flow chart of a further embodiment of a method for accessing a platform by a device of the present application. It should be noted that, if there are substantially the same results, the present embodiment is not limited to the flow sequence shown in fig. 7. In this embodiment, the device to be accessed is an active access device. As shown in fig. 7, the present embodiment may include:
s31: and receiving the equipment information sent by the peripheral node.
The device information is sent by the device to be accessed to the peripheral node.
The peripheral node may be one access node in a cluster of access nodes. After receiving the device information of the device to be accessed, the peripheral node performs validity verification on the device information, and if the verification is successful, the peripheral node forwards the device information to the access management node.
S32: and determining an access node group of the equipment to be accessed in the platform according to the equipment type.
S33: and sending the determined address of the node to be accessed in the access node group to the peripheral node, so that after the peripheral node sends the address of the node to be accessed to the equipment to be accessed, the equipment to be accessed establishes connection with the node to be accessed based on the address of the node to be accessed.
The device to be accessed initiates a connection request to the node to be accessed based on the address of the node to be accessed, and the node to be accessed responds to the connection request to establish connection with the device to be accessed.
S33 may be regarded as a procedure for redirecting the device to be accessed to the node to be accessed, which is premised on the device to be accessed supporting the redirection. If the device to be accessed does not support redirection, the peripheral node is taken as the node to be accessed, and the peripheral node completes access.
S31 to S33 will be described as a specific example with reference to fig. 8 as follows:
the device to be accessed is a home device, which is located in the local area network. After the access equipment is installed, the following access flow can be triggered:
1) The device to be accessed sends device information to the peripheral node.
2) And the peripheral node performs validity verification on the device information. Forwarding to the access management node.
3) If the verification is successful, the access management node determines the node to be accessed based on the equipment information, and sends the address of the node to be accessed to the peripheral node.
4) The peripheral node sends the address of the node to be accessed to the device to be accessed.
5) The device to be accessed initiates a connection request to the node to be accessed based on the address of the node to be accessed.
6) And the node to be accessed performs validity verification on the equipment information.
7) If the verification is passed, a connection is established with the node to be accessed in response to the connection request.
In addition, in any of the above embodiments, there may be many factors that may cause the device to be accessed to be unsuccessfully allocated to the access node, for example, the determined remaining load of the access node in the access node group is smaller than the load of the device to be accessed, the validity verification is not passed, the network quality is poor, and so on. If the allocation to the access node cannot be successfully performed, a prompt can be given to the equipment to be accessed, so that the equipment to be accessed can know the reason of the failure to be allocated, and the equipment to be accessed can also send an access request again according to the prompt.
Fig. 9 is a schematic structural diagram of an embodiment of the electronic device of the present application. As shown in fig. 9, the electronic device includes a processor 21, a memory 22 coupled to the processor 21.
Wherein the memory 22 stores program instructions for implementing the methods of any of the embodiments described above; the processor 21 is arranged to execute program instructions stored in the memory 22 for carrying out the steps of the method embodiments described above. The processor 21 may also be referred to as a CPU (Central Processing Unit ). The processor 21 may be an integrated circuit chip with signal processing capabilities. The processor 21 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The electronic device mentioned in this embodiment may be an access management node, or may be another device that establishes a connection with the access management node.
FIG. 10 is a schematic diagram of an embodiment of a computer-readable storage medium of the present application. As shown in fig. 10, a computer readable storage medium 30 of the embodiment of the present application stores a program instruction 31, which when executed, implements the method provided by the above-described embodiment of the present application. The program instructions 31 may form a program file stored in the computer readable storage medium 30 as a software product, so that a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) performs all or part of the steps of the methods according to the embodiments of the present application. And the aforementioned computer-readable storage medium 30 includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes, or a terminal device such as a computer, a server, a mobile phone, a tablet, or the like.
Fig. 11 is a schematic structural diagram of an embodiment of a video surveillance cloud platform according to the present application. As shown in fig. 11, the video surveillance cloud platform includes at least two access node groups 41 and an access management node 42.
The access node group 41 comprises at least one access node 411 for at least one device class, the device class used by each access node group 41 being at least partially different.
The access management node 42 is configured to obtain device information of a device (not shown) to be accessed, where the device information includes a device type; determining an access node group 41 of equipment to be accessed in the video monitoring platform according to the equipment type; the device to be accessed is assigned to a node to be accessed (not shown) in the determined set of access nodes 41.
For further details of this embodiment, please refer to the previous embodiments, which are not described here.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The foregoing is only the embodiments of the present application, and not the patent scope of the present application is limited by the foregoing description, but all equivalent structures or equivalent processes using the contents of the present application and the accompanying drawings, or directly or indirectly applied to other related technical fields, which are included in the patent protection scope of the present application.

Claims (11)

1. A method for a device to access a platform, the method comprising:
acquiring equipment information of equipment to be accessed, wherein the equipment information comprises equipment types;
determining an access node group of the equipment to be accessed in the platform according to the equipment type; the platform comprises at least two access node groups, wherein the access node groups comprise at least one access node; the access node group is for at least one device class; the device types used by each access node group are at least partially different, and each node group only integrates the access protocol of the device type used;
and distributing the equipment to be accessed to the nodes to be accessed in the determined access node group so as to be connected to the platform.
2. The method according to claim 1, wherein said assigning the device to be accessed to the node to be accessed in the determined set of access nodes comprises:
and distributing the equipment to be accessed to the access node with the minimum current load according to the determined current load of each access node in the access node group.
3. The method of claim 2, wherein the assigning the device to be accessed to the access node of the smallest current load comprises:
calculating the sum of the load of the equipment to be accessed and the minimum current load;
judging whether the sum is smaller than the maximum load of the access node with the minimum current load;
if yes, the equipment to be accessed is distributed to the access node with the minimum current load;
if not, the allocation is not performed.
4. A method according to claim 3, wherein said calculating the sum of the load of the device to be accessed and the minimum current load comprises:
obtaining the equivalent load of the equipment to be accessed relative to the node to be accessed, wherein the equivalent load is the maximum load of the node to be accessed divided by the maximum load quantity of the equipment to be accessed in the node to be accessed;
and calculating the sum of the equivalent load and the minimum current load.
5. The method of claim 1, wherein the obtaining device information of the device to be accessed comprises:
and acquiring the equipment type and equipment manufacturer of the equipment to be accessed.
6. The method according to claim 1, wherein the method further comprises:
and if the equipment to be accessed is successfully connected to the platform, updating the current load of the node to be accessed.
7. The method of claim 1, wherein the device to be accessed is a passive access device, and the obtaining device information of the device to be accessed comprises:
receiving the device information from a user interface;
the allocating the device to be accessed to the node to be accessed in the determined access node group comprises:
and sending the equipment information to the node to be accessed so that the node to be accessed establishes connection with the equipment to be accessed based on the equipment information.
8. The method of claim 1, wherein the device to be accessed is an active access device, and the obtaining device information of the device to be accessed comprises:
receiving the information sent by a peripheral node, wherein the equipment information is sent to the peripheral node by the equipment to be accessed;
the allocating the device to be accessed to the node to be accessed in the determined access node group comprises:
and sending the address of the node to be accessed to the peripheral node, so that the peripheral node sends the address of the node to be accessed to the equipment to be accessed, and the equipment to be accessed establishes connection with the node to be accessed based on the address of the node to be accessed.
9. An electronic device comprising a processor, a memory coupled to the processor, wherein,
the memory stores program instructions;
the processor is configured to execute the program instructions stored by the memory to implement the method of any one of claims 1-8.
10. A computer readable storage medium, characterized in that the storage medium stores program instructions which, when executed, implement the method of any of claims 1-8.
11. The video monitoring cloud platform is characterized by comprising at least two access node groups and an access management node, wherein the access node groups comprise at least one access node, the access node groups are used for at least one equipment type, the equipment types used by each access node group are at least partially different, and each access node group only integrates access protocols of the equipment types used by the access node group;
the access management node is used for acquiring equipment information of equipment to be accessed, wherein the equipment information comprises equipment types; determining an access node group of the equipment to be accessed in the video monitoring cloud platform according to the equipment type; and distributing the equipment to be accessed to the nodes to be accessed in the determined access node group.
CN202210092995.3A 2022-01-26 2022-01-26 Method for accessing equipment to platform and related equipment Active CN114629947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210092995.3A CN114629947B (en) 2022-01-26 2022-01-26 Method for accessing equipment to platform and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210092995.3A CN114629947B (en) 2022-01-26 2022-01-26 Method for accessing equipment to platform and related equipment

Publications (2)

Publication Number Publication Date
CN114629947A CN114629947A (en) 2022-06-14
CN114629947B true CN114629947B (en) 2024-04-12

Family

ID=81898116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210092995.3A Active CN114629947B (en) 2022-01-26 2022-01-26 Method for accessing equipment to platform and related equipment

Country Status (1)

Country Link
CN (1) CN114629947B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442257A (en) * 2013-08-15 2013-12-11 青岛海信传媒网络技术有限公司 Method, device and system for achieving flow resource management
CN105376309A (en) * 2015-10-30 2016-03-02 青岛海尔智能家电科技有限公司 Access gateway distribution method and device
WO2017028288A1 (en) * 2015-08-20 2017-02-23 华为技术有限公司 Wireless communications access method, communications device, wireless terminal and system
CN106790351A (en) * 2016-11-14 2017-05-31 中国联合网络通信集团有限公司 A kind of method and system of equipment control

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604356B (en) * 2015-10-15 2020-02-14 华为终端有限公司 Wireless communication access method, device, processor and wireless terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442257A (en) * 2013-08-15 2013-12-11 青岛海信传媒网络技术有限公司 Method, device and system for achieving flow resource management
WO2017028288A1 (en) * 2015-08-20 2017-02-23 华为技术有限公司 Wireless communications access method, communications device, wireless terminal and system
CN105376309A (en) * 2015-10-30 2016-03-02 青岛海尔智能家电科技有限公司 Access gateway distribution method and device
CN106790351A (en) * 2016-11-14 2017-05-31 中国联合网络通信集团有限公司 A kind of method and system of equipment control

Also Published As

Publication number Publication date
CN114629947A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
US11070433B2 (en) Network function NF management method and NF management device
US20070088825A1 (en) System and method of distributed license management
US20070165615A1 (en) Apparatus and method for notifying communication network event in application server capable of supporting open API based on Web services
CN111629371B (en) Screen projection method and system
US20240137269A1 (en) Method for instantiating edge application server and apparatus
WO2016127612A1 (en) Monitoring processing method and device
CN112965879A (en) Data processing method and device, electronic equipment and readable storage medium
CN110661673B (en) Heartbeat detection method and device
CN111212099A (en) Micro-service management method and device
CN113872951B (en) Hybrid cloud security policy issuing method and device, electronic equipment and storage medium
JP2001147907A (en) Network terminal equipment, network and task distributing method
CN111935195B (en) Distributed system management method, device, storage medium and distributed management system
CN114629947B (en) Method for accessing equipment to platform and related equipment
CN111416793A (en) Permission control method based on open platform and embedded equipment
CN115119286B (en) Method and device for accessing equipment to network
CN115052041B (en) Channel identifier allocation method, device, equipment and storage medium
CN109992298B (en) Examination and approval platform expansion method and device, examination and approval platform and readable storage medium
CN114338383B (en) Simplified configuration method and system for video equipment
CN111464523A (en) Network monitoring method, terminal device and computer readable storage medium
CN112148320A (en) Application program upgrading method, device, equipment and storage medium
CN110995756B (en) Method and device for calling service
CN111327666A (en) Service management method, device and system, computer equipment and storage medium
CN113746909A (en) Network connection method, device, electronic equipment and computer readable storage medium
CN112367415A (en) Generation method and device of attribute information, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant