Cloud-based bulk access method, apparatus, device, and storage medium

By obtaining device network information and dividing and verifying data message segments, the data blocking and failure problems during IoT device access are solved, and an efficient and scalable access method is achieved.

CN119906705BActive Publication Date: 2025-10-17深圳开鸿数字产业发展有限公司
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When IoT devices are large in scale and widely distributed, data blocking and access failure are likely to occur when accessing end-side devices through cloud devices.

Method used

Obtain the device network information of the end-side device, determine the sending method based on the data volume of the data message, and divide the data message into several data message segments and send them to the end-side device, including uniform division and division based on preset thresholds, combined with feedback information verification and verification value comparison of the physical model file, and dynamically load the access relationship.

Benefits of technology

It avoids data blocking, improves the access efficiency of end-side devices, reduces the risk of access failure, and realizes the scalability and automated access of devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906705B_ABST
    Figure CN119906705B_ABST
Patent Text Reader

Abstract

The application discloses a cloud-based batch access method and device, equipment and storage medium, the method comprises obtaining the device network information corresponding to the terminal side device, and determining the data message to be sent to the terminal side device based on the obtained device network information; according to the message data volume of the data message, the sending mode of the data message is determined, and the data message is sent to the terminal side device according to the sending mode. When the application issues batch access data messages to the terminal side device, the sending mode can be determined according to the message data volume of the data message, which can avoid the problem of data congestion caused by the large data volume of the data message, and further avoid the problem of access failure caused by data congestion.
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 and device, equipment and a storage medium. BACKGROUND

[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 led to the challenge of Internet of Things association, especially in the case of large-scale and widely distributed devices. At present, cloud devices are used to access devices for end-side devices to improve the access efficiency of end-side devices. However, when cloud devices are used to access devices for end-side devices, data congestion often occurs, which in turn causes end-side device access to be blocked, and even access failure.

[0003] Therefore, the prior art still needs to be improved and improved. SUMMARY

[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 to solve the problems of the prior art.

[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] Obtain device network information corresponding to the end-side device, and determine the data packet to be sent to the end-side device based on the obtained device network information;

[0007] Determine the sending mode of the data packet according to the packet data volume of the data packet, and send the data packet to the end-side device according to the sending mode.

[0008] The cloud-based batch access method, wherein the data packet sending mode is determined according to the packet data volume of the data packet, and the data packet is sent to the end-side device according to the sending mode specifically includes:

[0009] Compare the packet data volume of the data packet with a preset threshold;

[0010] If the packet data volume is less than or equal to the preset threshold, the data packet is sent to the end-side device;

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

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

[0013] The dividing the data packet into a plurality of data packet segments based on the preset threshold value comprises:

[0014] The cloud-based batch access method, wherein after the sending each data packet segment in the plurality of data packet segments to each end-side device, the method further comprises:

[0015] receiving feedback information of each end-side device for each data packet segment, and verifying the corresponding data packet segment based on the feedback information;

[0016] If all data packet segments are verified, it is determined that the data packet is sent completely;

[0017] If there is a data packet segment that is not verified, it is determined that the data packet is sent abnormally, and the abnormal data packet segment is marked.

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

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

[0020] controlling the end-side device to determine an access relationship between the end-side device and the corresponding access device based on the topology structure between the end-side device and the corresponding access device;

[0021] based on the physical model information of the end-side device and the physical model information of each access device corresponding to the end-side device, downloading the physical model file of the end-side device and the physical model file of each access device;

[0022] comparing the check value of each physical model file with the corresponding check value in the topology information;

[0023] If the comparison is passed, each physical model file is dynamically loaded to access each access device to the end-side device according to the access relationship.

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

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

[0026] obtaining the end-side device and the access device corresponding to the binding operation, and constructing device network information of the end-side device based on the obtained end-side device and the access device.

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

[0028] an obtaining module, configured to obtain device network information corresponding to an end-side device, and determine a data packet to be sent to the end-side device based on the obtained device network information;

[0029] a determining module, configured to determine a sending mode of the data packet according to a packet data volume of the data packet, and send the data packet to the end-side device according to the sending mode.

[0030] The 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 the cloud-based batch access method according to any one of the above.

[0031] The fourth aspect of the present application provides a terminal device, which comprises a processor and a memory.

[0032] The memory stores a computer-readable program which can be executed by the processor.

[0033] The processor implements the steps in the cloud-based batch access method according to any one of the above when executing the computer-readable program.

[0034] Advantages: compared with the prior art, the present application provides a cloud-based batch access method, device, equipment and storage medium, the method comprises obtaining device network information corresponding to an end-side device, and determining a data packet to be sent to the end-side device based on the obtained device network information; determining a sending mode of the data packet according to a packet data volume of the data packet, and sending the data packet to the end-side device according to the sending mode. When the present application issues a batch access data packet to the end-side device, the sending mode is determined according to the packet data volume of the data packet, which can avoid the problem of data congestion caused by the large data volume of the data packet, and further avoid the problem of access failure caused by data congestion. BRIEF DESCRIPTION OF DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.

[0036] Figure 1 The flow chart of the cloud-based batch access method provided by the embodiments of the present application.

[0037] Figure 2 The flow chart of the sending mode determination process.

[0038] Figure 3 The principle block diagram of the cloud-based batch access device provided by the embodiments of the present application.

[0039] Figure 4 The principle block diagram of the terminal device provided by the embodiments 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. In order to make the purpose, technical solutions and effects of the present application more clear and explicit, the following will further describe the present application in detail with reference to the drawings and embodiments. 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] Those skilled in the art can understand that, unless specifically stated, the singular form "a", "an" and "said" used herein also includes the plural form. It should be further understood that the phrase "comprising" used in the specification of the present application means that the features, integers, steps, operations, elements and / or components exist, but does not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there can be intermediate elements. In addition, the "connection" or "coupling" used herein can include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any single unit and all combinations of the associated listed items.

[0042] Those skilled in the art of the technology can understand that, unless otherwise defined, all terms (including 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. 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 should not be interpreted in an idealized or overly formal sense unless specifically defined as such.

[0043] It should be understood that the sequence numbers and sizes of the steps in the embodiments do not mean the order of execution, and the execution order of the processes is determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the application.

[0044] It is found through research that, with the rapid development of Internet of Things (IoT) technology, the number of devices connected to the Internet has increased dramatically, which also leads to a challenge in the association of the Internet of Things, especially in the case of large-scale and widely distributed devices. At present, cloud devices are used to access devices for end-side devices to improve the access efficiency of end-side devices. However, when cloud devices are used to access devices for end-side devices, data congestion often occurs, which may cause end-side device access to be blocked, and even access failure may occur.

[0045] To solve the above problems, in the embodiments of the present application, device network information corresponding to an end-side device is obtained, and a data packet to be sent to the end-side device is determined based on the obtained device network information; the sending mode of the data packet is determined according to the packet data volume of the data packet, and the data packet is sent to the end-side device according to the sending mode. When the present application issues batch access data packets to the end-side device, the sending mode is determined according to the packet data volume of the data packet, which can avoid the problem of data congestion caused by too large data volume of the data packet, and thus can avoid the problem of access failure caused by data congestion.

[0046] The application content will be further described by describing the embodiments in combination with the drawings.

[0047] The embodiments provide a cloud-based batch access method, as shown in Figure 1 The method comprises the following steps.

[0048] S10, obtaining device network information corresponding to an end-side device, and determining a data packet to be sent to the end-side device based on the obtained device network information.

[0049] Specifically, the end-side device is a target device that an access device wants to access, wherein the end-side device is taken as a control device, and the access device corresponding to the end-side device can be taken as a controlled device. For example, as shown in Figure 2As shown in the figure, the end-side device is a conference room presence controller, the access devices are an air conditioner and a sensor, the controller is the control device, and the air conditioner and the sensor are the controlled devices of the access control device.

[0050] The device network information includes the end-side device and the access devices corresponding to the end-side device, the access devices corresponding to the end-side device are multiple, and the multiple access devices are caused to access the end-side device in batches through the device network information. The multiple access devices can all be unknown devices of the end-side device, or part of the multiple access devices can be unknown devices of the end-side device, that is, at least one access device in the multiple access devices is unknown to the end-side device, and the physical model information of the access device and the access relationship between the access device and the end-side device are unknown to the end-side device. The cloud-based batch access method provided in the application is mainly applied to the case that the end-side device needs to access multiple unknown access devices in batches, or the case that the end-side device needs to access all the access devices corresponding to the end-side device in batches. When one or a small number of unknown access devices need to be accessed, the device network information formed by only one or a small number of unknown access devices and the end-side device can be used to avoid the problem of data congestion. Of course, when one or a small number of unknown access devices need to be accessed, the cloud-based batch access method provided in the application can also be used.

[0051] The device network information can include the topology between the end-side device and the access devices corresponding to the end-side device, the physical model information of the end-side device, and the physical model information of the access devices corresponding to the end-side device. The device network information can reflect the system information of the Internet of Things system formed by the end-side device and the access devices corresponding to the end-side device, for example, the end-side device is a conference room presence controller, and the access devices are an air conditioner and a sensor. The device network information reflects the system information of the Internet of Things system formed by the controller, the air conditioner, and the sensor. The device network information includes the topology between the end-side device and the access devices corresponding to the end-side device and the physical model information of the end-side device and the access devices corresponding to the end-side device, the topology adopts a structure tree form, the end-side device is a root node in the structure tree, and the access devices corresponding to the end-side device are leaf nodes in the structure tree.

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

[0053]

[0054]

[0055]

[0056] ​In an implementation, before the obtaining the device network information corresponding to the end-side device, the method further comprises:

[0057] receiving a binding operation input by a user;

[0058] obtaining an end-side device and an access device corresponding to the binding operation, and constructing the device network information of the end-side device based on the obtained end-side device and the access device.

[0059] Specifically, the binding operation is used to bind the access device for the end-side device, and through the binding operation, part of the access devices or all of the access devices corresponding to the end-side device can be obtained. That is, the access devices corresponding to the end-side device can be realized by responding to one binding operation, or can be realized by responding to multiple binding operations, and when realized by responding to multiple binding operations, the multiple binding operations can be independent of each other, that is, the cloud device can be sent the binding operation at different time periods or in different situations to inform the cloud device that the access device needs to be added for the end-side device. Therefore, when the access device needs to be accessed to the end-side device, all of the access devices corresponding to the end-side device can be obtained, and then all of the access devices are sent to the cloud device, so that the cloud device reconstructs the device network information based on all of the access devices to update the access devices corresponding to the end-side device; or only the access device that needs to be newly accessed to the end-side device can be sent, and then the device network information of the existing end-side device is updated based on the access device. No matter which way is used to update the device network information of the end-side device, the new access device can be dynamically accessed to the end-side device, and the scalability of the function of the end-side device is realized.

[0060] Further, the binding operation can directly carry the access device and the access relationship between the access device and the end-side device. After receiving the binding operation, the access device and the access relationship between the access device and the end-side device written in the binding operation can be directly read, the physical model information of the access device can be obtained, the topology between the end-side device and the access device can be constructed based on the access relationship, and the physical model information of the end-side device and the access device can be added to the topology to form the device network information. In addition, the binding operation can carry the position information and the control range corresponding to the end-side device. After receiving the binding operation, the position information and the control range of the end-side device can be read, and then the access device corresponding to the end-side device can be determined based on the position information and the control range. Specifically, the first position information and the control range of the end-side device can be read first, and the control area of the end-side device can be determined with the first position information as the center and the control range as the radius. Then, the second position information of the known product device is read, and the access device located in the control area is selected based on the second position information and the control area to obtain the access device corresponding to the end-side device. In addition, after selecting the access device located in the control area, all selected access devices can be directly used as the access device corresponding to the end-side device, or the access device not connected to the end-side device and the access device connected to the end-side device can be used as the access device corresponding to the end-side device.

[0061] S20, determining the sending mode of the data message according to the message data amount of the data message, and sending the data message to the end-side device according to the sending mode.

[0062] Specifically, the message data amount is used to reflect the message size of the data message. After obtaining the data message, the data size of the data message can be read to obtain the message data amount. For example, the cloud device and the end-side device interact data through the MQTT protocol. When the data message conforms to the message of the MQTT protocol, the field corresponding to the message size can be determined through the format of the message of the MQTT protocol, and then the message data amount of the data message can be obtained by reading the field. The sending mode is the form of sending the data message between the cloud device and the end-side device. The sending mode can be determined based on the data amount of the data message. Different sending modes can be used for different data amounts of the data message, so that the problem of data congestion caused by too large data amount of the data message can be avoided.

[0063] In one implementation manner, as shown in Figure 2 the determination of the sending mode of the data message according to the message data amount of the data message, and the sending of the data message to the end-side device according to the sending mode specifically includes:

[0064] S21, comparing the message data amount of the data message with a preset threshold.

[0065] S22, if the message data volume is less than or equal to the preset threshold, sending the data message to the end-side device;

[0066] S23, if the message data volume is greater than the preset threshold, dividing the data message into a plurality of data message segments based on the preset threshold, and sending each data message segment in the plurality of data message segments to each end-side device.

[0067] Specifically, the preset threshold is pre-set, which can be the maximum data volume of the channel issued by the cloud device and the end-side device, or the limit value of the pre-device, etc. When the message data volume is less than or equal to the preset threshold, it means that the data message can be sent directly. When the message data volume is greater than the preset threshold, it means that direct sending of the data message may cause data congestion. Therefore, the data message can be divided into a plurality of data message segments based on the preset threshold, and then each data message segment in the plurality of data message segments is sent to each end-side device.

[0068] It should be noted that before determining the sending mode of the data message according to the message data volume of the data message, 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 the preset number threshold. When the number is less than or equal to the preset number threshold, the access device network information of the subsystem composed of the unknown access device and the end-side device can be selected in the device network information, and then the data message 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 message is determined based on the device network information, and the sending mode of the data message is determined according to the message data volume of the data message.

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

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

[0071] Specifically, the uniform division refers to that a difference of data amounts of each data message segment obtained by the division is within a preset range, each of the data message segments includes at least the physical model information of one access device, and a data amount of each data message segment is closest to a preset threshold. In this way, the end-side device can control the access of the access device included in the data message segment based on the data message segment when receiving the data message segment. Of course, in actual application, the data message can also be divided by the preset threshold as a division unit, so that the data amount of each data message segment except the last data message segment is equal to the preset threshold. In this way, the number of data message segments can be reduced, and then the sending times of the data message segments can be reduced.

[0072] In an implementation manner, after the respective sending of each data message segment in the data message segments to the respective end-side device, the method further includes:

[0073] receiving feedback information of the end-side device for each data message segment, and verifying the corresponding data message segment based on the feedback information;

[0074] if all the data message segments are verified, it is determined that the data message is sent completely;

[0075] if there is a data message segment that is not verified, it is determined that the data message is sent abnormally, and the abnormal data message segment is marked.

[0076] Specifically, when the data message is segmented and sent, one or more data message segments may be sent abnormally, so that the end-side device cannot receive the physical model information of all the access devices, and then some access devices fail to access. Based on this, after the respective sending of each data message segment to the end-side device, feedback information formed by the end-side device based on the data message segment is received. That is, after receiving the data message segment, the end-side device sends a feedback information to the cloud-side device to inform the cloud-side device of the receiving situation of the received data message segment, wherein the feedback information can include the data amount of the data message segment and the verification value of the access device included in the data message segment.

[0077] Further, the cloud-side device can first monitor whether the feedback information is received within a preset time. When the feedback information is not received, it is directly determined that the data message is sent abnormally, and the abnormal data message segment is marked. When the feedback information is received, the data message segment can be verified based on the information content included in the feedback information, for example, the integrity of the data message segment is verified based on the data amount of the data message segment, the correctness of the data message segment is verified based on the verification value of the access device, and when the integrity and the correctness are both verified, it is determined that the data message is sent completely, otherwise, when the integrity and / or the correctness is not verified, it is determined that the data message is sent abnormally, and the abnormal data message segment is marked.

[0078] In an implementation manner, after the data message is sent, the end-side device accesses the corresponding access device based on the device network information carried in the data message. That is, the method further comprises:

[0079] controlling the end-side device to determine the access relationship between the end-side device and the corresponding access device based on the topology structure between the end-side device and the corresponding access device;

[0080] downloading the physical model files of the end-side device and the physical model files of each access device based on the physical model information of the end-side device and the physical model information of each corresponding access device of the end-side device;

[0081] comparing the check values of each physical model file with the corresponding check values in the topology information;

[0082] if the comparison passes, dynamically loading each physical model file to access each access device to the end-side device according to the access relationship.

[0083] Specifically, the device network information includes the check values of the physical model information of each access device. After the end-side device downloads the physical model files of the end-side device and each corresponding access device, the physical model files downloaded by the end-side device to the end-side device and each corresponding access device can be checked by the check values to determine the accuracy of the physical model files downloaded by the end-side device to the end-side device and each corresponding access device.

[0084] Further, after the comparison passes, each physical model file is dynamically loaded, and then each access device is dynamically accessed to the end-side device according to the topology structure between the end-side device and each corresponding access device, thereby realizing batch access of the end-side device, improving the access efficiency of the end-side device, and saving the labor cost without manually accessing each access device one by one.

[0085] In summary, the embodiment provides a cloud-based batch access method, device, apparatus and storage medium. The method comprises obtaining device network information corresponding to an end-side device, and determining a data message to be sent to the end-side device based on the obtained device network information; determining a sending mode of the data message according to the message data amount of the data message, and sending the data message to the end-side device according to the sending mode. When the data message of batch access is issued to the end-side device, the sending mode is determined according to the message data amount of the data message, which can avoid the problem of data congestion caused by too large data amount of the data message, and further avoid the problem of access failure caused by data congestion.

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

[0087] The acquisition module 100 is configured to acquire device network information corresponding to the terminal device, and determine a data packet to be sent to the terminal device based on the acquired device network information.

[0088] The determination module 200 is configured to determine a sending mode of the data packet according to a packet data volume of the data packet, and send the data packet to the terminal device according to the sending mode.

[0089] Based on the cloud-based bulk access method described above, the embodiment 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 the cloud-based bulk access method as described in the above embodiment.

[0090] Based on the cloud-based bulk access method described above, the present application further provides a terminal device, as shown, which includes at least one processor 20, a display screen 21, and a memory 22, and can further include a communications interface 23 and a bus 24. Wherein, the processor 20, the display screen 21, the memory 22 and the communications interface 23 can complete the communication among each other through the bus 24. The display screen 21 is configured to display a user guide interface preset in an initial setting mode. The communications interface 23 can transmit information. The processor 20 can call the logical instructions in the memory 22 to execute the method in the above embodiment. Figure 4

[0091] In addition, the logical instructions in the memory 22 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer readable storage medium.

[0092] The memory 22 as a computer readable storage medium can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the method in the embodiment of the present disclosure. The processor 20 executes the software programs, instructions or modules stored in the memory 22, thereby performing functional applications and data processing, i.e. implementing the method in the above embodiment.

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

[0094] In addition, the specific processes of the above-mentioned storage medium and the plurality of instruction processors in the terminal device load and execute have been described in detail in the above-mentioned method, and will not be described one by one here.

[0095] Finally, it should be pointed out that: the above examples are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate 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: Obtaining device network information corresponding to the end-side device, and determining a data packet to be sent to the end-side device based on the obtained device network information, wherein the data packet includes the device network information, and the device network information includes a topological structure between the end-side device and its corresponding access device, and 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, with the end-side device being the root node in the structure tree, and the access device corresponding to the end-side device being the leaf node in the structure tree; Determining a 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; Controlling the end-side device to determine an access relationship between the end-side device and its corresponding access device based on a topological structure between the end-side device and its corresponding access device; Downloading the physical model file of the end-side device and the physical model files of each access device based on the physical model information of the end-side device and the physical model information of each access device corresponding thereto; 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 end-side device according to the access relationship; The determining of the sending mode of the data packet according to the data volume of the data packet, and sending the data packet to the terminal side device according to the sending mode specifically includes: Comparing the 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 end-side device; If the data volume of the message is greater than the preset threshold, the data message is evenly divided into several data message segments based on the preset threshold, and each data message segment in the several data message segments is sent to each end-side device respectively, wherein each data message segment in the several data message segments includes the physical model information of at least one access device.

2. The cloud-based batch access method according to claim 1, characterized in that: After sending each of the plurality of data segments to each end-side device, the method further includes: The receiving end device verifies the corresponding data segment based on the feedback information of each data 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.

3. 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.

4. A cloud-based batch access device, characterized in that: The cloud-based batch access device specifically includes: an acquisition module, configured to acquire device network information corresponding to an end-side device, and determine a data packet to be sent to the end-side device based on the acquired device network information, wherein the data packet includes the device network information, and the device network information includes a topological structure between the end-side device and its corresponding access device, and 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, with the end-side device being the root node in the structure tree, and the access device corresponding to the end-side device being the leaf node in the structure tree; a determination module, configured to determine a sending mode of the data message according to a message data volume of the data message, and send the data message to an end-side device according to the sending mode; Controlling the end-side device to determine an access relationship between the end-side device and its corresponding access device based on a topological structure between the end-side device and its corresponding access device; Downloading the physical model file of the end-side device and the physical model files of each access device based on the physical model information of the end-side device and the physical model information of each access device corresponding thereto; 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 end-side device according to the access relationship; The determining of the sending mode of the data packet according to the data volume of the data packet, and sending the data packet to the terminal side device according to the sending mode specifically includes: Comparing the 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 end-side device; If the data volume of the message is greater than the preset threshold, the data message is evenly divided into several data message segments based on the preset threshold, and each data message segment in the several data message segments is sent to each end-side device respectively, wherein each data message segment in the several data message segments includes the physical model information of at least one access device.

5. 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-3.

6. 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 according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Model deployment method, cloud side device, end side device and computer readable storage medium

    CN118171705A

  • Communication method and system, electronic equipment and storage medium

    CN118214777A