Electronic equipment control method, device, equipment and storage medium

By receiving control instructions and obtaining attribute information, determining operation rules to batch control smart home devices, the stand-alone control restrictions of IoT technology in the field of smart homes is solved, and simple multi-device control is achieved.

CN115509137BActive Publication Date: 2025-03-21GUANGDONG MIDEA CONSUMER ELECTRICS MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110633600.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-07
Publication Date
2025-03-21
Estimated Expiration
2041-06-07

AI Technical Summary

Technical Problem

The application of IoT technology in the field of smart homes only supports single-machine control, which makes it cumbersome to operate when multiple home appliances need to be controlled.

Method used

By receiving control instructions, obtaining attribute information corresponding to the instructions, determining the controlled device and operation rules, controlling the operating status of the device according to the rules, and realizing batch control.

Benefits of technology

The control operation of multiple household appliances is simplified, and the batch control of automatic determination of operation rules and control equipment is realized based on the equipment attribute information, which is simple to operate and easy to implement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509137B_ABST
    Figure CN115509137B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of Internet of Things technology, and provides an electronic device control method, apparatus, device and storage medium, which receives a control instruction; obtains first attribute information corresponding to the control instruction; determines all controlled devices and operating rules based on the first attribute information; and controls the operating status of all controlled devices according to the operating rules. The application can control the operating status of the controlled devices in batches according to the attribute information of the controlled devices and the operating rules corresponding to the attribute information. The operation is simple and easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of Internet of Things, and in particular, relates to an electronic device control method, device, equipment and storage medium. Background Art

[0002] In recent years, IoT technology has been widely used in smart home, logistics, monitoring, transportation and other fields. IoT technology can achieve interconnection between people, machines and objects at any time and any place by adding various controlled devices with communication functions to the communication network and performing intelligent control. At present, the application of IoT technology in the field of smart home usually only supports single-machine control. When multiple home appliances need to be controlled, each home appliance often needs to be controlled one by one, which is cumbersome. Summary of the invention

[0003] The embodiments of the present application provide an electronic device control method, apparatus, device and storage medium, aiming to solve the problem that the application of Internet of Things technology in the field of smart home usually only supports single-machine control. When multiple household appliances need to be controlled, it is often necessary to control each household appliance one by one, which is cumbersome to operate.

[0004] A first aspect of an embodiment of the present application provides an electronic device control method, including:

[0005] Receive control instructions;

[0006] Acquire first attribute information corresponding to the control instruction;

[0007] Determine all controlled devices and operation rules according to the first attribute information;

[0008] Control the operating status of all controlled devices according to the operating rules

[0009] A second aspect of an embodiment of the present application provides an electronic device control device, including:

[0010] A communication unit, used for receiving control instructions;

[0011] An acquiring unit, configured to acquire first attribute information corresponding to the control instruction;

[0012] A determination unit, configured to determine all controlled devices and operation rules according to the first attribute information;

[0013] A control unit is used to control the operating status of all the controlled devices according to the operating rules.

[0014] The third aspect of an embodiment of the present application provides a control device, including a communication unit, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the electronic device control method described in the first aspect of the embodiment of the present application when executing the computer program.

[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the electronic device control method described in the first aspect of the embodiment of the present application are implemented.

[0016] The first aspect of the embodiment of the present application provides an electronic device control method, which receives a control instruction; obtains first attribute information corresponding to the control instruction; determines all controlled devices and operating rules based on the first attribute information; and controls the operating status of all controlled devices according to the operating rules. It can control the operating status of the controlled devices in batches according to the attribute information of the controlled devices and adopts the operating rules corresponding to the attribute information. The operation is simple and easy to implement.

[0017] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 This is a schematic diagram of a first flow chart of an electronic device control method provided in an embodiment of the present application;

[0020] Figure 2 is a first correspondence table provided in an embodiment of the present application;

[0021] Figure 3 This is a second flow chart of the electronic device control method provided in the embodiment of the present application;

[0022] Figure 4 is a second correspondence table provided in an embodiment of the present application;

[0023] Figure 5 This is a third flow chart of the electronic device control method provided in the embodiment of the present application;

[0024] Figure 6is a schematic diagram of the structure of an electronic device control device provided in an embodiment of the present application;

[0025] Figure 7 is a schematic diagram of the structure of a control device provided in an embodiment of the present application;

[0026] Figure 8 It is a structural diagram of an electronic device control system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In the following description, specific details such as specific device structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known devices, apparatuses, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0028] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0031] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means one or more.

[0033] An embodiment of the present application provides an electronic device control method, which can be executed by a processor of a control device when running a corresponding computer program, and is used to batch control the operating status of controlled devices based on attribute information of the controlled devices and using operating rules corresponding to the attribute information.

[0034] In the application, the control device can be any electronic device such as a server, user terminal, smart speaker, remote control, switch, etc. that can communicate with the controlled device by wire or wirelessly. The user terminal can be a mobile phone, smart bracelet, tablet computer, laptop computer, netbook, personal digital assistant, personal computer, etc. The remote control can be an infrared remote control or a radio frequency remote control. The switch can be a wired switch or a wireless switch. The controlled device can be a smart home appliance, such as an air conditioner, fan, heater, refrigerator, TV, washing machine, humidifier, dishwasher, rice cooker, lamp, service robot, etc. The service robot can be a housework robot (for example, a sweeping robot), an educational robot, a food delivery robot, a welcoming robot, etc.

[0035] In applications, the control device and the controlled device may be electronic devices of the same type, that is, each control device or controlled device may control other electronic devices or be controlled by other electronic devices.

[0036] like Figure 1 As shown, the electronic device control method provided in the embodiment of the present application includes the following steps S101 to S104:

[0037] Step S101: receiving a control instruction.

[0038] In an application, a control instruction may be input by a user through a human-machine interaction device of a control device, or may be sent by a third-party device that is in communication with the control device.

[0039] In one embodiment, step S101 includes:

[0040] A control instruction sent by a user through a human-computer interaction device or a third-party device is received, wherein the third-party device includes a human-computer interaction device or an environmental parameter detection device, and the environmental parameter detection device is used to detect environmental parameters.

[0041] In one embodiment, the environmental parameter includes at least one of temperature, humidity, illumination, volume and time.

[0042] In the application, the human-computer interaction device of the control device may include at least one of a physical button, a touch sensor, a gesture recognition sensor and a voice recognition unit, so that the user can input control instructions through the corresponding touch mode, gesture control mode or voice control mode. The physical button and the touch sensor can be set at any position of the control device, for example, a control panel. The touch mode of the physical button can be specifically pressing or toggling. The touch mode of the touch sensor can be specifically pressing or touching. The gesture recognition sensor can be set at any position outside the housing of the control device. The gestures used to control the control device can be customized by the user according to actual needs or the factory default settings can be used. The voice recognition unit may include a microphone and a voice recognition chip, or may only include a microphone and the voice recognition function is realized by the processor of the control device. The voice used to control the control device can be customized by the user according to actual needs or the factory default settings can be used.

[0043] In the application, the human-computer interaction device can be a user terminal, smart speaker, remote control, switch, other controlled devices, etc. that can be controlled by the user. The user can send control instructions to the control device through any human-computer interaction method supported by the human-computer interaction device. The human-computer interaction method supported by the human-computer interaction device can be the same as that of the control device, which will not be repeated here.

[0044] In the application, the environmental parameter detection device can be a temperature sensor, a humidity sensor, an illumination sensor, a volume sensor, a clock, etc., which are respectively used to detect environmental parameters such as temperature, humidity, illumination, volume, time, etc., so as to automatically issue corresponding control instructions when each environmental parameter reaches the corresponding threshold value (temperature threshold value, humidity threshold value, illumination threshold value, volume threshold value, time threshold value, etc.). For example, when the temperature threshold value is not within the preset threshold value range, a control instruction for controlling the opening of temperature regulating devices such as air conditioners, fans, and heaters is issued; when the humidity is not within the preset humidity threshold value range, a control instruction for controlling the opening of humidity regulating devices such as air conditioners, humidifiers, and dehumidifiers is issued; when the illumination is lower than the preset illumination threshold value or the time reaches the preset time (for example, 18:00), a control instruction for controlling the opening of lighting fixtures is issued. The environmental parameter detection device can exist independently or be integrated with the control device or the controlled device.

[0045] In an application, the third-party device and the control device or the controlled device may also be devices of the same type, and the embodiments of the present application do not impose any restrictions on the specific type of the third-party device.

[0046] Step S102: Acquire first attribute information corresponding to the control instruction.

[0047] In the application, the first attribute information may include attributes related to at least one of the location, function and functional parameters of the controlled device. For example, when the controlled device is an electronic device located in a home, the first attribute information may include locations such as the living room, kitchen, master bedroom, second bedroom, bathroom, balcony, etc., and may also include functions such as leisure, office, cooking, temperature adjustment, humidity adjustment, lighting, playing music, timing, cooking, washing dishes, sweeping the floor, boiling water, and washing clothes. It may also include functional parameters such as temperature, humidity, illumination, volume, time, cleanliness, etc. corresponding to each function.

[0048] In the application, after receiving the control instruction, the control instruction needs to be identified and analyzed to obtain the corresponding first attribute information. Depending on the different ways of receiving the control instruction, the ways of identifying and analyzing the control instruction are also different. For example, the control instruction received by the physical button or touch sensor is usually a text information such as a digital code, a letter code, or a character, and needs to be identified and analyzed by decoding or key information extraction; the control instruction received by the gesture recognition sensor is a gesture, and needs to be identified and analyzed by gesture recognition; the control instruction received by the voice recognition unit or smart speaker is voice information, and needs to be identified and analyzed by voice recognition; the control instruction received by the user terminal can usually be a text information such as a digital code, a letter code, or a character, or voice information, and needs to be identified and analyzed by decoding, key information extraction, or voice recognition; the control instruction received by the remote control is usually an optical signal, and needs to be identified and analyzed by optical decoding; the control instruction received by the switch or environmental parameter detection device is usually a current signal, and needs to be identified and analyzed by current decoding.

[0049] In one embodiment, the electronic device control method further includes the following steps performed before step S101:

[0050] A first corresponding relationship between the control instruction and the first attribute information is established and stored.

[0051] In the application, the user can set the first attribute information corresponding to the control instruction in advance through a human-computer interaction device or a third-party device, establish a first correspondence between each control instruction and the first attribute information, and store it in the internal storage space of the processor, so that when it is necessary to control the controlled device according to the control instruction, the corresponding first attribute information can be found in the internal storage space according to the control instruction and the first correspondence. The first correspondence can be specifically a mapping relationship, which can exist in the form of a correspondence table. The correspondence table can specifically be a display lookup table (Look-Up-Table, LUT), or it can exist in the form of searching and outputting the corresponding search results through other input data. The control device may also include a memory for equivalently replacing the internal storage space to realize the data storage function. By establishing the first correspondence in advance, the corresponding first attribute information can be quickly found according to the control instruction, effectively saving the computing power resources and execution time of the processor. For control instructions such as voice information and text that are easy to identify and analyze, it is also possible not to establish a first corresponding relationship, and directly obtain the corresponding first attribute information through voice recognition, key information extraction, etc. For example, when the control instruction is voice or text with the meaning of "adjust the temperature of the living room to 25℃", the key information "living room", "temperature" and "25℃" can be directly obtained as the first attribute information.

[0052] like Figure 2 As shown, a first correspondence table including two different control instructions and corresponding two first attribute information is exemplarily shown; wherein, the first control instruction is "adjust the humidity in the master bedroom to 50%", and the corresponding first first attribute information is "master bedroom", "humidity" and "50%"; the second control instruction is "play music in the living room for 30 minutes", and the corresponding second first attribute information is "living room", "music" and "30 minutes".

[0053] In one embodiment, the control instruction includes a group identifier, and all the controlled devices are selected by the user and join a device group having the group identifier.

[0054] In the application, the group identifier is an identifier used to distinguish different device groups. The group identifier can exist in the form of a digital code, an alphabetic code or text. When the group identifier is text, a word related to the first attribute information of each controlled device in the corresponding device group can be used. The first attribute information of all controlled devices in the same device group is the same. For example, the user can add lighting fixtures, personal computers, printers, etc. with "office" functions to the device group with a group identifier meaning "office"; add lighting fixtures, air conditioners, speakers, etc. located in the "master bedroom" to the device group with a group identifier meaning "master bedroom"; add air conditioners, heaters, etc. located in the "object" and with "temperature" adjustment functions to the device group with a group identifier meaning "living room temperature". By setting the group identifier to a code such as a digital code or an alphabetic code whose meaning is unrelated to the first attribute information of each controlled device in the corresponding device group, user privacy can be protected and the controlled devices can be prevented from being maliciously controlled by criminals; by setting the group identifier to a word such as text whose meaning is related to the first attribute information of each controlled device in the corresponding device group, it can be convenient for users to use. When the user needs to use a controlled device with corresponding attributes, he only needs to send a control instruction in the form of text or voice information with the corresponding text meaning through a human-computer interaction device or a third-party device.

[0055] like Figure 3 As shown, in one embodiment, the electronic device control method further includes the following steps S301 to S303 performed before step S101:

[0056] Step S301, receiving a group creation instruction and creating a device group;

[0057] Step S302: receiving an identification setting instruction and setting a group identification of the device group;

[0058] Step S303: receiving a device selection instruction, and adding the controlled device selected by the user to the device group.

[0059] In the application, the user can establish each device group in advance and set the group identifier of each device group through a human-machine interaction device or a third-party device, and then select controlled devices with the same first attribute information to join each device group.

[0060] In the application, since there may be many controlled devices with the same first attribute information, more controlled devices may be found by determining the controlled devices only based on the first attribute information. By establishing a device group, the user can add any number of controlled devices to the device group according to actual needs. For example, if there are M controlled devices with the same first attribute information, the user can only add N of them to the device group, thereby reducing the number of controlled devices that need to be controlled in the end; where M>N≥1. By establishing a device group, the control device can perform batch control on any number of controlled devices according to the actual needs of the user.

[0061] In the application, users can also add any electronic device to any device group as a controlled device through human-computer interaction devices or third-party devices at any time and place according to actual needs, and can also delete a controlled device that has been added to any device group from the device group so that it is no longer controlled by the control device.

[0062] Step S103: Determine all controlled devices and operation rules according to the first attribute information.

[0063] In the application, all controlled devices determined according to the first attribute information are controlled devices that simultaneously possess all the attributes in the first attribute information. For example, when the first attribute information includes location, function, and function parameters, the controlled device corresponding to the first attribute information needs to be located at the corresponding location, possess the corresponding function, and be able to operate with the corresponding function parameters.

[0064] In the application, among multiple different first attribute information with common attributes, the first attribute information with fewer attributes includes a greater number of all controlled devices, and vice versa. For example, assuming that one of the first attribute information includes the attribute "living room", all the corresponding controlled devices may include air conditioners, heaters, televisions, humidifiers, lamps, service robots, etc. located in the "object"; assuming that another first attribute information includes the attributes "living room" and "temperature", all the corresponding controlled devices may include air conditioners and heaters located in the "object" and with "temperature" adjustment functions.

[0065] In the application, the operation rules determined according to the first attribute information are mainly used to limit the operation order of all controlled devices corresponding to the first attribute information, as well as the parameters related to the operation status of the controlled devices, such as the operation time (including the start time, the shutdown time, the duration, etc.) and the operation power. When setting the operation rules, the operation logic of each controlled device under different operation states can be comprehensively considered, so that all controlled devices corresponding to the first attribute information can work together to realize the functions in the first attribute information. The operation rules can also be set to control all controlled devices to start at the same time and run according to the default parameters. The default parameters can adopt the factory default settings or the parameters set by the user last time.

[0066] In one embodiment, the electronic device control method further includes the following steps performed before step S101:

[0067] A second corresponding relationship between the first attribute information and at least one controlled device and an operation rule is established and stored.

[0068] In the application, the user can pre-set all controlled devices and operating rules corresponding to the first attribute information through a human-computer interaction device or a third-party device, establish a second correspondence between each first attribute information and at least one controlled device and its operating rules, and store it in the internal storage space of the processor, so that when it is necessary to determine the corresponding controlled device and its operating rules based on the first attribute information, all corresponding controlled devices and operating rules can be found in the internal storage space based on the first attribute information and the second correspondence. The second correspondence and the first correspondence can exist in the same form, which will not be repeated here. By establishing the second correspondence in advance, all corresponding controlled devices and operating rules can be quickly found based on the first attribute information, effectively saving the processor's computing resources and execution time.

[0069] like Figure 4 As shown, a second correspondence table including two different first attribute information and their corresponding controlled devices and operating rules is exemplified; wherein, the first type of first attribute information is "master bedroom", "humidity" and "50%", and its corresponding controlled device is a humidifier located in the master bedroom, and the operating rule is to turn on the humidifier and turn off the humidifier when the humidity reaches 50%; the second type of first attribute information is "living room", "music" and "30 minutes", and its corresponding controlled devices are speakers and mobile phones located in the living room, and the operating rule is that if the mobile phone is in the screen-on state, the speaker is controlled to play music for 30 minutes, and if the mobile phone is in the screen-off state, the mobile phone is controlled to play music for 30 minutes.

[0070] Step S104: Control the operating status of all the controlled devices according to the operating rules.

[0071] In the application, after determining all controlled devices and operation rules corresponding to each first attribute information, all corresponding controlled devices are controlled to operate according to a specific operation logic according to the operation rules. Generally speaking, the more attributes the first attribute information contains or the more corresponding controlled devices there are, the more complex the operation rules are. In order to simplify the operation rules, they can be set to control all controlled devices corresponding to the first attribute information to start at the same time and operate according to default parameters, or they can be operated according to preset priorities, with controlled devices with higher priorities operating first and controlled devices with lower priorities operating later or not operating at all.

[0072] In one embodiment, step S104 includes:

[0073] The operating status of all the controlled devices is controlled according to environmental parameters and preset priorities.

[0074] In the application, when setting the operating rules, you can also comprehensively consider environmental parameters such as temperature, humidity, illumination, volume, time, etc., and control the operating time and operating power of the corresponding controlled device and other parameters related to the operating status of the controlled device according to each environmental parameter. For example, after turning on the temperature adjustment device, when the temperature reaches the temperature parameter in the first attribute information, the temperature adjustment device is controlled to be turned off or enter a low power consumption operating state; after turning on the humidity adjustment device, when the humidity reaches the humidity parameter in the first attribute information, the humidity adjustment device is controlled to be turned off or enter a low power consumption operating state; after turning on the lighting fixture, when the outdoor illumination reaches the illumination parameter in the first attribute information or the time reaches the preset time (for example, 8:00), the lighting fixture is controlled to be turned off or enter a low power consumption operating state. The priorities of different controlled devices can be the same or different. The priority setting can be independent of environmental parameters, or it can take environmental parameters into consideration. For example, when there are multiple lighting fixtures with different illumination, the startup priority of these lighting fixtures can be set according to the illumination changes of the outdoor environment. Specifically, when the illumination of the outdoor environment is low, the priority of lighting fixtures with high illumination should be set higher than that of lighting fixtures with low illumination. Conversely, when the illumination of the outdoor environment is high, the priority of lighting fixtures with high illumination should be set lower than that of lighting fixtures with low illumination.

[0075] In the application, when the number of all controlled devices corresponding to the first attribute information is equal to 1, the operating status of this controlled device is directly controlled according to the environmental parameters; when the number of all controlled devices corresponding to the first attribute information is greater than 1, the operating status of all controlled devices is controlled according to the environmental parameters and preset priorities.

[0076] like Figure 5 As shown, in one embodiment, step S104 includes the following steps S501 to S503:

[0077] Step S501: when the number of all controlled devices is greater than 1, obtain second attribute information of each controlled device;

[0078] Step S502: When the second attribute information of all the controlled devices is different from each other, the operating states of all the controlled devices are controlled according to the environmental parameters and the preset priorities;

[0079] Step S503: When there are multiple controlled devices with the same second attribute information among all the controlled devices, the operating state of one of the multiple controlled devices is controlled according to the environmental parameters and the preset priority.

[0080] In the application, the attributes in the second attribute information may include sub-attributes of the attributes in the first attribute information. For example, if the first attribute information includes the attribute "leisure", the second attribute information may include sub-attributes of the attribute "leisure" such as "playing music" and "lighting". When the number of all controlled devices corresponding to the first attribute information is greater than 1, in order to avoid starting multiple controlled devices with the same sub-attributes at the same time, one of the controlled devices may be selected to start running according to environmental parameters and preset priorities. The attributes in the second attribute information may also include additional attributes added on the basis of all the attributes in the first attribute information. For example, if the first attribute information includes "living room", "temperature" and "25°C", the second attribute information may include "power consumption". When the number of all controlled devices corresponding to the first attribute information is multiple, in order to avoid starting multiple controlled devices with the same function at the same time, one of the controlled devices with the lowest power consumption may be selected to start running according to environmental parameters and preset priorities.

[0081] In one embodiment, the electronic device control method further includes the following steps performed before step S101:

[0082] receiving a property setting instruction, and setting second property information of a controlled device selected by a user;

[0083] A third corresponding relationship between the controlled device selected by the user and its second attribute information is established and stored.

[0084] In the application, the user can set the second attribute information of each controlled device through a human-computer interaction device or a third-party device, establish a third correspondence between each controlled device and its second attribute information, and store it in the internal storage space of the processor, so that when the second attribute information of the controlled device needs to be obtained, the corresponding second attribute information can be found in the internal storage space according to the controlled device and the third correspondence. The third correspondence and the first correspondence can exist in the same form, which will not be repeated here. By establishing the third correspondence in advance, the corresponding second attribute information can be quickly found according to the controlled device, effectively saving the computing power resources and execution time of the processor.

[0085] In the application, the user can also set any electronic device as a controlled device through a human-computer interaction device or a third-party device at any time and place according to actual needs, by simply adding the controlled device to a communication network that can directly or indirectly communicate with the control device and setting the first attribute information, second attribute information, operation rules and other information related to each step in the above embodiment of the controlled device. The user can also delete any controlled device from the communication network that communicates with the control device so that it is no longer controlled by the control device.

[0086] The electronic device control method provided in the embodiment of the present application can control the operating status of the controlled devices in batches according to the attribute information of the controlled devices and adopt the operating rules corresponding to the attribute information. The operation is simple and easy to implement.

[0087] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0088] The present application also provides an electronic device control device, which is applied to a control device and is used to execute the method steps in the above method embodiment. The device can be a virtual appliance in the control device, which is run by a processor of the control device, or it can be the control device itself.

[0089] like Figure 6 As shown, the electronic device control device 100 provided in the embodiment of the present application includes:

[0090] The communication unit 101 is used to receive control instructions;

[0091] An acquiring unit 102, configured to acquire first attribute information corresponding to the control instruction;

[0092] A determination unit 103, configured to determine all controlled devices and operation rules according to the first attribute information;

[0093] The control unit 104 is used to control the operating status of all the controlled devices according to the operating rules.

[0094] In one embodiment, the electronic device control device further includes:

[0095] An establishing unit is used to establish and store a first corresponding relationship between the control instruction and the first attribute information.

[0096] In one embodiment, the communication unit is further configured to:

[0097] Receive group creation instructions;

[0098] receiving a flag setting instruction;

[0099] receiving a device selection instruction;

[0100] The establishing unit is also used for:

[0101] Establishing a device group according to the group establishment instruction;

[0102] According to the device selection instruction, adding the controlled device selected by the user to the device group;

[0103] The electronic equipment control device further comprises:

[0104] The setting unit is used to set the group identification of the device group according to the identification setting instruction.

[0105] In one embodiment, the establishing unit is further configured to:

[0106] A second corresponding relationship between the first attribute information and at least one controlled device and an operation rule is established and stored.

[0107] In one embodiment, the communication unit is further configured to:

[0108] Receive attribute setting instructions;

[0109] The setting unit is also used for:

[0110] According to the attribute setting instruction, set the second attribute information of the controlled device selected by the user;

[0111] The establishing unit is also used for:

[0112] A third corresponding relationship between the controlled device selected by the user and its second attribute information is established and stored.

[0113] In applications, each unit in the electronic equipment control device may be a software program unit, or may be implemented by different logic circuits integrated in a processor or independent physical components connected to a processor, or may be implemented by multiple distributed processors.

[0114] like Figure 7 As shown, the embodiment of the present application further provides a control device 200, including: at least one processor 201 ( Figure 7 Only one processor is shown in the figure), a memory 202, and a computer program 203 stored in the memory 202 and executable on at least one processor 201, and also includes a communication unit 204. When the processor 201 executes the computer program 203, the steps in the above-mentioned method embodiments are implemented.

[0115] In applications, the control device may include, but is not limited to, a communication unit, a memory, a processor, etc. Those skilled in the art will appreciate that Figure 7 This is only an example of a control device and does not constitute a limitation on the control device. The control device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, power supply devices, etc. The input and output devices may include the aforementioned human-computer interaction devices, and may also include a display for displaying the working parameters of the control device. The power supply device may include a rechargeable battery, a charging circuit, a voltage stabilizing circuit, etc.

[0116] In applications, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0117] In applications, the memory may be an internal storage unit of the control device in some embodiments, such as a hard disk or memory of the control device. In other embodiments, the memory may also be an external storage device of the control device, such as a plug-in hard disk equipped on the control device, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. The memory may also include both an internal storage unit of the control device and an external storage device. The memory is used to store operating devices, application programs, boot loaders (Boot Loader), data and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0118] In applications, the display may be a thin film transistor liquid crystal display (TFT-LCD), a liquid crystal display (LCD), an organic electroluminesence display (OLED), a quantum dot light emitting diode (QLED) display, a seven-segment or eight-segment digital tube, etc.

[0119] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0120] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0121] The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0122] An embodiment of the present application provides a computer program product. When the computer program product runs on a control device, the control device can implement the steps in the above-mentioned various method embodiments.

[0123] like Figure 8As shown, an embodiment of the present application also provides an electronic device control system, including a control device 81, a controlled device 82 and a third-party device 83; wherein the control device 81, the controlled device 82 and the third-party device 83 communicate wirelessly with each other, so that the control device 81 and the third-party device 83 can directly or indirectly control the controlled device 82, and the controlled device 82 can also directly or indirectly feedback the operating status to the control device 81 and the third-party device 83.

[0124] 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 present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the control device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

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

[0126] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0127] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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 devices or units, which can be electrical, mechanical or other forms.

[0128] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0129] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for controlling an electronic device, characterized in that: include: Receive control instructions; Acquire first attribute information corresponding to the control instruction; Determine all controlled devices and operation rules according to the first attribute information; When the number of all the controlled devices is greater than 1, obtaining second attribute information of each of the controlled devices; When the second attribute information of all the controlled devices is different from each other, controlling the operating states of all the controlled devices according to the environmental parameters and the preset priorities; When there are a plurality of controlled devices having the same second attribute information among all the controlled devices, the operation state of one of the plurality of controlled devices is controlled according to the environmental parameters and the preset priority.

2. The electronic device control method according to claim 1, characterized in that: The control instruction includes a group identifier, and all the controlled devices are selected by the user and join a device group having the group identifier.

3. The electronic device control method according to claim 2, characterized in that: Also includes: Receive group creation instructions and create a device group; receiving an identification setting instruction, and setting a group identification of the device group; A device selection instruction is received, and the controlled device selected by the user is added to the device group.

4. The electronic device control method according to claim 1, wherein: The environmental parameters include at least one of temperature, humidity, illumination, volume and time.

5. The electronic device control method according to any one of claims 1 to 4, characterized in that: The receiving control instruction comprises: A control instruction sent by a user through a human-computer interaction device or a third-party device is received, wherein the third-party device includes a human-computer interaction device or an environmental parameter detection device.

6. The electronic device control method according to claim 1, characterized in that: The controlled device is a household appliance; The method further comprises: Receive group creation instructions and create a device group; receiving an identification setting instruction, and setting a group identification of the device group; receiving a device selection instruction, and adding the household appliance selected by the user to the device group; The receiving control instruction comprises: Receiving a control instruction sent by a user through a human-computer interaction device or a third-party device, wherein the third-party device includes a human-computer interaction device or an environmental parameter detection device, and the control instruction includes the group identifier; The acquiring first attribute information corresponding to the control instruction includes: According to the control instruction and a pre-established first correspondence relationship between the control instruction and the first attribute information, acquiring the first attribute information corresponding to the control instruction, wherein the meaning of the group identifier corresponds to the meaning of the first attribute information; The step of determining all controlled devices and operation rules according to the first attribute information includes: Determine all household appliances and operating rules according to the first attribute signal and a pre-established second correspondence between the first attribute information and at least one household appliance and an operating rule; The controlling the operating states of all the controlled devices according to the operating rules includes: The operating states of all the household appliances are controlled according to environmental parameters and preset priorities, wherein the environmental parameters include at least one of temperature, humidity, illumination, volume and time.

7. An electronic equipment control device, characterized in that: include: A communication unit, used for receiving control instructions; An acquiring unit, configured to acquire first attribute information corresponding to the control instruction; A determination unit, configured to determine all controlled devices and operation rules according to the first attribute information; Control unit for: When the number of all the controlled devices is greater than 1, obtaining second attribute information of each of the controlled devices; When the second attribute information of all the controlled devices is different from each other, controlling the operating states of all the controlled devices according to the environmental parameters and the preset priorities; When there are a plurality of controlled devices having the same second attribute information among all the controlled devices, the operation state of one of the plurality of controlled devices is controlled according to the environmental parameters and the preset priority.

8. A control device, characterized in that: The electronic device comprises a communication unit, a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the electronic device control method as claimed in any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the electronic device control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Linkage control method and device for intelligent devices

    CN110618613A

  • Control method and device of intelligent equipment, electronic equipment and medium

    CN112327657A