Cloud-based batch access method, device and equipment and storage medium

By acquiring the device network information of the end-side device in the cloud device and determining the transmission method based on the data volume of the data packet, the access lag and failure caused by data blocking in the prior art is solved, and more efficient access to the end-side device is achieved.

CN119906705AActive Publication Date: 2025-04-29深圳开鸿数字产业发展有限公司
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411990670.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-29
Estimated Expiration
2044-12-31

Smart Images

  • Figure CN119906705A_ABST
    Figure CN119906705A_ABST
Patent Text Reader

Abstract

The invention discloses a cloud-based batch access method and device, equipment and a storage medium, and the method comprises the steps: obtaining equipment network information corresponding to end-side equipment, and determining a data message to be sent to the end-side equipment based on the obtained equipment network information; and determining a sending mode of the data message according to the message data volume of the data message, and sending the data message to an end side device according to the sending mode. According to the method and the device, when the data messages accessed in batches are issued to the end side equipment, the sending mode is determined according to the message data volume of the data messages, so that the problem of data blockage caused by overlarge data volume of the data messages can be avoided, and the problem of access failure caused by data blockage can be further avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a cloud-based batch access method, device, equipment and storage medium. Background Art

[0002] With the rapid development of Internet of Things (IoT) technology, the number of devices connected to the Internet has increased dramatically, which has also made the connection of IoT a challenge, especially when the devices are large-scale and widely distributed. At present, cloud devices are used to connect devices to end-side devices to improve the access efficiency of end-side devices. However, when connecting devices to end-side devices through cloud devices, data blocking problems often occur, which in turn causes the end-side device to be stuck in access or even access failure.

[0003] Therefore the prior art still needs to be improved and enhanced. Summary of the invention

[0004] The technical problem to be solved by the present application is to provide a cloud-based batch access method, device, equipment and storage medium in view of the deficiencies of the existing technology.

[0005] In order to solve the above technical problems, the first aspect of the present application provides a cloud-based batch access method, wherein the cloud-based batch access method specifically includes:

[0006] Acquire device network information corresponding to the end-side device, and determine the data message to be sent to the end-side device based on the acquired device network information;

[0007] A sending mode of the data message is determined according to the message data volume of the data message, and the data message is sent to the terminal side device according to the sending mode.

[0008] The cloud-based batch access method, wherein determining the sending mode of the data message according to the message data volume of the data message, and sending the data message to the terminal side device according to the sending mode specifically includes:

[0009] Comparing the message data volume of the data message with a preset threshold;

[0010] If the data volume of the message is less than or equal to the preset threshold, sending the data message to the terminal side device;

[0011] If the data volume of the message is greater than the preset threshold, the data message is divided into a plurality of data message segments based on the preset threshold, and each of the plurality of data message segments is sent to each end-side device respectively.

[0012] The cloud-based batch access method, wherein the dividing the data message into a plurality of data message segments based on the preset threshold specifically includes:

[0013] The data message is evenly divided into a number of data message segments based on the preset threshold, wherein each of the number of data message segments includes at least one physical model information of an access device.

[0014] The cloud-based batch access method, wherein, after sending each of the plurality of data message segments to each terminal device, the method further comprises:

[0015] The receiving end side device verifies the corresponding data message segment based on the feedback information of each data message segment;

[0016] If all data message segments pass the verification, it is determined that the data message has been sent;

[0017] If there is a data message segment that fails the verification, it is determined that the data message sending is abnormal, and the abnormal data message segment is marked.

[0018] The cloud-based batch access method, wherein the data message includes device network information, the device network information includes the topological structure between the end-side device and its corresponding access device and the physical model information of the end-side device and its corresponding access device, wherein the topological structure is in the form of a structure tree, the end-side device is the root node in the structure tree, and the access device corresponding to the end-side device is the leaf node in the structure tree.

[0019] The cloud-based batch access method, wherein the method further comprises:

[0020] Controlling the terminal side device to determine an access relationship between the terminal side device and its corresponding access device based on a topological structure between the terminal side device and its corresponding access device;

[0021] Downloading the physical model file of the terminal side device and the physical model files of each access device based on the physical model information of the terminal side device and the physical model information of each access device corresponding to the terminal side device;

[0022] Compare the checksum of each physical model file with the corresponding checksum in the topology information;

[0023] If the comparison is successful, each object model file is dynamically loaded to connect each access device to the terminal device according to the access relationship.

[0024] The cloud-based batch access method, wherein, before obtaining the device network information corresponding to the terminal device, the method further includes:

[0025] Receiving a binding operation input by a user, wherein the binding operation is used to bind an access device to the terminal side device;

[0026] The terminal side device and the access device corresponding to the binding operation are obtained, and the device network information of the terminal side device is constructed based on the obtained terminal side device and the access device.

[0027] A second aspect of the present application provides a cloud-based batch access device, wherein the cloud-based batch access device specifically includes:

[0028] An acquisition module, used to acquire device network information corresponding to the end-side device, and determine a data message to be sent to the end-side device based on the acquired device network information;

[0029] The determination module is used to determine the sending mode of the data message according to the message data volume of the data message, and send the data message to the terminal side device according to the sending mode.

[0030] A third aspect of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in any of the cloud-based batch access methods described above.

[0031] A fourth aspect of the present application provides a terminal device, comprising: a processor and a memory;

[0032] The memory stores a computer-readable program executable by the processor;

[0033] When the processor executes the computer-readable program, the steps in any of the cloud-based batch access methods described above are implemented.

[0034] Beneficial effects: Compared with the prior art, the present application provides a cloud-based batch access method, apparatus, device and storage medium, the method comprising obtaining device network information corresponding to the end-side device, and determining the data message to be sent to the end-side device based on the obtained device network information; determining the sending mode of the data message according to the message data volume of the data message, and sending the data message to the end-side device according to the sending mode. When the present application sends batch access data messages to the end-side device, it will determine the sending mode according to the message data volume of the data message, which can avoid the problem of data blocking caused by the excessive data volume of the data message, and further avoid the problem of access failure caused by data blocking. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0036] Figure 1 A flow chart of a cloud-based batch access method provided in an embodiment of the present application.

[0037] Figure 2 A flowchart of the process of determining the sending method.

[0038] Figure 3 A block diagram of the principles of a cloud-based batch access device provided in an embodiment of the present application.

[0039] Figure 4 A functional block diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The embodiments of the present application provide a cloud-based batch access method, device, equipment and storage medium. To make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0042] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0043] It should be understood that the sequence numbers and sizes of the steps in this embodiment do not mean the order of execution. The execution order of each process is determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0044] After research, it was found that with the rapid development of Internet of Things (IoT) technology, the number of devices connected to the Internet has increased dramatically, which has also made the connection of IoT a challenge, especially when the devices are large-scale and widely distributed. At present, cloud devices are used to connect devices to end-side devices to improve the access efficiency of end-side devices. However, when using cloud devices to connect devices to end-side devices, data blocking problems often occur, which in turn causes the end-side device to be stuck in access or even access failure.

[0045] In order to solve the above problems, in an embodiment of the present application, the device network information corresponding to the terminal device is obtained, and the data message to be sent to the terminal device is determined based on the obtained device network information; the sending method of the data message is determined according to the message data volume of the data message, and the data message is sent to the terminal device according to the sending method. When the present application sends batch access data messages to the terminal device, the sending method will be determined according to the message data volume of the data message, which can avoid the problem of data blocking caused by the excessive data volume of the data message, and further avoid the problem of access failure caused by data blocking.

[0046] The application content is further explained below through the description of embodiments in conjunction with the accompanying drawings.

[0047] This embodiment provides a cloud-based batch access method, such as Figure 1 As shown, the method includes:

[0048] S10: Acquire device network information corresponding to the end-side device, and determine a data message to be sent to the end-side device based on the acquired device network information.

[0049] Specifically, the terminal device is the target device that the access device wants to access, wherein the terminal device is used as a control device, and the access device corresponding to the terminal device can be used as a controlled device. Figure 2As shown, the end-side device is a conference room controller, and the access devices are an air conditioner and a sensor. The controller serves as a control device, and the air conditioner and the sensor serve as controlled devices accessing the control device.

[0050] The device network information includes the terminal side device and the access device corresponding to the terminal side device. There are multiple access devices corresponding to the terminal side device, and the device network information is used to prompt multiple access devices to access the terminal side device in batches. Among them, the multiple access devices can all be devices unknown to the terminal side device, or they can be devices that are partially unknown to the terminal side device, that is, at least one access device among the multiple access devices, and the physical model information of the access device and the access relationship between the access device and the terminal side device are unknown to the terminal side device. The cloud-based batch access method provided in the present application is mainly used in the case where the terminal side device needs to access multiple unknown access devices in batches, or in the case where all access devices corresponding to the terminal side device need to be re-accessed. When it is necessary to access one or a small number of unknown access devices, the device network information composed of only one or a small number of unknown access devices and the terminal side devices can be used to avoid data congestion. Of course, when it is necessary to access one or a small number of unknown access devices, the cloud-based batch access method provided in the present application can also be used.

[0051] The device network information may include the topological structure between the end-side device and its corresponding access device, the physical model information of the end-side device and the physical model information of its corresponding access device. The device network information may reflect the system information of the Internet of Things system formed by the end-side device and the access device corresponding to the end-side device. For example, if the end-side device is a conference room with a controller, and the access device is an air conditioner and a sensor, then the device network information reflects the system information of the Internet of Things system formed by the controller, the air conditioner and the sensor. Among them, the device network information includes the topological structure between the end-side device and its corresponding access device and the physical model information of the end-side device and its corresponding access device. The topological structure is in the form of a structure tree, the end-side device is the root node in the structure tree, and the access device corresponding to the end-side device is the leaf node in the structure tree.

[0052] For example: Figure 2 As shown in the figure, the end-side device is a conference room controller, and the access devices are an air conditioner and a sensor. Then the data structure of the device network information of the end-side device is:

[0053]

[0054]

[0055]

[0056] In one implementation, before obtaining the device network information corresponding to the terminal device, the method further includes:

[0057] Binding operations that receive user input;

[0058] The terminal side device and the access device corresponding to the binding operation are obtained, and the device network information of the terminal side device is constructed based on the obtained terminal side device and the access device.

[0059] Specifically, the binding operation is used to bind the access device to the terminal device, and the binding operation can obtain some or all access devices corresponding to the terminal device. That is to say, the access device corresponding to the terminal device can be realized by responding to a single binding operation, or by responding to multiple binding operations, and when it is realized by responding to multiple binding operations, the multiple binding operations can be independent of each other, that is, the binding operation can be sent to the cloud device in different time periods or under different circumstances to inform the cloud device that an access device needs to be added for the terminal device. It can be seen that when the access device needs to be accessed to the terminal device, all access devices corresponding to the terminal device can be obtained, and then all access devices are sent to the cloud device, so that the cloud device reconstructs the device network information based on all access devices to update the access device corresponding to the terminal device; or, only the access device that needs to be newly accessed to the terminal device can be sent, and then the device network information of the existing terminal device can be updated based on the access device. Regardless of the method used to update the device network information of the terminal device, new access devices can be dynamically accessed for the terminal device, realizing the scalability of the terminal device function.

[0060] Furthermore, the binding operation can directly carry the access device and the access relationship between the access device and the terminal device. Then, after receiving the binding operation, the access device and the access relationship between the access device and the terminal device written by the binding operation can be directly read, the physical model information of the access device can be obtained, and the topological structure between the terminal device and the access device can be constructed based on the access relationship, and the physical model information of the terminal device and the access device can be added to the topological structure to form device network information. In addition, the binding operation can carry the location information and control range corresponding to the terminal device. Then, after receiving the binding operation, the location information and control range of the terminal device can be read, and then the access device corresponding to the terminal device can be determined based on the location information and control range. Specifically, the first location information and control range of the terminal device can be read first, and the control area of ​​the terminal device can be determined with the first location information as the center and the control range as the radius; then the second location information of the known product device can be read, and the access device located in the control area can be selected based on the second location information and the control area to obtain the access device corresponding to the terminal device. In addition, after selecting the access devices located in the control area, all the selected access devices are directly used as the access devices corresponding to the end-side devices. The selected access devices that are not connected to the end-side devices and the access devices connected to the end-side devices can also be used as the access devices corresponding to the end-side devices, etc.

[0061] S20. Determine a sending mode of the data message according to the message data volume of the data message, and send the data message to the terminal side device according to the sending mode.

[0062] Specifically, the message data volume is used to reflect the message size of the data message. After the data message is obtained, the data size of the data message can be read. For example, the cloud device and the end-side device exchange data through the MQTT protocol. Then, in the message that conforms to the MQTT protocol, the field corresponding to the message size can be determined through the format of the MQTT protocol message, and then the message data volume of the data message can be obtained by reading the field. The sending mode is the form of sending data messages between the cloud device and the end-side device, which can be determined based on the data volume of the data message. By using different sending modes for data messages with different data message volumes, data congestion caused by excessive data volume of data messages can be avoided.

[0063] In one implementation, if Figure 2 As shown, determining the sending mode of the data message according to the message data volume of the data message, and sending the data message to the terminal side device according to the sending mode specifically includes:

[0064] S21, comparing the message data volume of the data message with a preset threshold;

[0065] S22: If the data volume of the message is less than or equal to the preset threshold, send the data message to the terminal side device;

[0066] S23. If the data volume of the message is greater than the preset threshold, the data message is divided into a plurality of data message segments based on the preset threshold, and each of the plurality of data message segments is sent to each end-side device respectively.

[0067] Specifically, the preset threshold is preset, which may be the maximum amount of data that can be accommodated in the channel between the cloud device and the terminal device, or a limit value of the pre-set device, etc. When the amount of message data is less than or equal to the preset threshold, it means that the data message can be sent directly, and when the amount of message data is greater than the preset threshold, it means that data congestion may occur if the data message is sent directly. Therefore, the data message may be divided into a plurality of data message segments based on the preset threshold, and then each of the plurality of data message segments is sent to each terminal device respectively.

[0068] It should be noted that before determining the sending method of the data packet according to the message data volume of the data packet, the number of unknown access devices that need to access the end-side device can be obtained first, and then the number is compared with a preset number threshold. When the number is less than or equal to the preset number threshold, the access device network information of the subsystem consisting of the unknown access device and the end-side device can be selected from the device network information, and then the data packet determined by the access device network information is sent to the end-side device; when the number is greater than the preset number threshold, the data packet is determined based on the device network information, and the sending method of the data packet is determined according to the message data volume of the data packet.

[0069] In one implementation, dividing the data message into a plurality of data message segments based on the preset threshold specifically includes:

[0070] The data message is evenly divided into a plurality of data message segments based on the preset threshold.

[0071] Specifically, uniform division means that the difference in the amount of data of each data segment obtained by division is within a preset range, each of the data segments includes at least one physical model information of an access device, and the amount of data of each data segment is close to the preset threshold to the greatest extent, so that the end-side device can control the access of the access device included in the data segment based on the data segment after receiving a data segment. Of course, in actual applications, the data segment can also be divided with the preset threshold as the division unit, so that the amount of data of each data segment is equal to the preset threshold except for the last data segment, which can reduce the number of data segments and further reduce the number of times the data segments are sent.

[0072] In one implementation, after sending each of the plurality of data message segments to each end-side device, the method further includes:

[0073] The receiving end side device verifies the corresponding data message segment based on the feedback information of each data message segment;

[0074] If all data message segments pass the verification, it is determined that the data message has been sent;

[0075] If there is a data message segment that fails the verification, it is determined that the data message sending is abnormal, and the abnormal data message segment is marked.

[0076] Specifically, when sending data packets in segments, one or more data packet segments may be sent abnormally, resulting in the end-side device being unable to receive the physical model information of all access devices, thereby causing access failure of some access devices. Based on this, after sending each data packet segment to the end-side device, feedback information generated by the end-side device based on the packet data segment will be received. In other words, after receiving the data packet segment, the end-side device will send a feedback message to the cloud device to inform the cloud device of the reception status of the received data packet segment, wherein the feedback information may include the amount of data in the data packet segment and the checksum value of the access device included in the data packet segment, etc.

[0077] Furthermore, the cloud device may first monitor whether feedback information is received within a preset time, and when no feedback information is received, directly determine that the data message sending is abnormal, and mark the abnormal data message segment; after receiving the feedback information, the data message segment may be verified based on the information content included in the feedback information, for example, the integrity of the data message segment may be verified based on the data volume of the data message segment, and the correctness of the data message segment may be verified based on the check value of the access device, and when both the integrity and correctness are verified, it is determined that the data message is sent, otherwise, when the integrity and / or correctness verification fails, it is determined that the data message sending is abnormal, and the abnormal data message segment is marked.

[0078] In one implementation, after the data message is sent, the terminal device will access its corresponding access device based on the device network information carried by the data message. That is, the method also includes:

[0079] Controlling the terminal side device to determine an access relationship between the terminal side device and its corresponding access device based on a topological structure between the terminal side device and its corresponding access device;

[0080] Downloading the physical model file of the terminal side device and the physical model files of each access device based on the physical model information of the terminal side device and the physical model information of each access device corresponding to the terminal side device;

[0081] Compare the checksum of each physical model file with the corresponding checksum in the topology information;

[0082] If the comparison is successful, each object model file is dynamically loaded to connect each access device to the terminal side device according to the access relationship.

[0083] Specifically, the device network information includes the verification value of the physical model information of each access device. After the end-side device downloads the physical model files to the end-side device and its corresponding access devices, the physical model files downloaded by the end-side device to the end-side device and its corresponding access devices can be verified by the verification value to determine the accuracy of the physical model files downloaded by the end-side device to the end-side device and its corresponding access devices.

[0084] Furthermore, after the comparison is passed, each object model file is dynamically loaded, and then each access device is dynamically connected to the end-side device according to the topological structure between the end-side device and its corresponding access device, thereby realizing batch access of end-side devices, improving the access efficiency of end-side devices, and eliminating the need to manually connect each access device one by one, saving labor costs.

[0085] In summary, the present embodiment provides a cloud-based batch access method, apparatus, device and storage medium, the method comprising obtaining device network information corresponding to the end-side device, and determining the data message to be sent to the end-side device based on the obtained device network information; determining the sending method of the data message according to the message data volume of the data message, and sending the data message to the end-side device according to the sending method. When the present application sends batch access data messages to the end-side device, it will determine the sending method according to the message data volume of the data message, which can avoid the problem of data congestion caused by the excessive data volume of the data message, and further avoid the problem of access failure caused by data congestion.

[0086] Based on the above-mentioned cloud-based batch access method, this embodiment provides a cloud-based batch access device, such as Figure 3 As shown, the cloud-based batch access device specifically includes:

[0087] The acquisition module 100 is used to acquire device network information corresponding to the terminal device, and determine the data message to be sent to the terminal device based on the acquired device network information;

[0088] The determination module 200 is used to determine the sending mode of the data message according to the message data volume of the data message, and send the data message to the terminal side device according to the sending mode.

[0089] Based on the above-mentioned cloud-based batch access method, this embodiment provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the cloud-based batch access method as described in the above-mentioned embodiment.

[0090] Based on the above-mentioned cloud-based batch access method, the present application also provides a terminal device, such as Figure 4 As shown, it includes at least one processor (processor) 20; display screen 21; and memory (memory) 22, and may also include a communications interface (Communications Interface) 23 and a bus 24. Among them, the processor 20, the display screen 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a preset user guide interface in the initial setting mode. The communication interface 23 can transmit information. The processor 20 can call the logic instructions in the memory 22 to execute the method in the above embodiment.

[0091] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0092] The memory 22 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, that is, implementing the methods in the above embodiments.

[0093] The memory 22 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 22 may include a high-speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, may also be a transient storage medium.

[0094] In addition, the specific process of loading and executing the multiple instruction processors in the above-mentioned storage medium and the terminal device has been described in detail in the above-mentioned method, and will not be described one by one here.

[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A cloud-based batch access method, characterized in that: The cloud-based batch access method specifically includes: Acquire device network information corresponding to the end-side device, and determine the data message to be sent to the end-side device based on the acquired device network information; A sending mode of the data message is determined according to the message data volume of the data message, and the data message is sent to the terminal side device according to the sending mode.

2. The cloud-based batch access method according to claim 1, characterized in that: Determining the sending mode of the data message according to the message data volume of the data message, and sending the data message to the terminal side device according to the sending mode specifically includes: Comparing the message data volume of the data message with a preset threshold; If the data volume of the message is less than or equal to the preset threshold, sending the data message to the terminal side device; If the data volume of the message is greater than the preset threshold, the data message is divided into a plurality of data message segments based on the preset threshold, and each of the plurality of data message segments is sent to each end-side device respectively.

3. The cloud-based batch access method according to claim 2, characterized in that: The dividing the data message into a plurality of data message segments based on the preset threshold specifically includes: The data message is evenly divided into a plurality of data message segments based on the preset threshold, wherein each of the plurality of data message segments includes at least one physical model information of an access device.

4. The cloud-based batch access method according to claim 2, characterized in that: After sending each of the plurality of data message segments to each end-side device respectively, the method further includes: The receiving end side device verifies the corresponding data message segment based on the feedback information of each data message segment; If all data message segments pass the verification, it is determined that the data message has been sent; If there is a data message segment that fails the verification, it is determined that the data message sending is abnormal, and the abnormal data message segment is marked.

5. The cloud-based batch access method according to claim 1, characterized in that: The data message includes device network information, and the device network information includes the topological structure between the end-side device and its corresponding access device and the physical model information of the end-side device and its corresponding access device, wherein the topological structure is in the form of a structure tree, the end-side device is the root node in the structure tree, and the access device corresponding to the end-side device is the leaf node in the structure tree.

6. The cloud-based batch access method according to claim 5, characterized in that: The method further comprises: Controlling the terminal side device to determine an access relationship between the terminal side device and its corresponding access device based on a topological structure between the terminal side device and its corresponding access device; Downloading the physical model file of the terminal side device and the physical model files of each access device based on the physical model information of the terminal side device and the physical model information of each access device corresponding to the terminal side device; Compare the checksum of each physical model file with the corresponding checksum in the topology information; If the comparison is successful, each object model file is dynamically loaded to connect each access device to the terminal side device according to the access relationship.

7. The cloud-based batch access method according to claim 1, characterized in that: Before obtaining the device network information corresponding to the terminal device, the method further includes: Receiving a binding operation input by a user, wherein the binding operation is used to bind an access device to the terminal side device; The terminal side device and the access device corresponding to the binding operation are obtained, and the device network information of the terminal side device is constructed based on the obtained terminal side device and the access device.

8. A cloud-based batch access device, characterized in that: The cloud-based batch access device specifically includes: An acquisition module, used to acquire device network information corresponding to the end-side device, and determine a data message to be sent to the end-side device based on the acquired device network information; The determination module is used to determine the sending mode of the data message according to the message data volume of the data message, and send the data message to the terminal side device according to the sending mode.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the cloud-based batch access method as described in any one of claims 1-7.

10. A terminal device, characterized in that: include: Processor and memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, the steps of the cloud-based batch access method as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Network configuration system and method of batch cloud terminal devices

    CN106789165A

  • Internet of Things device control method and system and readable medium

    CN110944035A

  • Internet of things data transmission method and system

    CN112671661A

  • Multi-device access method and system

    CN113242161A

  • Access method and device of Internet of Things equipment, equipment and computer readable storage medium

    CN113965425A