CN117221026A - Device management method and device, electronic device and storage medium - Google Patents

Device management method and device, electronic device and storage medium Download PDF

Info

Publication number
CN117221026A
CN117221026A CN202311067555.3A CN202311067555A CN117221026A CN 117221026 A CN117221026 A CN 117221026A CN 202311067555 A CN202311067555 A CN 202311067555A CN 117221026 A CN117221026 A CN 117221026A
Authority
CN
China
Prior art keywords
scene
rule
information
device management
target scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311067555.3A
Other languages
Chinese (zh)
Inventor
章颖
苏畅
董红梁
潘潇
张超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202311067555.3A priority Critical patent/CN117221026A/en
Publication of CN117221026A publication Critical patent/CN117221026A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the field of Internet of things, and provides a device management method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: in the process of executing a device management task, determining the number of times that the running environment of an initial scene rule in the device management task is interfered; if the number of times is larger than a preset number of times threshold, acquiring the latest scene information of the account corresponding to the equipment management task; generating a target scene rule based on the latest scene information; and if the target scene rule passes the verification, updating the equipment management task based on the target scene rule. The application can adaptively adjust the scene rules in the executed device management task according to the condition that the running environment of the scene rules is interfered, thereby being capable of adapting to the change of the user requirements, improving the accuracy of device management based on the intelligent scene rules and further improving the user experience.

Description

Device management method and device, electronic device and storage medium
Technical Field
The application relates to the field of internet of things, in particular to a device management method, a device, electronic equipment and a storage medium.
Background
Along with the rapid development of the internet of things, the equipment in the intelligent home can set up intelligent scene rules on an intelligent home Application program (Application, APP) through a mobile phone, so that intelligent management and control of the equipment are realized. For example, after the user returns home at night and opens the entrance door, the user automatically turns on the lamp, turns on the air conditioner, and turns off the curtain at home. However, the current intelligent scene rule cannot automatically adapt to the change of the user requirement, so that the accuracy of the current intelligent scene rule-based device management is low, and the user experience is low.
Disclosure of Invention
The embodiment of the application provides a device management method, a device, electronic equipment and a storage medium, which are used for solving the problem of low user experience caused by low accuracy when device management is performed based on intelligent scene rules.
In a first aspect, an embodiment of the present application provides a device management method, including:
in the process of executing a device management task, determining the number of times that the running environment of an initial scene rule in the device management task is interfered;
if the number of times is larger than a preset number of times threshold, acquiring the latest scene information of the account corresponding to the equipment management task;
Generating a target scene rule based on the latest scene information;
and if the target scene rule passes the verification, updating the equipment management task based on the target scene rule.
In one embodiment, the generating the target scene rule based on the latest scene information includes:
classifying the information of the latest scene information to obtain multi-dimensional scene information;
determining at least one scene requirement information based on the multi-dimensional scene information;
and determining a target scene rule based on the scene requirement information.
In one embodiment, the determining at least one scene requirement information based on the multi-dimensional scene information includes:
inputting the multi-dimensional scene information into a scene engine model to obtain at least one scene demand information output by the scene engine model; the scene engine model is used for predicting scene requirements.
In one embodiment, the multi-dimensional scene information includes user dimension information, device dimension information, time dimension information, space dimension information, environment dimension information, and service dimension information.
In one embodiment, after generating the target scene rule based on the latest scene information, further comprising:
Outputting the target scene rule;
if a confirmation instruction fed back based on the target scene rule is received, performing simulation test on the target scene rule;
and if the target scene rule passes the simulation test, determining that the target scene rule passes the verification.
In one embodiment, after updating the device management task based on the target scenario rule, further comprising:
generating a target scene monitoring task according to the target scene rule;
and executing the target scene monitoring task, and monitoring the running environment of the target scene rule in the equipment management task.
In one embodiment, the obtaining the latest scene information of the account corresponding to the device management task includes:
determining an account corresponding to the equipment management task;
and acquiring the latest scene information of the account based on at least one mode of questionnaires, cross-platform information fusion and man-machine interaction.
In a second aspect, an embodiment of the present application provides an apparatus management device, including:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the number of times that the running environment of an initial scene rule in the device management task is interfered in the process of executing the device management task;
The acquisition module is used for acquiring the latest scene information of the account corresponding to the equipment management task if the times are greater than a preset times threshold;
the generation module is used for generating a target scene rule based on the latest scene information;
and the updating module is used for updating the equipment management task based on the target scene rule if the target scene rule passes the verification.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, where the processor implements the device management method according to the first aspect when executing the program.
In a fourth aspect, an embodiment of the present application provides a storage medium, where the storage medium is a computer readable storage medium, including a computer program, where the computer program implements the device management method according to the first aspect when executed by a processor.
According to the device management method, the device, the electronic device and the storage medium, the running environment of the initial scene rule in the device management task is monitored, and when the number of times that the running environment of the initial scene rule is interfered is greater than the preset number of times threshold, the target scene rule is generated according to the latest scene information of the account corresponding to the device management task; and when the target scene rule passes verification, the device management task is updated based on the target scene rule, and the scene rule in the executed device management task can be adaptively adjusted according to the condition that the running environment of the scene rule is interfered, so that the device management task can adapt to the change of the user requirement, the accuracy of device management based on the intelligent scene rule is improved, and the user experience is further improved.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a device management method according to an embodiment of the present application;
FIG. 2 is a second flowchart of a device management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of functional modules of an embodiment of the device management apparatus of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The device management method, device, electronic device and storage medium provided by the application are described in detail below with reference to embodiments.
Fig. 1 is a schematic flow chart of a device management method according to an embodiment of the present application. Referring to fig. 1, an embodiment of the present application provides a device management method, which may include:
step 100, determining the number of times that the running environment of an initial scene rule in the device management task is interfered in the process of executing the device management task;
it should be noted that, the execution body of the device management method provided in the embodiment of the present application may be a computer device, for example, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an Ultra-mobile Personal Computer (UMPC), a netbook, a personal digital assistant (Personal Digital Assistant, PDA), or the like.
An internet of things (Internet of Things, ioT) platform may be deployed in an execution body of the present application, wherein the IoT platform may include an information acquisition layer, an information processing layer, a scene analysis layer, and a scene application layer.
The information collection layer may be used to collect scene information for a specified account.
In order to enrich scene analysis data sources, the rationality of scene analysis results is improved. The scene information in the application can comprise six-dimensional information such as user dimension, equipment dimension, time dimension, space dimension, environment dimension and service dimension.
In terms of user dimension, information such as gender, age, city, province, constellation and the like of the user corresponding to the account and family members thereof can be acquired.
In terms of device dimensions, device information, device real-time status information, device status history change record information, log information of device execution intelligent scene tasks, etc. bound by the account corresponding to the user can be collected, and the device can transmit the device status information to the IoT platform through a message queue telemetry transport (Message Queuing Telemetry Transport, MQTT) protocol.
In terms of time dimension, the home living time of the user corresponding to the account can be acquired, and the home time, the away time and the like of the family members of the user can be acquired. In terms of space dimension, the conditions of home geographic position, house type, intelligent household equipment space layout and the like are mainly collected.
In the aspect of environmental dimension, the conditions of temperature and humidity of families corresponding to accounts, formaldehyde monitoring, recent air temperature of cities and the like can be collected.
In terms of service dimension, the account can be collected to correspond to the service conditions of security, entertainment, health, broadband, schedule, shopping, home administration, travel and the like which are used by the user recently.
The information processing layer can preprocess the acquired scene information, thereby obtaining multi-dimensional scene information.
The scene analysis layer can analyze the multi-dimensional scene information, and the scene rule of at least one device can be obtained through analysis. It should be noted that, according to the multi-dimensional scene information in the present application, the scene rules corresponding to different devices can be obtained by analysis.
The scene application layer can verify the generated scene rule, generate an executable device management task according to the scene rule after determining that the scene rule passes the verification, and generate a scene monitoring task corresponding to the scene rule, wherein the scene monitoring task can comprise the scene monitoring rule, and the scene monitoring rule is generated according to the corresponding scene rule.
Therefore, when the device management task is executed, the scene monitoring task can be executed simultaneously, and whether the scene rule needs to be adjusted is determined according to the monitoring condition.
Specifically, in the application, the user can register an account in the IoT platform, and can perform device management after logging in the account, so that a device management instruction can be initiated based on the account.
When the IoT platform receives the device management instruction, the current scene information of the account can be obtained through the information collection layer.
Further, the obtained initial scene information can be preprocessed through the information processing layer, so that the initial multi-dimensional scene information is obtained.
Further, the initial multi-dimensional scene information can be analyzed through a scene analysis layer to obtain an initial scene rule of at least one device.
Further, the initial context rules may be validated through the context application layer, where the validation process may include simulated validation and user validation. When the initial scene rule is confirmed to pass the verification, a device management task is generated and executed according to the initial scene rule, a scene monitoring rule is generated according to the initial scene rule, and a scene monitoring task is generated and executed according to the scene monitoring rule. Therefore, the running environment of the initial scene rule in the equipment management task can be monitored in the process of executing the equipment management task, so that the number of times that the running environment of the initial scene rule in the equipment management task is interfered is determined, and whether the initial scene rule is adjusted due to the fact that the running environment of the initial scene rule is interfered is conveniently determined.
It should be noted that, the device management task in the present application is associated with an account.
If the initial scene rule is determined to not pass the verification, the initial scene rule can be regenerated according to the initial scene information, and then the regenerated initial scene rule is verified until the initial scene rule passes the verification.
Step 200, if the number of times is greater than a preset number of times threshold, acquiring the latest scene information of the account corresponding to the equipment management task;
when the running environment of the initial scene rule in the equipment management task is detected, whether the running environment is actively or passively interrupted by the equipment management task corresponding to the initial scene rule or not can be monitored, if so, the running environment of the initial scene rule is determined to be interfered once, and therefore the times that the running environment of the initial scene rule is interfered are counted.
Further, the number of times that the running environment of the initial scene rule is interfered can be compared with a preset number of times threshold, and then the size relation between the number of times that the running environment of the initial scene rule is interfered and the number of times threshold is determined. The preset time threshold value can be a secondary value set according to actual requirements. For example, 2, 3, 4, etc. may be included in the present application.
If the number of times that the running environment of the initial scene rule is interfered is determined to be greater than the preset number of times threshold, the latest scene information of the account corresponding to the equipment management task can be obtained, so that the initial scene rule is updated based on the latest scene information, and the updated scene rule can adapt to the change of the user requirement.
Step 300, generating a target scene rule based on the latest scene information;
after the latest scene information is obtained, the method can analyze the latest scene information through a scene analysis layer, and obtain the target scene rule of at least one device after the analysis is completed.
Further, the application can verify the produced target scene rule, wherein the verification process can comprise simulation verification and user verification. After the target scene rule passes the user verification and the simulation verification, the target scene rule can be determined to pass the verification. And if the target scene rule fails any one of the simulation verification and the user verification, determining that the target scene rule fails the verification.
If the target scene rule does not pass the verification, the target scene rule can be regenerated according to the latest scene information, and then the regenerated target scene rule is verified until the target scene rule passes the verification. Or after the abnormal prompt information is output, ending the equipment management task. Or, continuing to execute the device management task currently including the initial context rule.
Step 400, if the target scene rule passes the verification, updating the device management task based on the target scene rule.
If the target scene rule is confirmed to pass the verification, the initial scene rule in the equipment management task can be replaced by the target scene rule, and the equipment management task after the scene rule replacement is continuously executed.
According to the equipment management method provided by the embodiment of the application, the running environment of the initial scene rule in the equipment management task is monitored, and when the number of times that the running environment of the initial scene rule is interfered is greater than the preset number of times threshold, the target scene rule is generated according to the latest scene information of the account corresponding to the equipment management task; and when the target scene rule passes verification, the device management task is updated based on the target scene rule, and the scene rule in the executed device management task can be adaptively adjusted according to the condition that the running environment of the scene rule is interfered, so that the device management task can adapt to the change of the user requirement, the accuracy of device management based on the intelligent scene rule is improved, and the user experience is further improved.
In one embodiment, obtaining the latest scene information of the account corresponding to the device management task includes:
Step 201, determining an account corresponding to a device management task;
step 202, obtaining the latest scene information of the account based on at least one mode of questionnaires, cross-platform information fusion and man-machine interaction.
When the number of times that the running environment of the initial scene rule is interfered is determined to be greater than the preset number of times threshold, the account associated with the equipment management task can be queried.
Further, the latest scene information of the account can be obtained by at least one mode of questionnaire cross-platform information fusion and man-machine interaction. The latest scene information may also include information of six dimensions, such as a user dimension, a device dimension, a time dimension, a space dimension, an environment dimension, and a service dimension.
For example, the application can acquire the latest scene information of the account in a mode of combining questionnaires, cross-platform information fusion and man-machine interaction.
Or can be obtained only by any mode of questionnaires and cross-platform information fusion and man-machine interaction.
The questionnaire can be pushed through the intelligent home APP on the IoT platform, and the latest scene information in the questionnaire can be obtained after the questionnaire is submitted by the corresponding user of the account.
And cross-platform information fusion, namely acquiring the information of the account through other related platforms as the latest scene information.
The man-machine interaction cooperation means that after a user logs in an account of the intelligent home APP, interaction information between the user and the intelligent home APP is collected as latest scene information.
Taking an investigation questionnaire as an example, after the intelligent home APP binds a new intelligent home device, the user account can trigger the intelligent home APP to push a use questionnaire aiming at the newly bound device. The purpose of the questionnaire is to collect objective usage intent requirements of the user for the newly-bound device with minimal questionnaire interaction. Taking the sweeping robot as an example, after the user finishes binding the sweeping robot on the intelligent home APP, the user receives a pushing message for filling out the questionnaire, for example, the 'investigation questionnaire' is used for better assisting the user in efficiently using the sweeping robot, and the user is recommended to click into the questionnaire. ". The questionnaire content of each device requires continuous professional custom optimization of the smart home APP. For example, for a floor sweeping robot device, the questionnaire content may be referred to as follows:
problem 1: what is you hope that the working time range of the sweeping robot is?
A、10:00-12:00;
B、12:00-14:00;
C、14:00-17:00;
D. Custom ____.
Problem 2: is someone at home hoped to work with the robot?
Hopefully;
undesirable.
According to the embodiment, when the number of times that the running environment of the initial scene rule is interfered is larger than the preset number of times threshold, at least one mode of investigation questionnaire, cross-platform information fusion and man-machine interaction is adopted to obtain the latest scene information of the account, so that the target scene rule can be generated according to the latest scene information, when the target scene rule passes verification, the device management task can be updated based on the target scene rule and then executed, the situation that the running environment of the scene rule is interfered is realized, the scene rule in the executed device management task is adaptively adjusted, and therefore the change of the user requirement can be adapted, the accuracy in the process of device management based on the intelligent scene rule is improved, and the user experience is further improved.
In one embodiment, generating the target scene rule based on the latest scene information includes:
step 301, classifying information of the latest scene information to obtain multi-dimensional scene information;
the application can preprocess the latest scene information, in particular, can classify the latest scene information into six-dimension scene information, and obtain multi-dimension scene information after classification.
The multi-dimensional scene information comprises user dimension information, equipment dimension information, time dimension information, space dimension information, environment dimension information and service dimension information.
For example: taking questionnaire information processing as an example, each question in the questionnaire maps a set of attribute information in the service background. Taking the above robot cleaner questionnaire as an example, the attribute information mapped by the question 1 is a string type field of a period in which the robot cleaner is expected to work, and the attribute information mapped by the question 2 is a bool type field representing whether the robot cleaner is expected to work when someone is in the house. The above storage form of the questionnaire feedback information of the sweeping robot in the service background can be referred to as follows:
User:139XXXX1234
DeviceType: XXX robot of sweeping floor
Device ID:8765432112345678
Attributes: {
"expected operating time": "10:00-17:00",
"whether people work at home": false
}
The above information can be filled into attribute fields of user dimension, equipment dimension and time dimension to form user dimension information, equipment dimension information and time dimension information.
Step 302, determining at least one scene requirement information based on the multi-dimensional scene information;
after the multi-dimensional scene information is obtained, the method can analyze the multi-dimensional scene information through a scene engine or a scene engine model to obtain at least one piece of scene requirement information, wherein each piece of scene requirement information can correspond to the scene requirement of one or a class of equipment.
The scene engine model is an artificial intelligent model for predicting scene requirements.
Specifically, the application can be provided with a scene engine, and the scene engine can be provided with a conversion rule for converting the multi-dimensional scene information into the scene demand information of the equipment, so that the multi-dimensional scene information can be input into the scene rule, the multi-dimensional scene information is converted through the conversion rule in the scene engine, and the scene demand information, which is output by the scene engine and aims at least one equipment, is obtained after the conversion is completed.
Step 303, determining a target scene rule based on the scene requirement information.
Further, the application can convert the scene requirement information obtained by analysis into the scene rule and determine the scene rule as the target scene rule.
For example: the scene demand information is that if a person is detected to be at home, the state of the sweeping robot is an inactive state.
The scene requirement information may be converted into the following scene rules: if the camera in the home detects that a person is at home, the sweeping robot is interrupted to execute the sweeping task, and the sweeping robot is returned to the charging pile position.
Also for example: taking a sweeping robot as an example, when a user hopes that no one is in the house, the sweeping robot works, and the user going out time is usually 9 a: 00, then automatically generating such a scene rule: 10 am: 00 to 12: during the period 00, if the intelligent door lock is opened from the door and no person in the house is monitored within one minute, the sweeping robot starts to execute the whole house sweeping work.
Taking an intelligent air conditioner as an example, the address information of a user is in Hangzhou, the recent air temperature lasts for about 40 ℃, and the living time of the user is 7 in the morning: 00 and night 23:00. then a scene rule of the intelligent air conditioner is automatically generated: night 22:30 if the air-conditioning state of the bedroom is off and the temperature and humidity sensor of the bedroom monitors that the indoor temperature is higher than 30 degrees, the air-conditioning of the bedroom is turned on, and the temperature is adjusted to 26 degrees in a refrigerating mode. In contrast, if the recent Hangzhou air temperature is around 0 ℃, the intelligent air conditioner scene rules are automatically to be updated. Night 22:30 if the air-conditioning state of the bedroom is off and the temperature and humidity sensor of the bedroom monitors that the indoor temperature is lower than 5 ℃, the air-conditioning of the bedroom is turned on, and the temperature is adjusted to 22 ℃ in a heating mode.
According to the embodiment, when the number of times that the running environment of the initial scene rule is interfered is larger than a preset number of times threshold, a target scene rule is generated according to the latest scene information of the account corresponding to the equipment management task; when the target scene rule passes verification, the device management task is updated based on the target scene rule and then is executed, and the scene rule in the executed device management task can be adaptively adjusted according to the condition that the running environment of the scene rule is interfered, so that the device management task can adapt to the change of the user requirement, the accuracy of device management based on the intelligent scene rule is improved, and the user experience is further improved.
Further, determining at least one scene requirement information based on the multi-dimensional scene information includes:
in step 3021, the multi-dimensional scene information is input to the scene engine model to obtain at least one scene requirement information output by the scene engine model.
According to the method, the model constructed according to the multi-dimensional scene information and the scene demand information can be trained in advance according to the multi-dimensional scene sample information and the sample scene rules of a plurality of devices, and a scene engine model is obtained after training is completed.
Therefore, after the multi-dimensional scene information is obtained, the multi-dimensional scene information can be input into the scene engine model, the multi-dimensional scene information is predicted through the scene engine model, and the scene demand information of at least one device is output after the prediction is completed.
According to the embodiment, at least one scene requirement information can be determined according to the multi-dimensional scene information through an artificial intelligence model, the target scene rule is determined according to the scene requirement information, then when the target scene rule passes verification, the device management task is updated based on the target scene rule and then is executed, and the scene rule in the executed device management task can be adaptively adjusted according to the condition that the running environment of the scene rule is interfered, so that the change of the user requirement can be adapted, the accuracy in device management based on the intelligent scene rule is improved, and the user experience is further improved.
Further, after generating the target scene rule based on the latest scene information, further comprising:
step a1, outputting a target scene rule;
after the target scene rule is obtained, the target scene rule can be output through the intelligent home APP, so that a user can confirm or adjust through the terminal.
Step a2, if a confirmation instruction based on target scene rule feedback is received, performing simulation test on the target scene rule;
further, if a confirmation instruction fed back by the user based on the target scene rule is received, further performing simulation test on the target scene rule, so as to determine the rationality of the target scene rule.
Specifically, the IoT platform may link the user's device information, simulate execution of the target scene rule, and determine that the target scene rule is reasonable if the simulation is successful.
And if the tested target scene rule is reasonable, determining that the target scene rule passes the simulation test. If the tested target scene rule is unreasonable, determining that the target scene rule fails the simulation test. If the target scene rule is determined to not pass the simulation test, the target scene rule can be regenerated according to the latest scene information, and then the regenerated target scene rule is verified until the target scene rule passes the simulation. Or after the abnormal prompt information is output, ending the equipment management task. Or, continuing to execute the device management task currently including the initial context rule.
And a3, if the target scene rule passes the simulation test, determining that the target scene rule passes the verification.
If the target scene rule is determined to pass the simulation test, the target scene rule is determined to pass the user verification and the simulation verification, and the target scene rule can be determined to pass the verification.
In another embodiment, the application can perform simulation test and user test on the target scene rule at the same time, and determine that the target scene rule passes verification when the target scene rule is determined to pass the simulation test and the user test at the same time.
According to the embodiment, simulation test and user test can be carried out on the target scene rule, so that whether the target scene rule is reasonable or not and whether the target scene rule meets the user requirement or not is determined, when the target scene rule passes verification, the device management task can be updated based on the target scene rule and then executed, therefore, the scene rule in the executed device management task can be adaptively adjusted according to the condition that the running environment of the scene rule is interfered, the change of the user requirement can be adapted, the accuracy in device management based on the intelligent scene rule is improved, and the user experience is further improved.
Further, after updating the device management task based on the target scene rule, the method further comprises:
Step 500, generating a target scene monitoring task according to a target scene rule;
after the initial scene rule in the equipment management task is updated through the target scene rule, the application can generate a scene monitoring task aiming at the target scene rule, and the task is determined to be the target scene monitoring task.
And 600, executing a target scene monitoring task and monitoring the running environment of the target scene rule in the equipment management task.
After the target scene monitoring task is generated, the target scene monitoring task can be executed, so that the running environment of the target scene rule in the equipment management task is monitored, and when the number of times that the running environment of the target scene rule is interfered is greater than a preset number of times threshold, the target scene rule is updated, and so on.
Taking the sweeping robot as an example, the executable device management tasks generated by the IoT platform are: 10 am: 00 to 12: during the period 00, if the intelligent door lock is opened from the inside of the door, the sweeping robot starts to execute the whole house sweeping work. The corresponding target scene monitoring tasks are as follows: (1) monitoring the condition of interrupted execution in a scene execution log of the sweeping robot; (2) the condition that the camera equipment finds out people or sounds in the house during the period that the robot is used for carrying out scene tasks is monitored.
The application can be provided with a scene monitoring module for executing the target scene monitoring task. The scene monitoring rule of each target scene monitoring task in the scene monitoring module has an independent increment variable n, and the number of times that the scene is interfered is recorded. Taking the scene of the sweeping robot as an example, the scene monitoring rule comprises 2 monitoring tasks. Task (1) is a regular monitoring item that can be set by all intelligent context rules. If the scene is monitored to be interrupted (log analysis judgment is performed through analysis of scene rules), the background variable scene is interfered for times n to perform +1 operation. Task (2) is a monitoring task formulated for the user feedback information in the questionnaire, which is not expected to be a sweeping task performed by someone at home. When the scene monitoring rule is generated, whether the camera equipment is started or not is judged, whether the camera equipment has the functions of human body detection and sound detection or not is judged, and if the conditions are met, the camera human body detection and the sound detection are monitored. If a person is found at home during execution of the scene task, the background variable scene is disturbed by the number n of times +1 operation is performed. When the number of times n of the interfered scenes reaches a preset number of times threshold, triggering to re-analyze the existing scene rules to obtain updated scene rules, pushing the updated scene rules to the user, and updating the updated scene rules after the user confirms the updated scene rules. Taking a sweeping robot as an example, if the scene rule is monitored to be interrupted for a plurality of times or the camera monitors a person or sound for a plurality of times in the scene execution process, the user may receive the updated scene rule: monday to friday 14:00, the sweeping robot starts to execute the whole house sweeping work. After receiving the push message, the user can adjust the confirmation scene rule, and after confirmation, the smart home APP can synchronize the scene rule after confirmation and update to the IoT platform through a hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) protocol.
According to the embodiment, the target scene monitoring task can be executed, the running environment of the target scene rule in the equipment management task is monitored, so that the scene rule in the executed equipment management task is adaptively adjusted according to the condition that the running environment of the scene rule is interfered, the change of the user requirement can be adapted, the accuracy in equipment management based on the intelligent scene rule is improved, and the user experience is further improved.
Fig. 2 is a second flowchart of a device management method according to an embodiment of the present application. Referring to fig. 2, in one embodiment, the device management method of the present application may be implemented by:
step 1, binding of certain intelligent equipment is completed on the intelligent home APP by a user. For example, the user moves some APP in China and binds a sweeping robot device.
And step 2, popping up a use intention questionnaire of the corresponding equipment on the APP.
And 3, submitting an investigation questionnaire by a user, and synchronizing information to the IoT platform. The IoT platform completes parsing of the questionnaire feedback information and stores the parsing results in a database.
And 4, the IoT platform scene rule engine performs an analysis task in combination with the six-domain information. Intelligent context rules associated with the newly bound device are to be generated or updated by the six domain context engine model.
Step 5, the IoT platform automatically generates/updates the scene rules. And linkage equipment information is used for scene rule verification, and after the scene rule verification is passed, the scene rule verification is pushed to a user through a mobile phone APP for confirmation.
And 6, confirming the rationality of the scene rule by the user, and adjusting the scene rule as required.
And 7, synchronizing the rule confirmed by the user to an IoT platform, automatically generating a corresponding scene monitoring rule by the IoT platform, and executing a scene monitoring task by the scene monitoring module.
And 8, realizing scene linkage control by the cloud control equipment of the IoT platform. The IoT platform records a scene execution log.
And 9, monitoring the scene rule by a scene monitoring module. Each automatically generated scene rule corresponds to one monitoring rule set at the same time. The scene monitoring module records the interfered times of the scene, and if the interfered times reach a certain threshold value, the scene rule engine is triggered again to execute the analysis task to adjust the existing scene rules. The flow of steps 4 to 8 is then looped. Otherwise, executing the scene task according to the original scene rule.
Aiming at the problem of low perception of intelligent scene rules, the intelligent home scene rule generation and update triggering mechanism is added, and the user can trigger the generation or update of the intelligent scene rules when the binding of the intelligent equipment is completed. For example, when a user binds a door magnet device, a home-returning scene mode in the intelligent scene is triggered to generate and update rules, and in the home-returning mode, a rule for switching the door magnet to a disarmed state is automatically added; meanwhile, in the mode of leaving home, a rule for switching the door magnetism to the defense arrangement state is automatically added.
Aiming at the problem that the rationality of the intelligent scene rule setting is not high, the six-domain scene engine model is constructed. A six-domain scene linkage engine comprising users, devices, time, space, environment and service is constructed, so that automatically generated scene rules are more fit with the real scene requirements of the users.
Aiming at the problem that the intelligent scene rule cannot automatically adapt to the change of the user requirement in time, the application designs a scene monitoring module for monitoring whether the existing scene rule truly meets the user scene requirement. The monitoring method is to record the number of times of being interfered in the execution of the scene rule. Each automatically generated scene rule corresponds to one monitoring rule set at the same time. The scene monitoring module records the interfered times of the scene, and if the interfered times reach a certain threshold value, the scene rule engine is triggered again to execute the analysis task to adjust the existing scene rules. The scene monitoring module realizes the effectiveness tracking of scene rules and provides conditions for continuously and adaptively adjusting and updating the scene rules.
According to the intelligent household intelligent scene intelligent household device, the user perception bringing convenience to life can be improved, and more users can be effectively guided to contact with the intelligent use mode of the intelligent household device. The popularization of the intelligent home in the common user group can be accelerated.
Further, the application also provides a device management device.
Referring to fig. 3, fig. 3 is a schematic functional block diagram of an embodiment of a device management apparatus according to the present application.
The device management apparatus includes:
a determining module 310, configured to determine, during execution of a device management task, a number of times that an operating environment of an initial scenario rule in the device management task is disturbed;
an obtaining module 320, configured to obtain latest scene information of an account corresponding to the device management task if the number of times is greater than a preset number of times threshold;
a generating module 330, configured to generate a target scene rule based on the latest scene information;
and the updating module 340 is configured to update the device management task based on the target scenario rule if the target scenario rule passes the verification.
According to the device management device provided by the embodiment of the application, the running environment of the initial scene rule in the device management task is monitored, and when the number of times that the running environment of the initial scene rule is interfered is greater than the preset number of times threshold, the target scene rule is generated according to the latest scene information of the account corresponding to the device management task; and when the target scene rule passes verification, the device management task is updated based on the target scene rule, and the scene rule in the executed device management task can be adaptively adjusted according to the condition that the running environment of the scene rule is interfered, so that the device management task can adapt to the change of the user requirement, the accuracy of device management based on the intelligent scene rule is improved, and the user experience is further improved.
In one embodiment, the obtaining module 320 is specifically configured to:
determining an account corresponding to the equipment management task;
and acquiring the latest scene information of the account based on at least one mode of questionnaires, cross-platform information fusion and man-machine interaction.
In one embodiment, the generating module 330 is specifically configured to:
classifying the information of the latest scene information to obtain multi-dimensional scene information;
determining at least one scene requirement information based on the multi-dimensional scene information;
and determining a target scene rule based on the scene requirement information.
In one embodiment, the generating module 330 includes a determining unit configured to:
inputting the multi-dimensional scene information into a scene engine model to obtain at least one scene demand information output by the scene engine model; the scene engine model is used for predicting scene requirements.
In one embodiment, the generating module 330 is further configured to:
outputting the target scene rule;
if a confirmation instruction fed back based on the target scene rule is received, performing simulation test on the target scene rule;
and if the target scene rule passes the simulation test, determining that the target scene rule passes the verification.
In one embodiment, the update module 340 is further configured to:
generating a target scene monitoring task according to the target scene rule;
and executing the target scene monitoring task, and monitoring the running environment of the target scene rule in the equipment management task.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communication Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. The processor 410 may call a computer program in the memory 430 to perform the steps of the device management method, including, for example:
in the process of executing a device management task, determining the number of times that the running environment of an initial scene rule in the device management task is interfered;
if the number of times is larger than a preset number of times threshold, acquiring the latest scene information of the account corresponding to the equipment management task;
generating a target scene rule based on the latest scene information;
and if the target scene rule passes the verification, updating the equipment management task based on the target scene rule.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, an embodiment of the present application further provides a storage medium, where the storage medium is a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program is configured to cause a processor to execute the steps of the method provided in the foregoing embodiments, where the method includes:
In the process of executing a device management task, determining the number of times that the running environment of an initial scene rule in the device management task is interfered;
if the number of times is larger than a preset number of times threshold, acquiring the latest scene information of the account corresponding to the equipment management task;
generating a target scene rule based on the latest scene information;
and if the target scene rule passes the verification, updating the equipment management task based on the target scene rule.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CD, DVD, BD, HVD, etc.), and semiconductor memory (e.g., ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid State Disk (SSD)), etc.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A device management method, comprising:
in the process of executing a device management task, determining the number of times that the running environment of an initial scene rule in the device management task is interfered;
if the number of times is larger than a preset number of times threshold, acquiring the latest scene information of the account corresponding to the equipment management task;
generating a target scene rule based on the latest scene information;
and if the target scene rule passes the verification, updating the equipment management task based on the target scene rule.
2. The device management method according to claim 1, wherein the generating a target scene rule based on the latest scene information includes:
classifying the information of the latest scene information to obtain multi-dimensional scene information;
determining at least one scene requirement information based on the multi-dimensional scene information;
and determining a target scene rule based on the scene requirement information.
3. The device management method according to claim 2, wherein the determining at least one scene requirement information based on the multi-dimensional scene information includes:
inputting the multi-dimensional scene information into a scene engine model to obtain at least one scene demand information output by the scene engine model; the scene engine model is used for predicting scene requirements.
4. The device management method of claim 2, wherein the multi-dimensional scene information includes user dimension information, device dimension information, time dimension information, space dimension information, environment dimension information, and service dimension information.
5. The device management method according to claim 1, further comprising, after generating a target scene rule based on the latest scene information:
outputting the target scene rule;
if a confirmation instruction fed back based on the target scene rule is received, performing simulation test on the target scene rule;
and if the target scene rule passes the simulation test, determining that the target scene rule passes the verification.
6. The device management method according to claim 1, further comprising, after updating the device management task based on the target scene rule:
generating a target scene monitoring task according to the target scene rule;
and executing the target scene monitoring task, and monitoring the running environment of the target scene rule in the equipment management task.
7. The device management method according to claim 1, wherein the obtaining the latest scene information of the account corresponding to the device management task includes:
Determining an account corresponding to the equipment management task;
and acquiring the latest scene information of the account based on at least one mode of questionnaires, cross-platform information fusion and man-machine interaction.
8. A device management apparatus, comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the number of times that the running environment of an initial scene rule in the device management task is interfered in the process of executing the device management task;
the acquisition module is used for acquiring the latest scene information of the account corresponding to the equipment management task if the times are greater than a preset times threshold;
the generation module is used for generating a target scene rule based on the latest scene information;
and the updating module is used for updating the equipment management task based on the target scene rule if the target scene rule passes the verification.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor implements the device management method of any one of claims 1 to 7 when executing the computer program.
10. A storage medium, which is a computer-readable storage medium, comprising a computer program, characterized in that the computer program, when executed by a processor, implements the device management method of any one of claims 1 to 7.
CN202311067555.3A 2023-08-23 2023-08-23 Device management method and device, electronic device and storage medium Pending CN117221026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311067555.3A CN117221026A (en) 2023-08-23 2023-08-23 Device management method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311067555.3A CN117221026A (en) 2023-08-23 2023-08-23 Device management method and device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117221026A true CN117221026A (en) 2023-12-12

Family

ID=89041587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311067555.3A Pending CN117221026A (en) 2023-08-23 2023-08-23 Device management method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117221026A (en)

Similar Documents

Publication Publication Date Title
CN109818839B (en) Personalized behavior prediction method, device and system applied to smart home
Dong et al. Building energy and comfort management through occupant behaviour pattern detection based on a large-scale environmental sensor network
WO2020037918A1 (en) Risk control strategy determining method based on predictive model, and related device
CN106796511A (en) For the distributed rule engine of healthy and strong sensor network
JP2022523932A (en) Offline tuning system for detecting new motion zones in motion detection systems
CN105516321B (en) A kind of collecting method and device
CN113254833B (en) Information pushing method and service system based on birth teaching fusion
Carolis et al. Incremental learning of daily routines as workflows in a smart home environment
CN114363352A (en) Block chain-based Internet of things system cross-chain interaction method
Diyan et al. Intelligent Internet of Things gateway supporting heterogeneous energy data management and processing
CN115774819B (en) Point of interest recommendation method and system based on hierarchical cyclic neural network
WO2021257298A1 (en) Machine learning model training checkpoints
Massimo et al. Learning user preferences by observing user-items interactions in an IoT augmented space
CN113935788B (en) Model evaluation method, device, equipment and computer readable storage medium
CN115063874A (en) Control method, device and equipment of intelligent household equipment and storage medium
Silva et al. Cooperative and Interactive Learning to estimate human behaviours for energy applications
Xiao Machine learning in smart home energy monitoring system
US10291483B2 (en) Entity embedding-based anomaly detection for heterogeneous categorical events
CN114493028A (en) Method and device for establishing prediction model, storage medium and electronic device
WO2024139703A1 (en) Object recognition model updating method and apparatus, electronic device, storage medium, and computer program product
CN113658689A (en) Multi-agent model training method and device, electronic equipment and storage medium
CN112837671A (en) Intelligent voice prompt method, device and equipment and readable storage medium
CN113194155A (en) Method and device for intelligently recommending scenes in Internet of things
CN117221026A (en) Device management method and device, electronic device and storage medium
CN110428342B (en) Data restoration method, server, customer service side and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination