Device access information maintenance method and apparatus, electronic device, and storage medium
By binding and updating regional information when IoT devices are connected, the problem of low efficiency in cross-regional control under multi-regional access is solved, and accurate maintenance and efficient control of device regional information are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2026-03-24
AI Technical Summary
In existing IoT technologies, cross-regional control efficiency is low when multiple devices are connected in multiple regions, and the number of devices connected in a single region is limited, which cannot meet the expansion needs and leads to performance bottlenecks.
By binding the current region information when the device is connected and comparing it with the previous region information, the current region information is updated and synchronized to other regions. By using a shared database for multiple regions, information maintenance errors caused by cache clearing are avoided, ensuring that the control device can accurately know the region information of the controlled device even when it is connected in different regions.
It improves the efficiency of cross-regional control, avoids information maintenance errors caused by cache clearing, and ensures accurate control of the controlled equipment by the control device.
Smart Images

Figure CN116340085B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of the Internet of Things (IoT), and more specifically, to a method and apparatus for maintaining device access information, a method and apparatus for cross-regional control of IoT devices, electronic devices, and storage media. Background Technology
[0002] Most existing IoT technologies employ single-area access. However, the number of devices that can be connected in a single area is limited. As the number of connected devices increases, the demand for expansion cannot be met, leading to performance bottlenecks in single areas. For multi-area access, as the access area of the control device (e.g., user terminal) changes, when the control device and the controlled device are not connected to the IoT from the same area, it is difficult for the control device to perform cross-area control. In existing technologies, the area information of the controlled device can be obtained through polling to enable cross-area control, but the control efficiency is low. Summary of the Invention
[0003] The purpose of this application is to provide a device access information maintenance method and apparatus, a cross-regional control method and apparatus for Internet of Things (IoT) devices, an electronic device and a storage medium, in order to improve the problem that it is not easy to achieve cross-regional control and the control efficiency is low in the existing technology for IoT scenarios with multiple access areas.
[0004] This application provides a device access information maintenance method, applied to any access area in multi-area access of IoT devices. The method includes: when a device accesses the network, binding the area information of the area currently accessed by the device with the device to generate the current area information of the device; when it is determined that the cache corresponding to the currently accessed area contains the device's previous area information, comparing the current area information with the previous area information; when it is determined that the current area information and the previous area information are different, updating the previous area information in the cache corresponding to the currently accessed area to the current area information, and synchronizing the current area information to other areas.
[0005] The device access information maintenance method provided in this application compares the current area information of the device with the previous area information of the device. When the two are different, the previous area information of the device is updated to the current area information of the device, and the current area information is synchronized to other areas. This allows the control device to obtain the accurate area information of the controlled device from the access area without polling, so as to control the controlled device, thereby improving control efficiency.
[0006] In one embodiment, the multiple regions share a database. When it is determined that the current region information is different from the previous region information, the method further includes updating the previous region information of the device in the database to the current region information.
[0007] In this embodiment, since the cache capacity of each access layer is limited, the cache content will be cleaned up from time to time. By making multiple regions share a database, and when it is determined that the current region information is different from the previous region information, the previous region information of the device in the database is updated to the current region information of the device. Thus, the problem of the device's region information maintenance error caused by the cache cleanup of each access layer is avoided.
[0008] In one embodiment, the method further includes: when it is determined that there is no previous region information of the device in the cache corresponding to the currently accessed region, determining whether there is previous region information of the device in the database; if not, writing the current region information into the database and synchronizing it to all regions.
[0009] In this embodiment, when it is determined that there is no previous region information of the device in the cache corresponding to the region currently accessed by the device, it is determined whether there is previous region information of the device in the database; when it is determined that there is no previous region information of the device in the database, the current region information is written into the database and synchronized to all regions, which facilitates maintenance when the region information of the device changes in the future.
[0010] In one embodiment, the method further includes: when it is determined that the database contains the device's past region information, determining whether the device's past region information is consistent with the device's current region information; if so, writing the current region information into the cache corresponding to the currently accessed region.
[0011] In this embodiment, when it is determined that there is no previous region information of the device in the cache corresponding to the region currently accessed by the device, but there is previous region information of the device in the database, and the previous region information of the device in the database is consistent with the current region information, the current region information is written into the cache corresponding to the region currently accessed by the device, thereby helping to improve control efficiency.
[0012] In one embodiment, the method further includes: when it is determined that the previous region information of the device stored in the database is inconsistent with the current region information of the device, updating the previous region information of the device stored in the database to the current region information of the device, and synchronizing it to all regions.
[0013] In this embodiment, when the previous regional information of the device stored in the database is inconsistent with the current regional information of the device, the previous regional information of the device stored in the database is updated to the current regional information of the device and synchronized to all regions, which helps to maintain the regional information of the device in the later stage.
[0014] This application also provides a cross-regional control method for IoT devices, applied to any access region in multi-regional access of IoT devices. The method includes: receiving a control command sent by a mobile terminal accessing the IoT via a region, the control command carrying a controlled device identifier; querying the region information of the controlled device in the region accessed by the mobile terminal based on the controlled device identifier, the region information of the controlled device being maintained by the aforementioned method; and sending the control command to the region accessed by the controlled device based on the region information to control the controlled device.
[0015] In one embodiment, before sending the control command to the area accessed by the controlled device based on the area information, the method further includes: determining that the controlled device is currently online.
[0016] This application also provides a device access information maintenance apparatus, applied to any access area in multi-area access of IoT devices. The apparatus includes: a binding module, used to bind the area information of the area currently accessed by the device to the device when the device accesses the network, thereby generating the current area information of the device; and an update module, used to compare the current area information with the previous area information when it is determined that the previous area information of the device exists in the cache corresponding to the currently accessed area; and when it is determined that the current area information is different from the previous area information, to update the previous area information in the cache corresponding to the currently accessed area to the current area information, and to synchronize the current area information to other areas.
[0017] This application also provides a cross-regional control device for IoT devices, applied to any access region in multi-regional access of IoT devices. The device includes: a receiving module for receiving control commands sent by a mobile terminal accessing the IoT via a region, the control commands carrying a controlled device identifier; a querying module for querying the region information of the controlled device in the region accessed by the mobile terminal based on the controlled device identifier, the region information of the controlled device being maintained by the aforementioned device access information maintenance device; and a sending module for sending the control commands to the region accessed by the controlled device based on the region information to control the controlled device.
[0018] This application also provides an electronic device, including a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor causes the processor to perform the aforementioned device access information maintenance method or implement the functions of the aforementioned device access information maintenance device; or, to perform the aforementioned cross-regional control method for IoT devices or implement the functions of the aforementioned cross-regional control device for IoT devices.
[0019] This application also provides a non-volatile readable storage medium storing computer-readable instructions, which, when executed by a processor, cause the processor to perform the aforementioned device access information maintenance method or implement the functions of the aforementioned device access information maintenance device; or, perform the aforementioned cross-regional control method for IoT devices or implement the functions of the aforementioned cross-regional control device for IoT devices.
[0020] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 A flowchart of a device access information maintenance method provided in an embodiment of this application.
[0023] Figure 2 A flowchart of a cross-regional control method for an Internet of Things (IoT) device provided in an embodiment of this application.
[0024] Figure 3 This is a structural block diagram of a device access information maintenance device provided in an embodiment of this application.
[0025] Figure 4 This is a structural block diagram of a cross-regional control device for an Internet of Things (IoT) device provided in an embodiment of this application.
[0026] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of this application.
[0027] Icons: Device access information maintenance device-10; Binding module-11; Update module-12; Cross-regional control device for IoT devices-20; Receiving module-21; Query module-22; Sending module-23. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0029] Please see Figure 1 This application provides a device access information maintenance method in one embodiment, applicable to any access area in multi-area access of Internet of Things (IoT) devices. Multiple areas (i.e., access areas) each have an access layer. Various electronic devices can access the IoT through the access layer of each area. Different areas correspond to different caches. Multiple areas are interconnected through the network layer of the IoT. In this embodiment, the IoT can be a wide area network (WAN); the access layer can be the part of the network directly facing user connection and access, utilizing transmission media such as optical fiber, twisted pair, coaxial cable, and wireless access technology to connect end users to the network and allocate services and bandwidth. Various home appliances such as refrigerators, televisions, and washing machines, or mobile terminals such as mobile phones and tablets, can access the IoT through different areas.
[0030] It is understood that other structures can be set up in multiple areas, and various electronic devices can also access the Internet of Things through other structures set up in each area. This application is not limited to the method of accessing the Internet of Things through the access layer of each area.
[0031] It should be noted that this application only introduces some of the IoT structures involved in the present application. As the IoT structures not involved in this application are existing technologies, they will not be discussed in detail.
[0032] In this embodiment, the device access information maintenance method includes the following steps.
[0033] Step S11: When the device is connected, the area information of the area currently connected to the device is bound to the device to generate the current area information of the device.
[0034] In this embodiment, each region in the multi-region access of the IoT device has its own region information. When a device accesses the IoT through a certain region, the region information of that region (the region the device is currently accessing) is bound to the device to generate the device's current region information. The current region information includes the device's identifier and the region information of the region the device is accessing.
[0035] Step S12: When it is determined that the cache corresponding to the currently accessed area contains the device's previous area information, the current area information is compared with the previous area information.
[0036] After generating the device's current region information, the cache corresponding to the region the device is currently connected to can be accessed to determine if the cache contains the device's previous region information. Previous region information includes the device's identifier and the region information of the region the device previously accessed. In this embodiment, the cache corresponding to the region the device is currently connected to can be searched based on the device's identifier to determine if the device's previous region information exists.
[0037] When it is determined that the cache contains the device's past region information, the device's current region information is compared with the device's past region information.
[0038] Step S13: When it is determined that the current area information is different from the previous area information, the previous area information in the cache corresponding to the currently accessed area is updated to the current area information, and the current area information is synchronized to other areas.
[0039] By comparison, if it is determined that the device's current region information is different from its previous region information, the cache corresponding to the region the device is currently connected to will be updated with the current region information. The device's current region information will also be synchronized to other regions so that these regions can update their respective caches with the device's current region information. In this embodiment, the device's current region information can be synchronized to other regions via an IoT message queue.
[0040] The device access information maintenance method provided in this application compares the current area information of the device with the previous area information of the device. When the two are different, the previous area information of the device is updated to the current area information of the device, and the current area information is synchronized to other areas. This allows the control device to obtain the accurate area information of the controlled device from its own area without polling, so as to control the controlled device, thereby improving control efficiency.
[0041] In one embodiment, multiple regions can share a single database. Each region, when maintaining device access information using the aforementioned method, will synchronize the maintenance results to this database. If the device has previously accessed the Internet of Things (IoT) through another region, the database stores the device's previous region information. Alternatively, due to the limited capacity of the cache corresponding to each region, the content in the cache of each region is periodically cleared. If the device has previously accessed the IoT through a certain region, and that region has synchronized the maintenance results of the device access information to the database, then the database stores the device's previous region information. Therefore, when it is determined that the current region information is different from the previous region information, the device access information maintenance method may further include updating the device's previous region information in the database to the current region information. By allowing multiple regions to share a single database, and updating the device's previous region information in the database to the current region information when it is determined that the current region information is different from the previous information, the problem of errors in device region information maintenance caused by cache clearing in each region is avoided.
[0042] In one embodiment, the device access information maintenance method may further include: step S14, when it is determined that there is no previous region information of the device in the cache corresponding to the currently accessed region, determining whether there is previous region information of the device in the database; step S15, if not, writing the current region information into the database and synchronizing it to all regions. By determining whether there is previous region information of the device in the database when it is determined that there is no previous region information of the device in the cache corresponding to the currently accessed region, and writing the current region information into the database and synchronizing it to all regions when it is determined that there is no previous region information of the device in the database, it is convenient to maintain the device's region information when it changes in the future.
[0043] In one embodiment, the device access information maintenance method further includes: step S16, when it is determined that the device's past region information exists in the database, determining whether the device's past region information is consistent with the device's current region information; step S17, if so, writing the current region information into the cache corresponding to the currently accessed region. By writing the current region information into the cache corresponding to the currently accessed region when it is determined that the device's past region information does not exist in the cache corresponding to the currently accessed region, but the device's past region information exists in the database, and the device's past region information in the database is consistent with the current region information, it helps to improve control efficiency.
[0044] In one embodiment, the device access information maintenance method further includes: step S18, when it is determined that the device's past region information stored in the database is inconsistent with the device's current region information, updating the device's past region information stored in the database to the device's current region information, and synchronizing it to all regions. By updating the device's past region information stored in the database to the device's current region information and synchronizing it to all regions when it is determined that the device's past region information stored in the database is inconsistent with the device's current region information, it is helpful to maintain the device's region information in the later stages.
[0045] It is understandable that the current and past area information of a device can also include timestamps. Timestamps are used to characterize the time when the information was generated. Before updating the past area information of a device to the current area information, it can be determined that the generation time of the current area information is later than the generation time of the past area information based on the timestamps included in the current and past area information. This ensures the accuracy of the device's area information and avoids cross-area control failures.
[0046] Please see Figure 2 Based on the same inventive concept, this application also provides a cross-regional control method for IoT devices, which can be applied to any access region in the multi-regional access of IoT devices.
[0047] The cross-regional control method for this IoT device may include the following steps.
[0048] Step S21: Receive a control command sent by a mobile terminal that has accessed the Internet of Things in a certain area. The control command carries the identifier of the controlled device.
[0049] In this embodiment, the mobile terminal can access the Internet of Things (IoT) through any one of multiple regions. Specifically, the mobile terminal can access the IoT through the access layer corresponding to each of the multiple regions.
[0050] Users can use mobile terminals to control devices that are also connected to the Internet of Things (IoT) and for which they have control permissions. After the mobile terminal connects to the IoT through a specific area, the user can retrieve a list of devices for which they have control permissions. Then, the user selects the controlled device from the list and inputs a control command, which carries the identifier of the controlled device and the specific control content. Upon receiving the control command input by the user, the mobile terminal will issue the control command through the current area. In one embodiment, while retrieving the list of devices for which they have control permissions, the user can also retrieve the online status of each device in the list. In this case, the controlled device is selected from the online devices.
[0051] Step S22: Based on the controlled device identifier, query the area information of the controlled device in the area accessed by the mobile terminal. The area information of the controlled device is maintained by the aforementioned device access information maintenance method.
[0052] In this embodiment, the region information of the controlled device can be queried from the cache of the region accessed by the mobile terminal based on the identifier of the controlled device.
[0053] Because the cache in each region is cleared periodically, there may be situations where the region information of the controlled device cannot be found in the cache of the region accessed by the control device. In this case, the region information of the controlled device can be queried by accessing the database.
[0054] Step S23: Based on the area information, the control command is sent to the area accessed by the controlled device to control the controlled device.
[0055] After retrieving the area information of the controlled device, control commands can be sent to the area to which the controlled device is connected, in order to control the controlled device.
[0056] Please see Figure 3 Based on the same inventive concept, this application also provides a device access information maintenance device 10, which can be applied to any area among multiple areas of the Internet of Things.
[0057] The device access information maintenance device 10 may include:
[0058] The binding module 11 is used to bind the area information of the area currently accessed by the device to the device when the device is connected, and generate the current area information of the device;
[0059] The update module 12 is used to compare the current area information with the previous area information when it is determined that the cache corresponding to the currently accessed area contains the device's previous area information; and when it is determined that the current area information is different from the previous area information, update the previous area information in the cache corresponding to the currently accessed area to the current area information, and synchronize the current area information to other areas.
[0060] In one embodiment, multiple regions can share a database. In this case, the update module 12 is further configured to update the previous region information of the device in the database to the current region information when it is determined that the current region information is different from the previous region information.
[0061] In one embodiment, the update module 12 is further configured to determine whether the device’s previous region information exists in the database when it is determined that the cache corresponding to the currently accessed region does not contain the device’s previous region information; if not, write the current region information into the database and synchronize it to all regions.
[0062] In one embodiment, the update module 12 is further configured to determine whether the device's past region information is consistent with the device's current region information when it is determined that the database contains the device's past region information; if so, write the current region information into the cache corresponding to the currently accessed region.
[0063] In one embodiment, the update module 12 is further configured to update the previous region information of the device stored in the database to the current region information of the device when it is determined that the previous region information of the device stored in the database is inconsistent with the current region information of the device, and synchronize it to all regions.
[0064] It is understood that the device access information maintenance device provided in this application corresponds to the device access information maintenance method provided in this application. In order to keep the specification concise, the same or similar parts can be referred to the content of the device access information maintenance method section, and will not be repeated here.
[0065] Please see Figure 4 Based on the same inventive concept, this application also provides a cross-regional control device 20 for Internet of Things (IoT) devices, which is applied to any access region in the multi-regional access of IoT devices.
[0066] The cross-regional control device 20 for IoT devices may include:
[0067] The receiving module 21 is used to receive control commands sent by a mobile terminal that is connected to the Internet of Things in a certain area, wherein the control commands carry the identifier of the controlled device.
[0068] The query module 22 is used to query the area information of the controlled device in the area accessed by the mobile terminal based on the controlled device identifier. The area information of the controlled device is maintained by the aforementioned device access information maintenance device.
[0069] The sending module 23 is used to send the control command to the area accessed by the controlled device based on the area information, so as to control the controlled device.
[0070] It is understood that the cross-regional control device for IoT devices provided in this application corresponds to the cross-regional control method for IoT devices provided in this application. For the sake of brevity, the same or similar parts can be referred to the content of the cross-regional control method for IoT devices, and will not be repeated here.
[0071] The modules in the aforementioned information maintenance device 10 or the cross-regional control device 20 of the Internet of Things (IoT) device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the server, or stored in the server's memory as software, so that the processor can call and execute the operations corresponding to each module. The processor can be a central processing unit (CPU), a microprocessor, a microcontroller, etc.
[0072] The aforementioned device access information maintenance method and / or device access information maintenance apparatus; and the aforementioned cross-regional control method and / or device for IoT devices can be implemented in the form of a computer-readable instruction, which can be implemented in the form of, for example... Figure 4 It runs on the electronic device shown.
[0073] This application also provides an electronic device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the program, it implements the above-described device access information maintenance method or the above-described cross-regional control method for Internet of Things devices.
[0074] Figure 5 This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application. The electronic device may be a server. Please refer to... Figure 5 The electronic device includes a processor, a non-volatile storage medium, internal memory, an input device, a display screen, and a network interface connected via a system bus. The non-volatile storage medium can store an operating system and computer-readable instructions. When executed, these computer-readable instructions cause the processor to perform a device access information maintenance method according to various embodiments of this application (the specific implementation process of this method can be found in [reference]). Figure 1 (Specific content) or cross-regional control methods for IoT devices (the specific implementation process of this method can be found in...) Figure 2 (Specific content). The processor of this electronic device provides computing and control capabilities to support the operation of the entire electronic device. The internal memory can store computer-readable instructions, which, when executed by the processor, can cause the processor to perform a device access information maintenance method or a cross-regional control method for IoT devices. The input device of the electronic device is used for inputting various parameters, the display screen of the electronic device is used for display, and the network interface of the electronic device is used for network communication. Those skilled in the art will understand that... Figure 5The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0075] Based on the same inventive concept, this application provides a computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the steps in the above-described device access information maintenance method or cross-regional control method for IoT devices.
[0076] Any references to memory, storage, databases, or other media used herein may include non-volatile memory. Suitable non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
[0077] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0078] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0079] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0080] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for maintaining device access information, characterized in that, The method, applied to any access area in a multi-area access system for IoT devices, includes: When a device is connected, the area information of the area currently connected to the device is bound to the device to generate the current area information of the device; When it is determined that the device's previous region information exists in the cache corresponding to the currently accessed region, the current region information is compared with the previous region information; When it is determined that the current region information is different from the previous region information, the previous region information in the cache corresponding to the currently accessed region is updated to the current region information, and the current region information is synchronized to other regions.
2. The method as described in claim 1, characterized in that, Multiple regions share a single database. When it is determined that the current region information is different from the previous region information, the method further includes updating the previous region information of the device in the database to the current region information.
3. The method as described in claim 2, characterized in that, The method further includes: If it is determined that the device's previous region information does not exist in the cache corresponding to the currently accessed region, it is determined whether the device's previous region information exists in the database; If not, the current region information is written into the database and synchronized to all regions.
4. The method as described in claim 3, characterized in that, The method further includes: When it is determined that the database contains the device's past region information, it is determined whether the device's past region information is consistent with the device's current region information; If so, the current region information is written into the cache corresponding to the currently accessed region.
5. The method as described in claim 4, characterized in that, The method further includes: When it is determined that the previous region information of the device stored in the database is inconsistent with the current region information of the device, the previous region information of the device stored in the database is updated to the current region information of the device and synchronized to all regions.
6. A cross-regional control method for an Internet of Things (IoT) device, applied to any access region in a multi-regional access scenario for the IoT device, characterized in that, The method includes: Receive control commands sent by mobile terminals connected to the Internet of Things in a region, wherein the control commands carry the identifier of the controlled device; Based on the controlled device identifier, the region information of the controlled device is queried in the region accessed by the mobile terminal, and the region information of the controlled device is maintained by the method described in any one of claims 1 to 5; Based on the area information, the control command is sent to the area accessed by the controlled device to control the controlled device.
7. A device for maintaining information access to equipment, characterized in that, The device is used in any access area of a multi-area access system for Internet of Things (IoT) devices, and includes: The binding module is used to bind the area information of the area currently accessed by the device to the device when the device is connected, and generate the current area information of the device; The update module is used to compare the current area information with the previous area information when it is determined that the cache corresponding to the currently accessed area contains the previous area information of the device; when it is determined that the current area information is different from the previous area information, the previous area information in the cache corresponding to the currently accessed area is updated to the current area information, and the current area information is synchronized to other areas.
8. A cross-regional control device for an Internet of Things (IoT) device, applied to any access region in a multi-regional access scenario for the IoT device, characterized in that, The device includes: The receiving module is used to receive control commands sent by mobile terminals that are connected to the Internet of Things in a certain area, wherein the control commands carry the identifier of the controlled device; The query module is used to query the area information of the controlled device in the area accessed by the mobile terminal based on the controlled device identifier, and the area information of the controlled device is maintained by the device access information maintenance device as described in claim 7. The sending module is used to send the control command to the area accessed by the controlled device based on the area information, so as to control the controlled device.
9. An electronic device, characterized in that, The device includes a memory and a processor. The memory stores computer-readable instructions, which, when executed by the processor, cause the processor to perform the device access information maintenance method as described in any one of claims 1-5 or to implement the function of the device access information maintenance device as described in claim 7; or, to perform the cross-regional control method for IoT devices as described in claim 6 or to implement the function of the cross-regional control device for IoT devices as described in claim 8.
10. A non-volatile readable storage medium storing computer-readable instructions, characterized in that... When the computer-readable instructions are executed by the processor, the processor performs the device access information maintenance method as described in any one of claims 1-5 or implements the function of the device access information maintenance device as described in claim 7; or, performs the cross-regional control method for IoT devices as described in claim 6 or implements the function of the cross-regional control device for IoT devices as described in claim 8.
Citation Information
Patent Citations
Data transmission method and device, electronic equipment and storage medium
CN113691605A
Control device for controlling electronic equipment and automatic document feeder
JP2004310217A