A device discovery and access method based on gb28181
By automatically configuring device registration data through the server platform, the device access process under the GB28181 protocol is simplified, solving the problems of complex and time-consuming device registration in the existing technology, and realizing fast and easy-to-operate device access.
Patent Information
- Application Number
- CN202311711037.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-12-13
AI Technical Summary
The existing GB28181 protocol has a complex device registration process that requires the platform to confirm device information before configuration can be performed. It cannot verify unconfigured devices, making the access process time-consuming and cumbersome.
The device sends a registration request to the server platform, which compares the registration data and automatically completes the configuration or adds the device to the device list. The user only needs to enter the password to access the device.
It simplifies the device configuration process, avoids human error, improves device access efficiency, and makes it easier for users to discover unconfigured devices and complete the access process through the device discovery list.
Smart Images

Figure CN117857612B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of device discovery and access, specifically relating to a device discovery and access method based on GB28181. Background Technology
[0002] In recent years, an increasing number of companies have developed IoT platforms that support the GB28181 protocol. The GB28181 protocol refers to the national standard GB / T 28181—2016. It is a standard protocol for IP network video surveillance systems, designed to enable the transmission, storage, management, and control of video images over IP networks. The GB28181 protocol mainly includes four aspects: video image transmission standards, device access standards, platform access standards, and application interface standards.
[0003] The existing registration process has limitations. The platform needs to confirm the device information before it can be configured. If the device information is not configured, the platform cannot verify the device registration information or connect the device. At the same time, the existing registration process is complex and has many operation configuration items. The platform needs to configure a lot of device information, and all devices also need to fill in the same platform information. If the platform needs to connect a large number of devices at the same time, the configuration operation will consume a lot of time, and the platform will not be able to connect the devices in a timely manner. Summary of the Invention
[0004] The purpose of this invention is to address the problems raised in the background art by proposing a device discovery and access method based on GB28181.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] This invention proposes a device discovery and access method based on GB28181, comprising each device sending an initial registration request to a server platform, the server platform comparing the registration data information in the registration request with the data in the backup database to determine whether the device has been provided with registration data by the server platform and automatically completed the configuration:
[0007] When the backup database contains the registration data information of the corresponding device, it is determined that the corresponding device is registered by the server platform and automatically configured. The server platform adds the corresponding device to the device access list inside the server platform to complete the automatic access of the device.
[0008] If the corresponding device registration data is not found in the backup repository, it is determined that the corresponding device has not been provided with registration data by the server platform, and the server platform adds the device to the device discovery list within the server platform.
[0009] When a device in the device discovery list needs to complete the connection, the user first browses the devices in the device discovery list and enters the password of the device to be connected. The server platform stores the device password, and the device sends a registration request to the server platform again.
[0010] The server platform verifies the registration data information of newly sent registration requests. If the verification is successful, the device is added to the device access list to complete the device access.
[0011] Preferably, the configuration of each device is provided with registration data by the server platform and automatically completed, specifically including:
[0012] Users obtain information about the server platform, as well as registration data information allocated by the server platform to each device;
[0013] Furthermore, the server platform backs up the device's registration data to a backup library;
[0014] Users import the obtained registration data into the corresponding device, which then extracts the registration data and automatically completes the configuration.
[0015] Preferably, the information of the server platform includes SIP server ID, SIP server domain, SIP server address, and SIP server port.
[0016] Preferably, the registration data information of each device includes the device IP, device SIP port, device SIP username, and device password.
[0017] Preferably, the server platform ensures that the SIP username of each device is unique, and the server platform encrypts the password of each device.
[0018] Preferably, when a user imports the acquired registration data information into the corresponding device, the corresponding device extracts the registration data information and decrypts the device password. Then, the device automatically completes the configuration based on the extracted registration data information and the decrypted data.
[0019] Preferably, when each device sends a registration request to the server platform for the first time, the server platform extracts the registration data information of each device, then compares the extracted registration data information with the data in the backup library to determine whether the device has been registered by the server platform and automatically completed the configuration. Furthermore, the device IP, device SIP port, and device SIP username from the registration data information of devices that are determined not to have been registered by the server platform are displayed in the device discovery list to facilitate users in discovering the device.
[0020] Preferably, when the backup database contains the registration data information of the corresponding device, the server platform first verifies the registration data information of the device, and then adds the device to the device access list after the verification is passed.
[0021] Preferably, when the server platform verifies the registration data information of a newly sent registration request, it verifies the device password in the registration data information, and adds the device to the device access list after successful verification.
[0022] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0023] 1. In this GB28181-based device discovery and access method, the device automatically configures itself using the registration data information obtained from the server platform, and the server platform directly accesses the automatically configured devices. The whole process is simple and fast, avoiding the trouble and error problems caused by manual filling in of device configuration.
[0024] 2. In this GB28181-based device discovery and access method, devices without registration data provided by the server platform are displayed in the device discovery list. This facilitates user discovery of the device and subsequent access procedures. Furthermore, no device configuration is required in this access process; the user simply discovers the device, enters its password, and the device sends a registration request to the server platform. Once the server platform successfully verifies the device password, it adds the device to the access list, thus completing the access process. This allows for device access without requiring confirmation of device information, making the entire process simple, easy to operate, and improving access efficiency. Attached Figure Description
[0025] Figure 1 This is a flowchart illustrating an embodiment of the device discovery and access method based on GB28181 of the present invention;
[0026] Figure 2 This is a schematic diagram illustrating the automatic configuration of the device according to the present invention. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] It should be noted that when a component is referred to as being "connected" to another component, it can be directly connected to the other component or there may be an intervening component. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to limit the application.
[0029] like Figure 1-2 As shown, a device discovery and access method based on GB28181 includes:
[0030] First, it should be noted that the server platform and each device follow the GB28181 protocol. In this patent, the devices automatically complete the configuration based on the registration data information, eliminating the need for users to manually input data to configure the devices. At the same time, the server platform displays devices that have not yet been configured in the discovery list, making it easier for users to discover devices and continue the access process for the corresponding devices.
[0031] The specific methods for device discovery and access based on GB28181 are as follows:
[0032] Step 1: Each device receives registration data from the server platform and completes the configuration automatically, preparing for subsequent access (but some devices do not receive registration data from the server platform and still need to be accessed).
[0033] Each device receives registration data from the server platform and automatically completes the configuration, including (e.g.) Figure 2 As shown):
[0034] Users obtain information about the server platform, as well as registration data information allocated by the server platform to each device;
[0035] Furthermore, the server platform backs up the device's registration data to a backup library;
[0036] Users import the obtained registration data into the corresponding device, which then extracts the registration data and automatically completes the configuration.
[0037] The server platform information includes the SIP server ID, SIP server domain, SIP server address, and SIP server port; the registration data for each device includes the device IP, device SIP port, device SIP username, and device password. The server platform ensures that each device's SIP username is unique and encrypts each device's password (using DES, AES, or RSA encryption technologies).
[0038] When a user imports the obtained registration data into the corresponding device, the device extracts the registration data and decrypts the device password. Then, the device automatically completes the configuration based on the extracted registration data and the decrypted data.
[0039] Step 2: Each device sends an initial registration request to the server platform (the server platform responds to this registration request with a success message by default). The server platform compares the registration data information in the registration request with the data in the backup database to determine whether the device has been registered with data provided by the server platform and has automatically completed the configuration.
[0040] When the backup database contains the registration data information of the corresponding device, it is determined that the corresponding device is registered by the server platform and automatically configured. The server platform adds the corresponding device to the device access list inside the server platform to complete the automatic access of the device (the server platform adding the device to the device access list is the device access completed).
[0041] If the corresponding device's registration data is not found in the backup repository, it is determined that the corresponding device has not been provided with registration data by the server platform, and the server platform adds the device to the device discovery list within the server platform.
[0042] Specifically, when each device sends a registration request to the server platform for the first time, the server platform extracts the registration data information of each device, then compares the extracted registration data information with the data in the backup library to determine whether the device has been registered and automatically configured by the server platform. The device IP, device SIP port, and device SIP username from the registration data information of devices that are determined not to have been registered by the server platform are displayed in the device discovery list to facilitate user discovery of the device (so that users can find the device when browsing the device discovery list, and know that the device has sent a registration request to the server platform once, thus enabling the device to access).
[0043] When the backup database contains the registration data for the corresponding device, the server platform first verifies the registration data for that device. Once the verification is successful, the device is added to the device access list.
[0044] The server platform allows users to access devices in the list normally, but prohibits users from discovering devices in the list by operating the device. The server platform also only allows responses to status information reports sent by devices.
[0045] Step 3: When a device in the device discovery list needs to complete the connection, the user first browses the devices in the device discovery list and enters the password of the device to be connected. The server platform stores the device password, and the device sends a registration request to the server platform again.
[0046] Step 4: The server platform verifies the registration data information of the newly sent registration request. If the verification is successful, the device is added to the device access list to complete the device access.
[0047] Specifically, this includes: when the server platform verifies the registration data information of a newly sent registration request, it verifies the device password in the registration data information. If the verification is successful, the device is added to the device access list (at this point, the access of the device is completed).
[0048] like Figure 1 As shown, device A receives registration data from the server platform and completes configuration automatically, while device B does not receive registration data from the server platform. The connection process between device A and device B is as follows:
[0049] For device A:
[0050] First, the process by which device A receives registration data from the server platform and automatically completes its configuration is as follows:
[0051] The user obtains information from the server platform, as well as registration data information assigned to device A by the server platform. At the same time, the server platform makes the device SIP username of device A unique and encrypts the device password of each device A.
[0052] At the same time, the server platform backs up the registration data of device A to the backup library;
[0053] The user imports the obtained registration data into device A. Device A extracts the registration data and decrypts the device password using the corresponding decryption technology. Based on the decrypted data, device IP, device SIP port, and device SIP username, device A completes its own configuration.
[0054] Upon access, device A first sends a registration request to the server platform. The server platform extracts the registration data information of device A and compares the extracted registration data information with the data in the backup library. If the server platform finds that the registration data information of device A exists in the backup library, it determines that device A is provided with registration data by the server platform and automatically completes the configuration.
[0055] Then, the server platform verifies the registration data of device A. Once the verification is successful, the server platform adds device A to the device access list within the server platform, thus enabling device A to connect automatically.
[0056] For device B:
[0057] Device B first sends a registration request to the server platform. The server platform extracts the registration data information of device B and compares the extracted registration data information with the data in the backup library. It finds that the registration data information of device B does not exist in the backup library, and determines that device B has not been provided with registration data by the server platform.
[0058] Then the server platform adds device B to the device discovery list inside the server platform, and displays the device IP, device SIP port and device SIP username from the registration data of device B in the device discovery list;
[0059] When a user browses the device discovery list, they discover that device B is the device they need to connect to. The user then enters the password for device B, and the server platform stores the password for device B.
[0060] Then, device B sends a registration request to the server platform again. The server platform verifies the device password in the new registration request sent by device B. If the verification is successful, device B is added to the device access list, thus completing the access of device B.
[0061] This GB28181-based device discovery and access method automatically configures devices using registration data obtained from the server platform. The server platform then directly adds automatically configured devices, making the entire process simple and fast, avoiding the hassle of manual device configuration. To address potential errors, devices without registration data provided by the server platform are displayed in the device discovery list, allowing users to easily discover them and proceed with the subsequent access process. This subsequent access process requires no device configuration; the user simply discovers the device, enters its password, and the device sends a registration request to the server platform. Once the server platform successfully verifies the device password, it adds the device to the access list, completing the access process. This allows for device access without requiring confirmation of device information, making the entire process simple, easy to operate, and improving access efficiency.
[0062] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0063] The embodiments described above are merely specific and detailed examples of the embodiments described in this application, and should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this patent application should be determined by the appended claims.
Claims
1. A device discovery and access method based on GB28181, characterized in that: The device discovery and access method based on GB28181 includes: Each device sends an initial registration request to the server platform. The server platform compares the registration data in the registration request with the data in the backup database to determine whether the device has been registered with data provided by the server platform and automatically completes the configuration. When the backup database contains the registration data information of the corresponding device, it is determined that the corresponding device is registered by the server platform and automatically configured. The server platform adds the corresponding device to the device access list inside the server platform to complete the automatic access of the device. If the corresponding device registration data is not found in the backup repository, it is determined that the corresponding device has not been provided with registration data by the server platform, and the server platform adds the device to the device discovery list within the server platform. When a device in the device discovery list needs to complete the connection, the user first browses the devices in the device discovery list and enters the password of the device to be connected. The server platform stores the device password, and the device sends a registration request to the server platform again. The server platform verifies the registration data information of newly sent registration requests. If the verification is successful, the device is added to the device access list to complete the device access.
2. The device discovery and access method based on GB28181 as described in claim 1, characterized in that: Each of the aforementioned devices receives registration data from the server platform and is automatically configured, specifically including: Users obtain information about the server platform, as well as registration data information allocated by the server platform to each device; Furthermore, the server platform backs up the device's registration data to a backup library; Users import the obtained registration data into the corresponding device, which then extracts the registration data and automatically completes the configuration.
3. The device discovery and access method based on GB28181 as described in claim 2, characterized in that: The information of the server platform includes the SIP server ID, SIP server domain, SIP server address, and SIP server port.
4. The device discovery and access method based on GB28181 as described in claim 1, characterized in that: The registration data information for each device includes the device IP, device SIP port, device SIP username, and device password.
5. The device discovery and access method based on GB28181 as described in claim 4, characterized in that: The server platform ensures that the SIP username of each device is unique, and the server platform encrypts the password of each device.
6. The device discovery and access method based on GB28181 as described in claim 2, characterized in that: When a user imports the obtained registration data into the corresponding device, the device extracts the registration data and decrypts the device password. Then, the device automatically completes the configuration based on the extracted registration data and the decrypted data.
7. The device discovery and access method based on GB28181 as described in claim 4, characterized in that: When each device sends a registration request to the server platform for the first time, the server platform extracts the registration data information of each device, and then compares the extracted registration data information with the data in the backup library to determine whether the device has been registered by the server platform and automatically completed the configuration. The device IP, device SIP port and device SIP username of the registration data information of the devices that are determined not to have been registered by the server platform are displayed in the device discovery list to facilitate users to discover the device.
8. The device discovery and access method based on GB28181 as described in claim 1, characterized in that: When the backup database contains the registration data for the corresponding device, the server platform first verifies the registration data for that device. Once the verification is successful, the device is added to the device access list.
9. The device discovery and access method based on GB28181 as described in claim 1, characterized in that: When the server platform verifies the registration data information of a newly sent registration request, it verifies the device password in the registration data information. If the verification is successful, the device is added to the device access list.
Citation Information
Patent Citations
Registration method for dynamic networking equipment
CN105635321A
Equipment connection method, system, equipment and computer readable storage medium
CN112929188A
