CN104822194B - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN104822194B
CN104822194B CN201510092108.2A CN201510092108A CN104822194B CN 104822194 B CN104822194 B CN 104822194B CN 201510092108 A CN201510092108 A CN 201510092108A CN 104822194 B CN104822194 B CN 104822194B
Authority
CN
China
Prior art keywords
light
emitting device
execution instruction
electronic equipment
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510092108.2A
Other languages
Chinese (zh)
Other versions
CN104822194A (en
Inventor
田江通
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510092108.2A priority Critical patent/CN104822194B/en
Publication of CN104822194A publication Critical patent/CN104822194A/en
Application granted granted Critical
Publication of CN104822194B publication Critical patent/CN104822194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of control method, applied to an electronic equipment;The electronic equipment includes the first button and the first light-emitting device;The first area of part or all of printing opacity is provided with first button;The first area is corresponding with first light-emitting device;Methods described includes:Judge to whether there is the first prompt message in the electronic equipment, obtain the first judged result;First prompt message is used to characterize the unprocessed information in the electronic equipment;When first judged result shows first prompt message to be present in the electronic equipment, judge whether first prompt message meets the first preset rules, obtain the second judged result;First execute instruction is generated based on second judged result;The lighting function of first light-emitting device is controlled according to first execute instruction, makes the luminance of first light-emitting device corresponding with first execute instruction.The embodiment of the invention also discloses a kind of electronic equipment.

Description

Control method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to a control method and an electronic device.
Background
With the development of modern technology, electronic equipment has become an indispensable article in people's life; generally, when an electronic device is in a standby state, an electronic device user needs to activate the electronic device to turn on a display screen of the electronic device when checking whether unprocessed information exists in advance, and when the electronic device user only checks whether unprocessed information exists and does not intend to perform other operations on the electronic device, the checking manner undoubtedly increases the power consumption of the electronic device, and for the electronic device with a larger display screen, the situation of increasing the power consumption is more serious; therefore, the method reduces the endurance time of the electronic equipment and reduces the user experience.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a control method and an electronic device.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a control method, which is applied to electronic equipment; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; the method comprises the following steps:
judging whether first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result;
generating a first execution instruction based on the second judgment result;
and controlling the light emitting function of the first light emitting device according to the first execution instruction, so that the light emitting state of the first light emitting device corresponds to the first execution instruction.
The embodiment of the invention also provides electronic equipment, which comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; the electronic device further includes:
the first judging unit is used for judging whether first prompt information exists in the electronic equipment or not and acquiring a first judging result; the first prompt message is used for representing unprocessed information in the electronic equipment;
a second judging unit, configured to, when the first judgment result indicates that the first prompt information exists in the electronic device, judge whether the first prompt information satisfies a first preset rule, and obtain a second judgment result;
a first instruction generation unit configured to generate a first execution instruction based on the second determination result;
and the first control unit is used for controlling the light-emitting function of the first light-emitting device according to the first execution instruction, so that the light-emitting state of the first light-emitting device corresponds to the first execution instruction.
According to the control method and the electronic device provided by the embodiment of the invention, the first light-emitting device is arranged in the electronic device, and the first area is arranged in the first key, wherein the first light-emitting device corresponds to the first area, so that a light source of the first light-emitting device can be observed by an observer through the first area.
Drawings
FIG. 1 is a first schematic flow chart illustrating an implementation of a control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second implementation flow of the control method according to the embodiment of the present invention;
FIG. 3 is a third schematic flow chart illustrating an implementation of the control method according to the embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a fourth implementation flow of the control method according to the embodiment of the present invention;
FIG. 5 is a first schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a schematic diagram illustrating a positional relationship between a first key of an electronic device and a light source of a first light-emitting device according to an embodiment of the invention;
FIG. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
FIG. 1 is a first schematic flow chart illustrating an implementation of a control method according to an embodiment of the present invention; the method is applied to an electronic device; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can be observed by an observer through the first area; as shown in fig. 1, the method includes:
step 101: judging whether first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
in this embodiment, the electronic device may be an intelligent electronic device such as a mobile phone and a tablet computer.
In this embodiment, the first prompt message may be update information of an application program in the electronic device; or the first prompt message is unprocessed information in the electronic equipment, such as missed call information, unread short messages and the like; the application program is any program installed in the electronic equipment.
In this embodiment, the electronic device may periodically determine whether the first prompt information exists; specifically, the electronic device may preset a time interval; when the time interval is reached, the electronic device determines whether the first prompt information exists, and at this time, when the first prompt information does not exist in the electronic device, the electronic device maintains the second state of the first light-emitting device because the first light-emitting device is in the second state before the step 101 is executed, where the second state corresponds to a state where a light source in the first light-emitting device does not emit light; when the time interval is reached again, the electronic equipment judges whether the first prompt information exists or not again, and the process is repeated so as to control the light-emitting function of the first light-emitting device, so that the purpose of prompting a user of the electronic equipment is achieved. Further, the electronic device according to the embodiment of the present invention may be provided with a timer, and when the timer reaches a time interval, the electronic device is triggered to determine whether the first prompt information exists in the electronic device, so as to implement the above process.
Step 102: when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result;
in this embodiment, the first preset rule may represent that the first prompt information is unprocessed information corresponding to a first type of application installed in the electronic device; specifically, the first preset rule may represent that the first prompt message is an unread short message or a missed call message.
It should be noted that, in practical applications, the first preset rule may be set arbitrarily according to actual needs, user needs, and the like.
Step 103: generating a first execution instruction based on the second judgment result;
step 104: and controlling the light emitting function of the first light emitting device according to the first execution instruction, so that the light emitting state of the first light emitting device corresponds to the first execution instruction.
In this embodiment, since the main execution body of the control method is an electronic device, steps 103 and 104 may specifically be: and the electronic equipment generates a first execution instruction based on the second judgment result, and then controls the light-emitting function of the first light-emitting device according to the first execution instruction, so that the light-emitting state of the first light-emitting device corresponds to the first execution instruction.
The embodiments of the present invention are further described in detail in the following three application scenarios:
the application scene one:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is an unread short message or missed call message;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt information satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt information satisfies the first preset rule, and at this time, the electronic device generates a first execution instruction to turn on the light emitting function of the first light emitting device, so that the light emitting state of the first light emitting device corresponds to the first execution instruction.
Application scenario two:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is unprocessed information in a first application program in the electronic equipment; for example, the first prompt message is unread message corresponding to the social application program;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt information does not satisfy the first preset rule, that is, the second interpretation result indicates that the first prompt information does not satisfy the first preset rule, and at this time, the electronic device generates a first execution instruction to control the first light-emitting device to maintain the second state.
Application scenario three:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result;
and when the first judgment result shows that the first prompt message does not exist in the electronic equipment, generating a fourth execution instruction to control the first light-emitting device to maintain the second state.
When the time interval is reached, triggering the electronic equipment to judge whether the first prompt information exists in the electronic equipment, and acquiring a first judgment result; the above steps are circulated until the first judgment result shows that the first prompt message exists in the electronic equipment; at this time, the first prompt message existing in the electronic equipment is an unread short message or missed call message;
further, when the first judgment result shows that the first prompt message exists in the electronic device, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt information satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt information satisfies the first preset rule, and at this time, the electronic device generates a first execution instruction to turn on the light emitting function of the first light emitting device, so that the light emitting state of the first light emitting device corresponds to the first execution instruction.
According to the control method provided by the embodiment of the invention, the first light-emitting device is arranged in the electronic equipment, and the first area is arranged in the first key, wherein the first light-emitting device corresponds to the first area, so that a light source of the first light-emitting device can be observed by an observer through the first area.
Example two
FIG. 2 is a schematic diagram of a second implementation flow of the control method according to the embodiment of the present invention; the application is applied to an electronic device; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; as shown in fig. 2, the method includes:
step 201: judging whether first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
in this embodiment, the electronic device may be an intelligent electronic device such as a mobile phone and a tablet computer.
In this embodiment, the first prompt message may be update information of an application program in the electronic device; or the first prompt message is unprocessed information in the electronic equipment, such as missed call information, unread short messages and the like; the application program is any program installed in the electronic equipment.
In this embodiment, the electronic device may periodically determine whether the first prompt information exists; specifically, the electronic device may preset a time interval; when the time interval is reached, the electronic device determines whether the first prompt information exists, and at this time, when the first prompt information does not exist in the electronic device, the electronic device maintains the second state of the first light-emitting device because the first light-emitting device is in the second state before the step 201 is executed, where the second state corresponds to a state where a light source in the first light-emitting device does not emit light; when the time interval is reached again, the electronic equipment judges whether the first prompt information exists or not again, and the process is repeated so as to control the light-emitting function of the first light-emitting device, so that the purpose of prompting a user of the electronic equipment is achieved. Further, the electronic device according to the embodiment of the present invention may be provided with a timer, and when the timer reaches a time interval, the electronic device is triggered to determine whether the first prompt information exists in the electronic device, so as to implement the above process.
Step 202: when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result;
in this embodiment, the first preset rule may represent that the first prompt information is unprocessed information corresponding to a first type of application installed in the electronic device; specifically, the first preset rule may represent that the first prompt message is an unread short message or a missed call message.
It should be noted that, in practical applications, the first preset rule may be set arbitrarily according to actual needs, user needs, and the like.
Step 203: when the second judgment result shows that the first prompt information meets the first preset rule, a first execution instruction is generated; subsequently, step 204 is performed;
step 204: and starting the light emitting function of the first light emitting device according to the first execution instruction, so that a first light source in the first light emitting device penetrates through the first area.
Step 205: when the second judgment result shows that the first prompt information does not meet the first preset rule, generating a first execution instruction; subsequently, step 206 is performed;
step 206: and closing the light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in a light-off state.
In this embodiment, since the main execution body of the control method is an electronic device, steps 203 and 206 may specifically be: when the second judgment result shows that the first prompt information meets the first preset rule, the electronic equipment generates a first execution instruction, and then the electronic equipment starts the light-emitting function of the first light-emitting device according to the first execution instruction, so that a first light source in the first light-emitting device penetrates through the first area; or,
when the second judgment result shows that the first prompt information does not meet the first preset rule, the electronic equipment generates a first execution instruction, and then the electronic equipment closes the light-emitting function of the first light-emitting device according to the first execution instruction, so that the first light-emitting device is in a light-off state.
The embodiments of the present invention are further described in detail in the following three application scenarios:
the application scene one:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is an unread short message or missed call message;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt message satisfies the first preset rule, at this time, the electronic device generates a first execution instruction, and turns on the light emitting function of the first light emitting device according to the first execution instruction, so that the first light source in the first light emitting device penetrates through the first area, so that the observer can observe the first light source, and the purpose of prompting the user of the electronic device is achieved.
Application scenario two:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is unprocessed information in a first application program in the electronic equipment; for example, the first prompt message is unread message corresponding to the social application program;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message does not satisfy the first preset rule, that is, the second interpretation result indicates that the first prompt message does not satisfy the first preset rule, at this time, the electronic device generates a first execution instruction, and turns off the light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in an off state; here, since the first light-emitting device is already in the second state, that is, the off state, the turning off the light-emitting function of the first light-emitting device according to the first execution instruction makes the first light-emitting device in the off state, specifically: and controlling the first light-emitting device to be maintained in the second state according to the first execution instruction.
Application scenario three:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result;
and when the first judgment result shows that the first prompt message does not exist in the electronic equipment, generating a fourth execution instruction to control the first light-emitting device to maintain the second state.
When the time interval is reached, triggering the electronic equipment to judge whether the first prompt information exists in the electronic equipment, and acquiring a first judgment result; the above steps are circulated until the first judgment result shows that the first prompt message exists in the electronic equipment; at this time, the first prompt message existing in the electronic equipment is an unread short message or missed call message;
further, when the first judgment result shows that the first prompt message exists in the electronic device, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt message satisfies the first preset rule, at this time, the electronic device generates a first execution instruction, and turns on the light emitting function of the first light emitting device according to the first execution instruction, so that the first light source in the first light emitting device penetrates through the first area, so that the observer can observe the first light source, and the purpose of prompting the user of the electronic device is achieved.
According to the control method provided by the embodiment of the invention, the first light-emitting device is arranged in the electronic equipment, and the first area is arranged in the first key, wherein the first light-emitting device corresponds to the first area, so that a light source of the first light-emitting device can be observed by an observer through the first area.
EXAMPLE III
FIG. 3 is a third schematic flow chart illustrating an implementation of the control method according to the embodiment of the present invention; the method is applied to an electronic device; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; at least a first light source with a first optical property is arranged in the first light-emitting device; as shown in fig. 3, the method includes:
step 301: judging whether first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
in this embodiment, the electronic device may be an intelligent electronic device such as a mobile phone and a tablet computer.
In this embodiment, the first prompt message may be update information of an application program in the electronic device; or the first prompt message is unprocessed information in the electronic equipment, such as missed call information, unread short messages and the like; the application program is any program installed in the electronic equipment.
In this embodiment, the electronic device may periodically determine whether the first prompt information exists; specifically, the electronic device may preset a time interval; when the time interval is reached, the electronic device determines whether the first prompt information exists, and at this time, when the first prompt information does not exist in the electronic device, the electronic device maintains the second state of the first light-emitting device because the first light-emitting device is in the second state before the step 301 is executed, where the second state corresponds to a state where a light source in the first light-emitting device does not emit light; when the time interval is reached again, the electronic equipment judges whether the first prompt information exists or not again, and the process is repeated so as to control the light-emitting function of the first light-emitting device, so that the purpose of prompting a user of the electronic equipment is achieved. Further, the electronic device according to the embodiment of the present invention may be provided with a timer, and when the timer reaches a time interval, the electronic device is triggered to determine whether the first prompt information exists in the electronic device, so as to implement the above process.
Step 302: when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result;
in this embodiment, the first preset rule may represent that the first prompt information is unprocessed information corresponding to a first type of application installed in the electronic device; specifically, the first preset rule may represent that the first prompt message is an unread short message or a missed call message.
It should be noted that, in practical applications, the first preset rule may be set arbitrarily according to actual needs, user needs, and the like.
Step 303: when the second judgment result shows that the first prompt information meets the first preset rule, a first execution instruction is generated; step 304 is then performed;
step 304: and selecting the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction, and controlling the light-emitting function of the first light source to enable the light emitted by the first light source to penetrate through the first area.
In this embodiment, the purpose of prompting the user of the electronic device can be achieved by setting light sources with different optical properties in the first light-emitting device; for example, N light sources, namely a first light source, a second light source and an nth light source, are arranged in the first light-emitting device; the optical properties of the first light source, the second light source and the Nth light source are sequentially a first optical property, a second optical property and an Nth optical property; the first optical property, the second optical property, through the Nth optical property are different from each other; that is, N light sources having different optical properties are provided in the first light emitting device; n is a positive integer greater than or equal to 2; therefore, when the first light-emitting device is provided with light sources with different optical attributes, the type of the first prompt message can be corresponding to the light source, so that when the user of the electronic equipment observes the light source with a certain optical attribute, the type of the first prompt message can be determined, and further the user experience is improved.
Specifically, when N light sources are arranged in the first light-emitting device, the N light sources are respectively a first light source, a second light source, and an nth light source, and optical attributes of the first light source, the second light source, and the nth light source are sequentially a first optical attribute, a second optical attribute, and an nth optical attribute; the first optical property, the second optical property, through the Nth optical property are different from each other; associating the N light sources with N types of reminder information in the electronic device; the light sources correspond to the types of the prompt messages one by one; wherein N is a positive integer greater than or equal to 2; in this way, when the second judgment result shows that the first prompt information meets the first preset rule, a first execution instruction is generated; the electronic equipment selects the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction, and controls the light emitting function of the first light source to enable light emitted by the first light source to penetrate through the first area. Further, when the user of the electronic device observes the first light source with the first optical attribute, the type of the prompt message can be determined according to the optical attribute of the first light source, and therefore the control method of the embodiment improves user experience.
In this embodiment, the optical property may specifically be a color property of light.
In this embodiment, the purpose of prompting the user of the electronic device can be achieved by controlling the light emitting manner of the light source in the first light emitting device.
In an embodiment, the selecting the first light source having the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction and controlling the light emitting function of the first light source to enable the light emitted by the first light source to pass through the first area may specifically include:
selecting the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction;
determining a first light emitting mode of the first light source according to the first execution instruction;
and controlling the first light source to emit light in the first light emitting mode, so that light emitted by the first light source penetrates through the first area, and an observer can observe the light emitted by the first light source with the first optical property in the first light emitting mode through the first area.
Step 305: when the second judgment result shows that the first prompt information does not meet the first preset rule, generating a first execution instruction; step 306 is then performed;
step 306: and closing the light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in a light-off state.
In this embodiment, since the main execution body of the control method is an electronic device, steps 303 and 306 may specifically be: when the second judgment result shows that the first prompt information meets the first preset rule, the electronic device generates a first execution instruction, and then the electronic device: selecting the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction, and controlling the light emitting function of the first light source to enable the light emitted by the first light source to penetrate through the first area; or,
when the second judgment result shows that the first prompt information does not meet the first preset rule, the electronic equipment generates a first execution instruction, and then the electronic equipment closes the light-emitting function of the first light-emitting device according to the first execution instruction, so that the first light-emitting device is in a light-off state.
The embodiments of the present invention are further described in detail in the following three application scenarios:
the application scene one:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; setting N light sources as a first light source, a second light source and an Nth light source in the first light-emitting device, wherein the optical attributes of the first light source, the second light source and the Nth light source are a first optical attribute, a second optical attribute and an Nth optical attribute in sequence; the first optical property, the second optical property, through the Nth optical property are different from each other; associating the N light sources with N types of reminder information in the electronic device; the light sources correspond to the types of the prompt messages one by one; wherein N is a positive integer greater than or equal to 2; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is an unread short message or missed call message;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt information satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt information satisfies the first preset rule, at this time, the electronic device generates a first execution instruction, selects the first light source having the first optical attribute corresponding to the type of the first prompt information according to the first execution instruction, and controls the light emitting function of the first light source, so that the light emitted by the first light source penetrates through the first area, thereby facilitating observation by an observer and achieving the purpose of prompting a user of the electronic device. Further, since the first light source has the first optical property and corresponds to the first type of prompt message, when the user of the electronic device observes the first light having the first optical property, the user of the electronic device can confirm that the type of the first prompt message is the first type.
Application scenario two:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is unprocessed information in a first application program in the electronic equipment; for example, the first prompt message is unread message corresponding to the social application program;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message does not satisfy the first preset rule, that is, the second interpretation result indicates that the first prompt message does not satisfy the first preset rule, at this time, the electronic device generates a first execution instruction, and turns off the light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in an off state; here, since the first light-emitting device is already in the second state, that is, the off state, the turning off the light-emitting function of the first light-emitting device according to the first execution instruction makes the first light-emitting device in the off state, specifically: and controlling the first light-emitting device to be maintained in the second state according to the first execution instruction.
Application scenario three:
when the electronic equipment is in a power-on state but a display area in a display unit of the electronic equipment is in a power-off state, the first light-emitting device is in the second state; setting N light sources as a first light source, a second light source and an Nth light source in the first light-emitting device, wherein the optical attributes of the first light source, the second light source and the Nth light source are a first optical attribute, a second optical attribute and an Nth optical attribute in sequence; the first optical property, the second optical property, through the Nth optical property are different from each other; associating the N light sources with N types of reminder information in the electronic device; the light sources correspond to the types of the prompt messages one by one; wherein N is a positive integer greater than or equal to 2; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result;
and when the first judgment result shows that the first prompt message does not exist in the electronic equipment, generating a fourth execution instruction to control the first light-emitting device to maintain the second state.
When the time interval is reached, triggering the electronic equipment to judge whether the first prompt information exists in the electronic equipment, and acquiring a first judgment result; the above steps are circulated until the first judgment result shows that the first prompt message exists in the electronic equipment; at this time, the first prompt message existing in the electronic equipment is an unread short message or missed call message;
further, when the first judgment result shows that the first prompt message exists in the electronic device, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt information satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt information satisfies the first preset rule, at this time, the electronic device generates a first execution instruction, selects the first light source having the first optical attribute corresponding to the type of the first prompt information according to the first execution instruction, and controls the light emitting function of the first light source, so that the light emitted by the first light source penetrates through the first area, thereby facilitating observation by an observer and achieving the purpose of prompting a user of the electronic device. Further, since the first light source has the first optical property and corresponds to the first type of prompt message, when the user of the electronic device observes the first light having the first optical property, the user of the electronic device can confirm that the type of the first prompt message is the first type.
According to the control method provided by the embodiment of the invention, the first light-emitting device is arranged in the electronic equipment, and the first area is arranged in the first key, wherein the first light-emitting device corresponds to the first area, so that a light source of the first light-emitting device can be observed by an observer through the first area.
Example four
FIG. 4 is a schematic diagram illustrating a fourth implementation flow of the control method according to the embodiment of the present invention; the method is applied to an electronic device; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can be observed by an observer through the first area; as shown in fig. 4, the method includes:
step 401: judging whether a display area of the electronic equipment is in a first display state or not, and acquiring a third judgment result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
step 402: when the third judgment result shows that the display area of the electronic equipment is in the first display state, judging whether first prompt information exists in the electronic equipment or not;
in this embodiment, the electronic device may be an intelligent electronic device such as a mobile phone and a tablet computer.
In this embodiment, the first prompt message may be update information of an application program in the electronic device; or the first prompt message is unprocessed information in the electronic equipment, such as missed call information, unread short messages and the like; the application program is any program installed in the electronic equipment.
In this embodiment, the electronic device may periodically determine whether the first prompt information exists; specifically, the electronic device may preset a time interval; when the time interval is reached, the electronic device determines whether the first prompt information exists, and at this time, when the first prompt information does not exist in the electronic device, the electronic device maintains the second state of the first light-emitting device because the first light-emitting device is in the second state before the step 402 is executed, where the second state corresponds to a state where a light source in the first light-emitting device does not emit light; when the time interval is reached again, the electronic equipment judges whether the first prompt information exists or not again, and the process is repeated so as to control the light-emitting function of the first light-emitting device, so that the purpose of prompting a user of the electronic equipment is achieved. Further, the electronic device according to the embodiment of the present invention may be provided with a timer, and when the timer reaches a time interval, the electronic device is triggered to determine whether the first prompt information exists in the electronic device, so as to implement the above process.
Step 403: when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result;
in this embodiment, the first preset rule may represent that the first prompt information is unprocessed information corresponding to a first type of application installed in the electronic device; specifically, the first preset rule may represent that the first prompt message is an unread short message or a missed call message.
It should be noted that, in practical applications, the first preset rule may be set arbitrarily according to actual needs, user needs, and the like.
Step 404: generating a first execution instruction based on the second judgment result;
step 405: and controlling the light emitting function of the first light emitting device according to the first execution instruction, so that the light emitting state of the first light emitting device corresponds to the first execution instruction.
In this embodiment, since the main execution body of the control method is an electronic device, steps 404 and 405 may specifically be: and the electronic equipment generates a first execution instruction based on the second judgment result, and then controls the light-emitting function of the first light-emitting device according to the first execution instruction, so that the light-emitting state of the first light-emitting device corresponds to the first execution instruction.
The method specifically comprises the following steps: when the second judgment result shows that the first prompt information meets the first preset rule, the electronic equipment generates a first execution instruction, and then the electronic equipment starts the light-emitting function of the first light-emitting device according to the first execution instruction, so that a first light source in the first light-emitting device penetrates through the first area; or,
when the second judgment result shows that the first prompt information does not meet the first preset rule, the electronic equipment generates a first execution instruction, and then the electronic equipment closes the light-emitting function of the first light-emitting device according to the first execution instruction, so that the first light-emitting device is in a light-off state.
Step 406: when the third judgment result shows that the display area of the electronic equipment is not in the first display state, generating a second execution instruction; step 407 is executed;
step 407: and closing the light emitting function of the first light emitting device according to the second execution instruction, so that the first light emitting device is in a turned-off state.
In this embodiment, when the third determination result indicates that the display area of the electronic device is not in the first display state, that is, the display area of the electronic device is in an activated state, at this time, the first light-emitting device does not need to execute a prompt function, so that the light-emitting function of the first light-emitting device is turned off, and the first light-emitting device is in an off state. Further, if at this time, when the first light-emitting device is in the off state, correspondingly, the turning off the light-emitting function of the first light-emitting device according to the second execution instruction to make the first light-emitting device in the off state may specifically be: maintaining the second state of the first light-emitting device according to the second execution instruction; the second state is a state corresponding to the light source in the first light-emitting device not emitting light.
The embodiments of the present invention are further described in detail in the following three application scenarios:
the application scene one:
when the electronic device is in a power-on state but a display area in a display unit of the electronic device is in a power-off state, that is, the display area of the electronic device is in the first display state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is an unread short message or missed call message;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt message satisfies the first preset rule, at this time, the electronic device generates a first execution instruction, and turns on the light emitting function of the first light emitting device according to the first execution instruction, so that the first light source in the first light emitting device penetrates through the first area, so that the observer can observe the first light source, and the purpose of prompting the user of the electronic device is achieved.
Application scenario two:
when the electronic device is in a power-on state but a display area in a display unit of the electronic device is in a power-off state, that is, the display area of the electronic device is in the first display state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is unprocessed information in a first application program in the electronic equipment; for example, the first prompt message is unread message corresponding to the social application program;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message does not satisfy the first preset rule, that is, the second interpretation result indicates that the first prompt message does not satisfy the first preset rule, at this time, the electronic device generates a first execution instruction, and turns off the light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in an off state; here, since the first light-emitting device is already in the second state, that is, the off state, the turning off the light-emitting function of the first light-emitting device according to the first execution instruction makes the first light-emitting device in the off state, specifically: and controlling the first light-emitting device to be maintained in the second state according to the first execution instruction.
Application scenario three:
when the electronic device is in a power-on state but a display area in a display unit of the electronic device is in a power-off state, that is, the display area of the electronic device is in the first display state, the first light-emitting device is in the second state; at this time, the process of the present invention,
judging whether the first prompt information exists in the electronic equipment or not, and acquiring a first judgment result;
and when the first judgment result shows that the first prompt message does not exist in the electronic equipment, generating a fourth execution instruction to control the first light-emitting device to maintain the second state.
When the time interval is reached, triggering the electronic equipment to judge whether the first prompt information exists in the electronic equipment, and acquiring a first judgment result; the above steps are circulated until the first judgment result shows that the first prompt message exists in the electronic equipment; at this time, the first prompt message existing in the electronic equipment is an unread short message or missed call message;
further, when the first judgment result shows that the first prompt message exists in the electronic device, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result; the first preset rule is used for representing a rule that the first prompt message is an unread short message or missed call message;
obviously, the first prompt message satisfies the first preset rule, that is, the second interpretation result indicates that the first prompt message satisfies the first preset rule, at this time, the electronic device generates a first execution instruction, and turns on the light emitting function of the first light emitting device according to the first execution instruction, so that the first light source in the first light emitting device penetrates through the first area, so that the observer can observe the first light source, and the purpose of prompting the user of the electronic device is achieved.
According to the control method provided by the embodiment of the invention, the first light-emitting device is arranged in the electronic equipment, and the first area is arranged in the first key, wherein the first light-emitting device corresponds to the first area, so that a light source of the first light-emitting device can be observed by an observer through the first area.
EXAMPLE five
Based on the control method in the first embodiment, in this embodiment, the method further includes:
when the first light-emitting device is in a first state, receiving a first operation through the first key; the first state is a state corresponding to the light emitted by a light source in the first light-emitting device;
generating a third execution instruction based on the first operation;
and closing the light emitting function of the first light emitting device according to the third execution instruction, so that the first light emitting device is in a turned-off state.
In this embodiment, when the first light emitting device is in a first state, that is, a light source in the first light emitting device transmits light through the first region, at this time, if the electronic device receives a first operation through the first key, a light emitting function of the first light emitting device may be turned off, so that the first light emitting device is in an off state.
In this embodiment, the first key is a virtual key or a physical key; specifically, when the first key is a virtual key, the first operation may be a touch operation with respect to the first key; when the first key is a physical key, the first operation may be a single-click operation with respect to the first key.
EXAMPLE six
FIG. 5 is a first schematic structural diagram of an electronic device according to an embodiment of the invention; fig. 6 is a schematic diagram illustrating a positional relationship between a first key of an electronic device and a light source of a first light-emitting device according to an embodiment of the invention; as shown in fig. 5 and 6, the electronic device includes a first key 61 and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key 61; the first area corresponds to the first light emitting device such that the light source 62 of the first light emitting device can transmit through the first area; the electronic device further includes:
a first judging unit 51, configured to judge whether a first prompt message exists in the electronic device, and obtain a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
a second judging unit 52, configured to, when the first judgment result indicates that the first prompt information exists in the electronic device, judge whether the first prompt information meets a first preset rule, and obtain a second judgment result;
a first instruction generating unit 53 configured to generate a first execution instruction based on the second determination result;
a first control unit 54, configured to control a light emitting function of the first light emitting device according to the first execution instruction, so that a light emitting state of the first light emitting device corresponds to the first execution instruction.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description related to the foregoing control method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE seven
Based on the electronic device described in the sixth embodiment, in this embodiment, the first instruction generating unit is further configured to generate a first execution instruction when the second determination result indicates that the first prompt information satisfies the first preset rule;
correspondingly, the first control unit is further configured to turn on a light emitting function of the first light emitting device according to the first execution instruction, so that the first light source in the first light emitting device penetrates through the first area.
In this embodiment, the first instruction generating unit is further configured to generate a first execution instruction when the second determination result indicates that the first prompt information does not satisfy the first preset rule;
correspondingly, the first control unit is further configured to turn off a light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in an off state.
In this embodiment, at least a first light source having a first optical property is disposed in the first light emitting device; in a corresponding manner, the first and second electrodes are,
the first control unit is further configured to select the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction, and control a light emitting function of the first light source, so that light emitted by the first light source penetrates through the first area.
In this embodiment, the first determining unit is further configured to determine whether a display area of the electronic device is in a first display state, and obtain a third determination result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
and the display module is further configured to determine whether first prompt information exists in the electronic device when the third determination result indicates that the display area of the electronic device is in the first display state.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description related to the foregoing control method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
Example eight
FIG. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the invention; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; as shown in fig. 7, the electronic device further includes:
a first judging unit 51, configured to judge whether a first prompt message exists in the electronic device, and obtain a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
a second judging unit 52, configured to, when the first judgment result indicates that the first prompt information exists in the electronic device, judge whether the first prompt information meets a first preset rule, and obtain a second judgment result;
a first instruction generating unit 53 configured to generate a first execution instruction based on the second determination result;
a first control unit 54, configured to control a light emitting function of the first light emitting device according to the first execution instruction, so that a light emitting state of the first light emitting device corresponds to the first execution instruction.
A third determining unit 55, configured to determine whether a display area of the electronic device is in the first display state, and obtain a third determination result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
a second instruction generating unit 56, configured to generate a second execution instruction when the third determination result indicates that the display area of the electronic device is not in the first display state;
and a second control unit 57, configured to close a light emitting function of the first light emitting device according to the second execution instruction, so that the first light emitting device is in an off state.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description related to the foregoing control method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
Example nine
FIG. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the invention; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; as shown in fig. 8, the electronic device further includes:
a first judging unit 51, configured to judge whether a first prompt message exists in the electronic device, and obtain a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
a second judging unit 52, configured to, when the first judgment result indicates that the first prompt information exists in the electronic device, judge whether the first prompt information meets a first preset rule, and obtain a second judgment result;
a first instruction generating unit 53 configured to generate a first execution instruction based on the second determination result;
a first control unit 54, configured to control a light emitting function of the first light emitting device according to the first execution instruction, so that a light emitting state of the first light emitting device corresponds to the first execution instruction.
A receiving unit 81, configured to receive a first operation through the first key when the first light-emitting device is in a first state; the first state is a state corresponding to the light emitted by a light source in the first light-emitting device;
a third instruction generating unit 82 configured to generate a third execution instruction based on the first operation;
and a third control unit 83, configured to turn off a light emitting function of the first light emitting device according to the third execution instruction, so that the first light emitting device is in an off state.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description related to the foregoing control method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. A control method is applied to an electronic device; the electronic equipment comprises a first key and a first light-emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; the method comprises the following steps:
judging whether first prompt information exists in the electronic equipment or not, and acquiring a first judgment result; the first prompt message is used for representing unprocessed information in the electronic equipment;
when the first judgment result shows that the first prompt message exists in the electronic equipment, judging whether the first prompt message meets a first preset rule or not, and acquiring a second judgment result;
generating a first execution instruction based on the second judgment result;
and controlling the light emitting function of the first light emitting device according to the first execution instruction, so that the light emitting state of the first light emitting device corresponds to the first execution instruction.
2. The method of claim 1, wherein generating a first execution instruction based on the second determination comprises:
when the second judgment result shows that the first prompt information meets the first preset rule, a first execution instruction is generated;
correspondingly, the controlling the light emitting function of the first light emitting device according to the first execution instruction to enable the light emitting state of the first light emitting device to correspond to the first execution instruction includes:
and starting the light emitting function of the first light emitting device according to the first execution instruction, so that a first light source in the first light emitting device penetrates through the first area.
3. The method of claim 1, wherein generating a first execution instruction based on the second determination comprises:
when the second judgment result shows that the first prompt information does not meet the first preset rule, generating a first execution instruction;
correspondingly, the controlling the light emitting function of the first light emitting device according to the first execution instruction to enable the light emitting state of the first light emitting device to correspond to the first execution instruction includes:
and closing the light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in a light-off state.
4. The method of claim 2, wherein at least a first light source having a first optical property is disposed in the first light emitting device; in a corresponding manner, the first and second electrodes are,
the turning on the light emitting function of the first light emitting device according to the first execution instruction to enable the first light source in the first light emitting device to penetrate through the first area includes:
and selecting the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction, and controlling the light-emitting function of the first light source to enable the light emitted by the first light source to penetrate through the first area.
5. The method of claim 1, wherein the determining whether the first prompt message is present in the electronic device comprises:
judging whether a display area of the electronic equipment is in a first display state or not, and acquiring a third judgment result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
and when the third judgment result shows that the display area of the electronic equipment is in the first display state, judging whether first prompt information exists in the electronic equipment.
6. The method of claim 1, further comprising:
judging whether a display area of the electronic equipment is in a first display state or not, and acquiring a third judgment result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
when the third judgment result shows that the display area of the electronic equipment is not in the first display state, generating a second execution instruction;
and closing the light emitting function of the first light emitting device according to the second execution instruction, so that the first light emitting device is in a turned-off state.
7. The method of claim 1, further comprising:
when the first light-emitting device is in a first state, receiving a first operation through the first key; the first state is a state corresponding to the light emitted by a light source in the first light-emitting device;
generating a third execution instruction based on the first operation;
and closing the light emitting function of the first light emitting device according to the third execution instruction, so that the first light emitting device is in a turned-off state.
8. An electronic device includes a first key and a first light emitting device; the first key is arranged at a first position of the electronic equipment; a first region which is partially or completely transparent is arranged in the first key; the first area corresponds to the first light-emitting device, so that a light source of the first light-emitting device can penetrate through the first area; the electronic device further includes:
the first judging unit is used for judging whether first prompt information exists in the electronic equipment or not and acquiring a first judging result; the first prompt message is used for representing unprocessed information in the electronic equipment;
a second judging unit, configured to, when the first judgment result indicates that the first prompt information exists in the electronic device, judge whether the first prompt information satisfies a first preset rule, and obtain a second judgment result;
a first instruction generation unit configured to generate a first execution instruction based on the second determination result;
and the first control unit is used for controlling the light-emitting function of the first light-emitting device according to the first execution instruction, so that the light-emitting state of the first light-emitting device corresponds to the first execution instruction.
9. The electronic device according to claim 8, wherein the first instruction generating unit is further configured to generate a first execution instruction when the second determination result indicates that the first prompt information satisfies the first preset rule;
correspondingly, the first control unit is further configured to turn on a light emitting function of the first light emitting device according to the first execution instruction, so that the first light source in the first light emitting device penetrates through the first area.
10. The electronic device according to claim 8, wherein the first instruction generating unit is further configured to generate a first execution instruction when the second determination result indicates that the first prompt information does not satisfy the first preset rule;
correspondingly, the first control unit is further configured to turn off a light emitting function of the first light emitting device according to the first execution instruction, so that the first light emitting device is in an off state.
11. The electronic device according to claim 9, wherein at least a first light source having a first optical property is provided in the first light-emitting device; in a corresponding manner, the first and second electrodes are,
the first control unit is further configured to select the first light source with the first optical attribute corresponding to the type of the first prompt message according to the first execution instruction, and control a light emitting function of the first light source, so that light emitted by the first light source penetrates through the first area.
12. The electronic device according to claim 8, wherein the first determining unit is further configured to determine whether a display area of the electronic device is in a first display state, and obtain a third determination result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
and the display module is further configured to determine whether first prompt information exists in the electronic device when the third determination result indicates that the display area of the electronic device is in the first display state.
13. The electronic device of claim 8, further comprising:
the third judging unit is used for judging whether the display area of the electronic equipment is in the first display state or not and acquiring a third judging result; the first display state is a state corresponding to the situation that a display area of the electronic equipment is not activated;
the second instruction generating unit is used for generating a second execution instruction when the third judgment result shows that the display area of the electronic equipment is not in the first display state;
and the second control unit is used for closing the light-emitting function of the first light-emitting device according to the second execution instruction so as to enable the first light-emitting device to be in a light-off state.
14. The electronic device of claim 8, further comprising:
the receiving unit is used for receiving a first operation through the first key when the first light-emitting device is in a first state; the first state is a state corresponding to the light emitted by a light source in the first light-emitting device;
a third instruction generation unit configured to generate a third execution instruction based on the first operation;
and the third control unit is used for closing the light-emitting function of the first light-emitting device according to the third execution instruction so as to enable the first light-emitting device to be in a light-off state.
CN201510092108.2A 2015-02-28 2015-02-28 A kind of control method and electronic equipment Active CN104822194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510092108.2A CN104822194B (en) 2015-02-28 2015-02-28 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510092108.2A CN104822194B (en) 2015-02-28 2015-02-28 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104822194A CN104822194A (en) 2015-08-05
CN104822194B true CN104822194B (en) 2018-02-27

Family

ID=53732326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510092108.2A Active CN104822194B (en) 2015-02-28 2015-02-28 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104822194B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120162110A1 (en) * 2010-12-24 2012-06-28 Kyocera Corporation Mobile electronic device
CN203104880U (en) * 2012-12-27 2013-07-31 联想(北京)有限公司 Electronic equipment
CN103456281A (en) * 2012-06-01 2013-12-18 联想(北京)有限公司 State switching method and electronic device
CN103714796A (en) * 2012-09-28 2014-04-09 三星电子株式会社 Method and apparatus for controlling screen brightness corresponding to variation of illumination
CN103856619A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010011018A (en) * 2008-06-26 2010-01-14 Sharp Corp Portable terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120162110A1 (en) * 2010-12-24 2012-06-28 Kyocera Corporation Mobile electronic device
CN103456281A (en) * 2012-06-01 2013-12-18 联想(北京)有限公司 State switching method and electronic device
CN103714796A (en) * 2012-09-28 2014-04-09 三星电子株式会社 Method and apparatus for controlling screen brightness corresponding to variation of illumination
CN103856619A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic devices
CN203104880U (en) * 2012-12-27 2013-07-31 联想(北京)有限公司 Electronic equipment

Also Published As

Publication number Publication date
CN104822194A (en) 2015-08-05

Similar Documents

Publication Publication Date Title
KR102294180B1 (en) Electronic device and method for controlling power in electronic device
CN104954558A (en) Display method, display system and mobile terminal
US9423862B2 (en) Device and method for controlling a display in wireless terminal
CN104123001A (en) Display method and electronic device
CN113364668B (en) Message reminding method and device and electronic equipment
CN110427239A (en) A kind of event-handling method, terminal device and computer readable storage medium
US20230328018A1 (en) Sending method and apparatus, and electronic device
CN105677544B (en) Lamplight display method and light display apparatus
CN113141294B (en) Message prompting method and device and electronic equipment
US20220308710A1 (en) Information processing device, processing method, and recording medium
CN105786340A (en) Terminal screen display method and apparatus
CN111290926A (en) Terminal prompting method and device, storage medium and terminal
CN107092352A (en) A kind of screen control method answered based on distance perspective and terminal
CN111818221B (en) Screen control method, screen control device, electronic device, and storage medium
CN103916545B (en) A kind of state switching method and electronic equipment
WO2022148499A1 (en) Air conditioner and control method thereof, storage medium, and control device
CN115016868B (en) Screen control method and terminal equipment
CN104699535B (en) A kind of information processing method and electronic equipment
KR20170102794A (en) Method, apparatus and system for inputting character
CN104822194B (en) A kind of control method and electronic equipment
CN111741164B (en) Sound mode switching method and device and computer readable storage medium
CN104572193A (en) Control method among multiple apparatuses and electronic apparatus thereof
CN106020416A (en) Screen display method and device and intelligent equipment
CN108076225B (en) Notification message processing method and device
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant