CN115862865A - Device control method, device, electronic device and storage medium - Google Patents

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

Info

Publication number
CN115862865A
CN115862865A CN202211565529.9A CN202211565529A CN115862865A CN 115862865 A CN115862865 A CN 115862865A CN 202211565529 A CN202211565529 A CN 202211565529A CN 115862865 A CN115862865 A CN 115862865A
Authority
CN
China
Prior art keywords
information
target object
target
health information
function
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
CN202211565529.9A
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.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI 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 Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202211565529.9A priority Critical patent/CN115862865A/en
Publication of CN115862865A publication Critical patent/CN115862865A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a device control method, a device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: determining first health information of the target object based on first facial information and first action information of the target object acquired through the target device, wherein the first health information is used for reflecting the stress degree of the target object; enabling at least one device function of the target device based on the first health information, the at least one device function for relieving stress of the target object from at least one dimension; determining second health information of the target object based on second facial information and second action information of the target object acquired by the target device; based on the first health information and the second health information, a functional parameter of at least one device function is adjusted. The method can determine and activate at least one device function for relieving stress of the target object by acquiring the face information and the motion information of the target object, thereby relieving the stress of the target object.

Description

Device control method, device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a device control method and apparatus, an electronic device, and a storage medium.
Background
Along with the development of society, people's pressure is getting bigger and bigger. The excessive stress can cause harm to the health of people, such as causing obesity, reducing the working efficiency and even causing mental diseases such as depression and the like. At present, people with stress usually want to relieve the stress by themselves or through the intervention of a psychologist. However, the above method requires the participation of professionals, and is high in labor cost and not convenient enough. Therefore, it is a research direction to combine the existing computer technology and artificial intelligence technology to relieve the stress of people by controlling the related electronic devices.
Disclosure of Invention
The embodiment of the application provides a device control method and device, an electronic device and a storage medium, and at least one device function for relieving the stress of a target object can be determined and started by acquiring face information and action information of the target object, so that the stress of the target object is relieved. The technical scheme is as follows:
in one aspect, a device control method is provided, and the method includes:
determining first health information of a target object based on first facial information and first action information of the target object acquired through a target device, wherein the first health information is used for reflecting the stress degree of the target object;
enabling at least one device function of the target device based on the first health information, the at least one device function to relieve stress of the target object from at least one dimension;
determining second health information of the target object based on second facial information and second action information of the target object acquired by the target device, wherein the second health information is used for reflecting the stress degree of the target object after the at least one device function is enabled;
adjusting a function parameter of the at least one device function based on the first health information and the second health information.
In some embodiments, the method further comprises:
displaying an information acquisition interface, wherein the information acquisition interface is used for inputting information;
and acquiring the object information input based on the information acquisition interface.
In some embodiments, the determining first health information of the target object based on the first facial information and the first action information of the target object acquired by the target device includes:
predicting first face information and first motion information of the target object based on a prediction model to obtain the first health information, wherein the prediction model is used for predicting the health information of the target object based on the input face information and motion information of the target object.
In another aspect, there is provided an apparatus for controlling a device, the apparatus including:
the first determination module is used for determining first health information of a target object based on first facial information and first action information of the target object acquired through target equipment, wherein the first health information is used for reflecting the stress degree of the target object;
an enabling module to enable at least one device function of the target device based on the first health information, the at least one device function to relieve stress of the target object from at least one dimension;
a second determination module, configured to determine second health information of the target object based on second facial information and second action information of the target object acquired by the target device, where the second health information is used to reflect a degree of stress of the target object after the at least one device function is enabled;
an adjusting module, configured to adjust a function parameter of the at least one device function based on the first health information and the second health information.
In some embodiments, the enabling module is configured to determine a plurality of device functions matching the target object based on object information of the target object collected by the target device; enabling the at least one device function from the plurality of device functions based on the first health information.
In some embodiments, the enabling module is further configured to display an information acquisition interface, where the information acquisition interface is used to input information; and acquiring the object information input based on the information acquisition interface.
In some embodiments, the enabling module is configured to obtain historical usage information of the target object, where the historical usage information is used to indicate a plurality of device functions used by the target object when using the target device within a historical period of time; enabling the at least one device function from the plurality of device functions based on the first health information and the historical usage information.
In some embodiments, the enabling module is configured to obtain reply information of the target object to a plurality of pressure detection questions output by the target device; enabling the at least one device function based on the reply information and the first health information.
In some embodiments, the adjustment module comprises:
a determination unit configured to determine a pressure variation trend of the target object based on the first health information and the second health information;
and the adjusting unit is used for adjusting the function parameters of the at least one equipment function based on the pressure change trend.
In some embodiments, the determining unit is configured to determine trend change information based on the first health information and the second health information, the trend change information including at least one of a muscle change trend, an action change trend, and an expression change trend of the target subject; determining a pressure variation trend of the target object based on the trend variation information.
In some embodiments, the first determining module is configured to predict first facial information and first motion information of the target object based on a prediction model, to obtain the first health information, and the prediction model is configured to predict health information of the target object based on the input facial information and motion information of the target object.
In another aspect, an electronic device is provided, and the electronic device includes a processor and a memory, where the memory is used to store at least one piece of computer program, and the at least one piece of computer program is loaded and executed by the processor to implement the device control method in the embodiment of the present application.
In another aspect, a computer-readable storage medium is provided, in which at least one piece of computer program is stored, the at least one piece of computer program being loaded and executed by a processor to implement the device control method as in the embodiments of the present application.
In another aspect, a computer program product is provided, which includes a computer program executed by a processor to implement the device control method in the embodiments of the present application.
The embodiment of the application provides an equipment control method, and a target device can determine first health information reflecting the stress degree of a target object by acquiring face information and action information of the target object. Based on the first health information, the target device is able to determine and initiate at least one device function for relieving stress of the target subject. Then, by collecting the face information and the motion information of the target object again, the second health information of the target object can be determined. By comparing the second health information with the first health information, the change condition of the pressure degree of the target object can be judged, and then the function parameter of at least one equipment function started by the target equipment can be adjusted, so that the pressure of the target object can be relieved better.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an implementation environment of a device control method according to an embodiment of the present application;
fig. 2 is a flowchart of a device control method provided in an embodiment of the present application;
FIG. 3 is a flow chart of another method for controlling a device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a target device used by a target object according to an embodiment of the present application;
fig. 5 is a block diagram of an apparatus control device according to an embodiment of the present application;
FIG. 6 is a block diagram of another device control apparatus provided in accordance with an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
The term "at least one" in this application means one or more, and the meaning of "a plurality" means two or more.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the face information and the motion information referred to in the present application are acquired under sufficient authorization.
Fig. 1 is a schematic diagram of an implementation environment of a device control method according to an embodiment of the present application. Referring to fig. 1, the implementation environment includes an electronic device 101 and a server 102. The electronic device 101 and the server 102 can be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
In some embodiments, the electronic device 101 is configured on a controllable chair or couch, such as, but not limited to, a healing chamber, a decompression chamber, a space chamber, and the like. In some embodiments, the electronic device 101 is configured in an enclosed room for relieving pressure of the user, such as a decompression chamber, a healing chamber, and the like. The electronic device 101 is also connected with a plurality of sensors, including a pressure sensor, a gas sensor, a temperature sensor, and the like. An application program capable of acquiring face information and motion information of a user may be installed and run on the electronic device 101. The user can log in the application program to view the health information reflecting the self-stress degree. The application is associated with the server 102, and the server 102 provides background services to the electronic device 101.
In some embodiments, the server 102 is an independent physical server, can also be a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and artificial intelligence platform, and the like. In some embodiments, the server 102 receives the collected face information and motion information uploaded by the electronic device 101 through the application program, and obtains health information reflecting the stress degree of the user based on the face information and the motion information. The server 102 returns the health information to the electronic device 101, and the electronic device 101 presents the health information through an application program.
Fig. 2 is a flowchart of a device control method provided in an embodiment of the present application, where the method is executed by an electronic device, and referring to fig. 2, the method includes the following steps:
201. the method comprises the steps of determining first health information of a target object based on first facial information and first action information of the target object acquired through a target device, wherein the first health information is used for reflecting the stress degree of the target object.
In the embodiment of the present application, the target object is a user using a target device. The target device is an electronic device, and is provided with a display screen and a camera, wherein the camera can capture facial information and motion information of a target object, and the display screen can display health information of the target object. Since the face information and the motion information of the target object can reflect the degree of stress of the target object, the target device can determine the first health information reflecting the degree of stress of the target object based on the first face information and the second face information of the target object acquired by the target device. The first facial information includes facial micro-expressions, facial muscle states, blinking frequency, eye movements and the like. Wherein the facial micro-expression comprises micro-expressions of eyes, mouth, face and forehead. The first motion information includes limb motion, body muscle state, and the like. Wherein the stress refers to at least one of physiological stress and psychological stress.
202. Based on the first health information, at least one device function of the target device is enabled, the at least one device function for relieving stress of the target object from at least one dimension.
In the embodiment of the present application, the first health information can reflect the stress degree of the target object. To relieve stress on the target object, the target device can relieve stress on the target object from multiple different dimensions. That is, the target device is capable of enabling at least one device function for relieving stress based on the first health information. The device functions of the target object include various functions, such as playing video, playing music, playing white noise, releasing gas, massaging, etc. White noise mainly refers to softer sounds in nature, such as wind, rain, sea wave, etc. Different device functions can relieve the stress of the target object in different dimensions, and the stress of the target object can also be relieved from the same dimension.
203. And determining second health information of the target object based on the second face information and the second action information of the target object acquired by the target device, wherein the second health information is used for reflecting the stress degree of the target object after the at least one device function is started.
In the embodiment of the application, after the first facial information and the first action information of the target object are collected by the target device, in order to relieve the stress of the target object, the target device enables at least one device function based on the first health information. Therefore, in order to detect whether the degree of stress of the target object changes after the at least one device function is initiated. Under the condition that the facial expression or the limb action of the target object is obviously changed, the target device needs to acquire the facial information and the action information of the target object again to obtain second facial information and second action information; or, in the case that the activation time of at least one device function of the target device is detected to be greater than the time threshold, the target device can acquire the face information and the motion information of the target object again to obtain the second face information and the second motion information. And then determining the health information of the target object after the at least one equipment function is enabled, namely second health information based on the second face information and the second action information. The time threshold may be set to 5 minutes, 10 minutes, 15 minutes, or the like, and the size of the time threshold is not limited in the embodiment of the present application. The second facial information and the first facial information have the same principle, and the second motion information and the first motion information have the same principle, for details, refer to step 201 above, and are not described herein again.
204. Based on the first health information and the second health information, a functional parameter of at least one device function is adjusted.
In the embodiment of the present application, since the first health information can reflect the stress level of the target object before the at least one device function is enabled, and the second health information can reflect the stress level of the target object after the at least one device function is enabled, the target device can determine a change situation of the stress level of the target object based on the first health information and the second health information, and the target device can determine a stress relieving effect of the enabled at least one device on the target object based on the change situation of the stress level. And then based on the pressure relieving effect of the at least one device on the target object, adjusting the function parameters of the at least one device function, so that the at least one device function can better relieve the pressure of the target object.
The embodiment of the application provides an equipment control method, and a target equipment can determine first health information reflecting the stress degree of a target object by collecting face information and action information of the target object. Based on the first health information, the target device is able to determine and initiate at least one device function for relieving stress of the target subject. Then, by collecting the face information and the motion information of the target object again, the second health information of the target object can be determined. By comparing the second health information with the first health information, the change condition of the pressure degree of the target object can be judged, and then the function parameter of at least one equipment function started by the target equipment can be adjusted, so that the pressure of the target object can be relieved better.
Fig. 3 is a flowchart of another device control method provided in an embodiment of the present application, where the method is executed by an electronic device, and referring to fig. 3, the method includes the following steps:
301. first health information of the target object is determined based on first facial information and first action information of the target object acquired through the target device, and the first health information is used for reflecting the stress degree of the target object.
In the embodiment of the present application, the target object is a user using a target device. The target device may be an electronic device in which a cockpit is installed. The target device is in a closed environment, and the stress of the target object can be relieved. Since the face information and the motion information of the target object can reflect the degree of stress of the target object, the target device can determine the first health information reflecting the degree of stress of the target object based on the first face information and the second face information of the target object acquired by the target device. The first facial information includes facial micro-expressions, facial muscle states, blinking frequency, eye movements and the like. Wherein the facial micro-expression comprises micro-expressions of eyes, mouth, face and forehead. The first motion information includes limb motion, body muscle state, and the like.
For example, fig. 4 is a schematic diagram of a target object using a target device according to an embodiment of the present application. Referring to fig. 4, when the target object is facing the digital display screen of the target device, the camera on the digital display screen can capture the face information and the motion information of the target object, and the target device can determine the degree of stress of the target object based on the face information and the motion information.
Since the face information and the motion information of the target object are different in different states. The emotion of the target object can be determined based on the face information and the motion information. For example, when the target object is in a stressed state, facial information and motion information including a high blinking frequency, a dilated pupil, a tense facial muscle, a contracted intertillary muscle, a cross-gripping of both hands, a back-and-forth rubbing of fingers, and the like, easily appear. The target apparatus can determine the degree of stress of the target object based on the information.
In some embodiments, the target device is able to determine health information of the target object based on the facial information and the motion information by a predictive model. Accordingly, the first face information and the first motion information of the target object are predicted based on a prediction model for predicting the health information of the target object based on the input face information and motion information of the target object, and the first health information is obtained. The face information and the action information of the target object can reflect the stress degree of the target object, and the prediction model can perform prediction based on the relationship between the face information and the action information and the health information. Therefore, the target device can input the first facial information and the first motion information to the prediction model, and predict the degree of stress of the target object by the prediction model to obtain the first health information. The prediction model has the autonomous learning capability, namely the autonomous learning capability of the model is stronger when the prediction times of the prediction model are more, and the predicted health information is more accurate based on the facial information action information, so that the stress degree of the target object can be more accurately determined.
302. Based on the first health information, at least one device function of the target device is enabled, the at least one device function for relieving stress of the target object from at least one dimension.
In the embodiment of the present application, the first health information can reflect the stress degree of the target object. To relieve stress on the target object, the target device can relieve stress on the target object from multiple different dimensions. That is, the target device is capable of enabling at least one device function for relieving stress based on the first health information. The device functions of the target object include various functions, such as playing video, playing music, playing white noise, releasing gas, massaging, etc. White noise mainly refers to softer sounds in nature, such as wind, rain, sea wave, etc. Different device functions can relieve the stress of the target object in different dimensions, and the stress of the target object can also be relieved from the same dimension.
In some embodiments, the target device is mounted with a seat, and the target device is capable of relieving stress of the target object by adjusting the position and angle of the seat. Optionally, the chair also has a plurality of massage functions, and the target object can relieve the fatigue of the body by selecting the massage function, so as to relieve the stress of the target object. The seat can also determine the muscle tension degree of the target object by detecting the pressure distribution generated by the target object to the seat, and the muscle tension degree can reflect the pressure degree of the target object. For example, when the seat detects that the pressure value is smaller than the pressure value generated by the sample object with the same weight as the target object, it indicates that the muscle tension degree of the target object is higher, that is, the pressure degree of the target object is higher.
In some embodiments, the target device is capable of enabling at least one device function from a plurality of device functions of the target device based on the plurality of information. Accordingly, the target device can enable at least one device function in the following three ways.
The first method is as follows: determining a plurality of device functions matched with a target object based on object information of the target object acquired through the target device; at least one device function is enabled from a plurality of device functions based on the first health information. Wherein the target device is capable of collecting object information of the target object, since the object information can reflect interests and hobbies of the target object, such as favorite singer, favorite music genre, favorite plant, favorite weather, and the like. Accordingly, the target device can determine a plurality of device functions matching the target object based on the object information. For example, if the object information of the target object is a preference for rainy weather and a preference for light music, it is possible to determine the device function for playing music and the device function for playing white noise, where the music type is light music and the white noise is rain noise. Since the first health information is used to reflect the degree of stress of the target object, the target device is able to enable at least one device function from among a plurality of device functions matched with the target object in order to relieve the stress of the target object. The at least one device function is capable of relieving stress on the target object from at least one dimension. By collecting the object information of the target object, the interest and hobbies of the target object can be analyzed, and then various equipment functions matched with the target object can be determined, so that the target equipment can purposefully start at least one equipment function, and the pressure of the target object is relieved better.
In some embodiments, the display screen of the target device is capable of displaying an information collection interface for inputting information; the target device can respond to the input operation of the target object to the information acquisition interface and acquire the object information of the target object. The target device can store the acquired object information in a storage space of the target device, and can also store the acquired object information in a server associated with the target device.
The second method comprises the following steps: acquiring historical use information of the target object, wherein the historical use information is used for indicating various device functions used by the target object when the target object uses the target device within a historical time period; at least one device function is enabled from a plurality of device functions based on the first health information and the historical usage information. Wherein, in case that the target object does not use the target device for the first time, the target device can acquire the historical use information of the target object. Since the historical usage information includes a plurality of device functions that are enabled by the target device when the target object uses the target device within the historical period of time, the target device can determine the plurality of device functions that are used by the target object more frequently based on the historical usage information. Since the first health information is used to reflect the degree of stress of the target object, the target device can enable at least one device function from among a plurality of device functions that are frequently used by the target object in order to relieve the stress of the target object. The at least one device function is capable of relieving stress on the target object from at least one dimension. By acquiring historical use information of the target object, multiple device functions with high use frequency of the target object in a historical time period can be analyzed, so that the target device can purposefully start at least one device function, and the pressure of the target object is relieved better.
In some embodiments, the historical usage information of the target object may be stored in a memory space of the target device, or may be stored in a server associated with the target device. Accordingly, the target device may obtain the historical usage record from the storage space of the target device, and may also obtain the historical usage record from the server.
The third method comprises the following steps: acquiring reply information of a target object to a plurality of pressure detection problems output by target equipment; enabling at least one device function based on the reply information and the first health information. Wherein the target device is capable of outputting a plurality of pressure detection questions and directing the target object to answer the pressure detection questions. The target device is therefore able to obtain reply information for the target object that includes replies to the plurality of pressure detection questions that the target object entered based on the target device. Since the reply information can also reflect the stress level of the target object, the target device can enable at least one device function of the target device based on the reply information and the first health information. The at least one device function is capable of relieving stress on the target object from at least one dimension. By acquiring the reply information of the target object to the pressure detection problem, the pressure degree of the target object can be analyzed based on the reply information, so that the target device can more comprehensively determine at least one device function started by the target object based on the reply information and the first health information, and the pressure of the target object is better relieved.
In some embodiments, the target device can display a virtual robot that can output a plurality of pressure detection questions in text or language form for the target object to answer. The virtual robot can also perform corresponding psychological coaching on the target object based on the reply information of the target object, so that the pressure of the target object is relieved.
303. And determining second health information of the target object based on the second face information and the second action information of the target object acquired by the target device, wherein the second health information is used for reflecting the stress degree of the target object after the at least one device function is started.
In the embodiment of the application, after the first facial information and the first action information of the target object are collected by the target device, in order to relieve the stress of the target object, the target device enables at least one device function based on the first health information. Therefore, in order to detect whether the degree of stress of the target object changes after the at least one device function is initiated. Under the condition that the facial expression or the limb action of the target object is obviously changed, the target device needs to acquire the facial information and the action information of the target object again to obtain second facial information and second action information; or, in the case that the activation time of at least one device function of the target device is detected to be greater than the time threshold, the target device can acquire the face information and the motion information of the target object again to obtain second face information and second motion information. And then determining the health information of the target object after the at least one equipment function is enabled, namely second health information based on the second face information and the second action information. The time threshold may be set to 5 minutes, 10 minutes, 15 minutes, or the like, and the size of the time threshold is not limited in the embodiment of the present application. The second facial information and the first facial information have the same principle, and the second motion information and the first motion information have the same principle, for details, refer to step 201 above, and are not described herein again.
304. Based on the first health information and the second health information, a pressure change trend of the target object is determined.
In the embodiment of the present application, since the first health information can reflect the stress degree of the target object before the at least one device function is enabled, and the second health information can reflect the stress degree of the target object after the at least one device function is enabled, based on the first health information and the second health information, the target device can determine a change situation of the stress degree of the target object, that is, determine a stress change trend of the target object. Based on the pressure trend, the target device can determine a pressure relief effect of the enabled at least one device on the target object. When the pressure change trend is a descending trend, the pressure degree of the target object is reduced, and at least one device function started by the target device can relieve the pressure of the target object; in the case where the pressure variation trend is an ascending trend, it indicates that the degree of stress of the target object is increased, and at this time, the at least one device function activated by the target device fails to relieve the stress of the target object.
In some embodiments, the target device is capable of determining a plurality of trend changes of the target object based on the change of the health information. Accordingly, based on the first health information and the second health information, determining trend change information, wherein the trend change information comprises at least one of a muscle change trend, an action change trend and an expression change trend of the target object; based on the trend change information, a pressure change trend of the target object is determined. Wherein the target device is capable of acquiring face information and motion information of the target object. The facial information includes facial micro-expression information, facial muscle state information, and the like, and the motion information includes limb motion information, body muscle state information, and the like. And the first health information and the second health information are derived based on the face information and the motion information. Accordingly, the target device can determine trend change information of the target object based on the first health information and the second health information, the trend change information including a change trend of a plurality of different types of information. Since the health information of the target object can reflect the degree of stress of the target object, based on the trend change information, it is possible to determine a change situation of the degree of stress of the target object, that is, to determine the trend of the stress change of the target object.
305. Based on the pressure trend, a functional parameter of at least one device function is adjusted.
In the embodiment of the present application, the pressure variation trend can reflect the pressure relief effect on the target object of at least one device function enabled by the target device. Accordingly, the target device is able to adjust a functional parameter of at least one device function enabled by the target device based on the pressure trend. Wherein the target device includes a plurality of different types of device functions, the different device functions having different function parameters. For example, if the device function is playing music, the functional parameters of the device function can include music type, music loudness, music effect, music playing time, and the like. The device function is the release of gas, and the functional parameters of the device function can include gas type, gas concentration, gas release time, and the like. The function of the device is a massage function, and the parameters of the function of the device are massage time, massage type, massage intensity and the like.
When the pressure change trend of the target object is detected to be an ascending trend, at least one device function started by the target device is indicated to fail to relieve the pressure of the target object, and therefore the target device needs to adjust the function parameters of the device function. For example, in the case where the device function enabled by the target device is playing music and the music type is rock music, the target device can adjust the music type to light music. And in the case of detecting that the pressure change trend of the target object is a descending trend, indicating that at least one device function started by the target device can relieve the pressure of the target object. However, in order to better relieve the stress of the target object, the target device can adjust the function parameters of the device function in more detail. For example, in the case that the device function enabled by the target device is playing music and the type of the music is light music, the target device can appropriately adjust the loudness of the music and also can turn on the sound effect of the music, such as play-out surround, electric sound effect, and the like. The target object can enjoy the music played by the target device more immersive.
The embodiment of the application provides an equipment control method, and a target equipment can determine first health information reflecting the stress degree of a target object by collecting face information and action information of the target object. Based on the first health information, the target device is able to determine and initiate at least one device function for relieving stress of the target subject. Then, by collecting the face information and the motion information of the target object again, the second health information of the target object can be determined. By comparing the second health information with the first health information, the change condition of the pressure degree of the target object can be judged, and then the function parameter of at least one equipment function started by the target equipment can be adjusted, so that the pressure of the target object can be relieved better.
Fig. 5 is a block diagram of a device control apparatus provided according to an embodiment of the present application. The apparatus is used for executing the steps when the equipment control method is executed, and referring to fig. 5, the equipment control apparatus comprises: a first determination module 501, an enabling module 502, a second determination module 503, and an adjustment module 504.
A first determining module 501, configured to determine first health information of a target object based on first facial information and first action information of the target object acquired by a target device, where the first health information is used to reflect a stress degree of the target object;
an enabling module 502 for enabling at least one device function of the target device based on the first health information, the at least one device function for relieving stress of the target object from at least one dimension;
a second determining module 503, configured to determine second health information of the target object based on the second facial information and the second motion information of the target object acquired by the target device, where the second health information is used to reflect a degree of stress of the target object after the at least one device function is enabled;
an adjusting module 504 is configured to adjust a function parameter of at least one device function based on the first health information and the second health information.
In some embodiments, the enabling module 502 is configured to determine a plurality of device functions matching the target object based on object information of the target object collected by the target device; at least one device function is enabled from a plurality of device functions based on the first health information.
In some embodiments, the enabling module 502 is further configured to display an information collecting interface, where the information collecting interface is configured to input information; and acquiring object information input based on the information acquisition interface.
In some embodiments, the enabling module 502 is configured to obtain historical usage information of the target object, where the historical usage information is used to indicate a plurality of device functions used by the target object when using the target device within a historical period of time; at least one device function is enabled from a plurality of device functions based on the first health information and the historical usage information.
In some embodiments, the enabling module 502 is configured to obtain reply information of the target object to a plurality of pressure detection questions output by the target device; enabling at least one device function based on the reply information and the first health information.
In some embodiments, fig. 6 is a block diagram of another device control apparatus provided according to an embodiment of the present application. Referring to fig. 6, the adjusting module 504 includes:
a determination unit 601 configured to determine a pressure variation trend of the target object based on the first health information and the second health information;
an adjusting unit 602, configured to adjust a function parameter of at least one device function based on the pressure variation trend.
In some embodiments, the determining unit 601 is configured to determine trend change information based on the first health information and the second health information, the trend change information including at least one of a muscle change trend, an action change trend, and an expression change trend of the target object; based on the trend change information, a pressure change trend of the target object is determined.
In some embodiments, the first determining module 501 is configured to predict the first facial information and the first motion information of the target object based on a prediction model, so as to obtain the first health information, and the prediction model is configured to predict the health information of the target object based on the input facial information and motion information of the target object.
The embodiment of the application provides a device control apparatus, wherein a target device can determine first health information reflecting the stress degree of a target object by acquiring facial information and action information of the target object. Based on the first health information, the target device is able to determine and initiate at least one device function for relieving stress of the target subject. Then, by collecting the face information and the motion information of the target object again, the second health information of the target object can be determined. By comparing the second health information with the first health information, the change condition of the pressure degree of the target object can be judged, and then the function parameter of at least one equipment function started by the target equipment can be adjusted, so that the pressure of the target object can be relieved better.
It should be noted that: in the device control apparatus provided in the above embodiment, when running an application program, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the above described functions. In addition, the device control apparatus and the device control method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are referred to as method embodiments and are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 700 is configured on a controllable chair or couch, such as a healing chamber, a decompression chamber, a space chamber, etc. The electronic device 700 may also be configured in an enclosed room for relieving the user's pressure, such as a decompression chamber, a healing chamber, and the like.
In general, the electronic device 700 includes: a processor 701 and a memory 702.
Processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 702 is used to store at least one computer program for execution by the processor 701 to implement the device control method provided by the method embodiments herein.
In some embodiments, the electronic device 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, memory 702, and peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, and a power supply 708.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on separate chips or circuit boards, which is not limited by the present embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuitry 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other electronic devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display screen 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, disposed on the front panel of the electronic device 700; in other embodiments, the number of the display screens 705 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the electronic device 700 or are in a folding design; in other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the electronic device 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. In some embodiments, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of an electronic apparatus, and a rear camera is disposed on a rear surface of the electronic apparatus. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp and can be used for light compensation under different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 can also include a headphone jack.
The power supply 708 is used to power the various components in the electronic device 700. The power source 708 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 708 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 700 also includes one or more sensors 709. The one or more sensors 709 include, but are not limited to: acceleration sensor 710, gyro sensor 711, pressure sensor 712, optical sensor 713, and proximity sensor 714.
The acceleration sensor 710 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the electronic device 700. For example, the acceleration sensor 710 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 710. The acceleration sensor 710 may also be used for game or user motion data acquisition.
The gyro sensor 711 may detect a body direction and a rotation angle of the electronic device 700, and the gyro sensor 711 and the acceleration sensor 710 may cooperate to collect a 3D motion of the user on the electronic device 700. The processor 701 may implement the following functions according to the data collected by the gyro sensor 711: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 712 may be disposed on a side bezel of electronic device 700 and/or underlying display screen 705. When the pressure sensor 712 is disposed on a side frame of the electronic device 700, a user's holding signal of the electronic device 700 can be detected, and the processor 701 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 712. When the pressure sensor 712 is disposed at the lower layer of the display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The optical sensor 713 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 713. Optionally, when the ambient light intensity is higher, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is adjusted down. In another embodiment, the processor 701 may also dynamically adjust the shooting parameters of the camera head assembly 706 according to the ambient light intensity collected by the optical sensor 713.
A proximity sensor 714, also referred to as a distance sensor, is disposed on the front panel of the electronic device 700. The proximity sensor 714 is used to collect the distance between the user and the front of the electronic device 700. In one embodiment, the processor 701 controls the display 705 to switch from the bright screen state to the dark screen state when the proximity sensor 714 detects that the distance between the user and the front surface of the electronic device 700 is gradually decreased; when the proximity sensor 714 detects that the distance between the user and the front surface of the electronic device 700 gradually becomes larger, the processor 701 controls the display 705 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not limiting to the electronic device 700, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the present application also provides a computer-readable storage medium, in which at least one piece of computer program is stored, and the at least one piece of computer program is loaded and executed by a processor of a vehicle to implement the operations performed by the terminal in the device control method of the above embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present application further provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the device control method in the embodiment of the present application.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. An apparatus control method, characterized in that the method comprises:
determining first health information of a target object based on first facial information and first action information of the target object acquired through a target device, wherein the first health information is used for reflecting the stress degree of the target object;
enabling at least one device function of the target device based on the first health information, the at least one device function to relieve stress of the target object from at least one dimension;
determining second health information of the target object based on second facial information and second action information of the target object acquired by the target device, wherein the second health information is used for reflecting the stress degree of the target object after the at least one device function is enabled;
adjusting a function parameter of the at least one device function based on the first health information and the second health information.
2. The method of claim 1, wherein enabling at least one device function of the target device based on the first health information comprises:
determining a plurality of device functions matched with the target object based on the object information of the target object acquired by the target device;
enabling the at least one device function from the plurality of device functions based on the first health information.
3. The method of claim 1, wherein enabling at least one device function of the target device based on the first health information comprises:
acquiring historical use information of the target object, wherein the historical use information is used for indicating a plurality of device functions used by the target object when the target object uses the target device within a historical time period;
enabling the at least one device function from the plurality of device functions based on the first health information and the historical usage information.
4. The method of claim 1, wherein enabling at least one device function of the target device based on the first health information comprises:
acquiring reply information of the target object to a plurality of pressure detection problems output by the target device;
enabling the at least one device function based on the reply information and the first health information.
5. The method of claim 1, wherein adjusting the functional parameter of the at least one device function based on the first health information and the second health information comprises:
determining a pressure trend of the target subject based on the first health information and the second health information;
adjusting a functional parameter of the at least one device function based on the pressure change trend.
6. The method of claim 5, wherein determining the pressure trend of the target subject based on the first health information and the second health information comprises:
determining trend change information based on the first health information and the second health information, the trend change information including at least one of a muscle change trend, an action change trend, and an expression change trend of the target object;
determining a pressure variation trend of the target object based on the trend variation information.
7. An apparatus control device, characterized in that the device comprises:
the first determination module is used for determining first health information of a target object based on first facial information and first action information of the target object, wherein the first facial information and the first action information are acquired through target equipment, and the first health information is used for reflecting the stress degree of the target object;
an enabling module to enable at least one device function of the target device based on the first health information, the at least one device function to relieve stress of the target object from at least one dimension;
a second determination module, configured to determine second health information of the target object based on second facial information and second motion information of the target object acquired by the target device, where the second health information is used to reflect a degree of stress of the target object after the at least one device function is enabled;
an adjusting module configured to adjust a function parameter of the at least one device function based on the first health information and the second health information.
8. An electronic device, comprising a processor and a memory, wherein the memory is used for storing at least one piece of computer program, and the at least one piece of computer program is loaded by the processor and executes the device control method according to any one of claims 1 to 6.
9. A computer-readable storage medium for storing at least one piece of computer program for executing the apparatus control method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the device control method according to any one of claims 1 to 6.
CN202211565529.9A 2022-12-07 2022-12-07 Device control method, device, electronic device and storage medium Pending CN115862865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211565529.9A CN115862865A (en) 2022-12-07 2022-12-07 Device control method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211565529.9A CN115862865A (en) 2022-12-07 2022-12-07 Device control method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115862865A true CN115862865A (en) 2023-03-28

Family

ID=85670793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211565529.9A Pending CN115862865A (en) 2022-12-07 2022-12-07 Device control method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115862865A (en)

Similar Documents

Publication Publication Date Title
CN108803896B (en) Method, device, terminal and storage medium for controlling screen
CN109451349A (en) A kind of video broadcasting method, device and mobile terminal
CN111445901B (en) Audio data acquisition method and device, electronic equipment and storage medium
CN111048111B (en) Method, device, equipment and readable storage medium for detecting rhythm point of audio
CN110341627B (en) Method and device for controlling behavior in vehicle
CN110956580B (en) Method, device, computer equipment and storage medium for changing face of image
CN111613213B (en) Audio classification method, device, equipment and storage medium
CN111062248A (en) Image detection method, device, electronic equipment and medium
CN112269559A (en) Volume adjustment method and device, electronic equipment and storage medium
CN109831817B (en) Terminal control method, device, terminal and storage medium
CN110705438A (en) Gait recognition method, device, equipment and storage medium
CN111931712B (en) Face recognition method, device, snapshot machine and system
CN110891181B (en) Live broadcast picture display method and device, storage medium and terminal
CN112860046B (en) Method, device, electronic equipment and medium for selecting operation mode
CN111061369B (en) Interaction method, device, equipment and storage medium
CN111341317B (en) Method, device, electronic equipment and medium for evaluating wake-up audio data
CN109005337A (en) A kind of photographic method and terminal
CN110152309B (en) Voice communication method, device, electronic equipment and storage medium
CN115862865A (en) Device control method, device, electronic device and storage medium
CN109344284B (en) Song file playing method, device, equipment and storage medium
CN114779920A (en) Whole vehicle window gesture control system based on biological recognition and control method thereof
CN108347672B (en) Method, device and storage medium for playing audio
CN112560903A (en) Method, device and equipment for determining image aesthetic information and storage medium
CN112100528A (en) Method, device, equipment and medium for training search result scoring model
CN111916105A (en) Voice signal processing method and device, electronic equipment 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