Control method and device and electronic equipment

文档序号:476980 发布日期:2022-01-04 浏览:6次 中文

阅读说明:本技术 一种控制方法、装置和电子设备 (Control method and device and electronic equipment ) 是由 綦红娟 于 2021-10-21 设计创作,主要内容包括:本申请提供了一种控制方法、装置和电子设备中,获得电子设备中第一目标部件的第一状态信息以及第二目标部件的第二状态信息,该第一目标部件至少包括能够表征所述电子设备形态和/或运动状态的部件,基于该第一状态信息和第二状态信息确定控制参数,以使得指示模组基于该控制参数进行输出对应的指示信息,以使得电子设备周围的人通过该指示信息可以了解该电子设备的相关情况,提高用户体验。(In the control method, the control device and the electronic equipment, first state information of a first target component and second state information of a second target component in the electronic equipment are obtained, the first target component at least comprises a component capable of representing the form and/or motion state of the electronic equipment, and a control parameter is determined based on the first state information and the second state information, so that an indication module outputs corresponding indication information based on the control parameter, people around the electronic equipment can know the relevant condition of the electronic equipment through the indication information, and user experience is improved.)

1. A control method, comprising:

obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

and determining a control parameter of an indication module arranged on the electronic equipment based on the first state information and the second state information, so that the indication module responds to the control parameter to output corresponding indication information.

2. The method of claim 1, wherein determining control parameters for an indication module disposed on the electronic device based on the first status information and the second status information comprises:

determining a device morphology and/or a motion state of the electronic device based on the first state information;

determining a control parameter of the indication module based on the equipment form and the state information of the second target component; or the like, or, alternatively,

determining a control parameter of the indicating module based on the motion state and state information of the second target component; or the like, or, alternatively,

determining a control parameter of the indication module based on the device morphology, the motion state, and state information of the second target component.

3. The method of claim 2, wherein determining control parameters of the indication module based on the device morphology and the status information of the second target component comprises:

if the electronic equipment is in a first form and the second target component is in a used state, generating a first control parameter of the indication module so that the indication module outputs first indication information that a target object is in the first state; or the like, or, alternatively,

if the electronic equipment is in the first form and the second target component is in the used state, generating a second control parameter of the indicating module based on input data received by the second target component so that the indicating module outputs second indicating information that the second target component is in the second state; or the like, or, alternatively,

if the electronic equipment is in the first form and the second target component is in the used state, generating a third control parameter of the indication module based on the attribute information of the second target component so that the indication module outputs third indication information of the content concerned by the target object; or the like, or, alternatively,

if the electronic equipment is in a second form and the second target component is used for supplying power to the electronic equipment, generating a fourth control parameter of the indicating module based on the power information of the second target component so that the indicating module outputs fourth indication information of the remaining time of the electronic equipment capable of being used; or the like, or, alternatively,

if the electronic equipment is in the second form and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a fifth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs fifth indicating information for improving the ambient brightness.

4. The method of claim 2, wherein determining the control parameter of the indicator module based on the state of motion and the state information of the second target component comprises:

if the electronic equipment is in the first motion state and the second target component is in the used state, generating a sixth control parameter of the indication module so that the indication module outputs sixth indication information that the target object is in the first state; or the like, or, alternatively,

if the electronic equipment is in the first motion state and the second target component is in the used state, generating a seventh control parameter of the indicating module based on the input data received by the second target component so that the indicating module outputs seventh indicating information that the second target component is in the second state; or the like, or, alternatively,

if the electronic equipment is in the first motion state and the second target component is in the used state, generating an eighth control parameter of the indication module based on the attribute information of the second target component, so that the indication module outputs eighth indication information of the content focused by the target object.

5. The method of claim 2, wherein determining control parameters of the indicated module based on the device morphology, the motion state, and state information of the second target component comprises:

if the electronic equipment is in a second motion state and a second form, and the second target component is used for supplying power to the electronic equipment, generating a ninth control parameter of the indicating module based on the power information of the second target component, so that the indicating module outputs ninth indicating information of the remaining time for which the electronic equipment can be used; or the like, or, alternatively,

if the electronic equipment is in the second motion state and the second form, and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a tenth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs tenth indicating information for improving the ambient brightness.

6. The method of claim 2, determining a device modality of an electronic device based on the first status information, comprising:

obtaining the equipment form of the electronic equipment based on the relative position relation between a first body and a second body in the electronic equipment;

if the included angle between the first body and the second body is larger than a preset threshold value, determining that the equipment form of the electronic equipment is a first form; and if the included angle between the first body and the second body is smaller than a preset threshold value, determining that the equipment shape of the electronic equipment is a second shape.

7. The method of claim 2, determining a motion state of an electronic device based on the first state information, comprising:

acquiring detection data of a target sensor in electronic equipment;

and determining the current motion state of the electronic equipment based on the detection data analysis, wherein the motion state comprises a first motion state and a second motion state, the first motion state is a non-moving state, and the second motion state is a moving state.

8. The method of claim 1, determining a control parameter of an indication module disposed on the electronic device based on the first status information and the second status information, comprising:

determining a light emitting parameter of a first indication module based on the first state information and the second state information; and/or

And determining an audio output parameter of a second indication module based on the first state information and the second state information.

9. A control device, comprising:

the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first state information of a first target component of the electronic equipment, and the first target component at least comprises a component capable of representing the form and/or the motion state of the electronic equipment;

the second acquisition module is used for acquiring second state information of the electronic equipment, wherein the second state information at least comprises state information of a second target component different from the first target component;

and the processing module is used for determining a control parameter of an indicating module arranged on the electronic equipment based on the first state information and the second state information so that the indicating module responds to the control parameter and outputs corresponding indicating information.

10. An electronic device, comprising:

a first target component comprising at least a component capable of characterizing a morphology and/or a motion state of the electronic device;

a second target component;

an indication module;

a processor to obtain first state information for a first target component; obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component; and determining a control parameter of the indication module based on the first state information and the second state information, so that the indication module outputs corresponding indication information in response to the control parameter.

Technical Field

The present application relates to the field of electronic device control, and in particular, to a control method and apparatus, and an electronic device.

Background

The mobile device is a commonly used device, and a user views content displayed on a display screen of the mobile device. On the opposite side of the display device from the display screen, a logo (logo) of the device is generally displayed.

In order to improve the eye-catching degree of the mark, the mark is provided with a plurality of lamp beads, the plurality of lamp beads are arranged to form the shape of the mark, when the equipment is started, the lamp beads are lightened to form the mark, and when the equipment is closed, the lamp beads are extinguished.

However, the lamp bead can only prompt the mark, and has no other prompting function.

Disclosure of Invention

In view of the above, the present application provides a control method, comprising:

a control method, comprising:

obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

and determining a control parameter of an indication module arranged on the electronic equipment based on the first state information and the second state information, so that the indication module responds to the control parameter to output corresponding indication information.

Optionally, in the method, determining a control parameter of an indication module disposed in the electronic device based on the first state information and the second state information includes:

determining a device morphology and/or a motion state of the electronic device based on the first state information;

determining a control parameter of the indication module based on the equipment form and the state information of the second target component; or the like, or, alternatively,

determining a control parameter of the indicating module based on the motion state and state information of the second target component; or the like, or, alternatively,

determining a control parameter of the indication module based on the device morphology, the motion state, and state information of the second target component.

Optionally, the method, wherein determining the control parameter of the indication module based on the device shape and the state information of the second target component includes:

if the electronic equipment is in a first form and the second target component is in a used state, generating a first control parameter of the indication module so that the indication module outputs first indication information that a target object is in the first state; or the like, or, alternatively,

if the electronic equipment is in the first form and the second target component is in the used state, generating a second control parameter of the indicating module based on input data received by the second target component so that the indicating module outputs second indicating information that the second target component is in the second state; or the like, or, alternatively,

if the electronic equipment is in the first form and the second target component is in the used state, generating a third control parameter of the indication module based on the attribute information of the second target component so that the indication module outputs third indication information of the content concerned by the target object; or the like, or, alternatively,

if the electronic equipment is in a second form and the second target component is used for supplying power to the electronic equipment, generating a fourth control parameter of the indicating module based on the power information of the second target component so that the indicating module outputs fourth indication information of the remaining time of the electronic equipment capable of being used; or the like, or, alternatively,

if the electronic equipment is in the second form and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a fifth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs fifth indicating information for improving the ambient brightness.

Optionally, in the method, determining the control parameter of the indication module based on the motion state and the state information of the second target component includes:

if the electronic equipment is in the first motion state and the second target component is in the used state, generating a sixth control parameter of the indication module so that the indication module outputs sixth indication information that the target object is in the first state; or the like, or, alternatively,

if the electronic equipment is in the first motion state and the second target component is in the used state, generating a seventh control parameter of the indicating module based on the input data received by the second target component so that the indicating module outputs seventh indicating information that the second target component is in the second state; or the like, or, alternatively,

if the electronic equipment is in the first motion state and the second target component is in the used state, generating an eighth control parameter of the indication module based on the attribute information of the second target component, so that the indication module outputs eighth indication information of the content focused by the target object.

Optionally, the method, wherein determining the control parameter of the indication module based on the device shape, the motion state, and the state information of the second target component includes:

if the electronic equipment is in a second motion state and a second form, and the second target component is used for supplying power to the electronic equipment, generating a ninth control parameter of the indicating module based on the power information of the second target component, so that the indicating module outputs ninth indicating information of the remaining time for which the electronic equipment can be used; or the like, or, alternatively,

if the electronic equipment is in the second motion state and the second form, and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a tenth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs tenth indicating information for improving the ambient brightness.

Optionally, the method for determining the device shape of the electronic device based on the first state information includes:

obtaining the equipment form of the electronic equipment based on the relative position relation between a first body and a second body in the electronic equipment;

if the included angle between the first body and the second body is larger than a preset threshold value, determining that the equipment form of the electronic equipment is a first form; and if the included angle between the first body and the second body is smaller than a preset threshold value, determining that the equipment shape of the electronic equipment is a second shape.

Optionally, the method for determining the motion state of the electronic device based on the first state information includes:

acquiring detection data of a target sensor in electronic equipment;

and determining the current motion state of the electronic equipment based on the detection data analysis, wherein the motion state comprises a first motion state and a second motion state, the first motion state is a non-moving state, and the second motion state is a moving state.

Optionally, in the method, determining a control parameter of an indication module disposed in the electronic device based on the first state information and the second state information includes:

determining a light emitting parameter of a first indication module based on the first state information and the second state information; and/or

And determining an audio output parameter of a second indication module based on the first state information and the second state information.

A control device, comprising:

the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first state information of a first target component of the electronic equipment, and the first target component at least comprises a component capable of representing the form and/or the motion state of the electronic equipment;

the second acquisition module is used for acquiring second state information of the electronic equipment, wherein the second state information at least comprises state information of a second target component different from the first target component;

and the processing module is used for determining a control parameter of an indicating module arranged on the electronic equipment based on the first state information and the second state information so that the indicating module responds to the control parameter and outputs corresponding indicating information.

An electronic device, comprising:

a first target component comprising at least a component capable of characterizing a morphology and/or a motion state of the electronic device;

a second target component;

an indication module;

a processor to obtain first state information for a first target component; obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component; and determining a control parameter of the indication module based on the first state information and the second state information, so that the indication module outputs corresponding indication information in response to the control parameter.

A readable storage medium having stored thereon a computer program for being invoked and executed by a processor for carrying out the steps of the control method according to any one of the preceding claims.

As can be seen from the above technical solutions, the present application provides a control method, including: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device; obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component; and determining a control parameter of an indication module arranged on the electronic equipment based on the first state information and the second state information, so that the indication module responds to the control parameter to output corresponding indication information. In the scheme, the control parameter is determined based on the first state information of the first target component and the second state information of the second target component in the electronic equipment, so that the indication module outputs corresponding indication information based on the control parameter, people around the electronic equipment can know the relevant conditions of the electronic equipment through the indication information, and user experience is improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.

Fig. 1 is a flowchart of an embodiment 1 of a control method provided in the present application;

fig. 2 is a flowchart of an embodiment 2 of a control method provided in the present application;

fig. 3 is a flowchart of embodiment 3 of a control method provided in the present application;

fig. 4 is a flowchart of embodiment 4 of a control method provided in the present application;

FIG. 5 is a flow chart of embodiment 5 of a control method provided by the present application;

FIG. 6 is a flow chart of embodiment 6 of a control method provided by the present application;

FIG. 7 is a schematic structural diagram of an embodiment of a control device provided in the present application;

FIG. 8 is a schematic structural diagram of an embodiment of an electronic device provided in the present application;

fig. 9 is a schematic view of a surface a of an electronic device in an embodiment of the electronic device provided in the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

As shown in fig. 1, a flowchart of embodiment 1 of a control method provided by the present application is applied to an electronic device, and the method includes the following steps:

step S101: obtaining first state information of a first target component of an electronic device;

the electronic equipment is provided with a first target component and a second target component, and state information of the two target components is obtained respectively.

Wherein the first target component comprises at least a component capable of characterizing a morphology and/or a motion state of the electronic device.

Specifically, first state information of the first target component is obtained to achieve obtaining of information of the form and/or the motion state of the electronic device, that is, the first state information represents the form and/or the motion state of the electronic device.

Step S102: obtaining second state information of the electronic equipment;

wherein the second status information includes at least status information of a second target component different from the first target component.

Wherein the status information of the second target component is capable of characterizing specific information in the electronic device.

Specifically, the second target component may be software or hardware.

Specifically, when the second target component is hardware, the second state information may represent a state of the hardware in the electronic device; where the second target component is software, the second state information may characterize a state of the software in the electronic device.

As an example, the second target component may be an application, a battery, a processor, a keyboard and mouse, an environmental sensor, a preset key, and the like.

It should be noted that the sequence of obtaining the first state information and the second state information is not limited to the sequence in the embodiment, the first state information may be obtained first or the second state information may be obtained first, or the first state information and the second state information may be obtained simultaneously, which is not limited in this application.

Step S103: and determining a control parameter of an indication module arranged on the electronic equipment based on the first state information and the second state information, so that the indication module responds to the control parameter to output corresponding indication information.

Wherein the first state information characterizes a morphology and/or a motion state of the electronic device, and the second state information at least comprises state information of the second target component.

Specifically, a control parameter is determined based on the form and/or motion state of the electronic device in combination with the state information of the second target component, and the control parameter is used for controlling an indication module in the electronic device to output corresponding indication information.

The indication information is used for indicating the state of the second target component, the electronic device, or a specific object (such as a user to which the electronic device belongs, other users in the spatial environment to which the electronic device belongs, or an application running on the electronic device) in combination with the form and/or state of the electronic device.

In summary, the control method provided in this embodiment includes: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device; obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component; and determining a control parameter of an indication module arranged on the electronic equipment based on the first state information and the second state information, so that the indication module responds to the control parameter to output corresponding indication information. In the scheme, the control parameter is determined based on the first state information of the first target component and the second state information of the second target component in the electronic equipment, so that the indication module outputs corresponding indication information based on the control parameter, people around the electronic equipment can understand the relevant conditions of the electronic equipment through the indication information, and the user experience is improved.

As shown in fig. 2, a flowchart of embodiment 2 of a control method provided by the present application includes the following steps:

step S201: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

step S202: obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

steps S201 to S202 are the same as steps S101 to S102 in embodiment 1, and are not described in detail in this embodiment.

Step S203: determining a device morphology of the electronic device based on the first state information;

wherein the device morphology and/or motion state of the electronic device is determined based on the first state information analysis.

Specifically, the device configuration of the electronic device includes a first configuration and a second configuration.

Specifically, the motion state of the electronic device includes a first motion state and a second motion state.

Wherein determining a device modality of the electronic device based on the first state information comprises: obtaining the equipment form of the electronic equipment based on the relative position relation between a first body and a second body in the electronic equipment; if the included angle between the first body and the second body is larger than a preset threshold value, determining that the equipment form of the electronic equipment is a first form; and if the included angle between the first body and the second body is smaller than a preset threshold value, determining that the equipment shape of the electronic equipment is a second shape.

The first body and the second body of the electronic equipment can rotate relatively based on the shaft, and an included angle between the first body and the second body is adjustable.

Specifically, the electronic device adopts a notebook computer, the included angle between the first body and the second body is larger than a preset threshold value, and the operation body can carry out input through an input structure arranged on the second body, such as a keyboard.

In specific implementation, the preset threshold may be 90 ° or 110 °, and the value of the preset threshold is not limited in this application.

It should be noted that, in embodiments 2 to 4 of the present application, a specific implementation of determining the control parameter of the instruction module by combining the device form and the motion state of the electronic device with the state information of the second target component is explained.

In this embodiment, the control parameter of the indication module is determined based on the device configuration of the electronic device and the status information of the second target component, and accordingly, in step S203, only the device configuration of the electronic device may be analyzed and determined based on the first status information.

Step S204: determining a control parameter of the indication module based on the device morphology and the status information of the second target component.

In this embodiment, the control parameter is determined based on the device shape and the state information of the second target component, so that the indication module outputs corresponding indication information based on the control parameter.

Specifically, the electronic device may have different forms, in a first form the electronic device is capable of performing an input operation through the set input structure, and in a second form the electronic device is incapable of performing an input operation through the set input structure.

As an example, the electronic device is a notebook computer, the first mode is an open mode in which a user can perform an input operation using a mouse and/or a keyboard, and the second mode is a closed mode in which the user cannot perform an input operation using the keyboard and the mouse.

As an example, the electronic device is a tablet computer, the first mode is a bright screen, and the user can perform input operation through a mouse and/or a keyboard and/or a touch screen, and the second mode is a dead screen, and input operation cannot be performed through the mouse and/or the keyboard and/or the touch screen.

Determining a control parameter of the indication module based on the equipment form and the state information of the second target component, wherein the control parameter comprises the following conditions:

if the electronic equipment is in a first state and the second target component is in a used state, generating a first control parameter of the indication module so that the indication module outputs first indication information that a target object is in the first state;

wherein the electronic device is in a first configuration and the second target component is in a used state, generating a first control parameter.

Specifically, the second target component is a conference application, and the state of the conference application is detected to generate a first control parameter of the indication module, so that the indication module outputs first indication information that the target object is in the first state.

The target object may be an operator, such as a user, operating the electronic device.

In specific implementation, the state of the conference Application is obtained through an API (Application program interface) corresponding to the system, where the state may include: busy, idle, etc., the status may be determined according to the running condition of the application.

As an example, when the state of the conference application is a busy state, a first control parameter is generated, so that the indication module outputs corresponding first indication information to represent that a user using the conference application is in the busy state.

People around the electronic equipment can know that the application in the electronic equipment is in a busy state through the indication information, and correspondingly, a user of the electronic equipment is busy without disturbing the user of the electronic equipment, so that the user experience is improved.

If the electronic equipment is in the first form and the second target component is in the used state, generating a second control parameter of the indicating module based on input data received by the second target component, so that the indicating module outputs second indicating information that the second target component is in the second state;

wherein the electronic device is in the first configuration and the second target component is in a used state, generating second control parameters based on input data received by the second target component.

Specifically, the second target component is a keyboard and mouse or a game application, and the like, and the second control parameter of the indication module is generated by counting input data received by the second target component, so that the indication module outputs second indication information that the keyboard and mouse or the game application is in a second state.

As an example, the keystroke input frequency or the number of inputs in a certain time range is counted, and the second control parameter is generated based on that the input frequency is greater than the frequency threshold or that the number of inputs in the certain time range is greater than the number threshold, which indicates that the user of the electronic device is busy.

As an example, the input frequency of the input operation of the game application or the input times in a certain time range is counted, and based on the input frequency being greater than the frequency threshold or the input times in the certain time range being greater than the time threshold, the game application is in a state of being in a severe state, and then the second control parameter is generated.

In specific implementation, when the operation of the keyboard and mouse is an input operation performed for a game application, statistics of the input frequency and the input times of the keyboard and mouse can also represent the situation of a battle in the current game application, and generate a corresponding second control parameter.

Correspondingly, people around the electronic equipment can know the condition of the second target part in the electronic equipment through the indication information, whether the user is busy is represented in the condition of the second target part, and the user of the electronic equipment is not disturbed when the user is busy, so that the experience of the user is improved.

Specifically, users of a plurality of networked games play games through the electronic device respectively, the users of the plurality of teams are in the same space, such as a room or an internet cafe, the electronic device generates a second control parameter based on the condition of user input operation to enable the indicating module to output a second indicating content, and teammates or opponents in the same space can know the severity of the current game of the users based on the second indicating content.

If the electronic equipment is in the first form and the second target component is in the used state, generating a third control parameter of the indication module based on the attribute information of the second target component, so that the indication module outputs third indication information of the content concerned by the target object;

wherein the electronic device is in the first configuration and the second target component is in a used state, generating a third control parameter.

Specifically, the second target component is an application installed in the electronic device, attribute information of the application is available, and whether or not an application is running in the electronic device is available from the system.

Based on the electronic equipment being in the first form and the application being in a used state, determining attribute information of the application, determining whether the attribute information belongs to a specific type, and if so, generating third indication information for the application of which the attribute information belongs to the specific type.

As an example, a white list and a black list are preset, wherein the electronic device is in the first form, and if one or more running applications are determined to be in the white list based on the attribute information, third indication information indicating the white list is generated; if one or more applications run by the electronic equipment are determined to be in the blacklist based on the attribute information, generating third indication information indicating the blacklist; and when the attribute of the application in the electronic equipment represents that the application in the white list also has the application in the black list, generating third indication information indicating the black list.

In a specific implementation, based on the third indication information output by the indication module, the attribute information of each application running in the electronic device can be characterized, so that the target object can determine the content of interest based on the indication information output by the indication module.

As an example, the electronic device is used by a child, the electronic device is in a first form, for applications running in the electronic device are learning-related applications, and if it is determined that there are no applications in the blacklist based on attribute information of the applications, third indication information indicating a whitelist is generated; however, when the applications running therein include blacklisted applications such as games and video websites, it is determined that there are blacklisted applications based on the attribute information thereof, and third indication information indicating the blacklist is generated. The parents pay attention to the condition that children used electronic equipment, and it can confirm the current condition that children used electronic equipment through the third indicating information of this instruction module output, if children are studying or are entertaining, and need not to know on electronic equipment's screen, improves the efficiency of parents' understanding child condition.

If the electronic equipment is in the second form and the second target component is used for supplying power to the electronic equipment, generating a fourth control parameter of the indicating module based on the power information of the second target component so that the indicating module outputs fourth indication information of the remaining time for which the electronic equipment can be used;

when the electronic equipment is in the second form, the electronic equipment cannot perform input operation through the set input structure.

As an example, the electronic device is a notebook computer, and the second configuration is a closed-lid configuration.

Wherein the second target component is a power supply of the electronic device, such as a battery, a mains supply, etc.

Specifically, the power information of the second target component is acquired, a fourth control parameter is generated, and the indication module outputs fourth indication information indicating the remaining time that the electronic device can be used.

As an example, when the second target component is a battery, the remaining time during which the electronic device can be used is related to the remaining capacity of the battery, and the remaining time during which the electronic device can be used is determined based on the capacity information of the battery.

As an example, when the second target component is a commercial power supply, the remaining time that the electronic device can be used is sufficient, and the remaining time that the electronic device can be used can be regarded as the longest time.

When the electronic equipment is in the second form, the user of the electronic equipment can not perform input operation through the set input structure, at the moment, the indicating module outputs the fourth indicating information to indicate the remaining time of the electronic equipment, the user does not need to pass through the screen of the electronic equipment, but knows the remaining time of the electronic equipment, and the user experience is improved.

Specifically, when the electronic device is switched from the first mode to the second mode, the electronic device enters a standby state, and the indication module outputs fourth indication information, so that the user can connect the time for which the electronic device can be used (or in a standby state), and the user can know whether the electronic device can be moved to another position or how long the electronic device needs to be recharged.

And if the electronic equipment is in the second form and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a fifth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs fifth indicating information for improving the ambient brightness.

When the electronic equipment is in the second form, the electronic equipment cannot perform input operation through the set input structure.

Wherein the second target member is a sensor or the like for detecting the ambient brightness.

Specifically, the ambient brightness of the second target component is obtained, and a fifth control parameter is generated, and the fifth control parameter enables the indication module to output fifth indication information for improving the ambient brightness.

As an example, the second target component is a sensor for detecting the ambient brightness, the indication module is capable of controlling a set of lights of the electronic device that can be exposed when in the second form, and a fifth control parameter is generated at the electronic device, and the fifth control parameter is used for controlling the set of lights of the electronic device to change from off to on or from dark to brighter to improve the ambient brightness.

As an example, the indication module can output audio, and the fifth control parameter is generated at the electronic device, and the electronic device outputs the audio to control the audio control light set in the environment where the electronic device is located to be adjusted to be high-brightness.

When electronic equipment is in the second form, electronic equipment's user can not carry out input operation through the input structure that sets up and control the banks among the electronic equipment, and at this moment, instruct the module output fifth indicating information to instruct its banks of this electronic equipment direct control to improve ambient brightness, the user need not the input structure through electronic equipment setting, and electronic equipment improves ambient brightness automatically, improves user experience.

In an implementation, in order to reduce power consumption of the electronic device, if a specific input operation is received while the electronic device is in the second mode, the fifth control parameter indicating the module may be generated based on the specific input operation. Specifically, when the electronic device is in the second state, the function of the control indication module is started by a key arranged in the leakage area of the electronic device, and when the operation of pressing the key is received, the fifth control parameter is generated. Specifically, when the electronic device is in the second form, the electronic device starts the function of the shell knocking operation control indication module, for example, the shell is knocked at a specific knocking frequency and/or times, and the electronic device detects that the knocking operation generates a fifth control parameter. Specifically, when the electronic device is a notebook computer, the knocked area can be the surface a, and when the electronic device is a tablet computer, the knocked area can be the back surface of the surface where the display screen is located, so that the lighting of the lamp group in the electronic device can be controlled.

In summary, in the control method provided in this embodiment, the device shape of the electronic device is determined based on the first state information of the first target component in the electronic device, the control parameter of the indication module is determined by combining the state information of the second target component, and the indication module is automatically controlled to generate different indication information based on the device shape of the electronic device and the state information of the second target component, so that people in the surrounding environment of the electronic device can know the state of the electronic device or automatically adjust the ambient brightness of the electronic device based on the indication information, thereby improving user experience.

As shown in fig. 3, a flowchart of embodiment 3 of a control method provided by the present application includes the following steps:

step S301: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

step S302: obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

steps S301 to 302 are the same as steps S101 to 102 in embodiment 1, and are not described in detail in this embodiment.

Step S303: determining a motion state of the electronic device based on the first state information;

wherein the motion state of the electronic device is determined based on the first state information analysis.

Specifically, the motion state of the electronic device includes a first motion state and a second motion state.

Wherein determining a motion state of the electronic device based on the first state information comprises: acquiring detection data of a target sensor in electronic equipment; and determining the current motion state of the electronic equipment based on the detection data analysis, wherein the motion state comprises a first motion state and a second motion state, the first motion state is a non-moving state, and the second motion state is a moving state.

Specifically, the electronic device is provided with a sensor for detecting a motion parameter of the electronic device, and the sensor may be a gravity sensor or the like, and the motion state of the electronic device can be determined based on the detection parameter of the sensor.

In this embodiment, the control parameter of the indication module is determined based on the motion state of the electronic device and the state information of the second target component, and accordingly, in step S303, only the motion state of the electronic device may be analyzed and determined based on the first state information.

Step S304: determining a control parameter of the indication module based on the state of motion and state information of the second target component.

The motion state of the electronic device includes a first motion state and a second motion state, specifically, the first motion state is a non-moving state, i.e., a stationary state, and the second motion state is a moving state.

Specifically, the motion state of the electronic device is a non-moving state, and the second target component is in a used state, at this time, the operation body can perform normal input through an input structure such as a mouse and a keyboard, which is explained in this embodiment for the situation in this scenario.

Wherein the determining of the control parameter of the indicating module based on the motion state and the state information of the second target component comprises the following conditions:

if the electronic equipment is in a first motion state and the second target component is in a used state, generating a sixth control parameter of the indication module so that the indication module outputs sixth indication information that the target object is in the first state;

and generating a sixth control parameter to enable the indicating module to output sixth indicating information that the target object is in the first state.

Specifically, the second target component is a conference application, and a sixth control parameter of the indication module is generated by detecting a state of the conference application, so that the indication module outputs sixth indication information that the target object is in the first state.

The target object may be an operator, such as a user, operating the electronic device.

In specific implementation, the state of the conference Application is obtained through an API (Application Program Interface) corresponding to the system, where the state may include: busy, idle, etc., the status may be determined according to the running condition of the application.

As an example, when the state of the conference application is busy, a sixth control parameter is generated, so that the indication module outputs corresponding sixth indication information to represent that a user using the conference application is busy.

People around the electronic equipment can know that the application in the electronic equipment is in a busy state through the indication information, and correspondingly, a user of the electronic equipment is busy without disturbing the user of the electronic equipment, so that the user experience is improved.

Secondly, if the electronic equipment is in the first motion state and the second target component is in the used state, generating a seventh control parameter of the indicating module based on the input data received by the second target component, so that the indicating module outputs seventh indicating information that the second target component is in the second state;

wherein the electronic device is in the first motion state, i.e. the electronic device is not moving and is stationary at a certain position, and the second target component is in the state of being used, a seventh control parameter is generated based on input data received by the second target component.

Specifically, the second target component may be a keyboard and mouse or a game application, and the seventh control parameter of the indication module is generated by counting input data received by the second target component, so that the indication module outputs seventh indication information that the keyboard and mouse or the game application is in the second state.

As an example, the keyboard and mouse input frequency or the number of inputs in a certain time range is counted, and a seventh control parameter is generated based on that the input frequency is greater than a frequency threshold or that the number of inputs in the certain time range is greater than a number threshold, indicating that the user of the electronic device is busy currently.

As an example, the input frequency of the input operation of the game application or the number of times of input in a certain time range is counted, and the seventh control parameter is generated based on that the input frequency is greater than the frequency threshold or that the number of times of input in the certain time range is greater than the number threshold, which indicates that the game application is currently in a state of intense combat situation.

In a specific implementation, when the operation of the keyboard and mouse is an input operation performed for a game application, statistics of the input frequency and the input times of the keyboard and mouse can also represent the situation of a battle in the current game application, and generate a corresponding seventh control parameter.

Correspondingly, people around the electronic equipment can know the condition of the second target part in the electronic equipment through the indication information, whether the user is busy is represented in the condition of the second target part, and the user of the electronic equipment is not disturbed when the user is busy, so that the experience of the user is improved.

Specifically, a plurality of users of the online game play games through the electronic device respectively, the users of the plurality of teams are in the same space, such as a room or an internet cafe, the electronic device is placed on a table or other fixed position, the second control parameter is generated based on the condition of the user input operation, so that the indicating module outputs the seventh indicating content, and the teammate or the opponent in the same space can know the severity of the current game of the user based on the second indicating content.

If the electronic equipment is in the first motion state and the second target component is in the used state, generating an eighth control parameter of the indication module based on the attribute information of the second target component, so that the indication module outputs eighth indication information of the content focused by the target object.

Wherein the electronic device is in the first motion state, i.e. the electronic device is not moving and is stationary at a certain position, and the second target component is in the state of being used, generating the eighth control parameter.

Specifically, the second target component is an application installed in the electronic device, attribute information of the application is available, and whether or not an application is running in the electronic device is available from the system.

Specifically, based on that the electronic device is in the first motion state and an application is in a used state, the attribute information of the application is determined, whether the attribute information belongs to a specific type or not is judged, and if the attribute information belongs to the specific type, eighth indication information is generated for the application of which the attribute information belongs to the specific type.

As an example, a white list and a black list are preset, wherein the electronic device is in a first motion state, and if one or more running applications are determined to be in the white list based on the attribute information, eighth indication information indicating the white list is generated; if one or more applications run by the electronic equipment are determined to be in the blacklist based on the attribute information, generating eighth indicating information indicating the blacklist; and when the attribute of the application in the electronic equipment represents that the application in the white list also has the application in the black list, generating eighth indication information indicating the black list.

As an example, a white list and a black list are preset, wherein the electronic device is in a first motion state, and if the application running in the foreground is determined to be in the white list based on the attribute information, eighth indication information indicating the white list is generated; and the electronic equipment is in the first motion state, and the foreground running application determines that the foreground running application is in the blacklist based on the attribute information, and then eighth indication information indicating the blacklist is generated.

In specific implementation, the indication information is given to other people who do not use the electronic device, when the application belongs to the white list, indication prompt is not needed, and when the application belongs to the black list, the eighth indication information is generated to prompt the other people, so that the people do not need to know on a screen of the electronic device, and the efficiency of knowing the application running condition in the electronic device is improved.

As an example, the electronic device is used by a child, the electronic device is placed on a desktop or other fixed position, for applications running therein are all learning-related applications, determination is made on the basis of attribute information of the applications without blacklist, and then third indication information indicating a white list is generated; however, when the applications running therein include blacklisted applications such as games and video websites, it is determined that there are blacklisted applications based on the attribute information thereof, and third indication information indicating the blacklist is generated. The parents pay attention to the condition that children used electronic equipment, and it can confirm the current condition that children used electronic equipment through the third indicating information of this instruction module output, if children are studying or are entertaining, and need not to know on electronic equipment's screen, improves the efficiency of parents' understanding child condition.

In a specific implementation, based on the eighth indication information output by the indication module, the attribute information of the application running in the electronic device can be characterized, so that the target object can determine the content of interest based on the indication information output by the indication module.

In summary, in a control method provided in this embodiment, the determining a control parameter of an indication module disposed in the electronic device based on the first status information and the second status information includes: determining a motion state of the electronic device based on the first state information; the indicating module is automatically controlled to generate different indicating information based on the equipment form of the electronic equipment and the state information of the second target component, so that people in the surrounding environment of the electronic equipment can know the state of the electronic equipment based on the indicating information, and the user experience is improved.

As shown in fig. 4, a flowchart of embodiment 4 of a control method provided by the present application includes the following steps:

step S401: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

step S402: obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

steps S401 to 402 are the same as steps S101 to 102 in embodiment 1, and are not described in detail in this embodiment.

Step S403: determining a device form and a motion state of the electronic device based on the first state information;

wherein the device morphology and/or motion state of the electronic device is determined based on the first state information analysis.

Specifically, the device configuration of the electronic device includes a first configuration and a second configuration.

Specifically, the motion state of the electronic device includes a first motion state and a second motion state.

For the explanation of step S403, reference may be made to the explanation of step S203 in embodiment 2 and the explanation of step S303 in embodiment 3, which are not described in detail in this embodiment.

In this embodiment, the control parameters of the indication module are determined based on the device shape and the motion state of the electronic device and the state information of the second target component, and accordingly, in step S403, the device shape and the motion state of the electronic device may be analyzed and determined based on the first state information.

Step S404: determining a control parameter of the indication module based on the device morphology, the motion state, and state information of the second target component.

Wherein the device modalities include a first modality in which the electronic device is capable of performing an input operation through the set input structure, and a second modality in which the electronic device is not capable of performing an input operation through the set input structure.

The motion state of the electronic device includes a first motion state and a second motion state, specifically, the first motion state is a non-moving state, i.e., a stationary state, and the second motion state is a moving state.

Specifically, the device configuration of the electronic device is the second configuration, and the motion state is the moving state, which is explained in the present embodiment for the case in this scenario.

As an example, the electronic device is a notebook computer, the second configuration is a closed configuration, and the notebook computer is in a mobile state.

Determining a control parameter of the indication module based on the equipment form, the motion state and the state information of the second target component, wherein the following conditions are included:

if the electronic equipment is in a second motion state and a second form, and the second target component is used for supplying power to the electronic equipment, generating a ninth control parameter of the indicating module based on the power information of the second target component, so that the indicating module outputs ninth indicating information of the remaining time of the electronic equipment capable of being used;

wherein the second target component is a power supply of the electronic device, such as a battery, a mains supply, etc.

As one example, the electronic device is in the second motion state and the second state is a process in which a user of the notebook computer covers the notebook computer and moves the notebook computer.

Specifically, the power information of the second target component is acquired, a ninth control parameter is generated, and the indication module outputs ninth indication information indicating the remaining time that the electronic device can be used.

As an example, when the second target component is a battery, the remaining time during which the electronic device can be used is related to the remaining capacity of the battery, and the remaining time during which the electronic device can be used is determined based on the capacity information of the battery.

As an example, when the second target component is a commercial power supply, the remaining time that the electronic device can be used is sufficient, and the remaining time that the electronic device can be used can be regarded as the longest time.

The electronic equipment is in the second form and in the second motion state, at this moment, the indication module outputs ninth indication information to indicate the remaining time that the electronic equipment can be used, and a user does not need to pass through a screen of the electronic equipment, but knows the remaining time that the electronic equipment can be used based on the ninth indication information, so that the user experience is improved.

Specifically, when the electronic device is switched from the first form to the second form, the electronic device enters a standby state, and the switching of the form usually means that the user wants to move the electronic device, at this time, the indication module outputs ninth indication information, so that the user connects the time for which the electronic device can be used (or in standby), so that the user knows whether the electronic device can be moved to another location currently or how long the electronic device needs to be recharged.

If the electronic equipment is in the second motion state and the second form, and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a tenth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs tenth indicating information for improving the ambient brightness.

Wherein the second target member is a sensor or the like for detecting the ambient brightness.

Specifically, the ambient brightness of the second target component is acquired, and a tenth control parameter is generated, and the tenth control parameter enables the indication module to output tenth indication information for improving the ambient brightness.

As an example, the second target component is a sensor for detecting the ambient brightness, the indication module is a set of lights capable of being exposed when in the second form in the electronic device, and a tenth control parameter is generated in the electronic device, and the tenth control parameter is used for controlling the set of lights of the electronic device to change from off to on or from dark to brighter to improve the ambient brightness.

When the electronic equipment is in the second motion state and the second state, a user of the electronic equipment cannot perform input operation through the set input structure to control the lamp bank in the electronic equipment, at the moment, the indication module outputs tenth indication information to indicate the electronic equipment to directly control the lamp bank to improve the ambient brightness, the user does not need the input structure set by the electronic equipment, and the electronic equipment automatically improves the ambient brightness and improves the user experience.

In specific implementation, in order to improve user experience, when the electronic device is in the second mode, if a specific input operation is received, the tenth control parameter of the indication module may be generated based on the specific input operation, and the user may manually control and adjust the ambient brightness without performing ambient brightness detection. Specifically, when the electronic device is in the second state, the function of the control indication module is started by a key arranged in the leakage area of the electronic device, and when the operation of pressing the key is received, the tenth control parameter is generated. Specifically, when the electronic device is in the second form, the electronic device starts the function of the shell knocking operation control indication module, for example, the shell is knocked at a specific knocking frequency and/or times, and the electronic device detects that the knocking operation generates a tenth control parameter.

Specifically, when the electronic device is switched from the first form to the second form, the indication information representing the residual electric quantity output by the indication module is used, and the user determines that the residual electric quantity meets the requirement, so that the electronic device can be moved and enters a second motion state. In the mobile process of picking up the electronic equipment by a user, the electronic equipment enters a darker environment such as an underground garage, and the electronic equipment can also generate a tenth control parameter to indicate the output module to output tenth indication information, control and improve the ambient brightness, and control the electronic equipment to be used as lighting equipment if a lamp bank in the electronic equipment is controlled to be on.

In a specific implementation, in order to reduce the data processing amount of the electronic device, when the electronic device is in the second state, the electronic device may control the turning on and off of the light group in the electronic device only based on the operation of the user, and specifically, the processor in the electronic device triggers the detection of whether the electronic device is in the second motion state at this time based on the operation of pressing the specific key/the action of knocking the housing, and when the electronic device is in the second motion state, the turning on and off of the light group in the electronic device is controlled.

In summary, in the control method provided in this embodiment, the device shape and the motion state of the electronic device are determined based on the first state information of the first target component in the electronic device, the control parameter of the indication module is determined by combining the state information of the second target component, and the indication module is automatically controlled to generate different indication information based on the device shape and the motion state of the electronic device and the state information of the second target component, so that people in the surrounding environment of the electronic device can know the state of the electronic device or automatically adjust the ambient brightness of the electronic device based on the indication information, thereby improving user experience.

As shown in fig. 5, a flowchart of embodiment 5 of a control method provided by the present application includes the following steps:

step S501: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

step S502: obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

steps S501 to 502 are the same as steps S101 to 102 in embodiment 1, and are not described in detail in this embodiment.

Step S503: and determining the light-emitting parameter of the first indication module based on the first state information and the second state information.

The first indication module controls a lamp set arranged on the electronic equipment, the lamp set has multiple luminous effects, and different luminous effects correspond to different luminous parameters.

Specifically, the lamp bank controlled by the first indication module can be arranged on the A surface of the notebook computer or on the back surface of the display screen of the tablet computer, and the lamp bank can be used for repeatedly lighting the display equipment mark.

Specifically, the corresponding light emitting parameters are determined based on the first state information of the first target component and the second state information of the second target component, so that the lamp set can generate corresponding light emitting effects, and people around the electronic device can determine the state of the electronic device based on the light emitting parameters, or adjust the light emitting effects by adjusting different brightness, so as to adjust the ambient brightness of the electronic device.

Specifically, the ten control parameters described in the above embodiments 2 to 4 can control the first indication module to generate a plurality of lighting effects.

As one example, the instruction information that causes the first instruction module to output that the target object is in the first state is generated based on the first control parameter or the sixth control parameter. This first state can be busy state, and correspondingly, the light effect of this first instruction module control banks can be red light or light effect such as frequent scintillation.

As one example, the instruction information that causes the instruction module to output that the second target component is in the second state is generated based on the second control parameter or the seventh control parameter. The second target component is a keyboard and mouse or a game application, the second target component is in a busy state when the input frequency of the keyboard and mouse or the game application is greater than a frequency threshold or the input frequency within a certain time range is greater than a frequency threshold, and correspondingly, the light effect of the first indication module control light set can be red light or frequent flashing light.

As an example, the indication information that causes the indication module to output the content focused on by the target object is generated based on the third control parameter and the eighth control parameter, where the content focused on by the target object is an application condition running in the electronic device, where when all applications running in the electronic device belong to a white list or a foreground running application belongs to a white list, the light effect of the first indication module controlling the light group may be to emit white light, and when some applications running in the electronic device belong to a black list or a foreground running application belongs to a black list, the light effect of the first indication module controlling the light group may be to emit red light or to flash frequently. Of course, the frequency of the flashing may be different from the light flashing frequency when the second target component is indicated to be in a busy state in the previous example.

As an example, the indication module is configured to generate indication information for enabling the indication module to output the remaining time that the electronic device can be used based on the fourth control parameter and the ninth control parameter, where the indication information may be a number for controlling the lamp set to directly display the remaining time, or the indication information may be a number for controlling the lamp set to display the remaining time length in proportion to the whole lamp set, for example, when the battery is fully charged, the lamp set is fully lighted, and when the remaining time of the electronic device is 1 hour, the lamp set is lighted up and half of the lamp set is extinguished, and the lighted up portion and the extinguished portion are not overlapped and do not intersect.

As an example, the indication information for causing the indication module to output the indication information for increasing the ambient brightness is generated based on the fifth control parameter and the tenth control parameter, and the indication information may be in the form of controlling the brightness of the lamp set to increase, such as from turning off to turning on, or from turning on some lamps to turning on all lamps, or adjusting the brightness of the whole lamp set from lower brightness to higher brightness.

In summary, in the control method provided in this embodiment, the indication module adopts the first indication module, the first indication module is a light emitting module, and the light emitting parameter of the first indication module is determined based on the first state information and the second state information, so that different light emitting effects of the light group are controlled based on the first indication module, so that the ambient brightness of the electronic device is automatically adjusted, or a person in the surrounding environment of the electronic device can know the state of the electronic device based on the light effect, thereby improving user experience.

As shown in fig. 6, a flowchart of embodiment 6 of a control method provided by the present application includes the following steps:

step S601: obtaining first state information of a first target component of an electronic device, wherein the first target component at least comprises a component capable of representing the shape and/or motion state of the electronic device;

step S602: obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component different from the first target component;

steps S601 to 602 are the same as steps S101 to 102 in embodiment 1, and are not described in detail in this embodiment.

Step S603: and determining an audio output parameter of a second indication module based on the first state information and the second state information.

The second indicating module controls audio output parameters of an audio output unit (such as a loudspeaker) arranged on the electronic equipment.

Specifically, no matter the electronic equipment is in the first state or the second state or in the first motion state or the second motion state, the audio output module can control the audio output of the audio output unit.

Specifically, the corresponding audio output parameter is determined based on the first state information of the first target component and the second state information of the second target component, so that the audio output unit can output corresponding audio, and people around the electronic device can determine the state of the electronic device based on the audio, or adjust the ambient brightness through audio control, thereby adjusting the ambient brightness of the electronic device.

Specifically, the ten control parameters described in the above embodiments 2-4 can control the second indicating module to generate a plurality of audio output parameters.

As one example, the indication information that causes the second indication module to output that the target object is in the first state is generated based on the first control parameter or the sixth control parameter. The first state may be a busy state, and accordingly, the second indication module controls the audio output unit to output a busy audio, or emits a beep or the like to indicate the busy audio.

As one example, the instruction information that causes the instruction module to output that the second target component is in the second state is generated based on the second control parameter or the seventh control parameter. The second target component is a keyboard and mouse or a game application, the second target component is in a busy state that the input frequency of the keyboard and mouse or the game application is greater than a frequency threshold value or the input frequency in a certain time range is greater than a frequency threshold value, and correspondingly, the second indicating module controls the audio output unit to output violent music or prompt sound such as 'dripping' for prompting that the game situation is violent.

As an example, the instruction module generates instruction information for causing the instruction module to output a content focused on by a target object, where the content focused on by the target object is an application condition running in the electronic device, where the second instruction module controls the audio output unit to stop outputting audio or outputting a "droplet" sound with a lower frequency when all applications running in the electronic device belong to a white list or foreground running applications belong to a white list, and the second instruction module controls the audio output unit to output an alarm sound, such as a "droplet" sound with a higher frequency, if any application running in the electronic device belongs to a black list or foreground running applications belong to a black list. Of course, the frequency of this "drip" may be different from the frequency of "drip" in the previous example indicating that the second target part is in a busy state.

As an example, the indication module generates indication information for enabling the indication module to output the remaining time that the electronic device can be used based on the fourth control parameter and the ninth control parameter, where the indication information may control the audio output unit to broadcast the remaining use time in a voice mode, specifically, broadcast the remaining use time in a predetermined period, or broadcast the remaining use time when the form and/or the motion state changes.

It should be noted that, in specific implementation, the first indication module and the second indication module can be selected according to actual situations to perform light effect and audio prompt respectively, and the explanation in embodiment 5 and embodiment 6 is combined, which is not described in detail in this application.

In summary, in the control method provided in this embodiment, the indication module adopts a second indication module, the second indication module is an audio output module, and the audio output parameter of the second indication module is determined based on the first state information and the second state information, so that the speaker is controlled to output different audio based on the second indication module, thereby automatically adjusting the ambient brightness of the electronic device or enabling people in the surrounding environment of the electronic device to know the state of the electronic device based on the audio, and improving user experience.

Corresponding to the embodiment of the control method provided by the application, the application also provides an embodiment of a device applying the control method.

Fig. 7 is a schematic structural diagram of an embodiment of a control device provided in the present application, where the electronic device includes the following structures: a first obtaining module 701, a second obtaining module 702 and a processing module 703;

the first obtaining module 701 is configured to obtain first state information of a first target component of an electronic device, where the first target component at least includes a component capable of characterizing a form and/or a motion state of the electronic device;

a second obtaining module 702, configured to obtain second state information of the electronic device, where the second state information at least includes state information of a second target component different from the first target component;

the processing module 703 is configured to determine a control parameter of an indication module disposed in the electronic device based on the first state information and the second state information, so that the indication module outputs corresponding indication information in response to the control parameter.

Optionally, the processing module is configured to:

determining a device morphology and/or a motion state of the electronic device based on the first state information;

determining a control parameter of the indication module based on the equipment form and the state information of the second target component; or the like, or, alternatively,

determining a control parameter of the indicating module based on the motion state and state information of the second target component; or the like, or, alternatively,

determining a control parameter of the indication module based on the device morphology, the motion state, and state information of the second target component.

Optionally, the processing module is configured to:

if the electronic equipment is in a first form and the second target component is in a used state, generating a first control parameter of the indication module so that the indication module outputs first indication information that a target object is in the first state; or the like, or, alternatively,

if the electronic equipment is in the first form and the second target component is in the used state, generating a second control parameter of the indicating module based on input data received by the second target component so that the indicating module outputs second indicating information that the second target component is in the second state; or the like, or, alternatively,

if the electronic equipment is in the first form and the second target component is in the used state, generating a third control parameter of the indication module based on the attribute information of the second target component so that the indication module outputs third indication information of the content concerned by the target object; or the like, or, alternatively,

if the electronic equipment is in a second form and the second target component is used for supplying power to the electronic equipment, generating a fourth control parameter of the indicating module based on the power information of the second target component so that the indicating module outputs fourth indication information of the remaining time of the electronic equipment capable of being used; or the like, or, alternatively,

if the electronic equipment is in the second form and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a fifth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs fifth indicating information for improving the ambient brightness.

Optionally, the processing module is configured to:

if the electronic equipment is in the first motion state and the second target component is in the used state, generating a sixth control parameter of the indication module so that the indication module outputs sixth indication information that the target object is in the first state; or the like, or, alternatively,

if the electronic equipment is in the first motion state and the second target component is in the used state, generating a seventh control parameter of the indicating module based on the input data received by the second target component so that the indicating module outputs seventh indicating information that the second target component is in the second state; or the like, or, alternatively,

if the electronic equipment is in the first motion state and the second target component is in the used state, generating an eighth control parameter of the indication module based on the attribute information of the second target component, so that the indication module outputs eighth indication information of the content focused by the target object.

Optionally, the processing module is configured to:

if the electronic equipment is in a second motion state and a second form, and the second target component is used for supplying power to the electronic equipment, generating a ninth control parameter of the indicating module based on the power information of the second target component, so that the indicating module outputs ninth indicating information of the remaining time for which the electronic equipment can be used; or the like, or, alternatively,

if the electronic equipment is in the second motion state and the second form, and the second target component is used for detecting the ambient brightness of the electronic equipment, generating a tenth control parameter of the indicating module based on the ambient brightness, so that the indicating module outputs tenth indicating information for improving the ambient brightness.

Optionally, the first obtaining module is configured to:

obtaining the equipment form of the electronic equipment based on the relative position relation between a first body and a second body in the electronic equipment;

if the included angle between the first body and the second body is larger than a preset threshold value, determining that the equipment form of the electronic equipment is a first form; and if the included angle between the first body and the second body is smaller than a preset threshold value, determining that the equipment shape of the electronic equipment is a second shape.

Optionally, the first obtaining module is configured to:

acquiring detection data of a target sensor in electronic equipment;

and determining the current motion state of the electronic equipment based on the detection data analysis, wherein the motion state comprises a first motion state and a second motion state, the first motion state is a non-moving state, and the second motion state is a moving state.

Optionally, the processing module is configured to:

determining a light emitting parameter of a first indication module based on the first state information and the second state information; and/or

And determining an audio output parameter of a second indication module based on the first state information and the second state information.

It should be noted that, the structural functions in this embodiment refer to the explanations in the method embodiment, and are not described in detail in this embodiment.

In summary, in the control apparatus provided in this embodiment, the control parameter is determined based on the first state information of the first target component and the second state information of the second target component in the electronic device, so that the indication module outputs corresponding indication information based on the control parameter, and people around the electronic device can understand the relevant situation of the electronic device through the indication information, thereby improving user experience.

Corresponding to the embodiment of the control method provided by the application, the application also provides an embodiment of the electronic equipment applying the control method.

Fig. 8 is a schematic structural diagram of an embodiment of an electronic device provided in the present application, where the electronic device includes the following structures: a first target component 801, a second target component 802, a processor 803, and an indication module 804;

wherein the first target component comprises at least a component capable of characterizing a morphology and/or a motion state of the electronic device;

wherein the processor is configured to obtain first state information of a first target component; obtaining second state information of the electronic device, wherein the second state information at least comprises state information of a second target component; and determining a control parameter of the indication module based on the first state information and the second state information, so that the indication module outputs corresponding indication information in response to the control parameter.

Optionally, the indication module includes:

an audio output module; and/or

The light-emitting module is arranged on a first surface of the electronic equipment, and the first surface is opposite to the surface where the display screen is located.

Specifically, the light emitting element may be a lamp group formed by a plurality of lamp beads.

Specifically, the processor may employ an EC (embedded controller).

The light emitting module may be a chipset (chipset) of an LED (light emitting diode) lamp bead, and the chipset may be capable of directly communicating with the EC, so that the chipset is controlled to output corresponding indication information based on a control parameter generated by the EC.

Fig. 9 is a schematic view of a surface a of an electronic device, the electronic device is a notebook computer, and a surface a 901 of the notebook computer is provided with a light emitting lamp set, wherein the light emitting lamp set includes a plurality of lamp beads, and the plurality of lamp beads form a triangular star shape 902, which can be a logo of the notebook computer, and output of indication information is realized by multiplexing the lamp set of the logo.

Specifically, a plurality of lamp beads such as 100 lamp beads can be adopted in the lamp group, and each lamp bead in the lamp group can be controlled independently.

It should be noted that the shape formed by the multiple beads may be set according to the situation, and is not limited to the shape in fig. 9.

In summary, in the electronic device provided in this embodiment, the control parameter is determined based on the first state information of the first target component and the second state information of the second target component in the electronic device, so that the indication module outputs corresponding indication information based on the control parameter, and people around the electronic device can understand the relevant situation of the electronic device through the indication information, thereby improving user experience.

Corresponding to the embodiment of the control method provided by the application, the application also provides a readable storage medium corresponding to the control method.

Wherein the readable storage medium has stored thereon a computer program which is called and executed by a processor to implement the steps of the control method according to any one of the preceding claims.

Specifically, the computer program stored in the readable storage medium executes the control method, and reference may be made to the foregoing control method embodiments.

The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device provided by the embodiment, the description is relatively simple because the device corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.

The previous description of the provided embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features provided herein.

28页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种游戏控制方法及装置、存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类