Equipment control method and device, electronic equipment and storage medium

By obtaining and analyzing the environmental data and user information of the activity area of ​​smart home equipment, and generating and issuing adjustment instructions, the problem of low intelligence in the scene linkage control of smart home equipment is solved, automated environmental adjustment is realized, and user experience is improved.

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

Patent Information

Application Number
CN202411892052.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In the prior art, manual operation is required to perform scene linkage control of smart home devices, resulting in a low degree of intelligence in scene linkage control of smart home devices.

Method used

By obtaining the area type and real-time environment data of the active area, determine the user identity and activity status in the active area, generate adjustment instructions and send them to the environment adjustment device to automatically adjust the environment of the active area.

Benefits of technology

It realizes intelligent scene linkage control of smart home devices, reduces manual operations and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739076A_ABST
    Figure CN119739076A_ABST
Patent Text Reader

Abstract

The invention provides an equipment control method and device, electronic equipment and a storage medium, and the method comprises the steps: for each activity area in a target place, obtaining the area type and real-time environment data of the activity area, the area type being used for representing the use function of the activity area; determining at least one user currently located in the activity area; for each user, identifying a user identity of the user, and identifying an active state of the user; according to the area type, the real-time environment data and the user identity and activity state of each user, generating a corresponding adjustment instruction; and issuing the adjustment instruction to a corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area. Therefore, intelligent control over the environment adjusting equipment in the target place is achieved, manual operation is reduced, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device control technology, and in particular to a device control method, apparatus, electronic device and storage medium. Background Art

[0002] With the rapid development of smart home control technology, people have put forward higher requirements for the comfort and intelligent control of indoor environment. The traditional home indoor lighting and temperature adjustment methods have problems such as cumbersome manual operation, high energy consumption, and slow response, which can no longer meet people's needs.

[0003] Compared with traditional home appliances, smart home appliances have advantages such as high convenience, remote control and scene linkage, so smart home appliances can provide users with a better home experience. In the prior art, the scene linkage control method of smart home appliances is usually based on manual one-key control by the user on the user's mobile phone.

[0004] However, the above method requires manual operation to perform scene linkage control on smart home devices, resulting in a low level of intelligence in the scene linkage control of smart home devices. Summary of the invention

[0005] The present application provides a device control method, apparatus, electronic device and storage medium to solve the problem in the prior art that manual operation is required to perform scene linkage control on smart home devices, resulting in a low degree of intelligence in the scene linkage control of smart home devices.

[0006] In a first aspect, the present application provides a device control method, comprising:

[0007] For each activity area in the target place, obtaining an area type and real-time environmental data of the activity area, wherein the area type is used to characterize a usage function of the activity area;

[0008] determining at least one user currently located within the activity area;

[0009] For each user, identifying the user identity of the user, and identifying the activity status of the user;

[0010] Generate corresponding adjustment instructions according to the area type, the real-time environmental data, and the user identity and activity status of each of the users;

[0011] The adjustment instruction is sent to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

[0012] In a possible implementation manner, generating a corresponding adjustment instruction according to the area type, the real-time environment data, and the user identity and activity status of each user includes:

[0013] Determining a target usage scenario corresponding to the activity area according to the area type and the activity status of each of the users;

[0014] Determining corresponding target preference information according to the user identity of each of the users;

[0015] Determining target environment data according to the target usage scenario and the target preference information;

[0016] A corresponding adjustment instruction is generated according to the real-time environment data and the target environment data, wherein the adjustment instruction is used to instruct the environment adjustment device to adjust the environment of the activity area from the real-time environment data to the target environment data.

[0017] In a possible implementation manner, determining corresponding target preference information according to the user identity of each user includes:

[0018] determining a number of users located within the activity area;

[0019] When the number is one, obtaining first preference information preset for the user, and determining the first preference information as target preference information;

[0020] In the case that the number is multiple, the second preference information preset for each of the users and the priority of each of the second preference information are obtained, and the second preference information with the highest priority is determined as the target preference information.

[0021] In a possible implementation manner, determining corresponding target preference information according to the user identity of each user includes:

[0022] Determine whether there is a user of a target type among at least one of the users according to the user identity of each of the users, wherein the target type is used to characterize an elderly person or a child;

[0023] In the case that there is a user of the target type among at least one of the users, preference information pre-set for the user of the target type is determined as the target preference information.

[0024] In a possible implementation, determining the target environment data according to the target usage scenario and the target preference information includes:

[0025] Inputting the target usage scenario and the target preference information into an environmental data prediction model to output the target environmental data through the environmental data prediction model;

[0026] The method further comprises:

[0027] Acquire an input instruction fed back by the environment adjustment device, where the input instruction is an instruction input by a user to the environment adjustment device;

[0028] The environmental data prediction model is optimized according to the input instruction, so that when the target usage scenario and the target preference information are subsequently input into the environmental data prediction model, the environmental data prediction model outputs the environmental data adjusted by the environmental adjustment device as instructed by the input instruction.

[0029] In a possible implementation manner, determining at least one user currently located in the activity area includes:

[0030] Receiving a user position sent by at least one mobile device, wherein each of the mobile devices is worn by a corresponding user, and the user position is calculated by the corresponding mobile device based on the angle and strength of a Bluetooth signal transmitted by a Bluetooth positioning base station deployed in the target location after the Bluetooth signal is received by the corresponding mobile device;

[0031] Users whose corresponding user positions are within the activity area are determined as users located within the activity area.

[0032] In a possible implementation manner, identifying the user identity of the user includes:

[0033] Identify the user's walking posture by using a gait recognition sensor;

[0034] The user identity of the user is determined according to the walking posture.

[0035] In a second aspect, the present application provides a device control apparatus, comprising:

[0036] An acquisition module, for acquiring, for each activity area in the target place, an area type and real-time environmental data of the activity area, wherein the area type is used to characterize a usage function of the activity area;

[0037] A determination module, used to determine at least one user currently located in the activity area;

[0038] An identification module, used for identifying the user identity of each user and identifying the activity status of the user;

[0039] A generating module, configured to generate corresponding adjustment instructions according to the area type, the real-time environment data, and the user identity and activity status of each of the users;

[0040] The sending module is used to send the adjustment instruction to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

[0041] In a possible implementation, the generating module is specifically used to:

[0042] Determining a target usage scenario corresponding to the activity area according to the area type and the activity status of each of the users;

[0043] Determining corresponding target preference information according to the user identity of each of the users;

[0044] Determining target environment data according to the target usage scenario and the target preference information;

[0045] A corresponding adjustment instruction is generated according to the real-time environment data and the target environment data, wherein the adjustment instruction is used to instruct the environment adjustment device to adjust the environment of the activity area from the real-time environment data to the target environment data.

[0046] In a possible implementation manner, the generating module is further used to:

[0047] determining a number of users located within the activity area;

[0048] When the number is one, obtaining first preference information preset for the user, and determining the first preference information as target preference information;

[0049] In the case that the number is multiple, the second preference information preset for each of the users and the priority of each of the second preference information are obtained, and the second preference information with the highest priority is determined as the target preference information.

[0050] In a possible implementation manner, the generating module is further used to:

[0051] Determine whether there is a user of a target type among at least one of the users according to the user identity of each of the users, wherein the target type is used to characterize an elderly person or a child;

[0052] In the case that there is a user of the target type among at least one of the users, preference information pre-set for the user of the target type is determined as the target preference information.

[0053] In a possible implementation manner, the generating module is further used to:

[0054] Inputting the target usage scenario and the target preference information into an environmental data prediction model to output the target environmental data through the environmental data prediction model;

[0055] The device also includes an optimization module, which is used to:

[0056] Acquire an input instruction fed back by the environment adjustment device, where the input instruction is an instruction input by a user to the environment adjustment device;

[0057] The environmental data prediction model is optimized according to the input instruction, so that when the target usage scenario and the target preference information are subsequently input into the environmental data prediction model, the environmental data prediction model outputs the environmental data adjusted by the environmental adjustment device as instructed by the input instruction.

[0058] In a possible implementation manner, the determining module is specifically configured to:

[0059] Receiving a user position sent by at least one mobile device, wherein each of the mobile devices is worn by a corresponding user, and the user position is calculated by the corresponding mobile device based on the angle and strength of a Bluetooth signal transmitted by a Bluetooth positioning base station deployed in the target location after the Bluetooth signal is received by the corresponding mobile device;

[0060] Users whose corresponding user positions are within the activity area are determined as users located within the activity area.

[0061] In a possible implementation manner, the identification module is specifically used to:

[0062] Identify the user's walking posture by using a gait recognition sensor;

[0063] The user identity of the user is determined according to the walking posture.

[0064] In a third aspect, the present application provides a device, comprising: a processor and a memory, wherein the processor is used to execute a device control program stored in the memory to implement the device control method described in any one of the first aspects.

[0065] In a fourth aspect, the present application provides a storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the device control method described in any one of the first aspects.

[0066] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application, for each activity area in the target place, firstly, obtains the area type and real-time environmental data of the activity area, the area type is used to characterize the use function of the activity area, then determines at least one user currently located in the activity area, identifies the user identity of each user, and identifies the activity status of the user, and then, generates corresponding adjustment instructions according to the area type, the real-time environmental data, and the user identity and activity status of each user, and finally, sends the adjustment instructions to the corresponding environmental adjustment device to control the environmental adjustment device to adjust the environment of the activity area. In this way, intelligent control of the environmental adjustment device in the target place is achieved, thereby reducing manual operations and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0068] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0069] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0070] Figure 1 A flow chart of an embodiment of a device control method provided in an embodiment of the present application;

[0071] Figure 2 A flowchart of another device control method provided in an embodiment of the present application;

[0072] Figure 3 A block diagram of an embodiment of a device control device provided in an embodiment of the present application;

[0073] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, 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 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 making creative work are within the scope of protection of this application.

[0075] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0076] In order to solve the technical problem in the prior art that manual operation is required to control the scene linkage of smart home devices, resulting in a low level of intelligence in the scene linkage control of smart home devices, the present application provides a device control method that can achieve intelligent control of environmental adjustment equipment in a target place, thereby reducing manual operation and improving user experience.

[0077] Figure 1 A flow chart of an embodiment of a device control method provided in an embodiment of the present application.

[0078] like Figure 1 As shown, the method comprises the following steps:

[0079] Step 101: For each activity area in a target place, obtain the area type and real-time environment data of the activity area, where the area type is used to characterize the usage function of the activity area.

[0080] The target place can be any place that includes environmental adjustment equipment, such as residences, office buildings, shopping malls, etc. The environmental adjustment equipment refers to intelligent equipment used to adjust environmental parameters in the target place, such as intelligent air conditioners for adjusting temperature, intelligent humidifiers for adjusting humidity, intelligent speakers for adjusting sound, intelligent lights for adjusting light, air purifiers for adjusting gas, etc.

[0081] The above-mentioned area types are used to characterize the usage functions of the activity areas. For example, when the target place is a residence, the corresponding area types may include bedroom, study, living room, dining room, etc. For another example, when the target place is an office building, the corresponding area types may include conference room, office, etc.

[0082] The above-mentioned real-time environmental data refers to the environmental data collected in real time from the activity area. In the application, the environmental data can be collected through the corresponding sensors set in the activity area. For example, the real-time light data is collected through the indoor light sensor, the real-time temperature data is collected through the temperature sensor, the real-time humidity data is collected through the humidity sensor, and so on.

[0083] Step 102: Determine at least one user currently located in the activity area.

[0084] In actual applications, Bluetooth AOA (Angle of Arrival) base stations are deployed in advance in various activity areas within the target location to ensure that the Bluetooth AOA base stations can fully cover the entire target location and achieve high-precision positioning functions. At the same time, each member who resides in the target location (such as family members) is equipped with a mobile device that supports Bluetooth AOA function (such as smart watches, bracelets, mobile phones, etc.), which will serve as the source of positioning information.

[0085] Based on this, in an embodiment of the present application, step 102 may include the following steps: receiving a user position sent by at least one mobile device, wherein each of the mobile devices is worn on a corresponding user, and the user position is calculated based on the angle and strength of the signal after the corresponding mobile device receives a Bluetooth signal transmitted by a Bluetooth positioning base station deployed in the target location, and the user whose corresponding user position is within the activity area is determined as a user located in the activity area.

[0086] In this solution, when the system is started, the Bluetooth AOA base station begins to continuously transmit Bluetooth signals, and the wearable devices or mobile phones of family members receive these Bluetooth signals and calculate their own positions based on the angle and strength information of the signals.

[0087] Specifically, the calculation principle is as follows:

[0088] AoA (Angle of Arrival): A single antenna is used to transmit signals, and the receiving device has a built-in antenna array. When the signal passes through, the phase difference will be generated due to the signals received at different distances in the array, and the direction of the signal can be calculated. AoD (Angle of Departure): In contrast to AoA, a device with a fixed position and an antenna array sends a signal to a single antenna terminal. The terminal calculates the direction of the outgoing wave through the received signal and then locates the position.

[0089] The receiving device (for AoA) or the transmitting device (for AoD) measures the angle of arrival or transmission of the Bluetooth signal through the antenna array. Based on the known Bluetooth beacon locations and the measured angles, the location of the receiving device or the transmitting device is determined using triangulation. That is, multiple rays (representing the measured angles) are drawn, and the intersection of these rays is the location of the target device.

[0090] Then, the location information is transmitted to the smart device control center in real time. After receiving the user location sent by each mobile device, the device control center matches the user location with the area of ​​each activity area to obtain the user in the current activity area. Through this solution, Bluetooth AOA technology can be used to accurately locate the user, thereby improving the accuracy of determining the user in the activity area.

[0091] Step 103: For each user, identify the user identity of the user and identify the activity status of the user.

[0092] The above user identity is used to identify the user's identity. In the application, the user identity can be the user's name; it can also be the user's role in the corresponding scene of the target place, for example, father, mother, child, etc. in a family scene.

[0093] In the embodiment of the present application, step 103 may include the following steps: identifying the walking posture of the user through a gait recognition sensor, and determining the user identity of the user according to the walking posture. In this way, the user identity can be identified through the walking posture.

[0094] Activity state is used to characterize the changing patterns of the user's movements over a period of time, such as walking, standing still, climbing stairs, descending stairs, riding a bicycle, running, etc.

[0095] In the embodiment of the present application, firstly, the location change of the user's corresponding mobile device is continuously tracked through Bluetooth direction finding technology, and the user's movement mode, such as walking, running, and stillness, is identified by analyzing the location change data. Then, the activity state (such as watching TV, eating, etc.) is further inferred by combining the current time, location, and the user's historical activity data (i.e., the activity state corresponding to the same time, location, and movement mode in the historical time period).

[0096] In applications, Bluetooth direction-finding technology can also be combined with data from other sensors such as accelerometers, gyroscopes, and magnetometers. By fusing multi-sensor data, the user's activity status can be more accurately identified, such as going up and down stairs, riding a bicycle, etc.

[0097] Step 104: Generate corresponding adjustment instructions according to the area type, the real-time environmental data, and the user identity and activity status of each of the users.

[0098] Step 105: Send the adjustment instruction to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

[0099] For ease of understanding, step 104 and step 105 are described uniformly below:

[0100] In an embodiment of the present application, after determining the area type, real-time environmental data, and user identity and activity status of each user in the activity area corresponding to the activity area, first, determine the target environmental data applicable to at least one user in the current activity area based on the area type and the user identity and activity status of each user, then, generate corresponding adjustment instructions based on the real-time environmental data and target environmental data corresponding to the activity area, and finally, control the environmental adjustment device to adjust the environment of the activity area by sending the adjustment instructions to the corresponding environmental adjustment device so that the environment of the activity area meets user needs.

[0101] In the application, the environment adjustment device may include multiple devices, and the corresponding real-time environment data and target environment data may also include multiple devices. For example, the environment adjustment device includes an air conditioner, a humidifier, and a smart light, then the real-time environment data includes real-time temperature, real-time humidity, and real-time light, and the target environment data includes target temperature, target humidity, and target light.

[0102] The technical solution provided by the embodiment of the present application, for each activity area in the target place, firstly, obtains the area type and real-time environmental data of the activity area, the area type is used to characterize the use function of the activity area, then determines at least one user currently located in the activity area, and for each user, identifies the user identity of the user, and identifies the activity status of the user, and then, according to the area type, the real-time environmental data, and the user identity and activity status of each user, generates corresponding adjustment instructions, and finally, sends the adjustment instructions to the corresponding environmental adjustment device to control the environmental adjustment device to adjust the environment of the activity area. In this way, intelligent control of the environmental adjustment device in the target place is realized, thereby reducing manual operations and improving user experience.

[0103] Figure 2 A flowchart of an embodiment of the present application is provided for generating corresponding adjustment instructions based on the area type, the real-time environmental data, and the user identity and activity status of each user. Figure 2 The process shown in Figure 1 Based on the process shown, the following steps are included:

[0104] Step 201: Determine a target usage scenario corresponding to the activity area according to the area type and the activity status of each of the users.

[0105] In one embodiment, the correspondence between the area type, activity status and usage scenario can be preset, and the area type of the activity area and the activity status of each user in the activity area are matched according to the correspondence to obtain the corresponding target usage scenario.

[0106] For example, if the area type is study, the activity state is sitting at the desk, and the corresponding target usage scenario is reading; for another example, if the area type is living room, the activity state is sitting on the sofa and watching TV, then the corresponding target usage scenario is watching a movie.

[0107] Step 202: Determine corresponding target preference information according to the user identity of each user.

[0108] The target preference information refers to the environmental preference data set by the corresponding user, such as temperature range, humidity range, lighting range, etc.

[0109] In one embodiment, step 202 may include the following steps:

[0110] Determine the number of users located in the activity area. When the number is one, obtain first preference information pre-set for the user, and determine the first preference information as target preference information. When the number is multiple, obtain second preference information pre-set for each of the users and the priority of each of the second preference information, and determine the second preference information with the highest priority as the target preference information.

[0111] The priority may be pre-set by an administrator or determined based on the setting time of the preference information. The more recent the setting time, the higher the corresponding priority. In this way, the preference information most recently set by a user among multiple users may be used as the target preference information.

[0112] Through this solution, users can flexibly set preference information according to their own usage habits.

[0113] In another embodiment, step 202 may include the following steps:

[0114] Determine whether there is a user of the target type among at least one of the users based on the user identity of each of the users, wherein the target type is used to characterize the elderly, or children. In the case that there is a user of the target type among at least one of the users, the preference information pre-set for the user of the target type is determined as the target preference information.

[0115] Through this solution, when there are elderly people or children in the activity area, the preference information prepared in advance for the elderly or children can be used as the target preference information, so as to focus on ensuring the comfort of the elderly and children.

[0116] Step 203: Determine target environment data according to the target usage scenario and the target preference information.

[0117] Step 204: Generate a corresponding adjustment instruction according to the real-time environment data and the target environment data, wherein the adjustment instruction is used to instruct the environment adjustment device to adjust the environment of the activity area from the real-time environment data to the target environment data.

[0118] For ease of understanding, step 203 and step 204 are described uniformly below:

[0119] In an embodiment of the present application, first, target environment data that meets the needs of users in the current activity area is determined based on the target usage scenario and target preference information, and then corresponding adjustment instructions are generated based on the real-time environment data and target environment data corresponding to the activity area. The adjustment instructions instruct the environment adjustment device to adjust the environment in the activity area until it meets the target environment data and the adjustment is completed.

[0120] Specifically, step 203 may include the following steps: inputting the target usage scenario and the target preference information into an environmental data prediction model to output the target environmental data through the environmental data prediction model. The environmental data prediction model is a machine learning model pre-trained based on sample data.

[0121] In the application, in order to ensure the accuracy of the output results of the environmental data prediction model, the following steps may also be included: obtaining input instructions fed back by the environmental adjustment device, the input instructions being instructions input by the user to the environmental adjustment device, and optimizing the environmental data prediction model according to the input instructions, so that when the environmental data prediction model is subsequently input with the target usage scenario and the target preference information, it outputs the environmental data adjusted by the environmental adjustment device as instructed by the input instructions.

[0122] Input instructions refer to actual control instructions input by the user to the environmental adjustment device, or additional instructions added when the adjustment instructions output by the environmental data prediction model are executed.

[0123] Through this solution, the user's input instructions can be continuously collected during use, and the environmental data prediction model can be optimized according to the user's input instructions, so that the adjustment instructions output by the environmental data prediction model are closer to the user's actual needs.

[0124] Figure 2The scheme of the process shown can determine the target environment data based on the target usage scenario corresponding to the activity area and the target preference information of the user in the activity area, and then generate corresponding adjustment instructions based on the real-time environment data and the target environment data, so that the adjustment results indicated by the adjustment instructions meet the user needs, thereby improving the user experience.

[0125] Figure 3 This is a block diagram of an embodiment of a device control device provided in an embodiment of the present application. Figure 3 As shown, the device comprises:

[0126] An acquisition module 31 is used to acquire, for each activity area in the target place, an area type and real-time environmental data of the activity area, wherein the area type is used to characterize the use function of the activity area;

[0127] A determination module 32, configured to determine at least one user currently located in the activity area;

[0128] An identification module 33, used for identifying the user identity of each user and identifying the activity status of the user;

[0129] A generating module 34, configured to generate corresponding adjustment instructions according to the area type, the real-time environment data, and the user identity and activity status of each of the users;

[0130] The sending module 35 is used to send the adjustment instruction to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

[0131] In a possible implementation, the generating module is specifically used to:

[0132] Determining a target usage scenario corresponding to the activity area according to the area type and the activity status of each of the users;

[0133] Determining corresponding target preference information according to the user identity of each of the users;

[0134] Determining target environment data according to the target usage scenario and the target preference information;

[0135] A corresponding adjustment instruction is generated according to the real-time environment data and the target environment data, wherein the adjustment instruction is used to instruct the environment adjustment device to adjust the environment of the activity area from the real-time environment data to the target environment data.

[0136] In a possible implementation manner, the generating module is further used to:

[0137] determining a number of users located within the activity area;

[0138] When the number is one, obtaining first preference information preset for the user, and determining the first preference information as target preference information;

[0139] In the case that the number is multiple, the second preference information preset for each of the users and the priority of each of the second preference information are obtained, and the second preference information with the highest priority is determined as the target preference information.

[0140] In a possible implementation manner, the generating module is further used to:

[0141] Determine whether there is a user of a target type among at least one of the users according to the user identity of each of the users, wherein the target type is used to characterize an elderly person or a child;

[0142] In the case that there is a user of the target type among at least one of the users, preference information pre-set for the user of the target type is determined as the target preference information.

[0143] In a possible implementation manner, the generating module is further used to:

[0144] Inputting the target usage scenario and the target preference information into an environmental data prediction model to output the target environmental data through the environmental data prediction model;

[0145] The device also includes an optimization module, which is used to:

[0146] Acquire an input instruction fed back by the environment adjustment device, where the input instruction is an instruction input by a user to the environment adjustment device;

[0147] The environmental data prediction model is optimized according to the input instruction, so that when the target usage scenario and the target preference information are subsequently input into the environmental data prediction model, the environmental data prediction model outputs the environmental data adjusted by the environmental adjustment device as instructed by the input instruction.

[0148] In a possible implementation manner, the determining module is specifically configured to:

[0149] Receiving a user position sent by at least one mobile device, wherein each of the mobile devices is worn by a corresponding user, and the user position is calculated by the corresponding mobile device based on the angle and strength of a Bluetooth signal transmitted by a Bluetooth positioning base station deployed in the target location after the Bluetooth signal is received by the corresponding mobile device;

[0150] Users whose corresponding user positions are within the activity area are determined as users located within the activity area.

[0151] In a possible implementation manner, the identification module is specifically used to:

[0152] Identify the user's walking posture by using a gait recognition sensor;

[0153] The user identity of the user is determined according to the walking posture.

[0154] The technical solution provided by the embodiment of the present application, for each activity area in the target place, firstly, obtains the area type and real-time environmental data of the activity area, the area type is used to characterize the use function of the activity area, then determines at least one user currently located in the activity area, and for each user, identifies the user identity of the user, and identifies the activity status of the user, and then, according to the area type, the real-time environmental data, and the user identity and activity status of each user, generates corresponding adjustment instructions, and finally, sends the adjustment instructions to the corresponding environmental adjustment device to control the environmental adjustment device to adjust the environment of the activity area. In this way, intelligent control of the environmental adjustment device in the target place is realized, thereby reducing manual operations and improving user experience.

[0155] like Figure 4 As shown, an embodiment of the present application provides a device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0156] Memory 113, used for storing computer programs;

[0157] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the device control method provided by any of the above method embodiments, including:

[0158] For each activity area in the target place, obtaining an area type and real-time environmental data of the activity area, wherein the area type is used to characterize a usage function of the activity area;

[0159] determining at least one user currently located within the activity area;

[0160] For each user, identifying the user identity of the user, and identifying the activity status of the user;

[0161] Generate corresponding adjustment instructions according to the area type, the real-time environmental data, and the user identity and activity status of each of the users;

[0162] The adjustment instruction is sent to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

[0163] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the device control method provided in any of the aforementioned method embodiments are implemented.

[0164] The device embodiments described above are merely illustrative, wherein 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 modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0165] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0166] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0167] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A device control method, characterized in that: The method comprises: For each activity area in the target place, obtaining an area type and real-time environmental data of the activity area, wherein the area type is used to characterize a usage function of the activity area; determining at least one user currently located within the activity area; For each user, identifying the user identity of the user, and identifying the activity status of the user; Generate corresponding adjustment instructions according to the area type, the real-time environmental data, and the user identity and activity status of each of the users; The adjustment instruction is sent to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

2. The method according to claim 1, characterized in that The generating a corresponding adjustment instruction according to the area type, the real-time environment data, and the user identity and activity status of each user includes: Determining a target usage scenario corresponding to the activity area according to the area type and the activity status of each of the users; Determining corresponding target preference information according to the user identity of each of the users; Determining target environment data according to the target usage scenario and the target preference information; A corresponding adjustment instruction is generated according to the real-time environment data and the target environment data, wherein the adjustment instruction is used to instruct the environment adjustment device to adjust the environment of the activity area from the real-time environment data to the target environment data.

3. The method according to claim 2, characterized in that The determining corresponding target preference information according to the user identity of each user includes: determining a number of users located within the activity area; When the number is one, obtaining first preference information preset for the user, and determining the first preference information as target preference information; In the case that the number is multiple, the second preference information preset for each of the users and the priority of each of the second preference information are obtained, and the second preference information with the highest priority is determined as the target preference information.

4. The method according to claim 2, characterized in that: The determining corresponding target preference information according to the user identity of each user includes: Determine whether there is a user of a target type among at least one of the users according to the user identity of each of the users, wherein the target type is used to characterize an elderly person or a child; In the case that there is a user of the target type among at least one of the users, preference information pre-set for the user of the target type is determined as the target preference information.

5. The method according to claim 2, characterized in that: The determining target environment data according to the target usage scenario and the target preference information includes: Inputting the target usage scenario and the target preference information into an environmental data prediction model to output the target environmental data through the environmental data prediction model; The method further comprises: Acquire an input instruction fed back by the environment adjustment device, where the input instruction is an instruction input by a user to the environment adjustment device; The environmental data prediction model is optimized according to the input instruction, so that when the target usage scenario and the target preference information are subsequently input into the environmental data prediction model, the environmental data prediction model outputs the environmental data adjusted by the environmental adjustment device as instructed by the input instruction.

6. The method according to claim 1, characterized in that The determining of at least one user currently located in the activity area comprises: Receiving a user position sent by at least one mobile device, wherein each of the mobile devices is worn by a corresponding user, and the user position is calculated by the corresponding mobile device based on the angle and strength of a Bluetooth signal transmitted by a Bluetooth positioning base station deployed in the target location after the Bluetooth signal is received by the corresponding mobile device; Users whose corresponding user positions are within the activity area are determined as users located within the activity area.

7. The method according to claim 1, characterized in that The identifying the user identity of the user includes: Identify the user's walking posture by using a gait recognition sensor; The user identity of the user is determined according to the walking posture.

8. A device control device, characterized in that: The device comprises: An acquisition module, for acquiring, for each activity area in the target place, an area type and real-time environmental data of the activity area, wherein the area type is used to characterize a usage function of the activity area; A determination module, used to determine at least one user currently located in the activity area; An identification module, used for identifying the user identity of each user and identifying the activity status of the user; A generating module, configured to generate corresponding adjustment instructions according to the area type, the real-time environment data, and the user identity and activity status of each of the users; The sending module is used to send the adjustment instruction to the corresponding environment adjustment device to control the environment adjustment device to adjust the environment of the activity area.

9. A device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a device control program stored in the memory to implement the device control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the device control method according to any one of claims 1 to 7.