Equipment control method and device
By obtaining the location information of the target object and calling its target database, determining and controlling the target equipment, solving the problem of controlling the control of smart home equipment under speechless control, the automation control of the equipment of the language obstacles, the improvement of the equipment intelligence and users Experience.
Patent Information
- Application Number
- CN202411498981.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-01-28
AI Technical Summary
The prior art is difficult to provide smart home device control solutions for people who cannot speak without voice control, such as speech barriers, resulting in insufficient intelligence of device control.
By obtaining the location information of the target object and calling the corresponding target database, determine and control the corresponding target equipment to achieve automated control.
In the absence of voice control, the intelligent and user experience of home equipment has been improved, so that people who cannot speak can also easily control home equipment.
Smart Images

Figure CN119376285A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the general field of control technology, and in particular to a device control method and apparatus. Background Art
[0002] With the development of voice recognition technology, voice recognition technology is also applied to home appliances. For example, home appliances such as color TVs, air conditioners, and lamps can be voice controlled after being connected to the intelligent voice control system. However, single voice control is not applicable to people who cannot speak due to language barriers. Therefore, how to improve the intelligence of home appliance control is a technical problem that needs to be solved urgently in this field. Summary of the invention
[0003] The present application provides a device control method and apparatus, which can determine the target device that currently needs to be operated and controlled based on the location information of the target object and a target database, thereby improving the intelligence of home device control.
[0004] In a first aspect, the present application provides a device control method, which is applied to a server in a home control system, wherein the home control system further includes a plurality of home devices, and the method includes:
[0005] Get the location information corresponding to the target object;
[0006] Call the target database corresponding to the target object;
[0007] Determine at least one target device and target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database, wherein the at least one target device is a device in a plurality of home devices;
[0008] At least one target device is controlled according to the target operation information corresponding to each target device.
[0009] It can be seen that in the present application, the corresponding target device and target operation information are determined according to the location information of the target object and the target database corresponding to the target object, so that the home appliances can be automatically controlled without voice control, which is convenient for people who cannot speak due to language barriers to realize automatic control of home appliances. In addition, since the target device and target operation information are determined based on the target database corresponding to the target object, the more determined target device and target operation information are more in line with the device usage habits of the target object, which improves the intelligence of home appliance control and thus improves the user experience.
[0010] In a feasible example, the location information includes first location information corresponding to the current moment and second location information corresponding to a first preset time before the current moment, the target database includes operation information of devices corresponding to the position movement of the target object before and after multiple preset time periods of each historical day, and the target operation information corresponding to at least one target device and each of the at least one target device is determined according to the location information of the target object and the target database, including: determining a first time period among multiple preset time periods corresponding to the current moment; obtaining operation information corresponding to at least one first device used by the target object in the second location information and each of the at least one first device; determining multiple first data corresponding to the first time period in the target database, each of the multiple first data including movement information. The method comprises the steps of: determining the location information before and after the movement, and the device usage before and after the movement; determining from the multiple first data the second location information, at least one first device corresponding to the second location information and the operation information corresponding to each first device, and the multiple second data matching the first location information; determining multiple device usage groups according to the device usage after the movement in the multiple second data, each of the multiple device usage groups including at least one device and the operation information corresponding to each device in the at least one device; determining at least one second device and the operation information corresponding to each second device in the at least one second device from the multiple device usage groups; and determining at least one target device and the target operation information corresponding to each target device according to the operation information corresponding to the at least one second device and each second device.
[0011] In the present application, the data to be matched is determined according to the time period of the current moment, so that the obtained data can be more in line with the living habits of the target object. Subsequently, the data is matched by the position before and after the movement and the device usage before the movement, so that the obtained data can be more in line with the device usage habits of the target object, thereby improving the accuracy of determining the target device and further improving the user experience.
[0012] In a feasible example, determining at least one second device and operation information corresponding to each second device in at least one second device from multiple device usage groups includes: obtaining a third device used by the target object at the current moment; determining multiple first device usage groups from multiple device usage groups based on the third device, the first device usage group being a device usage group including the third device in the multiple device usage groups; determining a second device usage group with the largest number of repetitions in the multiple first device usage groups, the second device usage group including at least one second device and operation information corresponding to each second device.
[0013] In the present application, by taking the third device currently used by the target object as one of the conditions for determining at least one second device, the determined at least one second device can be made more suitable for the current device usage scenario of the target object, thereby improving the accuracy of determining at least one second device.
[0014] In a feasible example, at least one target device and target operation information corresponding to each target device are determined based on at least one second device and operation information corresponding to each second device, including: determining whether at least one second device is in a preset spatial range corresponding to the first location information; if it is determined that there is a third device in at least one second device that is not in the preset spatial range corresponding to the first location information, then determining at least one target device from at least one fourth device, the target device being a device in at least one fourth device whose device power consumption is lower than the preset power consumption, and obtaining target operation information of at least one target device, at least one fourth device being a device other than the third device in at least one second device; if it is determined that at least one second device is in the preset spatial range corresponding to the first location information, then determining at least one target device from at least one second device, the target device being a device in at least one second device whose device power consumption is lower than the preset power consumption, and obtaining target operation information of at least one target device.
[0015] In the present application, taking into account the situation that the operation of devices outside the current spatial range is difficult for the target object to perceive, excluding at least one second device through a preset spatial range corresponding to a location information can be more in line with the perception of the target object, thereby improving the accuracy of determining the target device, and excluding devices with higher power consumption can reduce the overall power consumption of household equipment and improve the stability of household equipment operation.
[0016] In a feasible embodiment, at least one target device and target operation information corresponding to each target device are determined based on at least one second device and the operation information corresponding to each second device, including: determining whether at least one second device is in the preset spatial range corresponding to the first position information; if it is determined that there is a third device in at least one second device that is not in the preset spatial range corresponding to the first position information, then determining at least one fifth device in which the number of operation program steps in the operation information corresponding to each fourth device in at least one fourth device is less than the preset number, and determining at least one fifth device to be at least one target device, the operation information corresponding to each fifth device in at least one fifth device is the target operation information corresponding to each target device, and at least one fourth device is a device other than the third device in at least one second device; if it is determined that at least one second device is in the preset spatial range corresponding to the first position information, then determining at least one sixth device in which the number of operation program steps in the operation information corresponding to each second device in at least one second device is less than the preset number, and determining at least one sixth device to be at least one target device, and the operation information corresponding to each sixth device in at least one sixth device is the target operation information corresponding to each target device.
[0017] In the present application, a device with a smaller number of operating procedure steps is selected as the target device, which can avoid a higher error rate caused by more complex control and improve the stability of device control.
[0018] In a feasible example, after controlling at least one target device according to the target operation information corresponding to each target device, the method also includes: determining a seventh device in the home devices that is associated with the target device based on environmental information corresponding to the current moment, the environmental information including at least one of the following: brightness, volume, and temperature; determining first operation information corresponding to the seventh device according to the environmental information corresponding to the current moment and the environmental information corresponding to the seventh device; and controlling the seventh device according to the first operation information.
[0019] In the present application, the seventh device associated with the target device is determined based on the environmental information corresponding to the current moment, and the seventh device is controlled based on the current environment so that the current environment is more suitable for the target object to use the target device. This can improve the intelligence of device control and thus improve the user experience.
[0020] In a feasible example, after controlling at least one target device according to the target operation information corresponding to each target device, the method also includes: stopping the operation of the eighth device in response to a stop operation instruction received from the target object regarding the eighth device in at least one target device; deleting the operation information for the eighth device in the first location information from multiple second data in the target database.
[0021] In the present application, for the eighth device that has stopped running as reported by the target object, its data in the same scenario in the target database is deleted, so that the server will not automatically control the eighth device in the same scenario subsequently, thereby adapting to the user's current device usage habits, improving the intelligence of device control, and thereby improving the user's usage experience.
[0022] In a feasible example, at least one target device is controlled according to the target operation information corresponding to each target device, including: generating a target operation instruction corresponding to each target device according to the target operation information corresponding to each target device, and sending the target operation instruction corresponding to each target device to each target device; after controlling at least one target device according to the target operation information corresponding to each target device, the method also includes: if no feedback instruction from a ninth device in at least one target device is received within a second preset time, obtaining historical response information of the ninth device, the historical response information of the ninth device including the number of unresponse times and the number of responses of the ninth device to the historical operation instructions of the server; if the ratio between the number of unresponse times and the number of responses is greater than the preset ratio, feeding back the response information of the ninth device to the target object.
[0023] In the present application, when no feedback instruction is received from the ninth device within the second preset time, and when it is determined that the ninth device has not responded too many times based on the historical response information of the ninth device, the situation is fed back to the target object. This allows the target object to know the failure of the device in a timely manner, thereby improving the stability of the device control.
[0024] In a second aspect, the present application provides a device control apparatus, which is applied to a server in a home control system, wherein the home control system further includes a plurality of home devices, and the device includes:
[0025] An acquisition unit, used to acquire location information corresponding to a target object;
[0026] A processing unit, used for calling a target database corresponding to a target object;
[0027] a determination unit, configured to determine at least one target device and target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database, wherein the at least one target device is a device in the plurality of home devices;
[0028] The processing unit is further used to control at least one target device according to the target operation information corresponding to each target device.
[0029] In a third aspect, the present application provides an electronic device comprising a processor, a memory, and a communication interface. The processor, the memory, and the communication interface are interconnected and perform communication with each other. The memory stores executable program code, the communication interface is used for wireless communication, and the processor is used to call the executable program code stored in the memory to execute, for example, some or all of the steps described in any method of the first aspect.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium, in which electronic data is stored. When the electronic data is executed by a processor, it is used to execute the electronic data to implement some or all of the steps described in the first aspect of the present application.
[0031] In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the present application. The computer program product may be a software installation package. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 creative work.
[0033] Figure 1 A schematic diagram of the structure of a home control system provided in an embodiment of the present application;
[0034] Figure 2 A schematic diagram of a flow chart of a device control method provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of the structure of a house sensor distribution provided in an embodiment of the present application;
[0036] Figure 4 A schematic diagram of the structure of a housing space provided in an embodiment of the present application;
[0037] Figure 5 A block diagram of the functional units of a device control device provided in an embodiment of the present application;
[0038] Figure 6 A block diagram of the functional units of another device control device provided in an embodiment of the present application;
[0039] Figure 7A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps is not limited to the listed steps, but optionally includes steps that are not listed, or optionally includes other steps inherent to these processes, methods, products or devices.
[0042] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0043] See also Figure 1 , Figure 1 A schematic diagram of the structure of a home control system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the home control system 100 includes a server 101 and a plurality of home devices 102 .
[0044] The server 101 is used to control multiple home devices 102 according to the control requirements of the target object. Optionally, the server 101 is a server, a server cluster, a cloud server, a cloud computing service center or other forms of devices with computing capabilities. The server 101 can also be integrated into a terminal device, so that the user can view the real-time parameters of multiple home devices 102 through the terminal device, or control multiple home devices 102 by operating the terminal device. The terminal device can be a desktop computer, a laptop, a tablet computer, a smart phone, etc.
[0045] The home device 102 refers to a smart home device, such as a refrigerator, a color TV, an air conditioner, and other smart home devices.
[0046] The server 101 obtains the location information corresponding to the target object, and calls the target database corresponding to the target object, determines at least one target device among the multiple home devices 102 and the target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database, and finally the server 101 controls the at least one target device according to the target operation information corresponding to each target device. In this way, the home appliances can be automatically controlled without voice control, which is convenient for people who cannot speak due to language barriers to realize automatic control of home appliances, and improves the intelligence of home appliance control.
[0047] Based on this, an embodiment of the present application provides a device control method, and the embodiment of the present application is described in detail below in conjunction with the accompanying drawings.
[0048] See also Figure 2 , Figure 2 A schematic diagram of a device control method provided in an embodiment of the present application, the method is applied to the above-mentioned home control system, such as Figure 2 As shown, the method comprises the following steps:
[0049] Step S201: The server obtains location information corresponding to the target object.
[0050] The location information of the target object can be comprehensively determined by the equipment in the house. For example, a sensor can be installed on each household device or part of the wall of the house, and the two-dimensional coordinates of the target object can be comprehensively determined based on the distances obtained by the sensors on multiple household devices. And the identification of the target object can be based on the identification of the target object by the camera device in the house. It can be understood that the camera device in the house or other devices that obtain or call user data in real time should be based on user authorization.
[0051] For example, see Figure 3 , Figure 3 A schematic diagram of the structure of a house sensor distribution provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, sensors 301 are respectively set at the four corners of the current room. When the target object 302 enters the current room, the current position coordinates of the target object 302 can be determined according to the distances of the target object 302 from the four sensors 301 obtained by the four sensors 301.
[0052] Step S202: the server calls the target database corresponding to the target object.
[0053] Different data storage areas are established for different users so that each user has his or her own exclusive database.
[0054] Step S203: The server determines at least one target device and target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database.
[0055] Wherein, at least one target device is a device among multiple home devices. Based on the target database corresponding to the target object and the location information of the target object, the device that the target object may use at the current location is determined, so that the determined target device and target operation information can be more in line with the usage habits of the target object, thereby improving the user experience.
[0056] The following is a detailed description of the current steps:
[0057] Specifically, in a feasible embodiment, the location information includes first location information corresponding to the current moment and second location information corresponding to a first preset time before the current moment, the target database includes operation information of devices corresponding to the position movement of the target object before and after multiple preset time periods of each historical day, and the target operation information corresponding to at least one target device and each target device in at least one target device is determined according to the location information of the target object and the target database, including: determining a first time period in multiple preset time periods corresponding to the current moment; obtaining operation information corresponding to at least one first device used by the target object in the second location information and each first device in the at least one first device; determining multiple first data corresponding to the first time period in the target database, and each first data packet in the multiple first data The method includes the location information before and after the movement, as well as the device usage before the movement and the device usage after the movement; determining the second location information, at least one first device corresponding to the second location information and the operation information corresponding to each first device, and multiple second data matching the first location information from multiple first data; determining multiple device usage groups according to the device usage after the movement in the multiple second data, each of the multiple device usage groups including at least one device and the operation information of each device in the at least one device; determining at least one second device and the operation information corresponding to each second device in the at least one second device from the multiple device usage groups; determining at least one target device and the target operation information corresponding to each target device according to the operation information corresponding to the at least one second device and each second device.
[0058] Among them, the interval time before and after the position movement in the target database is also the first preset time, and the second position information refers to the position information corresponding to the target user when moving to the first position. The movement trajectory of the target object can be known through the first position information and the second position information, and the device operation that may be generated by the target object at the current position can be further determined according to the movement trajectory of the target object, which is more in line with the device usage habits of the target object. For example, after watching TV in the living room, the target object moves to the bedroom and may continue to watch TV, while the target object moves from the bathroom to the bedroom to rest.
[0059] In addition, the device usage of the target object before the position is moved may also affect the device usage of the user after the position is moved. For example, the target object may continue to watch TV after moving to the bedroom after watching TV in the living room, but may rest after moving to the bedroom after playing games in the living room. Since the device operations corresponding to different time periods may be different, for example, the user may open the room curtains in the morning, but the user may close the room curtains in the afternoon. Multiple preset time periods per day can be divided according to the user's living conditions. For example, if the user's daily sleeping time period is from 0:00 to 8:00, 8:00 to 11:00 is working time, 11:00 to 2:00 is lunch break time, 2:00 to 18:00 is working time, and 18:00 to 0:00 is home time after get off work, then 0:00 to 8:00, 8:00 to 11:00, 11:00 to 2:00, 18:00 to 0:00 can be divided into multiple time periods respectively.
[0060] Therefore, this embodiment first determines the first time period corresponding to the current moment in the day, obtains at least one first device used by the target object before the position is moved and the operation information corresponding to each first device in the at least one first device, and determines multiple first data belonging to the first time period in the target database. Since each of the multiple first data includes the position information before and after the movement, as well as the device usage before and after the movement, the second position information before the movement, the at least one first device before the movement and the operation information corresponding to each first device, and the first position information after the movement can be matched with the corresponding data in the multiple first data (position information before and after the movement and device usage before the movement), thereby determining multiple second data matching therewith, and according to the corresponding device usage after the movement in the multiple second data, the multiple device usage after the target object moves can be determined. According to the multiple device usage after the movement, the operation information corresponding to at least one second device and each second device in the at least one second device can be determined. It can be known that, since the target database includes historical daily data, there may be duplicate data between the multiple device usage groups after the move. According to the multiple device usage groups after the move, the operation information corresponding to at least one second device and each second device in at least one second device can be determined. It can be determined that the device usage group with the largest number of duplicates in the multiple device usage groups, and the operation information corresponding to at least one second device and each second device in at least one second device is determined accordingly. Finally, at least one target device and the target operation information corresponding to each target device are determined according to the operation information corresponding to at least one second device and each second device.
[0061] In addition, the target database can be represented in a tabular form. For example, please refer to Table 1. Table 1 is a single-day database table provided in an embodiment of the present application. As shown in Table 1, each time period includes at least one set of data, and each set of data includes location information before and after the location movement, as well as device usage before the location movement and device usage after the location movement. The three data of the currently acquired location information and device usage before the movement and the current location information are matched with the data group of the corresponding time period to determine the device usage after the location movement in the matched data group.
[0062] Table 1
[0063]
[0064] In the present application, the data to be matched is determined according to the time period of the current moment, so that the obtained data can be more in line with the living habits of the target object. Subsequently, the data is matched by the position before and after the movement and the device usage before the movement, so that the obtained data can be more in line with the device usage habits of the target object, thereby improving the accuracy of determining the target device and further improving the user experience.
[0065] The following is a detailed description of “determining at least one second device and operation information corresponding to each second device in the at least one second device from a plurality of device usage groups”:
[0066] In a feasible embodiment, determining at least one second device and operation information corresponding to each second device in at least one second device from multiple device usage groups includes: obtaining a third device used by the target object at the current moment; determining multiple first device usage groups from multiple device usage groups based on the third device, the first device usage group being a device usage group including the third device in the multiple device usage groups; determining a second device usage group with the largest number of repetitions in the multiple first device usage groups, the second device usage group including at least one second device and operation information corresponding to each second device.
[0067] Among them, when determining at least one second device and the operation information corresponding to each second device in at least one second device from multiple device usage groups, the third device used by the target object at the current moment can also be considered, and multiple first device usage groups including the third device can be determined from the multiple device usage groups. It can be understood that the multiple first device usage groups include device usage corresponding to multiple dates, so the same device usage may exist in multiple dates, that is, there is the same combination of usage devices and operation information, that is, the same device usage group may exist in multiple first device usage groups, so the second device usage group with the largest number of repetitions in the multiple first device usage groups is finally determined.
[0068] In the present application, by taking the third device currently used by the target object as one of the conditions for determining at least one second device, the determined at least one second device can be made more suitable for the current device usage scenario of the target object, thereby improving the accuracy of determining at least one second device.
[0069] The following is a detailed description of “determining at least one target device and target operation information corresponding to each target device according to at least one second device and operation information corresponding to each second device”:
[0070] In a feasible embodiment, at least one target device and target operation information corresponding to each target device are determined based on at least one second device and operation information corresponding to each second device, including: determining whether at least one second device is in a preset spatial range corresponding to the first location information; if it is determined that there is a third device in at least one second device that is not in the preset spatial range corresponding to the first location information, then determining at least one target device from at least one fourth device, the target device being a device in at least one fourth device whose device power consumption is lower than the preset power consumption, and obtaining target operation information of at least one target device, the at least one fourth device being a device other than the third device in at least one second device; if it is determined that at least one second device is all in the preset spatial range corresponding to the first location information, then determining at least one target device from at least one second device, the target device being a device in at least one second device whose device power consumption is lower than the preset power consumption, and obtaining target operation information of at least one target device.
[0071] Among them, when determining at least one target device and the target operation information corresponding to each target device according to the operation information corresponding to at least one second device and each second device, the operation information corresponding to the at least one second device and each second device determined above should be further verified to determine whether it is suitable as the device currently used by the target object. This embodiment first judges based on the position of at least one second device. This is because when the device outside the spatial range corresponding to the current position of the target object is running, the target object may not be able to immediately know its operating status. Even if the device is not the device that the target object wants to use, it is difficult for the target object to stop it in time. Therefore, the second device that is not in the preset spatial range corresponding to the first position information will be eliminated, and only the device in the preset spatial range corresponding to the first position information will be retained. The preset spatial range corresponding to the first position information can be based on the spatial distribution of the house. For example, a single bedroom can be divided into a spatial range, and a single living room can also be divided into a spatial range.
[0072] For example, see Figure 4 , Figure 4 A schematic diagram of the structure of a housing space provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, it can be seen that the house can be isolated into five spaces according to the spatial layout (such as Figure 4 The five spaces are divided into five preset space ranges 401 according to the five spaces.
[0073] After excluding the third device that is not in the preset spatial range corresponding to the first location information, the remaining devices are screened according to their power consumption, and some devices with excessively high power consumption are eliminated, thereby reducing the overall power consumption of the house. And for the above-mentioned excluded devices, when the subsequent target device is running, feedback can be provided to the user as to whether the above-mentioned excluded devices need to be turned on. The feedback can be voice feedback or screen display feedback. It is understandable that voice feedback is possible here because this application is aimed at people with disabilities, but not at people with hearing impairments. However, if the current user is also a hearing-impaired person, voice feedback can be excluded, and other feedback that can be perceived by this group of people can be selected.
[0074] In the present application, taking into account the situation that the operation of devices outside the current spatial range is difficult for the target object to perceive, excluding at least one second device through a preset spatial range corresponding to a location information can be more in line with the perception of the target object, thereby improving the accuracy of determining the target device, and excluding devices with higher power consumption can reduce the overall power consumption of household equipment and improve the stability of household equipment operation.
[0075] In addition, in addition to determining at least one target device and target operation information corresponding to each target device according to at least one second device and operation information corresponding to each second device as described above, the following method may also be used.
[0076] In a feasible embodiment, determine whether at least one second device is in a preset spatial range corresponding to the first position information; if it is determined that there is a third device in at least one second device that is not in the preset spatial range corresponding to the first position information, then determine at least one fifth device in which the number of operation program steps in the operation information corresponding to each fourth device in at least one fourth device is less than the preset number, and determine at least one fifth device to be at least one target device, the operation information corresponding to each fifth device in at least one fifth device is the target operation information corresponding to each target device, and at least one fourth device is a device other than the third device in at least one second device; if it is determined that at least one second device is all in the preset spatial range corresponding to the first position information, then determine at least one sixth device in which the number of operation program steps in the operation information corresponding to each second device in at least one second device is less than the preset number, and determine at least one sixth device to be at least one target device, and the operation information corresponding to each sixth device in at least one sixth device is the target operation information corresponding to each target device.
[0077] Among them, after eliminating some devices according to the preset spatial range corresponding to the first position information, the number of operation program steps corresponding to the operation information of each device in the remaining devices can be determined. The purposefulness of the device with a large number of operation program steps is higher, but this higher purposefulness is not necessarily suitable for the current situation of the target object, and the error rate will also be higher when controlling the device for the device with a large number of operation program steps. For example, the target database includes the TV records that the target object watched previously, and the TV records can locate specific film and television programs and corresponding episodes, but it can be known that the episodes of some film and television programs are updated periodically, and the episodes located previously are not the episodes that the target object currently needs to watch, or the film and television programs located previously are not the film and television programs that the target object currently needs to watch. Therefore, for devices with a large number of operation program steps, it is not considered to directly operate and run for the user. In this way, the determination of the target device and its operation information can be more in line with the actual scene.
[0078] In the present application, a device with a smaller number of operating procedure steps is selected as the target device, which can avoid a higher error rate caused by more complex control and improve the stability of device control.
[0079] Furthermore, the determination condition for the number of operation program steps can be used alone as a condition for determining at least one target device and the target operation information corresponding to each target device based on the operation information corresponding to at least one second device and each second device, or can also be combined with the power consumption and / or preset spatial range in the above-mentioned embodiments as a condition for determining at least one target device and the target operation information corresponding to each target device based on the operation information corresponding to at least one second device and each second device.
[0080] In a feasible embodiment, when it is determined that there is a third device in the at least one second device that is not in the preset spatial range corresponding to the first location information, the at least one first target device is first directly determined from the at least one fourth device, and the first target device is a device in the at least one fourth device that uses power consumption lower than the preset power consumption. Then the number of at least one first target device is determined. If the at least one first target device is single, the first target device is determined as the target device, and the target operation information of the target device is directly obtained. The at least one fourth device is the device other than the third device in the at least one second device. If it is determined that there are multiple first target devices, at least one second target device in which the number of operation program steps is lower than the preset number is determined, and the at least one second target device is determined as the target device, and the target operation information of the target device is also directly obtained.
[0081] When it is determined that at least one second device is in the preset spatial range corresponding to the first location information, at least one third target device is determined from the at least one second device, and the third target device is a device in the at least one second device whose device power consumption is lower than the preset power consumption. If the at least one third target device is single, the single third target device is directly determined as the target device, and the target operation information of the target device is obtained. If the at least one third target device is multiple, at least one fourth target device in which the number of operation program steps is lower than the preset number is determined among the multiple third target devices, and then the fourth target device is determined as the target device, and the target operation information of the target device is also directly obtained.
[0082] In this way, the target device can be comprehensively selected based on the number of operating program steps and power, which can further improve the intelligence of device control.
[0083] Step S204: controlling at least one target device according to the target operation information corresponding to each target device.
[0084] Among them, while controlling each target device, the control situation can also be fed back to the user, which can also be voice feedback, screen display feedback or other feedback. If the control of the target device and the control of other devices by the target object exceed the third preset time, the device usage situation of this time can also be stored in the target database corresponding to the target object. The reason why it needs to exceed the third preset time is to avoid the automatic control device being stopped by the target object when it is just running.
[0085] It can be understood that the method shown in the present application can be combined with a machine learning model, for example, taking location information and a target database as input, and target device and target operation information as output, so as to train the machine learning model and obtain a trained prediction model, and in subsequent use, it can also be optimized in real time based on the data fed back by the object.
[0086] In addition, in a feasible embodiment, after controlling at least one target device according to the target operation information corresponding to each target device, the method also includes: determining a seventh device in the home devices that is associated with the target device based on environmental information corresponding to the current moment, the environmental information including at least one of the following: brightness, volume, and temperature; determining first operation information corresponding to the seventh device according to the environmental information corresponding to the current moment and the environmental information corresponding to the seventh device; and controlling the seventh device according to the first operation information.
[0087] Among them, after the operation control of the target device is performed, the associated devices of the target device can also be determined based on the current environment. For example, for a television, the influence of external brightness can be considered, so the corresponding associated devices can include curtains and lamps. The influence of external noise can also be considered, so the corresponding associated devices can also include windows. At the same time, the influence of temperature can also be considered, so the corresponding associated devices can also include air conditioners, fans or other temperature control devices. And the first operation information corresponding to the seventh device determined according to the environmental information corresponding to the current moment and the environmental information corresponding to the seventh device should be such that the operation of the seventh device can improve the current environment, so that it is more suitable for the target object to use the target device. The associated devices of each target device can be pre-set, and the corresponding associated device can be selected from the pre-set devices according to the current environment, and its associated devices are controlled according to the most suitable environment set.
[0088] In the present application, the seventh device associated with the target device is determined based on the environmental information corresponding to the current moment, and the seventh device is controlled based on the current environment so that the current environment is more suitable for the target object to use the target device. This can improve the intelligence of device control and thus improve the user experience.
[0089] In addition, in a feasible embodiment, after controlling at least one target device according to the target operation information corresponding to each target device, the method also includes: stopping the operation of the eighth device in response to a stop operation instruction received from the target object regarding the eighth device in at least one target device; deleting the operation information for the eighth device in the first location information from multiple second data in the target database.
[0090] Among them, when the server operates and controls at least one target device, if the server receives a stop operation instruction from the user for one of the eighth devices at this time, the server stops the operation of the eighth device, and the server deletes the operation information of the eighth device in the current scene in the target database, so that the eighth device will not be automatically operated and controlled in the subsequent same scene. It can be understood that the current scene refers to the first time period, and the position before the movement corresponds to the second position information, the position after the movement corresponds to the first position information, at least one first device used before the movement, and the operation information corresponding to each first device in the at least one first device.
[0091] In the present application, for the eighth device that has stopped running as reported by the target object, its data in the same scenario in the target database is deleted, so that the server will not automatically control the eighth device in the same scenario subsequently, thereby adapting to the user's current device usage habits, improving the intelligence of device control, and thereby improving the user's usage experience.
[0092] In addition, in a feasible embodiment, at least one target device is controlled according to the target operation information corresponding to each target device, including: generating a target operation instruction corresponding to each target device according to the target operation information corresponding to each target device, and sending the target operation instruction corresponding to each target device to each target device; after controlling at least one target device according to the target operation information corresponding to each target device, the method also includes: if no feedback instruction from a ninth device among at least one target device is received within a second preset time, obtaining historical response information of the ninth device, the historical response information of the ninth device including the number of unresponse times and the number of responses of the ninth device to the historical operation instructions of the server; if the ratio between the number of unresponse times and the number of responses is greater than the preset ratio, feeding back the response information of the ninth device to the target object.
[0093] Among them, when the server controls each target device, it is done according to the corresponding control instructions. The server also needs to receive feedback from each target device to obtain the control status of each target device. However, if the feedback instruction of the ninth device in at least one target device is not received within the second preset time, the historical response information of the ninth device is obtained, that is, the number of unresponsive times and the number of responses of the ninth device to the historical operation instructions of the server. If the ratio between the number of unresponsive times and the number of responses is greater than the preset ratio, it means that there is an abnormality in the communication connection between the server and the ninth device, or there is an abnormality in the ninth device itself. At this time, feedback needs to be given to the target object, which can also be voice feedback or screen display feedback.
[0094] In the present application, when no feedback instruction is received from the ninth device within the second preset time, and when it is determined that the ninth device has not responded too many times based on the historical response information of the ninth device, the situation is fed back to the target object. This allows the target object to know the failure of the device in a timely manner, thereby improving the stability of the device control.
[0095] It can be seen that in the embodiment of the present application, the corresponding target device and target operation information are determined according to the location information of the target object and the target database corresponding to the target object, so that the home appliance can be automatically controlled without voice control, which is convenient for people who cannot speak due to language barriers to realize automatic control of home appliances. In addition, since the target device and target operation information are determined based on the target database corresponding to the target object, the more determined target device and target operation information are more in line with the device usage habits of the target object, thereby improving the intelligence of home appliance control and thus improving the user experience.
[0096] In accordance with the above-mentioned embodiment, please refer to Figure 5 , Figure 5This is a functional unit composition block diagram of a device control device provided in an embodiment of the present application. The device control device 50 may be a server 101 or a part of the server 101, such as Figure 5 As shown, the equipment control device 50 includes:
[0097] An acquisition unit 501 is used to acquire location information corresponding to a target object;
[0098] Processing unit 502, used to call the target database corresponding to the target object;
[0099] A determination unit 503, configured to determine at least one target device and target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database, wherein the at least one target device is a device in the plurality of home devices;
[0100] The processing unit 502 is further configured to control at least one target device according to the target operation information corresponding to each target device.
[0101] In a feasible embodiment, the location information includes first location information corresponding to the current moment and second location information corresponding to a first preset time before the current moment. The target database includes operation information of devices corresponding to the position movement of the target object before and after multiple preset time periods of each historical day. In determining the target operation information corresponding to at least one target device and each of the at least one target device according to the location information of the target object and the target database, the determination unit 503 is specifically used to: determine the first time period of the multiple preset time periods corresponding to the current moment; obtain the operation information corresponding to the at least one first device used by the target object in the second location information and each of the at least one first device; determine multiple first data corresponding to the first time period in the target database, each of the multiple first data The first data includes location information before and after the movement, as well as device usage before and after the movement; from multiple first data, determine the second location information, at least one first device corresponding to the second location information and operation information corresponding to each first device, and multiple second data matching the first location information; determine multiple device usage groups based on the device usage after the movement in the multiple second data, each of the multiple device usage groups includes at least one device and operation information of each device in at least one device; determine at least one second device and operation information corresponding to each second device in at least one second device from the multiple device usage groups; determine at least one target device and target operation information corresponding to each target device based on the operation information corresponding to at least one second device and each second device.
[0102] In a feasible embodiment, in terms of determining at least one second device and operation information corresponding to each second device in at least one second device from multiple device usage groups, the determination unit 503 is specifically used to: obtain a third device used by the target object at the current moment; determine multiple first device usage groups from multiple device usage groups based on the third device, the first device usage group being a device usage group including the third device in the multiple device usage groups; determine a second device usage group with the largest number of repetitions in the multiple first device usage groups, the second device usage group including at least one second device and operation information corresponding to each second device.
[0103] In a feasible embodiment, in terms of determining at least one target device and target operation information corresponding to each target device based on at least one second device and operation information corresponding to each second device, the determination unit 503 is specifically used to: determine whether at least one second device is in a preset spatial range corresponding to the first position information; if it is determined that there is a third device in at least one second device that is not in the preset spatial range corresponding to the first position information, determine at least one target device from at least one fourth device, the target device being a device in at least one fourth device whose device power consumption is lower than the preset power consumption, and obtain target operation information of at least one target device, and at least one fourth device is a device other than the third device in at least one second device; if it is determined that at least one second device is in the preset spatial range corresponding to the first position information, determine at least one target device from at least one second device, the target device being a device in at least one second device whose device power consumption is lower than the preset power consumption, and obtain target operation information of at least one target device.
[0104] In a feasible embodiment, in terms of determining at least one target device and target operation information corresponding to each target device according to at least one second device and operation information corresponding to each second device, the determining unit 503 is specifically configured to:
[0105] Determine whether at least one second device is in the preset spatial range corresponding to the first position information; if it is determined that there is a third device in at least one second device that is not in the preset spatial range corresponding to the first position information, determine at least one fifth device in which the number of operation program steps in the operation information corresponding to each fourth device in at least one fourth device is less than the preset number, and determine at least one fifth device to be at least one target device, the operation information corresponding to each fifth device in at least one fifth device is the target operation information corresponding to each target device, and at least one fourth device is a device other than the third device in at least one second device; if it is determined that at least one second device is all in the preset spatial range corresponding to the first position information, determine at least one sixth device in which the number of operation program steps in the operation information corresponding to each second device in at least one second device is less than the preset number, and determine at least one sixth device to be at least one target device, and the operation information corresponding to each sixth device in at least one sixth device is the target operation information corresponding to each target device.
[0106] In a feasible embodiment, the equipment control device 50 further includes:
[0107] The determining unit 503 is configured to determine, after the processing unit 502 controls at least one target device according to the target operation information corresponding to each target device, a seventh device associated with the target device among the home devices based on the environmental information corresponding to the current moment, where the environmental information includes at least one of the following: brightness, volume, and temperature; and determine the first operation information corresponding to the seventh device according to the environmental information corresponding to the current moment and the environmental information corresponding to the seventh device;
[0108] The processing unit 502 is configured to control the seventh device according to the first operation information.
[0109] In a feasible embodiment, the processing unit 502 is also used to: after controlling at least one target device according to the target operation information corresponding to each target device, in response to a stop operation instruction received from the target object regarding an eighth device in at least one target device, stop the operation of the eighth device; and delete the operation information for the eighth device in the first location information from multiple second data in the target database.
[0110] In a feasible embodiment, in terms of controlling at least one target device according to the target operation information corresponding to each target device, the processing unit 502 is specifically configured to: generate a target operation instruction corresponding to each target device according to the target operation information corresponding to each target device, and send the target operation instruction corresponding to each target device to each target device;
[0111] The device control device 50 further includes:
[0112] The acquiring unit 501 is configured to acquire historical response information of the ninth device if no feedback instruction of a ninth device among the at least one target device is received within a second preset time after the processing unit 502 controls the at least one target device according to the target operation information corresponding to each target device, wherein the historical response information of the ninth device includes the number of non-responses and the number of responses of the ninth device to the historical operation instructions of the server;
[0113] The processing unit 502 is further configured to feed back response information of the ninth device to the target object if the ratio between the number of non-response times and the number of response times is greater than a preset ratio.
[0114] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0115] In the case of an integrated unit, such as Figure 6 As shown, Figure 6 This is a block diagram of the functional units of another device control device 50 provided in an embodiment of the present application. Figure 6 In the embodiment, the device control apparatus 50 includes: a processing module 612 and a communication module 611. The processing module 612 is used to control and manage the actions of the device control apparatus 50, for example, the steps of the acquisition unit 501, the processing unit 502 and the determination unit 503, and / or other processes for executing the technology described herein. The communication module 611 is used to support the interaction between the device control apparatus 50 and other devices. Figure 6 As shown, the device control apparatus 50 may further include a storage module 613 , and the storage module 613 is used to store program codes and data of the device control apparatus 50 .
[0116] Among them, the processing module 612 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 611 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 613 can be a memory.
[0117] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. Figure 2 The device control method shown.
[0118] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center containing one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0119] Figure 7 This is a structural block diagram of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 700 may include one or more of the following components: a processor 701, a memory 702 and a communication interface 703. The processor 701, the memory 702 and the communication interface 703 are interconnected and perform communication work with each other, wherein the memory 702 may store one or more computer programs, and the one or more computer programs may be configured to implement the methods described in the above embodiments when executed by one or more processors 701.
[0120] The processor 701 may include one or more processing cores. The processor 701 uses various interfaces and lines to connect the various parts of the entire electronic device 700, and executes various functions and processes data of the electronic device 700 by running or executing instructions, programs, code sets or instruction sets stored in the memory 702, and calling data stored in the memory 702. Optionally, the processor 701 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 701 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. It is understandable that the above-mentioned modem may not be integrated into the processor 701, and may be implemented separately through a communication chip.
[0121] The memory 702 may include a random access memory (RAM) or a read-only memory (ROM). The memory 702 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 700 during use, etc.
[0122] It is understandable that the electronic device 700 may include more or fewer structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, etc., which are not limited here.
[0123] The electronic device 700 may be the server 101 in the home control system 100 or a part of the server 101 .
[0124] An embodiment of the present application provides a computer-readable storage medium, wherein program data is stored in the computer-readable storage medium, and when the program data is executed by a processor, the program data is used to execute part or all of the steps of any device control method recorded in the above method embodiments.
[0125] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any device control method described in the above method embodiment. The computer program product may be a software installation package.
[0126] It should be noted that, for the sake of simplicity, the method embodiments of any of the aforementioned device control methods are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present application.
[0127] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude multiple situations. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0128] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the method embodiments of any of the above-mentioned device control methods can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a disk or an optical disk, etc.
[0129] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation method of a device control method and device of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, based on the idea of a device control method and device of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0130] The present application is described with reference to the flowcharts and / or block diagrams of the methods, hardware products, and computer program products of the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0133] It can be understood that any product that is controlled or configured to execute the processing method of the flowchart described in the method embodiment of a device control method of the present application, such as the terminal and computer program product in the above flowchart, falls within the scope of the related products described in the present application.
[0134] Obviously, those skilled in the art can make various changes and modifications to the device control method and apparatus provided by the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A device control method, characterized in that: The method is applied to a server in a home control system, wherein the home control system further comprises a plurality of home devices, and the method comprises: Obtaining location information corresponding to the target object; Calling a target database corresponding to the target object; Determine at least one target device and target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database, wherein the at least one target device is a device in the plurality of home devices; The at least one target device is controlled according to the target operation information corresponding to each target device.
2. The method according to claim 1, characterized in that The location information includes first location information corresponding to the current moment and second location information corresponding to a first preset time before the current moment, the target database includes operation information of devices respectively corresponding to the position movement of the target object before and after a plurality of preset time periods of each day in history, and the determining of at least one target device and target operation information corresponding to each of the at least one target device according to the location information of the target object and the target database includes: Determine a first time period among the plurality of preset time periods corresponding to the current moment; Acquire at least one first device used by the target object in the second location information and operation information corresponding to each first device in the at least one first device; Determine a plurality of first data corresponding to the first time period in the target database, each of the plurality of first data including location information before and after the movement, and device usage before the movement and device usage after the movement; Determine, from the plurality of first data, the second location information, at least one first device corresponding to the second location information and operation information corresponding to each of the first devices, and a plurality of second data matching the first location information; Determine a plurality of device usage groups according to the usage of the devices after the movement in the plurality of second data, each of the plurality of device usage groups including at least one device and operation information of each of the at least one device; Determine at least one second device from the plurality of device usage groups and operation information corresponding to each second device in the at least one second device; The target operation information corresponding to the at least one target device and each target device is determined according to the operation information corresponding to the at least one second device and each second device.
3. The method according to claim 2, characterized in that The determining, from the plurality of device usage groups, at least one second device and operation information corresponding to each of the at least one second device comprises: Acquire a third device currently used by the target object; determining a plurality of first device usage groups from the plurality of device usage groups based on the third device, the first device usage groups being device usage groups including the third device in the plurality of device usage groups; A second device usage group having the largest number of repetitions among the plurality of first device usage groups is determined, where the second device usage group includes the at least one second device and operation information corresponding to each of the second devices.
4. The method according to claim 2 or 3, characterized in that: The determining, according to the at least one second device and the operation information corresponding to each second device, the target operation information corresponding to the at least one target device and each target device includes: Determining whether the at least one second device is in a preset spatial range corresponding to the first location information; If it is determined that there is a third device in the at least one second device that is not in the preset spatial range corresponding to the first location information, determine the at least one target device from at least one fourth device, the target device is a device in the at least one fourth device whose device power consumption is lower than the preset power consumption, and obtain target operation information of the at least one target device, the at least one fourth device is a device in the at least one second device other than the third device; If it is determined that the at least one second device is in the preset spatial range corresponding to the first location information, then the at least one target device is determined from the at least one second device, and the target device is a device in the at least one second device whose power consumption is lower than the preset power consumption, and the target operation information of the at least one target device is obtained.
5. The method according to claim 2 or 3, characterized in that: The determining, according to the at least one second device and the operation information corresponding to each second device, the target operation information corresponding to the at least one target device and each target device includes: Determining whether the at least one second device is in a preset spatial range corresponding to the first location information; If it is determined that there is a third device in the at least one second device that is not in the preset spatial range corresponding to the first location information, then determine at least one fifth device in which the number of operation program steps in the operation information corresponding to each fourth device in the at least one fourth device is less than the preset number, and the at least one fourth device is a device other than the third device in the at least one second device; Determine at least one fifth device as at least one target device, and the operation information corresponding to each fifth device in the at least one fifth device is the target operation information corresponding to each target device; If it is determined that the at least one second device is located in the preset spatial range corresponding to the first location information, then determining at least one sixth device in which the number of operation program steps in the operation information corresponding to each second device in the at least one second device is less than a preset number; It is determined that the at least one sixth device is at least one target device, and the operation information corresponding to each sixth device in the at least one sixth device is the target operation information corresponding to each target device.
6. The method according to any one of claims 2 to 4, characterized in that: After controlling the at least one target device according to the target operation information corresponding to each target device, the method further includes: In response to a received stop operation instruction from the target object regarding an eighth device in the at least one target device, stopping the operation of the eighth device; The operation information of the eighth device at the first location information in the plurality of second data in the target database is deleted.
7. The method according to any one of claims 1 to 6, characterized in that: The controlling the at least one target device according to the target operation information corresponding to each target device includes: Generate a target operation instruction corresponding to each target device according to the target operation information corresponding to each target device, and send the target operation instruction corresponding to each target device to each target device; After controlling the at least one target device according to the target operation information corresponding to each target device, the method further includes: If no feedback instruction of a ninth device among the at least one target device is received within the second preset time, obtaining historical response information of the ninth device, wherein the historical response information of the ninth device includes the number of non-responses and the number of responses of the ninth device to the historical operation instructions of the server; If the ratio between the number of non-response times and the number of response times is greater than a preset ratio, the response information of the ninth device is fed back to the target object.
8. A device control device, characterized in that: The device is applied to a server in a home control system, the home control system also includes a plurality of home devices, and the device includes: An acquisition unit, used to acquire location information corresponding to the target object; A processing unit, used for calling a target database corresponding to the target object; a determining unit, configured to determine at least one target device and target operation information corresponding to each target device in the at least one target device according to the location information of the target object and the target database, wherein the at least one target device is a device in the plurality of home devices; The processing unit is further configured to control the at least one target device according to the target operation information corresponding to each target device.
9. An electronic device, characterized in that: The device comprises: A processor, a memory, and a communication interface, wherein the processor, the memory, and the communication interface are connected to each other and perform communication work between them; The memory stores executable program code, and the communication interface is used for wireless communication; The processor is used to call the executable program code stored in the memory to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Equipment data management method and device, electronic equipment and storage medium
CN120474858A
Device data management method, device, electronic device and storage medium
CN120474858B