WO2020228027A1 - Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations - Google Patents

Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations Download PDF

Info

Publication number
WO2020228027A1
WO2020228027A1 PCT/CN2019/087292 CN2019087292W WO2020228027A1 WO 2020228027 A1 WO2020228027 A1 WO 2020228027A1 CN 2019087292 W CN2019087292 W CN 2019087292W WO 2020228027 A1 WO2020228027 A1 WO 2020228027A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
control
sending user
control instruction
sending
Prior art date
Application number
PCT/CN2019/087292
Other languages
English (en)
Chinese (zh)
Inventor
成云峰
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN201980089898.5A priority Critical patent/CN113383562B/zh
Priority to PCT/CN2019/087292 priority patent/WO2020228027A1/fr
Publication of WO2020228027A1 publication Critical patent/WO2020228027A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • This application relates to the field of Internet of Things, and more specifically, to a device control method, device, electronic device, and storage medium.
  • this application proposes a device control method, device, electronic equipment, and storage medium to improve the above problems.
  • the present application provides a device control method applied to an electronic device, the method comprising: after receiving a control instruction, acquiring the target device controlled by the control instruction and the sending user of the control instruction; Acquire the home user of the target device; if it is identified that the home user of the target device is different from the sending user, compare the control priority of the home user and the sending user; if the control priority of the sending user Higher than the control priority of the home user, execute the control instruction.
  • the present application provides a device control device that runs on an electronic device.
  • the device includes: a device information acquisition unit configured to, after receiving a control instruction, acquire the target device controlled by the control instruction and all The sending user of the control instruction; a user determination unit for obtaining the home user of the target device; an information comparison unit for identifying that the home user of the target device is different from the sender And the control priority of the sending user;
  • the device control unit is configured to execute the control instruction if the control priority of the sending user is higher than the control priority of the home user.
  • this application provides an electronic device including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be The one or more processors execute the above-mentioned methods.
  • the present application provides a computer-readable storage medium having program code stored in the computer-readable storage medium, wherein the above-mentioned method is executed when the program code is running, and control confusion can also be avoided.
  • the device control method, device, electronic device, and storage medium provided by the present application after receiving a control instruction, acquire the target device controlled by the control instruction and the sending user of the control instruction, and then acquire the target The home user of the device, and if it is identified that the home user of the target device is different from the sending user, compare the control priority of the home user and the sending user, and compare the control priority of the sending user In the case of the control priority of the home user, the control instruction is executed. In this way, it is possible to realize the control of the device through the comparison of the control priority of the user, and then realize the control of the home device of the user with a lower control priority through the user with a higher control priority, and further refine the control Graininess.
  • FIG. 1 shows a schematic diagram of the architecture of the Internet of Things proposed in an embodiment of the present application
  • FIG. 2 shows a schematic diagram of another architecture of the Internet of Things proposed in an embodiment of the present application
  • FIG. 3 shows a schematic diagram of yet another architecture of the Internet of Things proposed by an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a communication mode between a client and a server proposed in an embodiment of the present application
  • FIG. 5 shows a flowchart of a device control method proposed in an embodiment of the present application
  • FIG. 6 shows a schematic diagram of a configuration interface in the device control method proposed in the embodiment of the present application.
  • FIG. 7 shows a schematic diagram of another added domain in the device control method proposed in the embodiment of the present application.
  • FIG. 8 shows a schematic diagram of controlled devices included in another domain in the device control method proposed in an embodiment of the present application.
  • FIG. 9 shows a flowchart of a device control method proposed by another embodiment of the present application.
  • FIG. 10 shows a flow chart of a device control method proposed by still another embodiment of the present application.
  • FIG. 11 shows a structural block diagram of a device control device proposed in an embodiment of the present application.
  • FIG. 12 shows a structural block diagram of a device control apparatus proposed by another embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a device control device proposed by another embodiment of the present application.
  • FIG. 14 shows a structural block diagram of an electronic device of the present application for executing the device control method according to an embodiment of the present application
  • Fig. 15 is a storage unit for storing or carrying program codes for implementing the device control method according to the embodiment of the present application.
  • the Internet of Things is a network concept that extends and expands its user end to any item and item for information exchange and communication based on the "Internet concept".
  • IoT technology With the development of IoT technology, some scenarios can be configured in the IoT system. For the configuration scenario, multiple controlled devices may be involved, and multiple controlled devices have a certain linkage relationship and can work together.
  • the controlled devices can be projectors, projection screens, smart lights, smart sockets, human sensors, door and window sensors, wireless switches, air conditioners, smoke alarms, smart curtain motors, and electronic devices such as air purifiers and smart speakers.
  • the control terminal 100 that plays a control role can realize data interaction with the controlled device 99 by directly establishing a wireless connection with the router 90.
  • the control terminal 100 can also realize data interaction with the controlled device 99 through the data link between the cloud 91 and the router 90 after establishing a connection with the cloud 91.
  • the control terminal 100 directly establishes data interaction with the first cloud 91a, and then realizes the control terminal 100 based on the data interaction between the first cloud 91a and the second cloud 91b.
  • the controlled device 99 may establish a wireless connection with the router 90 through the gateway 98.
  • the data interaction may include the control terminal 100 sending a control instruction to the controlled device, and may also include the controlled device returning status information to the control terminal 100 or returning the instruction execution result.
  • the data interaction between the control terminal 100 and the controlled device may be triggered by a client installed in the control terminal 100.
  • each manufacturer will develop its own SDK plug-in so as to control client calls in the terminal 100.
  • the client loads the manufacturer's SDK plug-in, it can call the loaded SDK plug-in, and then interact with the manufacturer's server through the SDK plug-in.
  • the client 110 shown in FIG. 4 is loaded with the SDK plug-in 111 of manufacturer A and the SDK plug-in 112 of manufacturer B.
  • the client 110 can communicate with manufacturer A by calling the SDK plug-in of manufacturer A.
  • the server 210 of manufacturer B performs data interaction, and the client 110 can interact with the server 220 of manufacturer B by calling the SDK plug-in of manufacturer B.
  • the control methods in IoT scenarios are becoming more and more abundant. For example, multiple users can control or configure the same device at the same time.
  • the electronic device that forwards the control instruction for example, the server or the gateway 98 in the cloud 91
  • the electronic device that forwards the control instruction is executed in the order before and after the instruction is received. Even the control commands received at the same time will be executed.
  • the inventor also discovered that the control commands triggered by multiple users bound to the same controlled device may conflict with each other when controlling the same device.
  • the electronic device that forwards the control command may conflict with each other.
  • the inventor proposes a device control method, device, electronic device, and storage medium that can improve the above-mentioned problems in this application.
  • a device control method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
  • Step S110 After receiving the control instruction, obtain the target device controlled by the control instruction and the sending user of the control instruction.
  • the electronic device is an intermediate device between the control terminal and the controlled device operated by the user.
  • the electronic device After the electronic device receives the control instruction sent by the control terminal, it can forward the received control instruction to the target device, and the target device here refers to the controlled device that the user desires to control or configure. So in order for the electronic device to identify which user sent the received control instruction and which device the user expects to control, the control instruction sent by the control terminal operated by the user will carry information about the sending user. And the information of the controlled target device, so that the electronic device can obtain the target device controlled by the control instruction and the sending user of the control instruction.
  • the control terminal can encode the information about the sending user and the information of the target device under control based on the coding rule negotiated with the electronic device to generate control Instruction, when the electronic device receives the control instruction, it can decode according to the decoding regulations corresponding to the negotiated encoding rule, and then obtain the target device carried in the control instruction and the user who sent the control instruction.
  • the information about the sending user carried in the control instruction may be a user account
  • the information about the target device to be controlled may be device identification information that uniquely identifies the device to be controlled.
  • Step S120 Obtain the home user of the target device.
  • the controlled device 99 shown in FIGS. 1 to 3 is usually configured to be connected to the network by the user.
  • the cloud server can control the controlled device 99.
  • the client that performs the network access configuration is usually bound to the user account first, and then the client uploads the configured controlled device information to the server in the cloud. At the same time upload the configured information of the controlled device and the user account of the user who configured it.
  • the cloud server After the cloud server receives the configured controlled device information uploaded by the client and the corresponding user account of the user performing the configuration, it will use the controlled device information to uniquely identify the device identification information of the controlled device
  • the corresponding storage is performed with the user account, so that the user of the user account stored corresponding to the device identification information of the controlled device is regarded as the home user, which is also convenient for subsequent query of the home user corresponding to the controlled device.
  • the home user of the controlled device can be directly determined by the user who performs the configuration, and can also be changed after the controlled device is configured to enter the network. It should be noted that in this embodiment of the present application, multiple users with an association relationship can be pre-combined into a user group, and there can be multiple ways to form a user group.
  • a user can send a user group formation instruction to the electronic device through the bound control terminal.
  • the electronic device After receiving the component instruction, the electronic device will first search for the controlled device bound to the initiating user. Then divide the users bound with the same controlled device into the same user group, and configure the initiating user as an administrator user by default, so that the initiating user can configure the control priority. For example, if the initiating user is bound to controlled device A, controlled device B, and controlled device C, then the electronic device inquires that other user A is also bound to controlled device B and controlled device C, and other users B is bound to controlled device A, then the electronic device will allocate the initiating user and user A as a user group, and then allocate the initiating user and user B to another user group. Through the above method, a relatively complete user group can be established.
  • the control terminal can directly control the controlled device based on LAN communication.
  • the control command sent by the control terminal can be directly sent to the controlled device through the gateway instead of forwarding based on the cloud server.
  • the electronic device can directly configure users in the same local area network as a user group, or directly configure the controlled device bound to the initiating user Users in the same local area network are configured as a user group so that the user group can be established quickly.
  • the electronic device can identify users in the same local area network in multiple ways. For example, it can identify that the control terminal bound to the multiple users uses the same public network IP when communicating with the server.
  • the electronic device can also determine whether the IP address and the subnet mask of the user control terminal are the same to determine whether multiple control terminals are in the same local area network. It is understandable that the above method can also be used to determine whether the controlled device and the controlling terminal are in the same local area network, and the above method can still be used to determine whether multiple controlled devices are in the same local area network.
  • the user can directly operate the control terminal to search for users, and then configure the searched users into the same user group.
  • the user with the management authority or the highest control priority can reconfigure the ownership of the controlled equipment originally belonging to other users. For example, if controlled device A is configured to access the network by user A, then the home user of controlled device A is user A by default, and controlled device B is configured to access the network by user B, then the default home user of controlled device B is User B. Then, when user A and user B are in the same user group, and user A has management authority, user A can change the attribution of controlled device B to user A himself or even other users in the user.
  • the electronic device After the electronic device obtains the controlled target device, that is, after obtaining the aforementioned device identification information that uniquely identifies the controlled device, it can search the pre-stored data, and then find the target The owner of the device.
  • Step S121 Identify whether the home user of the target device is the same as the sending user.
  • the comparison can be directly based on the user account. If the user account is the same, it means the same user, and if the user account is different, it means the user is not the same user.
  • Step S130 If it is identified that the attribution user of the target device is the same as the sending user, execute the control instruction.
  • Step S131 If it is recognized that the home user of the target device is different from the sending user, compare the control priorities of the home user and the sending user.
  • each user account can be correspondingly configured with a control priority level identification. Then in this way, the electronic device can directly look up the level identification corresponding to the user account for comparison, and then determine the control priority. For example, if the level identifier corresponding to the user account of the home user is level three, and the level identifier corresponding to the user account of the sending user is level one, and the smaller the level, the higher the control priority, the electronic device will determine to send The control priority of the user is higher than the control priority of the home user.
  • a certain user account can derive a subordinate account or sub-account, and the control priority of the derived subordinate account or sub-account will be lower than the control priority of the original account. For example, in a scenario, when a temporary user performs temporary device control, if the account registration is still performed according to the original account registration process, it will cause a certain amount of time consumption and waste of resources.
  • a certain amount of effective implementation can be configured for the subordinate account or sub-account, for example, it can be valid within a day or a week.
  • the electronic device detects that the subordinate account or the sub-account expires, it will be deleted.
  • the devices belonging to the subordinate account or sub-account are deleted from the system.
  • the user account USER_A already exists in the cloud server, so when the electronic device detects that the user account USER_A needs to be used for account derivation or sharing, the user account USER_A_01 can be derived or shared, and the validity period is configured to be 24 hours.
  • Temporary users who have not yet registered can log in to the cloud server (that is, the aforementioned system) through the user account USER_A_01, and can also configure controlled devices to access the network. For devices that are configured to access the network by a subordinate account or a sub-account, the original account can be used To determine whether to delete the sub-account or sub-account after the effective time expires, or to keep it in the system.
  • the step of comparing the control priority of the home user and the sending user includes: detecting whether the user account of the sending user has a subordinate relationship, and if the user account of the sending user is detected If there is a subordination relationship, and the sending user is subordinate to the home user, it is determined that the control priority of the sending user is lower than the control priority of the home user.
  • Step S140 If the control priority of the sending user is higher than the control priority of the home user, execute the control instruction.
  • Step S141 If the control priority of the sending user is lower than the control priority of the home user, discard the control instruction.
  • the electronic device may also send some notification messages to the home user, so as to inform the home user that there are other users who want to control the home user.
  • the controlled device controls, and the home user has the right to determine whether to allow the sending user to control the controlled device attributable to him, thereby further enriching the control method and improving the flexibility of control.
  • the method further includes: sending a control request to the home user; receiving the request feedback information returned by the home user; if the request feedback information is identified, it indicates that control is prohibited.
  • the target device discards the control instruction; if it is recognized that the request feedback information indicates that the target device is allowed to be controlled, the control instruction is executed.
  • the user may not only control a single device, but also control multiple devices at the same time.
  • the user can create a domain in advance, and then add all the controlled devices that need to be controlled at the same time to this domain. Then, after the electronic device receives the control command for this domain, it will determine that it is Control of all equipment.
  • this domain can represent multiple actual environments, for example, can represent a room, can represent a floor, and can also represent a geographic area.
  • the configuration interface 99 displayed by the control terminal as shown in FIG. 6 includes a domain addition control 98 and a display control 97 of the added domain.
  • the control terminal can display the information entry interface 96 shown in FIG. 7, so as to facilitate the user to add a new domain.
  • the user can further touch the name of the added domain in the interface shown in FIG. 6, and then trigger to enter the editing interface 95 of a specific domain shown in FIG. 8.
  • the devices that have been added under the domain will be displayed, and the user can further continue to add devices or delete the added devices.
  • the devices that have been added under the domain will be displayed, and the user can further continue to add devices or delete the added devices.
  • the devices that have been added under the domain will be displayed, and the user can further continue to add devices or delete the added devices.
  • the devices that have been added under the domain will be displayed, and the user can further continue to add devices or delete the added devices.
  • air conditioner A, speaker A, TV A, and door lock A have been added.
  • the step of acquiring the target device controlled by the control instruction and the sending user of the control instruction after receiving the control instruction includes: acquiring the control instruction after receiving the control instruction The controlled target domain and the sending user of the control instruction, wherein the domain represents the attribution relationship of multiple devices, and the attribution relationships of devices belonging to the same domain are the same; the device corresponding to the target domain is regarded as the controlled The target device.
  • the step of acquiring the home user of the target device includes: taking the home user of the target domain as the home user of the target device.
  • each device configured to a certain domain can be recorded in multiple ways.
  • an identification field can be dynamically added to the controlled device that is configured in a certain domain, so that the field can be used to identify whether each controlled device is configured in a certain domain. As shown in the following table:
  • the field "Area_name” represents the domain to which it belongs
  • the field "Device_ID” represents the identification of the controlled device
  • the field "User_ID” represents the attribution user.
  • a separate data table can be created for a domain that includes more controlled devices to store the included controlled devices, so as to avoid more time spent on table lookup when controlling more devices. Further, after a data table storing the controlled devices included in a domain is created separately for a certain domain, the controlled device that has been stored in the separately established data table will be taken from the master data table that originally recorded the controlled device Delete the information in order to avoid repeated recording of data and waste of data storage space.
  • a data table A is established in the cloud server to store all the information of the controlled device, the information includes the identification of the controlled device, the attribution user, whether it is configured to the domain, etc.
  • the user configures multiple devices in the data table A to a certain domain (for example, in the master bedroom)
  • the user can create a separate data table B to store the information of the controlled devices configured in the master bedroom. Then delete the information of the controlled device moved to data sheet B from data sheet A, and, after data sheet B is deleted, the information of the controlled device stored in data sheet B will be transferred back to data sheet A .
  • the device control method provided by the present application obtains the target device controlled by the control instruction and the sending user of the control instruction after receiving the control instruction, and then obtains the attribution user of the target device, and then if it is identified
  • the home user of the target device is different from the sending user, the control priority of the home user and the sending user is compared, and the control priority of the sending user is higher than the control priority of the home user.
  • the control command is executed. In this way, it is possible to realize the control of the device through the comparison of the control priority of the user, and then realize the control of the home device of the user with a lower control priority through the user with a higher control priority, and further refine the control Graininess.
  • a device control method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
  • Step S210 After receiving the control instruction, obtain the target device controlled by the control instruction and the sending user of the control instruction.
  • Step S220 Obtain the home user of the target device.
  • Step S221 Identify whether the home user of the target device is the same as the sending user.
  • Step S230 If it is identified that the attribution user of the target device is the same as the sending user, detect whether the target device is configured with control authority.
  • multiple methods can be used to detect whether the target device is configured with control authority.
  • a configuration file in text format can be added to the controlled device configured with control authority, and the configuration file can be named after the unique identifier of the controlled device. Then in this way, after acquiring the target device, the electronic device can find out whether there is a configuration file named after the identifier of the target device, and if it exists, it is confirmed that the target device is configured with control authority.
  • Step S231 If it is detected that the target device is not configured with control authority, execute the control instruction.
  • Step S232 If it is detected that the target device is configured with control authority, detect whether the sending user has the control authority.
  • the step of detecting whether the sending user has the control authority includes: comparing the control priority of the configured user of the control authority with the control priority of the sending user, if the sending user’s The control priority is not lower than the control priority of the configuration user, and it is determined that the sending user has the control authority. If the control priority of the sending user is lower than the control priority of the configuration user, it is determined that the sending The user does not have the control authority.
  • the step of determining that the sending user does not have the control authority includes:
  • control priority of the sending user is lower than the control priority of the configuration user, detecting whether the control authority has an effective condition. If the effective condition is met, it is detected whether the effective condition is satisfied. If the effective condition is satisfied, it is determined that the sending user does not have the control authority. If the effective condition is not met, it is determined that the sending user has the control authority.
  • the effective condition includes at least one of the following conditions: a time period condition for the control authority to take effect; a location condition of the sending user; and a completion condition of the sending user for a specified event.
  • the configuration user can configure an effective condition when configuring the control authority.
  • the parent user can configure the control authority for the child's controlled device for the attribution user.
  • the content of the control authority is to prohibit the child from controlling the equipment belonging to the child.
  • the parent user can also configure such a control authority.
  • Configure an effective condition For example, if you configure a time period condition, the time period condition is from 8 am to 8 pm, then the content of the control authority to increase the time period condition is from 8 am to 8 pm, children are prohibited from accessing the equipment belonging to the child. control.
  • the location condition of the sending user can be understood as that the sending user needs to be in a specific location to control the controlled device. For example, if the location condition of the sending user configured by the parent user includes the area that can be connected to the designated WIFI, the content of increasing the control authority of the location condition of the sending user is to prohibit the child pair from belonging to the area outside the area that can be connected to the designated WIFI Children’s equipment is controlled.
  • the completion condition of the sending user for the specified event it can be understood as detecting that a specified event is triggered before running and executing another event. For example, if the sending user configured by the parent to complete the specified event is the door closed, the content of adding the sending user's control authority for the specified event completion condition is to prohibit the child from belonging to the specified event when the door is not closed. Children’s equipment is controlled.
  • the effective conditions can include one or more of the time period condition for the control authority to take effect, the location condition of the sending user, and the completion condition of the sending user for the specified event, and the specific content of the effective condition can be determined by Configure users to configure according to their needs.
  • Step S233 If it is detected that the sending user has the control authority, execute the control instruction.
  • Step S234 If it is detected that the sending user does not have the control authority, discard the control instruction.
  • the effective condition may be met when the electronic device receives the control instruction sent by the user, but it may be a short time later, such as 1 second. , Even after 0.5 seconds, the effective condition will not be met. If in this state, it is still directly determined that the sending user does not have the control authority, and discarding the control instruction may cause the user to repeatedly send control instruction.
  • the controlled device A is configured with a control authority that cannot be controlled within the time period from 9 to 10 o'clock, then if the electronic device receives the control instruction to control the controlled device A at 9:59:59, it may It is determined that the user does not have the control authority, and the control instruction is discarded, but in fact, 9:59:59 is 1 second away from 10 o'clock.
  • the controlled device B is configured with the control authority to be controlled within the specified longitude and latitude, and the sending user may be in a moving state during the process of sending the control instruction, and can move to the specified longitude and latitude after a short time. However, when the electronic device receives the control instruction sent by the sending user, the sending user has not moved within the fixed longitude and latitude.
  • the step of discarding the control instruction includes: if it is detected that the sending user does not have the control authority , Detect whether the degree of satisfaction of the effective condition meets the specified condition; if it is detected that the degree of satisfaction of the effective condition meets the self-defined condition, cache the control instruction; based on the target time period corresponding to the degree of satisfaction, check again whether The validating condition is satisfied; if the validating condition is not satisfied when the test is performed again, the control instruction is executed. If the valid condition is met during the re-detection, the control instruction is discarded.
  • the degree of satisfaction of the effective condition here represents the degree to which the aforementioned sending user does not yet have the control authority but will soon have the control authority.
  • the degree of satisfaction is the length of time from the time the electronic device receives the control instruction to the end of the time period condition for the control authority to take effect, and the corresponding specified condition is It can be within 1 second, or within 0.5 second.
  • the degree of satisfaction is when the electronic device receives the control instruction, and the location of the user read from the control instruction at the same time is between the location specified by the location condition of the sending user The distance difference between the two, and the corresponding specified condition can be within 1 meter, or within 0.5 meter.
  • the location information of the control terminal will be added to the control instruction as the user's location.
  • the degree of satisfaction may be the number of specified events that the user has completed, and the corresponding specified condition may be 1 item remaining or 2 items remaining.
  • the target time period corresponding to the degree of satisfaction is the length of time from the moment when the electronic device receives the control instruction to the end time of the time period condition for the control authority to take effect.
  • the target time period corresponding to the degree of satisfaction is the time consumed by the sending user to move the target distance, where the target distance is when the electronic device receives the control instruction, and the control instruction The distance difference between the read user's location and the location specified by the sending user's location condition.
  • the time consumed by the sending user to move to the target distance can be calculated based on the historical portrait of the sending user uploaded by the control terminal, so that the method provided in the embodiment can be more adapted to users with different moving speeds.
  • the degree of wildcarding and intelligence can be used to calculate the time consumed by the sending user to move to the target distance.
  • Step S240 If it is identified that the home user of the target device is different from the sending user, compare the control priorities of the home user and the sending user.
  • Step S241 If the control priority of the sending user is higher than the control priority of the home user, execute the control instruction.
  • Step S242 If the control priority of the sending user is lower than the control priority of the home user, discard the control instruction.
  • the device control method provided by the present application realizes that when it is recognized that the attribution user of the target device is different from the sending user, the control of the device is realized by comparing the control priority of the user, and then the realization Through users with higher control priority to control the attribution equipment of users with lower control priority, the granularity of control is more refined.
  • a device control method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
  • Step S310 After receiving the control instruction, acquire the target device controlled by the control instruction and the sending user of the control instruction.
  • Step S320 Detect the subordinate attribute category of the target device, and the subordinate attribute category represents a user category that can control the target device.
  • Step S330 If it is recognized that the subordinate attribute category is a public attribute, execute the control instruction.
  • Step S340 If it is recognized that the dependent attribute category is a private attribute, identify whether the home user of the target device is the same as the sending user;
  • Step S341 if different, discard the control instruction
  • Step S342 If they are the same, execute the control instruction.
  • Step S350 If it is recognized that the dependent attribute category is a home attribute, acquire the home user of the target device.
  • Step S351 Identify whether the home user of the target device is the same as the sending user.
  • Step S352 If it is identified that the attribution user of the target device is the same as the sending user, execute the control instruction.
  • Step S360 If it is recognized that the home user of the target device is different from the sending user, compare the control priorities of the home user and the sending user.
  • Step S370 If the control priority of the sending user is higher than the control priority of the home user, execute the control instruction.
  • Step S380 If the control priority of the sending user is lower than the control priority of the home user, discard the control instruction.
  • the device control method provided by the present application realizes that when it is recognized that the attribution user of the target device is different from the sending user, the control of the device is realized by comparing the control priority of the user, and then the realization Through users with higher control priority to control the attribution equipment of users with lower control priority, the granularity of control is more refined.
  • each device is configured with a subordinate attribute category, and the control method can be determined according to the subordinate attribute category, which further improves the flexibility of control.
  • a device control apparatus 400 provided by an embodiment of the present application runs on an electronic device.
  • the apparatus 400 includes:
  • the device information acquiring unit 410 is configured to acquire the target device controlled by the control instruction and the sending user of the control instruction after receiving the control instruction.
  • the user determining unit 420 is configured to obtain the home user of the target device.
  • the information comparison unit 430 is configured to compare the control priority of the home user and the sending user if the home user of the target device is different from the sending user.
  • the information comparison unit 430 is specifically configured to detect whether the user account of the sending user has an affiliation; if it is detected that the user account of the sending user has an affiliation, and the sending user is subordinate to the home user , Determining that the control priority of the sending user is lower than the control priority of the home user.
  • the device control unit 440 is configured to execute the control instruction if the control priority of the sending user is higher than the control priority of the home user.
  • the device control unit 440 is further configured to discard the control instruction if the control priority of the sending user is lower than the control priority of the home user.
  • the device information obtaining unit 410 is specifically configured to obtain the target domain controlled by the control instruction and the sending user of the control instruction after receiving the control instruction, wherein the domain represents the status of multiple devices
  • the attribution relationship is the same for the equipment belonging to the same domain; the equipment corresponding to the target domain is regarded as the controlled target equipment.
  • the user determining unit 420 is specifically configured to use the home user of the target domain as the home user of the target device.
  • the device control unit 440 is further configured to send a control request to the home user; receive request feedback information returned by the home user; if it is recognized that the request feedback information indicates that controlling the target device is prohibited, Discard the control instruction; if it is recognized that the request feedback information indicates that the target device is allowed to be controlled, the control instruction is executed.
  • the apparatus 400 further includes a control authority processing unit 450, which is configured to detect whether the target device is configured with if the attribution user of the target device is the same as the sending user Control authority; if it is detected that the target device is configured with control authority, detect whether the sending user has the control authority.
  • the device control unit 440 is configured to execute the control instruction if it is detected that the sending user has the control authority; if it is detected that the sending user does not have the control authority, discard the control instruction.
  • control authority processing unit 450 is specifically configured to compare the control priority of the configured user of the control authority with the control priority of the sending user; if the control priority of the sending user is not lower than that of the configured user Control priority, determining that the sending user has the control authority;
  • control priority of the sending user is lower than the control priority of the configuration user, it is determined that the sending user does not have the control authority.
  • control authority processing unit 450 is specifically configured to detect whether the control authority has an effective condition if the control priority of the sending user is lower than the control priority of the configuration user;
  • the validating conditions it is detected whether the validating conditions are met; if the validating conditions are met, it is determined that the sending user does not have the control authority; if the validating conditions are not met, it is determined that the sending user has the Control authority.
  • the effective condition includes at least one of the following conditions: a time period condition for the control authority to take effect; a location condition of the sending user; and a completion condition of the sending user for a specified event.
  • the device control unit 440 is specifically configured to detect whether the degree of satisfaction of the validating condition meets the specified condition if it is detected that the sending user does not have the control authority; if detecting the degree of satisfaction of the validating condition If the self-determined condition is met, the control instruction is cached; based on the target time period corresponding to the degree of satisfaction, it is checked again whether the validating condition is satisfied; if the validating condition is not satisfied upon rechecking, the control instruction is executed.
  • the apparatus 400 further includes a device attribute processing unit 460, configured to detect the subordinate attribute category of the target device, and the subordinate attribute category characterization can control the target device
  • the user determining unit 420 is configured to perform the acquisition of the home user of the target device, wherein the home attribute characterizes the The target device is controlled by a user with a higher control priority.
  • the device control unit 440 is configured to execute the control instruction.
  • the information comparison unit 430 is used to identify whether the home user of the target device is the same as the sending user; if they are different, the device control unit 440 discards the control instruction; if they are the same , The device control unit 440 executes the control instruction.
  • an embodiment of the present application also provides another electronic device 200 that can execute the aforementioned device control method.
  • the electronic device 200 includes one or more (only one is shown in the figure) a processor 102, a memory 104, and a network module 106 coupled to each other.
  • the memory 104 stores a program that can execute the content in the foregoing embodiment, and the processor 102 can execute the program stored in the memory 104.
  • the processor 102 may include one or more processing cores.
  • the processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 200, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and calling data stored in the memory 104.
  • the processor 102 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PDA Programmable Logic Array
  • the processor 102 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 102, but may be implemented by a communication chip alone.
  • the memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 104 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 104 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions for implementing the following method embodiments, etc.
  • the data storage area can also store data (such as phone book, audio and video data, chat record data) created by the terminal 100 during use.
  • the network module 106 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as with audio playback devices.
  • the network module 106 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, etc. .
  • SIM subscriber identity module
  • the network module 106 can communicate with various networks such as the Internet, an intranet, and a wireless network, or communicate with other devices through a wireless network.
  • the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the network module 106 can exchange information with the base station.
  • the electronic device 200 shown in FIG. 14 may be the aforementioned server or gateway.
  • the included processor 102 may be a microprocessor, and the included network module 106 may also include an interface for performing communication protocol conversion.
  • FIG. 15 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 1100 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
  • the computer-readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 1100 has a storage space for executing the program code 810 of any method step in the foregoing method. These program codes can be read out from or written into one or more computer program products.
  • the program code 1110 may be compressed in a suitable form, for example.
  • the device control method, device, electronic device, and storage medium provided by the present application after receiving a control instruction, acquire the target device controlled by the control instruction and the sending user of the control instruction, and then acquire the target The home user of the device, and if it is identified that the home user of the target device is different from the sending user, compare the control priority of the home user and the sending user, and compare the control priority of the sending user In the case of the control priority of the home user, the control instruction is executed. In this way, it is possible to realize the control of the device through the comparison of the control priority of the user, and then realize the control of the home device of the user with a lower control priority through the user with a higher control priority, and further refine the control Graininess.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Des modes de réalisation de la présente invention concernent un procédé de commande de dispositif, un appareil, un dispositif électronique, et un support d'informations. Le procédé consiste : après réception d'une instruction de commande, à acquérir un dispositif cible commandé par l'instruction de commande et un utilisateur expéditeur de l'instruction de commande ; à acquérir un utilisateur domestique du dispositif cible ; s'il est identifié que l'utilisateur domestique du dispositif cible est différent de l'utilisateur expéditeur, à comparer les priorités de commande de l'utilisateur domestique et de l'utilisateur expéditeur ; et si la priorité de commande de l'utilisateur expéditeur est supérieure à la priorité de commande de l'utilisateur domestique, à exécuter l'instruction de commande. Dans le procédé décrit, un dispositif peut être commandé au moyen d'une comparaison de priorités de commande des utilisateurs de telle sorte qu'un utilisateur ayant une priorité de commande plus élevée commande un dispositif domestique d'un utilisateur ayant une priorité de commande inférieure, ainsi la granularité de commande est davantage affinée.
PCT/CN2019/087292 2019-05-16 2019-05-16 Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations WO2020228027A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980089898.5A CN113383562B (zh) 2019-05-16 2019-05-16 设备控制方法、装置、电子设备以及存储介质
PCT/CN2019/087292 WO2020228027A1 (fr) 2019-05-16 2019-05-16 Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/087292 WO2020228027A1 (fr) 2019-05-16 2019-05-16 Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations

Publications (1)

Publication Number Publication Date
WO2020228027A1 true WO2020228027A1 (fr) 2020-11-19

Family

ID=73289038

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087292 WO2020228027A1 (fr) 2019-05-16 2019-05-16 Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations

Country Status (2)

Country Link
CN (1) CN113383562B (fr)
WO (1) WO2020228027A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667334A (zh) * 2020-12-25 2021-04-16 瀚云科技有限公司 设备控制信息的配置方法、装置、电子设备及存储介质
CN113341740A (zh) * 2021-05-31 2021-09-03 深圳市雷鸟网络传媒有限公司 一种设备控制方法、装置、计算机设备和存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244642B (zh) * 2021-12-10 2022-10-28 珠海格力电器股份有限公司 设备的控制方法及其装置、计算机可读存储介质、处理器

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232413A (zh) * 2007-01-25 2008-07-30 华为技术有限公司 一种转移会话控制权的方法、系统和服务器
JP2009187244A (ja) * 2008-02-06 2009-08-20 Chugoku Electric Power Co Inc:The 移動端末用情報提供システムおよび移動端末用情報提供方法
CN101951368A (zh) * 2010-09-10 2011-01-19 深圳市同洲电子股份有限公司 基于子网络的服务权限控制方法、终端及系统
CN105223913A (zh) * 2014-06-30 2016-01-06 青岛海尔智能家电科技有限公司 用于设备控制的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5670962B2 (ja) * 2012-06-15 2015-02-18 株式会社Nttドコモ 移動通信制御装置、移動通信システム、移動通信制御方法、移動通信制御プログラム
CN109725540B (zh) * 2018-12-10 2022-09-09 深圳绿米联创科技有限公司 一种设备控制方法、装置、电子设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232413A (zh) * 2007-01-25 2008-07-30 华为技术有限公司 一种转移会话控制权的方法、系统和服务器
JP2009187244A (ja) * 2008-02-06 2009-08-20 Chugoku Electric Power Co Inc:The 移動端末用情報提供システムおよび移動端末用情報提供方法
CN101951368A (zh) * 2010-09-10 2011-01-19 深圳市同洲电子股份有限公司 基于子网络的服务权限控制方法、终端及系统
CN105223913A (zh) * 2014-06-30 2016-01-06 青岛海尔智能家电科技有限公司 用于设备控制的方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667334A (zh) * 2020-12-25 2021-04-16 瀚云科技有限公司 设备控制信息的配置方法、装置、电子设备及存储介质
CN112667334B (zh) * 2020-12-25 2024-06-04 瀚云科技有限公司 设备控制信息的配置方法、装置、电子设备及存储介质
CN113341740A (zh) * 2021-05-31 2021-09-03 深圳市雷鸟网络传媒有限公司 一种设备控制方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN113383562B (zh) 2023-12-05
CN113383562A (zh) 2021-09-10

Similar Documents

Publication Publication Date Title
US11405593B2 (en) Integrated accessory control user interface
CN108353094B (zh) 用于m2m服务层的跨资源订阅
WO2020228027A1 (fr) Procédé de commande de dispositif, appareil, dispositif électronique, et support d'informations
JP6416409B2 (ja) アクセスポイントステアリング
US20230012719A1 (en) Methods and apparatus for controlling and implementing firewalls
US20230239203A1 (en) Network control
JP2015130677A (ja) 複数のワイアレスネットワークへの参加及び複数の識別を管理するための方法及びワイアレスデバイス
CN110602692A (zh) 数据更新方法、装置以及电子设备
WO2020228031A1 (fr) Procédé et appareil de traitement d'instructions, dispositif électronique et support de stockage
CN113572799B (zh) 设备接入控制平台的方法、装置和服务器
WO2020228040A1 (fr) Appareil et procédé de commande de système domestique intelligent, dispositif électronique et support de stockage
WO2018045983A1 (fr) Procédé et dispositif de traitement d'informations, et système de réseau
WO2017157176A1 (fr) Procédé et appareil de distribution de ressources
US11246039B2 (en) Method and apparatus for secure multi-terminal cooperative working
CN112040057B (zh) 设备控制方法、装置、电子设备、控制系统及存储介质
WO2015100975A1 (fr) Procédé, appareil et système pour sélectionner un algorithme d'authentification
CN108024306B (zh) 一种tcp连接管理方法及网关设备
CN109714195B (zh) 设备控制方法、装置、电子设备以及物联网系统
WO2023213177A1 (fr) Procédé et appareil de communication
WO2016180223A1 (fr) Procédé de gestion de dispositif de communication sans fil, et dispositif de communication sans fil
WO2022237857A1 (fr) Procédé de détermination de mode d'activation de protection de sécurité, procédé de communication et appareil de communication
WO2023146826A1 (fr) Redondance de messages entre des dispositifs utilisateurs
US20230096372A1 (en) Localized authorization for secure communication
CN111917886B (zh) 智能设备数据迁移方法、装置以及智能设备
WO2019210771A1 (fr) Procédé, appareil et dispositif de gestion de processus d'accès à un réseau, et support de stockage

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19929065

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19929065

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/04/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19929065

Country of ref document: EP

Kind code of ref document: A1