Multi-device function limiting method and device

By forming multiple devices into device blocks and establishing communication connections, the device control server sends instructions to modify the restricted function list, solving the problem of low efficiency of multi-device function limitation, realizing batch control and unified management, and improving the efficiency of device management and consistency.

CN119254617AActive Publication Date: 2025-01-03GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411769475.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-01-03
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

In the prior art, multiple devices are inefficient when they are restricted in function, and they cannot effectively manage and control the functions of a large number of devices.

Method used

By forming multiple devices with the same functions into a device block, all devices in the device block establish communication connections, the device control server sends instructions to modify the restricted function list, so that the target device can modify its restricted function list, and synchronize the modified list To all devices in the device block, batch control is implemented.

Benefits of technology

The functional limitations of all devices in the device block are realized, management efficiency and consistency are improved, functions are avoided inconsistent, equipment management and maintenance are simplified, and system security and scalability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254617A_ABST
    Figure CN119254617A_ABST
Patent Text Reader

Abstract

The invention discloses a function limiting method and device for multiple devices. The method comprises the steps that a device control server enables a plurality of devices with the same function to form a device block, and all the devices in the device block are made to establish communication connection; the equipment control server sends a limited function list modification instruction to the target equipment, so that the target equipment modifies the limited function list of the target equipment and synchronizes the modified limited function list to all the equipment of the equipment block, the target equipment is any equipment in the equipment block, and the limited function list is in one-to-one correspondence with the equipment; the limited function list comprises functions for which the device is not allowed to be controlled. According to the invention, the technical problem of low efficiency during function limitation of multiple devices in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method and apparatus for limiting the functions of multiple devices. Background Art

[0002] In some public places with many devices, such as school buildings, student dormitories, gymnasiums, etc., for example, the person in charge requires that the air conditioning equipment in the place must run in a certain mode and cannot be adjusted to other modes, or it is not allowed to be turned on / off. Setting one by one will result in too many devices and too low efficiency.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method and apparatus for limiting functions of multiple devices, so as to at least solve the technical problem of low efficiency in limiting functions of multiple devices in the prior art.

[0005] According to one aspect of an embodiment of the present invention, a method for limiting the functions of multiple devices is provided, comprising: a device control server groups multiple devices with the same functions into a device block, so that all devices in the device block establish a communication connection; the device control server sends a modification restricted function list instruction to a target device, so that the target device modifies the restricted function list of the target device, and other devices receive first relationship block data sent by the target device, the first relationship block data including the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; the first relationship block data sent by the target device is sent to the target device. The restricted function list of the other device is compared with the second relationship block data of the other device to obtain a comparison result, wherein the second relationship block data includes the restricted function list of the other device and the device block name of the device block to which the other device belongs; when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other device, the restricted function list of the other device is updated to the modified restricted function list, the target device is any one of the devices in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

[0006] Optionally, the process of synchronizing the modified restricted function list to all the devices of the device block includes: other devices receiving first relationship block data sent by the target device, the first relationship block data including the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; comparing the first relationship block data sent by the target device with second relationship block data of the other devices to obtain a comparison result, the second relationship block data including the restricted function list of the other devices and the device block name of the device block to which the other devices belong; if the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other devices, updating the restricted function list of the other devices to the modified restricted function list.

[0007] Optionally, when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other device, the process of updating the restricted function list of the other device to the modified restricted function list includes: when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the update time of the modified restricted function list is later than the update time of the restricted function list of the other device, updating the restricted function list of the other device to the modified restricted function list, the first relationship block data also includes the update time of the modified restricted function list, and the second relationship block data also includes the update time of the restricted function list of the other device.

[0008] Optionally, the device control server sends an instruction to modify the restricted function list to the target device, so that the target device modifies the restricted function list of the target device, including: the device control server uses a private key to encrypt the instruction to modify the restricted function list to obtain an encrypted instruction; the device control server sends the encrypted instruction to the target device, so that the target device uses a public key corresponding to the private key to decrypt the encrypted instruction to obtain the instruction to modify the restricted function list and modifies the information of the restricted function list of the target device according to the instruction to modify the restricted function list.

[0009] Optionally, after the device control server sends an instruction to modify the restricted function list to the target device, so that the target device modifies the restricted function list of the target device and synchronizes the modified restricted function list to all the devices in the device block, the multi-device function restriction method also includes: when the target device receives the control instruction and the restricted function list of the target device contains a function corresponding to the control instruction, the target device does not execute the control instruction.

[0010] Optionally, after the device control server organizes multiple devices with the same functions into a device block, the multi-device function limitation method further includes: the device control server sends a status control instruction to the target device, so that the target device adjusts the device status according to the status control instruction and synchronizes the device status to all the devices in the device block, and the device status includes the on / off status of the device.

[0011] According to another aspect of an embodiment of the present invention, a function restriction apparatus for multiple devices is provided, comprising: a grouping unit, used for a device control server to group multiple devices with the same functions into a device block, so that all devices in the device block establish a communication connection; a sending unit, used for the device control server to send a modification restricted function list instruction to a target device, so that the target device modifies the restricted function list of the target device, and other devices receive first relationship block data sent by the target device, the first relationship block data including the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; the instruction sent by the target device is sent to the target device, and the modified restricted function list is sent to the target device. The first relationship block data is compared with the second relationship block data of the other device to obtain a comparison result, wherein the second relationship block data includes the restricted function list of the other device and the device block name of the device block to which the other device belongs; when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other device, the restricted function list of the other device is updated to the modified restricted function list, the target device is any one of the devices in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

[0012] Optionally, the process of the sending unit includes: a receiving module, used for other devices to receive first relationship block data sent by the target device, the first relationship block data including the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; a comparing module, used for comparing the first relationship block data sent by the target device with second relationship block data of the other devices to obtain a comparison result, the second relationship block data including the restricted function list of the other devices and the device block name of the device block to which the other devices belong; an updating module, used for, if the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other devices, updating the restricted function list of the other devices to the modified restricted function list.

[0013] Optionally, the process of the update module includes: an update submodule, used to update the restricted function list of the other device to the modified restricted function list when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the update time of the modified restricted function list is later than the update time of the restricted function list of the other device, the first relationship block data also includes the update time of the modified restricted function list, and the second relationship block data also includes the update time of the restricted function list of the other device.

[0014] Optionally, the sending unit includes: an encryption module, used for the device control server to encrypt the instruction to modify the restricted function list using a private key to obtain an encrypted instruction; a sending module, used for the device control server to send the encrypted instruction to the target device, so that the target device uses the public key corresponding to the private key to decrypt the encrypted instruction to obtain the instruction to modify the restricted function list and modify the information of the restricted function list of the target device according to the instruction to modify the restricted function list.

[0015] Optionally, the multi-device function restriction device also includes: a restriction unit, used to send an instruction to modify the restricted function list to the target device from the device control server, so that the target device modifies the restricted function list of the target device and synchronizes the modified restricted function list to all the devices in the device block. After the target device receives the control instruction and the restricted function list of the target device contains a function corresponding to the control instruction, the target device does not execute the control instruction.

[0016] Optionally, the multi-device function limitation device also includes: a control unit, which is used for the device control server to send a status control instruction to the target device after the device control server groups multiple devices with the same function into a device block, so that the target device adjusts the device status according to the status control instruction and synchronizes the device status to all the devices in the device block, and the device status includes the on / off status of the device.

[0017] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the multi-device function restriction methods described above.

[0018] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above-mentioned methods for limiting the functions of multiple devices.

[0019] According to another aspect of an embodiment of the present invention, an Internet of Things system is also provided, comprising: multiple devices, a device control server, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing function restriction of multiple devices described in any one of the above.

[0020] In an embodiment of the present invention, multiple devices with the same functions are grouped into a device block, and a communication connection is established among all devices in the device block. The device control server can send a restricted function list modification instruction to the target device, so that the target device modifies its restricted function list, and synchronizes the modified restricted function list to all devices in the device block, thereby implementing function restrictions for all devices in the device block and realizing batch control. There is no need to set function restrictions for each device one by one, which solves the problem of low efficiency in performing function restrictions on multiple devices in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0022] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for limiting functions of multiple devices according to an embodiment of the present invention;

[0023] Figure 2 is a flowchart of a method for limiting functions of multiple devices according to an embodiment of the present invention;

[0024] Figure 3 is a flowchart of an optional multi-device function restriction method according to an embodiment of the present invention;

[0025] Figure 4 2 is a schematic diagram of a device for limiting functions of multiple devices according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] As introduced in the background technology, the prior art is inefficient when restricting functions of multiple devices. In view of the above defects, a method and apparatus for restricting functions of multiple devices, a computer-readable storage medium, a computer program product and an Internet of Things system are provided in the embodiments of the present invention.

[0029] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0030] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for limiting the function of multiple devices according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the function restriction method of multiple devices in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0032] According to an embodiment of the present invention, a method embodiment of a method for limiting the functions of multiple devices is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0033] Figure 2 is a flow chart of a method for limiting the functions of multiple devices according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0034] Step S202: the device control server groups multiple devices with the same functions into a device block, so that all devices in the device block establish communication connections.

[0035] It should be noted that the above-mentioned device control server is a central server for managing and controlling multiple devices, which can realize remote monitoring, setting and control of the devices, as well as restriction and management of device functions.

[0036] In this embodiment, multiple devices with the same function are grouped into a device block, which can improve the collaboration and communication efficiency between devices. By establishing a communication connection, the devices in the device block can share data and work together to improve the overall performance and efficiency of the system. At the same time, through the management and control of the device block, the devices in the device block can be managed in a unified manner, which is convenient for centralized control and monitoring, thereby improving the security and stability of the system. The establishment of device blocks can simplify the structure and management of the system, reduce system maintenance costs, and improve the scalability and flexibility of the system.

[0037] Specifically, the device control server organizes multiple devices with the same functions into device blocks. Communication connections are established for the devices in each device block. Each device controller stores a copy of the data of the device relationship block and connects to the network. To achieve batch control, the networking function is used to realize communication between the server and the device, and between the devices in the relationship block. The entire data relationship block will eventually be encrypted into a string and transmitted between devices.

[0038] Optionally, the data of the device relationship block may include, but is not limited to: relationship block name, relationship block update time, device ID, and restricted function list.

[0039] Optionally, the above networking function can be wifi or a 4g / 5g communication module.

[0040] Step S204: the device control server sends a modification restricted function list instruction to the target device, so that the target device modifies the restricted function list of the target device, and other devices receive the first relationship block data sent by the target device, the first relationship block data includes the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; the first relationship block data sent by the target device is compared with the second relationship block data of the other devices to obtain a comparison result, the second relationship block data includes the restricted function list of the other devices and the device block name of the device block to which the other devices belong; when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other devices, the restricted function list of the other devices is updated to the modified restricted function list, the target device is any device in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

[0041] In this embodiment, by sending a modification instruction of the restricted function list to the target device through the device control server, the functions of all devices in the device block can be centrally managed and controlled. By modifying the restricted function list, certain devices in the device block can be restricted from performing specific functions, thereby ensuring that the devices comply with relevant regulations and safety requirements during use. At the same time, synchronizing the modified restricted function list to all devices in the device block can ensure that all devices comply with the same functional restrictions, avoiding inconsistent functions, thereby improving management efficiency and consistency, and being able to effectively manage multiple devices in the device block, achieve unified control and management, and ensure the safety and compliance of device use.

[0042] It should be noted that the above-mentioned restricted function list is a list of restricted functions that needs to be designed and stored separately for the control inside the device. When receiving external instructions, the system needs to filter through the restricted function list to ensure that the instructions in the restricted function list are not executed, regardless of whether the operation is performed through infrared remote control, APP (Application program) control, etc.

[0043] Optionally, the above restricted function list may be in the form of an array, a list, etc.

[0044] From the above, it can be seen that in the embodiment of the present invention, by forming a device block with multiple devices with the same functions, all devices in the device block establish a communication connection, and the device control server can send a modified restricted function list instruction to the target device, so that the target device modifies its restricted function list, and synchronizes the modified restricted function list to all devices in the device block, thereby realizing function restriction of all devices in the device block and realizing batch control. There is no need to set function restriction for each device one by one, which solves the problem of low efficiency in performing function restriction on multiple devices in the prior art.

[0045] Figure 3 is a flow chart of an optional multi-device function restriction method according to an embodiment of the present invention. Figure 3 As shown, when the target device receives the instruction to modify the restricted function list sent by the server and completes the writing, it spontaneously sends the data of its own device relationship block through broadcast at a certain interval. Other devices receive the broadcast data (i.e., the first relationship block data) and compare it with the stored device relationship block data (i.e., the second relationship block data). When the received broadcast data is the same as the stored device relationship block data, and the restricted function list after writing by the target device is different from the restricted function lists of other devices, the restricted function lists stored in other devices are updated to the restricted function list after writing.

[0046] It should be noted that the above restricted function list only accepts write operations sent by the server and synchronization operations of the relationship block to which the device belongs, that is, functions that are not allowed to operate.

[0047] In addition, it should be noted that broadcast communication is performed between devices so that devices in the same relationship block can be aware of each other's existence, which facilitates sending their own device data and synchronizing the data of other devices (ie, relationship block data).

[0048] In the above embodiment of the present invention, when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of other devices, the process of updating the restricted function list of other devices to the modified restricted function list includes: when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the update time of the modified restricted function list is later than the update time of the restricted function list of other devices, updating the restricted function list of other devices to the modified restricted function list, the first relationship block data also includes the update time of the modified restricted function list, and the second relationship block data also includes the update time of the restricted function list of other devices.

[0049] In this embodiment, by comparing the update time of the restricted function lists of different devices, the function of updating the restricted function lists of other devices to the modified restricted function list can be realized, which can ensure that the function restrictions on all devices are consistent and avoid inconsistencies. By comparing the update time, it can be ensured that the modified restricted function list is the latest, ensuring the security and stability of the system, improving the management efficiency of the system, reducing the workload of managers, and also providing users with a more stable and unified functional experience.

[0050] like Figure 3 As shown, after receiving the broadcast data, other devices compare whether the relationship block name (i.e., the device block name of the first relationship block data) in the received data is the same as their own relationship block name (i.e., the device block name of the second relationship block data), that is, whether they belong to their own relationship block. If they are not the same, ignore the data. If they are the same, continue to compare whether the update time of the modified restricted function list is greater than the data time saved by themselves. When the device block names are the same and the update time is greater than the data time saved by themselves, update the restricted function lists of other devices to the modified restricted function list. If it is less than the data time saved by themselves, it is saved in a temporary area and not updated temporarily.

[0051] According to the above embodiment of the present invention, the device control server sends an instruction to modify the restricted function list to the target device, so that the target device modifies the restricted function list of the target device, including: the device control server uses a private key to encrypt the instruction to modify the restricted function list to obtain an encrypted instruction; the device control server sends the encrypted instruction to the target device, so that the target device uses the public key corresponding to the private key to decrypt the encrypted instruction to obtain the instruction to modify the restricted function list and modifies the information of the restricted function list of the target device according to the instruction to modify the restricted function list.

[0052] In this embodiment, the communication security between the device control server and the target device can be effectively protected to prevent unauthorized operations from modifying the device function list. By using private key encryption and decryption, the confidentiality of instruction transmission is ensured. Only devices with corresponding private keys can decrypt and execute instructions, thereby effectively controlling the functional limitations of the device. It can also ensure the integrity of the instructions, prevent the instructions from being tampered with or forged during transmission, and ensure the validity and reliability of the instructions.

[0053] It should be noted that the device control server uses a private key to encrypt the instruction to modify the restricted function list, and encrypts the content written into the restricted function list to prevent it from being used by criminals.

[0054] According to the above embodiment of the present invention, after the device control server sends an instruction to modify the restricted function list to the target device, so that the target device modifies the restricted function list of the target device and synchronizes the modified restricted function list to all devices in the device block, the multi-device function restriction method also includes: when the target device receives the control instruction and the restricted function list of the target device contains a function corresponding to the control instruction, the target device does not execute the control instruction.

[0055] In this embodiment, it can be ensured that the target device can be restricted according to its restricted function list when receiving a control instruction, avoiding the execution of control instructions that may cause problems or security risks. The security and reliability of the target device can be improved, the user's privacy and data security can be protected, and it is helpful to uniformly manage the functional restrictions of multiple devices, simplify the management and maintenance processes, and improve the overall efficiency and availability of the system.

[0056] That is, if the control instruction received by the target device is a control instruction for which the operation is not permitted, the target device does not execute the control instruction.

[0057] According to the above embodiment of the present invention, after the device control server groups multiple devices with the same functions into a device block, the function limitation method of multiple devices also includes: the device control server sends a status control instruction to the target device, so that the target device adjusts the device status according to the status control instruction and synchronizes the device status to all devices in the device block, and the device status includes the on / off status of the device.

[0058] In this embodiment, by sending status control instructions to the target device through the device control server, unified control and management of multiple devices can be achieved. By adjusting the device status and synchronizing the device status to the devices of all device blocks, the status synchronization between the various devices can be ensured, thereby improving the collaborative working efficiency of the devices. By sending status control instructions through the device control server, multiple devices can be centrally managed and monitored, thereby improving the management efficiency and operational safety of the devices.

[0059] In addition, the target device continues to receive data broadcast by other devices, and saves them for comparison. When a large number of device IDs are shared in a certain group of saved data, its own relationship block data is updated synchronously, and broadcast outward after the synchronous writing is completed.

[0060] In summary, it can ensure that the data block of the device will not be easily modified, and it will be updated synchronously after other devices are updated, avoiding the situation where devices in the area request the server at the same time, causing load difficulties for the server and base station. It can synchronize device relationship blocks and can also be used to synchronize other information such as device status.

[0061] The technical solution provided by the above embodiment of the present invention solves the problem of batch locking the functions specified by all devices in the same area, not allowing private adjustment, and individual devices being unable to keep consistent with other devices due to too many devices under batch control. At the same time, it has the beneficial effect of improving the processing efficiency of batch control devices, which is conducive to better management of equipment by site managers.

[0062] That is, the technical solution provided by the embodiment of the present invention comprehensively considers various factors, implements the function of batch locking or controlling devices based on the device relationship block, and improves the success rate of batch controlling devices.

[0063] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0065] According to an embodiment of the present invention, a multi-device function restriction apparatus for implementing the multi-device function restriction method is also provided. Figure 4 is a schematic diagram of a function limiting device for multiple devices according to an embodiment of the present invention. Figure 4 As shown, the device includes: a grouping unit 401 and a sending unit 403. The function limiting device for multiple devices is described below.

[0066] The grouping unit 401 is used for the device control server to group multiple devices with the same function into a device block, so that all devices in the device block establish communication connections.

[0067] The sending unit 403 is configured to send a modification restricted function list instruction to the target device by the device control server, so that the target device modifies the restricted function list of the target device, and other devices receive the first relationship block data sent by the target device, the first relationship block data includes the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; compare the first relationship block data sent by the target device with the second relationship block data of the other devices to obtain a comparison result, the second relationship block data includes the restricted function list of the other devices and the device block name of the device block to which the other devices belong; if the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other devices, update the restricted function list of the other devices to the modified restricted function list, the target device is any device in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

[0068] It should be noted here that the above-mentioned grouping unit 401 and sending unit 403 correspond to steps S202 to S204 in the above-mentioned embodiment, and the instances and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment.

[0069] It can be seen from the above that in the scheme recorded in the above-mentioned embodiment of the present invention, by forming a device block with multiple devices with the same functions, all devices in the device block establish a communication connection, and the device control server can send a modification instruction of the restricted function list to the target device, so that the target device modifies its restricted function list, and synchronizes the modified restricted function list to all devices in the device block, thereby realizing function restriction of all devices in the device block and realizing batch control, without setting function restriction for each device one by one, thereby solving the problem of low efficiency in performing function restriction on multiple devices in the prior art.

[0070] In an optional embodiment, the process of the update module includes: an update sub-module, which is used to update the restricted function list of other devices to the modified restricted function list when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the update time of the modified restricted function list is later than the update time of the restricted function list of other devices, the first relationship block data also includes the update time of the modified restricted function list, and the second relationship block data also includes the update time of the restricted function list of other devices.

[0071] In an optional embodiment, the sending unit includes: an encryption module, which is used for the device control server to encrypt the instruction to modify the restricted function list using a private key to obtain an encrypted instruction; a sending module, which is used for the device control server to send the encrypted instruction to the target device, so that the target device uses the public key corresponding to the private key to decrypt the encrypted instruction to obtain the instruction to modify the restricted function list and modify the information of the restricted function list of the target device according to the instruction to modify the restricted function list.

[0072] In an optional embodiment, the function restriction apparatus for multiple devices further includes: a restriction unit, which is used to send a modification instruction of the restricted function list to the target device after the device control server sends the instruction to modify the restricted function list, so that the target device modifies the restricted function list of the target device and synchronizes the modified restricted function list to all devices in the device block. After the target device receives the control instruction and the restricted function list of the target device contains the function corresponding to the control instruction, the target device does not execute the control instruction.

[0073] In an optional embodiment, the function limitation device for multiple devices also includes: a control unit, which is used for the device control server to send a status control instruction to the target device after the device control server groups multiple devices with the same function into a device block, so that the target device adjusts the device status according to the status control instruction and synchronizes the device status to all devices in the device block, and the device status includes the on / off status of the device.

[0074] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the above-mentioned methods for limiting the functions of multiple devices is implemented.

[0075] According to another aspect of an embodiment of the present invention, an Internet of Things system is also provided, comprising: multiple devices, a device control server, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include a function restriction method for multiple devices for executing any one of the above.

[0076] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned multi-device function restriction methods.

[0077] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0078] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: the device control server groups multiple devices with the same functions into a device block so that all devices in the device block establish a communication connection; the device control server sends an instruction to modify the restricted function list to the target device so that the target device modifies the restricted function list of the target device, and other devices receive the first relationship block data sent by the above-mentioned target device, the above-mentioned first relationship block data includes the modified above-mentioned restricted function list and the device block name of the above-mentioned device block to which the above-mentioned target device belongs, and the above-mentioned other devices are the above-mentioned devices other than the above-mentioned target device in the above-mentioned device block; the above-mentioned first relationship block data sent by the above-mentioned target device is sent to the target device. A first relationship block data is compared with a second relationship block data of the above-mentioned other device to obtain a comparison result, and the above-mentioned second relationship block data includes the above-mentioned restricted function list of the above-mentioned other device and the device block name of the above-mentioned device block to which the above-mentioned other device belongs; when the above-mentioned comparison result is that the device block name of the above-mentioned first relationship block data is the same as the device block of the above-mentioned second relationship block data and the modified restricted function list is different from the above-mentioned restricted function list of the above-mentioned other device, the above-mentioned restricted function list of the above-mentioned other device is updated to the modified restricted function list, the target device is any device in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

[0079] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: when the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the update time of the modified restricted function list is later than the update time of the restricted function list of other devices, the restricted function list of other devices is updated to the modified restricted function list, the first relationship block data also includes the update time of the modified restricted function list, and the second relationship block data also includes the update time of the restricted function list of other devices.

[0080] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: the device control server uses a private key to encrypt the instruction to modify the restricted function list to obtain an encrypted instruction; the device control server sends the encrypted instruction to the target device, so that the target device uses the public key corresponding to the private key to decrypt the encrypted instruction to obtain the instruction to modify the restricted function list and modifies the information of the restricted function list of the target device according to the instruction to modify the restricted function list.

[0081] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: when the target device receives the control instruction and the restricted function list of the target device contains a function corresponding to the control instruction, the target device does not execute the control instruction.

[0082] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: the device control server sends a status control instruction to the target device, so that the target device adjusts the device status according to the status control instruction and synchronizes the device status to all devices in the device block, and the device status includes the switch status of the device.

[0083] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0084] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0085] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0086] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0087] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0088] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0089] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for limiting the functions of multiple devices, characterized in that: include: The device control server groups multiple devices with the same functions into a device block so that all devices in the device block establish communication connections; The device control server sends a modification restricted function list instruction to the target device, so that the target device modifies the restricted function list of the target device, and other devices receive first relationship block data sent by the target device, the first relationship block data includes the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; the first relationship block data sent by the target device is compared with second relationship block data of the other devices to obtain a comparison result, the second relationship block data includes the restricted function list of the other devices and the device block name of the device block to which the other devices belong; When the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other devices, the restricted function list of the other devices is updated to the modified restricted function list, the target device is any one of the devices in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

2. The method according to claim 1, characterized in that When the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other device, the process of updating the restricted function list of the other device to the modified restricted function list includes: When the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the update time of the modified restricted function list is later than the update time of the restricted function list of the other device, the restricted function list of the other device is updated to the modified restricted function list, the first relationship block data also includes the update time of the modified restricted function list, and the second relationship block data also includes the update time of the restricted function list of the other device.

3. The method according to claim 1, characterized in that The device control server sends a modification restricted function list instruction to the target device, so that the target device modifies the restricted function list of the target device, including: The device control server encrypts the instruction to modify the restricted function list using a private key to obtain an encrypted instruction; The device control server sends the encrypted instruction to the target device, so that the target device uses the public key corresponding to the private key to decrypt the encrypted instruction to obtain the instruction to modify the restricted function list and modifies the information of the restricted function list of the target device according to the instruction to modify the restricted function list.

4. The method according to claim 1, characterized in that: After the device control server sends a modification restricted function list instruction to the target device, so that the target device modifies the restricted function list of the target device and synchronizes the modified restricted function list to all the devices of the device block, the method further includes: When the target device receives the control instruction and the restricted function list of the target device contains a function corresponding to the control instruction, the target device does not execute the control instruction.

5. The method according to any one of claims 1 to 4, characterized in that After the device control server groups multiple devices with the same functions into a device block, the method further includes: The device control server sends a state control instruction to the target device, so that the target device adjusts the device state according to the state control instruction and synchronizes the device state to all the devices in the device block, wherein the device state includes the switch state of the device.

6. A function limiting device for multiple devices, characterized in that: include: A grouping unit, used for the device control server to group multiple devices with the same function into a device block, so that all devices in the device block establish communication connections; a sending unit, configured for the device control server to send a modification restricted function list instruction to a target device, so that the target device modifies the restricted function list of the target device, and other devices receive first relationship block data sent by the target device, the first relationship block data including the modified restricted function list and the device block name of the device block to which the target device belongs, and the other devices are the devices other than the target device in the device block; and compare the first relationship block data sent by the target device with second relationship block data of the other devices to obtain a comparison result, the second relationship block data including the restricted function list of the other devices and the device block name of the device block to which the other devices belong; When the comparison result is that the device block name of the first relationship block data is the same as the device block of the second relationship block data and the modified restricted function list is different from the restricted function list of the other devices, the restricted function list of the other devices is updated to the modified restricted function list, the target device is any one of the devices in the device block, the restricted function list corresponds to the device one-to-one, and the restricted function list includes functions that the device is not allowed to control.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 5.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. An Internet of Things system, characterized in that: include: Multiple devices, a device control server, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 5.

Citation Information

Patent Citations

  • System information sending method, device, electronic equipment, and storage medium

    CN112335265A

  • Information synchronization method, device and equipment and readable storage medium

    CN112566221A

  • Smart home equipment control method based on regional grouping

    CN114637219A

  • Networking control method of intelligent equipment, terminal equipment and storage medium

    CN116545794A

  • Unreliable channel multi-device data synchronous upgrading method, device, equipment and medium

    CN116679951A