CN107861620B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN107861620B
CN107861620B CN201711118073.0A CN201711118073A CN107861620B CN 107861620 B CN107861620 B CN 107861620B CN 201711118073 A CN201711118073 A CN 201711118073A CN 107861620 B CN107861620 B CN 107861620B
Authority
CN
China
Prior art keywords
unit
display mode
image
image acquisition
electronic equipment
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
CN201711118073.0A
Other languages
Chinese (zh)
Other versions
CN107861620A (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 CN201711118073.0A priority Critical patent/CN107861620B/en
Publication of CN107861620A publication Critical patent/CN107861620A/en
Application granted granted Critical
Publication of CN107861620B publication Critical patent/CN107861620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • Image Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with a first display mode and a second display mode; the electronic equipment is currently in a first display mode; detecting whether the electronic equipment is in a preset first posture or not, and generating a first detection result; when the first detection result represents that the electronic equipment is in a first posture, generating a first instruction; executing a first instruction, and starting an image acquisition unit; judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result; when the first judgment result represents that the image acquisition unit acquires the first image within a preset time, controlling the electronic equipment to switch from a first display mode to a second display mode; meanwhile, the invention also discloses an electronic device. The automatic switching of the display modes of the electronic equipment can be realized, and the humanization of the electronic equipment is reflected.

Description

Information processing method and electronic equipment
The application is a divisional application of patent application with the application number of 201410014774.X, the application date of 2014, 01, 13 and the invention name of 'an information processing method and an electronic device'.
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method applied to an electronic device and an electronic device.
Background
At present, electronic devices such as Personal Computers (PCs), smart phones, and Personal Digital assistants (PADs) are popular among users due to their own versatility. When using a certain application of the smart phone, such as a short message, the user is required to press a key capable of lighting the screen, and the lighting of the screen is convenient for the user to select the short message application on the main interface. Generally, a key for lighting a screen is disposed on the front of a mobile phone; the keys may also be located on the sides of the handset for aesthetic reasons. No matter the mobile phone is arranged on the front side or the side surface of the mobile phone, the mobile phone occupies a certain space, and the development of lightness and thinness of the mobile phone is hindered.
Disclosure of Invention
In view of the above, embodiments of the present invention provide an information processing method and an electronic device, which can automatically switch display modes of the electronic device without setting a key, reduce an occupied space, and adapt to the development of lightness and thinness of the electronic device.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
an information processing method of an embodiment of the present invention is applied to an electronic device, and the electronic device includes: the device comprises an image acquisition unit and a display unit; the display unit is provided with a first display mode and a second display mode; the method comprises the following steps:
when the electronic equipment is in a first display mode, a display unit presents with a first brightness value, detects whether the electronic equipment is in a preset first posture, and generates a first detection result;
the first posture is that a screen of the electronic equipment set by the user and the face of the user are maintained in a relative position relation of the screen and the face of the user;
when the first detection result represents that the electronic equipment is in the first posture, generating a first instruction;
executing the first instruction, and starting the image acquisition unit;
judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result;
when the first judgment result represents that the image acquisition unit acquires the first image within a preset time, the electronic equipment is controlled to be switched from the first display mode to the second display mode, the display unit is presented with a second brightness value, and the second brightness value is different from the first brightness value.
In the above scheme, the method further comprises:
and when the first judgment result represents that the image acquisition unit does not acquire the first image within a preset time, the image acquisition unit is closed, and the electronic equipment is continuously in the first display mode.
In the above scheme, the preset first image is a face image.
An electronic device according to an embodiment of the present invention includes: the device comprises an image acquisition unit and a display unit; the display unit is provided with a first display mode and a second display mode, and the display unit is currently in the first display mode and is presented with a first brightness value; the electronic device includes: the device comprises a first generating unit, a second generating unit, a starting unit, a third generating unit and a first control unit; wherein the content of the first and second substances,
the first generating unit is used for detecting whether the first gesture is in a preset first gesture or not and generating a first detection result;
the first posture is that a screen of the electronic equipment set by the user and the face of the user are maintained in a relative position relation of the screen and the face of the user;
the second generation unit is used for generating a first instruction when the first detection result is characterized to be in the first posture;
the starting unit is used for executing the first instruction and starting the image acquisition unit;
the third generating unit is used for judging whether the image acquisition unit acquires a preset first image within a preset time and generating a first judgment result;
the first control unit is used for controlling the display unit to switch from the first display mode to the second display mode when the first judgment result represents that the image acquisition unit acquires the first image within a preset time;
when the display unit is in a second display mode, the display unit is presented with a second brightness value, and the second brightness value is different from the first brightness value.
In the above solution, the electronic device further includes: and the second control unit is further used for controlling the image acquisition unit to be closed and controlling the image acquisition unit to be continuously in the first display mode when the first judgment result represents that the first image is not acquired by the image acquisition unit within a preset time.
In the above scheme, the preset first image is a face image.
The information processing method provided by the embodiment of the invention is applied to electronic equipment, and the electronic equipment comprises the following steps: the device comprises an image acquisition unit and a display unit; the display unit is provided with a first display mode and a second display mode; the method comprises the following steps: when the electronic equipment is in a first display mode, a display unit presents with a first brightness value, detects whether the electronic equipment is in a preset first posture, and generates a first detection result; the first posture is that a screen of the electronic equipment set by the user and the face of the user are maintained in a relative position relation of the screen and the face of the user; when the first detection result represents that the electronic equipment is in the first posture, generating a first instruction; executing the first instruction, and starting the image acquisition unit; judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result; when the first judgment result represents that the image acquisition unit acquires the first image within a preset time, the electronic equipment is controlled to be switched from the first display mode to the second display mode, the display unit is presented with a second brightness value, and the second brightness value is different from the first brightness value.
By utilizing the technical scheme of the embodiment of the invention, the automatic switching of the display mode of the electronic equipment can be realized without additionally arranging a display mode switching key, the occupied space is reduced, the development of lightness and thinness of the electronic equipment is adapted, and the humanization of the electronic equipment is reflected.
Drawings
FIG. 1 is a flow chart of a first embodiment of an information processing method of the present invention;
FIG. 2 is a flow chart of a second embodiment of the information processing method of the present invention;
FIG. 3 is a flow chart of a third embodiment of the information processing method of the present invention;
FIG. 4 is a schematic diagram of a first embodiment of an electronic device according to the present invention;
FIG. 5 is a schematic diagram of a second embodiment of the electronic device of the present invention;
fig. 6 is a schematic composition diagram of an electronic device according to a third embodiment of the invention.
Detailed Description
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
A first embodiment of an information processing method provided by the present invention is applied to an electronic device, where the electronic device includes: the device comprises an image acquisition unit and a display unit; the display unit is provided with a first display mode and a second display mode, and the electronic equipment is in the first display mode currently; when the electronic equipment is in a first display mode, the display unit presents at a first brightness value; when the electronic equipment is in a second display mode, the display unit presents at a second brightness value; the first luminance value is different from the second luminance value. The first display mode may be a black screen; the second display mode may be a bright screen; the image acquisition unit may be a camera.
Fig. 1 is a flowchart of a first embodiment of the information processing method of the present invention, as shown in fig. 1, the method includes:
and 11, detecting whether the electronic equipment is in a preset first posture, and generating a first detection result.
Here, the first posture may be that the screen of the electronic device placed by the user is maintained in a certain positional relationship with the face of the user, such as the screen of the electronic device is opposed to the face of the user.
Detecting whether a screen of the electronic device is opposite to a face of a user when the electronic device is in a black screen.
In this embodiment, the detection of the first posture is completed by a chip, such as a Micro Control Unit (MCU) or a Digital Signal Processor (DSP), which is preset in the electronic device, and detection is performed without an Application Processor (AP) of the electronic device. The detection process of the chip on the first posture can be realized through an acceleration sensor, a gravity sensor, an air pressure sensor and the like, and for the specific realization process, reference is made to relevant descriptions, which are not repeated herein.
And step 12, when the first detection result represents that the electronic equipment is in the first posture, generating a first instruction.
And step 13, executing the first instruction and starting the image acquisition unit.
And step 14, judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result.
Here, the preset first image may be a human face image; the face image may or may not be a face image of the electronic device owner.
And step 15, when the first judgment result indicates that the image acquisition unit acquires the first image within a preset time, controlling the electronic device to switch from the first display mode to the second display mode, wherein the display unit is presented with a second brightness value, and the second brightness value is different from the first brightness value.
When the electronic equipment faces the face of the user and the image acquisition unit obtains the face image, the electronic equipment is controlled to be switched from a black screen mode to a bright screen mode for the user to perform subsequent operation. For example, when the mobile phone is detected to be in front of eyes, a camera is started to verify a human face, and the screen is lightened when the verification is passed.
Therefore, by using the scheme of the embodiment, the display modes of the electronic equipment can be automatically switched without manual switching, so that the manpower is saved, and the humanization of the electronic equipment is reflected; meanwhile, corresponding keys do not need to be additionally arranged for realizing the display mode switching function, so that the occupied space is saved, and the development of the lightness and thinness of the mobile phone is adapted.
A second embodiment of the information processing method provided by the present invention is applied to an electronic device, where the electronic device includes: the device comprises an image acquisition unit and a display unit; the electronic equipment is provided with a first display mode and a second display mode, and the display unit is in the first display mode currently; when the electronic equipment is in a first display mode, the display unit presents at a first brightness value; when the electronic equipment is in a second display mode, the display unit presents at a second brightness value; the first luminance value is different from the second luminance value. The first display mode may be a black screen; the second display mode may be a bright screen; the image acquisition unit may be a camera.
Fig. 2 is a flowchart of a second embodiment of the information processing method of the present invention, as shown in fig. 2, the method includes:
and step 21, detecting whether the electronic equipment is in a preset first posture, and generating a first detection result.
Here, the first posture may be that the screen of the electronic device placed by the user is maintained in a certain positional relationship with the face of the user, such as the screen of the electronic device is opposed to the face of the user.
Detecting whether a screen of the electronic device is opposite to a face of a user when the electronic device is in a black screen. In this embodiment, the detection of the first posture is completed by a chip, such as an MCU or a DSP, which is preset in the electronic device, and the detection is performed without an AP of the electronic device. The detection process of the chip on the first posture can be realized through an acceleration sensor, a gravity sensor, an air pressure sensor and the like, and for the specific realization process, reference is made to relevant descriptions, which are not repeated herein.
And step 22, when the first detection result represents that the electronic equipment is in the first posture, generating a first instruction.
And step 23, executing the first instruction and starting the image acquisition unit.
And 24, judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result.
Here, the preset first image may be a human face image; the face image may or may not be a face image of the electronic device owner.
And 25, when the first judgment result represents that the image acquisition unit acquires the first image within a preset time, controlling the electronic equipment to switch from the first display mode to the second display mode.
When the electronic device is presented with a second brightness value, i.e. in a second display mode (bright screen), the method further comprises:
and step 26, when a first event is detected, judging whether the first event meets a preset condition, and generating a second judgment result.
Here, considering that a screen-locked interface may occur after the electronic device is switched from a dark screen to a bright screen, the first event is an unlocking operation input by a user; when the electronic equipment detects the unlocking operation input by the user, whether the unlocking password input by the user is correct or not is judged, and a second judgment result is generated.
And 27, when the second judgment result represents that the first event meets the condition, controlling a display unit of the electronic equipment to be switched from the second display mode to a third display mode.
When the second judgment result represents that the unlocking password input by the user is the correct password, the display unit of the electronic equipment is controlled to be switched from the screen locking interface to the screen unlocking interface when the screen is on. The power consumption of the electronic device when in the third display mode is different from the power consumption of the electronic device when in the second display mode.
In a preferred embodiment, after the display unit of the electronic device is switched to the third display mode, the method further includes:
a second event is detected, and an operation based on the second event is responded.
Here, the second event may be an operation performed by a user to make or receive a call, send or receive a short message, surf the internet, or the like on a non-password screen lock interface; and the electronic equipment responds to the operation, and broadcasts a telephone number or receives an incoming call, sends a short message or receives a short message or opens a webpage.
Therefore, by using the scheme of the embodiment, the display modes of the electronic equipment can be automatically switched without manual switching, so that the manpower is saved, and the humanization of the electronic equipment is reflected; meanwhile, corresponding keys do not need to be additionally arranged for realizing the display mode switching function, so that the occupied space is saved, and the development of the lightness and thinness of the mobile phone is adapted.
A third embodiment of the information processing method provided by the present invention is applied to an electronic device, where the electronic device includes: an image acquisition unit; the display unit is provided with a first display mode and a second display mode, and the electronic equipment is in the first display mode currently; when the electronic equipment is in a first display mode, the display unit presents at a first brightness value; when the electronic equipment is in a second display mode, the display unit presents at a second brightness value; the first luminance value is different from the second luminance value. The first display mode may be a black screen; the second display mode may be a bright screen; the image acquisition unit may be a camera.
Fig. 3 is a flowchart of a third embodiment of the information processing method of the present invention, as shown in fig. 3, the method includes:
step 31, detecting whether the electronic device is in a preset first posture, and generating a first detection result.
Here, the first posture may be that the screen of the electronic device placed by the user is maintained in a certain positional relationship with the face of the user, such as the screen of the electronic device is opposed to the face of the user.
Detecting whether a screen of the electronic device is opposite to a face of a user when the electronic device is in a black screen. In this embodiment, the detection of the first posture is completed by a chip, such as an MCU or a DSP, which is preset in the electronic device, and the detection is performed without an AP of the electronic device. The detection process of the chip on the first posture can be realized through an acceleration sensor, a gravity sensor, an air pressure sensor and the like, and for the specific realization process, reference is made to relevant descriptions, which are not repeated herein.
And step 32, when the first detection result represents that the electronic equipment is in the first posture, generating a first instruction.
And step 33, executing the first instruction and starting the image acquisition unit.
And step 34, judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result.
Here, the preset first image may be a human face image; the face image may or may not be a face image of the electronic device owner.
Step 35, when the first judgment result indicates that the image acquisition unit does not acquire the first image within a preset time, the image acquisition unit is turned off, and the electronic device is continuously in the first display mode.
Here, when the image acquisition unit does not acquire an image within a preset time or the acquired image is not a human face image, the electronic device turns off the image acquisition unit, and the display unit continues to present at the first brightness value.
Therefore, when the image acquisition unit does not acquire the image or the acquired image is not the face image, the electronic equipment is still in the first display mode, so that an illegal user cannot perform subsequent operation, and the operation safety is improved.
Fig. 4 is a schematic composition diagram of the electronic device according to the first embodiment of the present invention; as shown in fig. 4, the electronic apparatus includes: an image acquisition unit 400, a first generation unit 401, a second generation unit 402, a starting unit 403, a third generation unit 404 and a first control unit 405; the image capturing unit 400 may be a camera. The electronic device further includes: a display unit 406; the display unit 406 has a first display mode and a second display mode, and the display unit 406 is currently in the first display mode; when the display unit 406 is in the first display mode, it is presented with a first brightness value; when the display unit 406 is in the second display mode, presenting at a second brightness value; the first luminance value is different from the second luminance value. The first display mode may be a black screen; the second display mode may be a bright screen.
The first generating unit 401 is configured to detect whether the gesture is in a preset first gesture, and generate a first detection result;
here, the first posture may be that the screen of the electronic device placed by the user is maintained in a certain positional relationship with the face of the user, such as the screen of the electronic device is opposed to the face of the user.
In this embodiment, the detection of the first posture is completed by a chip, such as an MCU or a DSP, which is preset in the electronic device, and the detection is performed without an AP of the electronic device. The detection process of the chip on the first posture can be realized through an acceleration sensor, a gravity sensor, an air pressure sensor and the like, and for the specific realization process, reference is made to relevant descriptions, which are not repeated herein.
The second generating unit 402 is configured to generate a first instruction when the first detection result represents that the first gesture is performed;
the starting unit 403 is configured to execute the first instruction and start the image capturing unit 400;
the image acquisition unit 400 is configured to acquire a preset first image within a preset time;
here, the preset first image may be a human face image; the face image may or may not be a face image of the electronic device owner.
The third generating unit 404 is configured to determine whether the image acquiring unit 400 acquires a preset first image within a preset time, and generate a first determination result;
the first control unit 405 is configured to control the display unit 406 to switch from the first display mode to the second display mode when the first determination result indicates that the image capturing unit 400 captures the first image within a preset time.
Here, when the first generation unit 401 detects that the screen of the electronic apparatus is directed to the face of the user while the display unit 406 is presented at the second luminance value, a first detection result is generated and notified to the second generation unit 402; the second generating unit 402 receives the first detection result and generates a first instruction; the starting unit 403 executes the first instruction to start the image acquisition unit 400; the image acquisition unit 400 acquires a user image within a preset time; when the third generating unit 404 determines that the image acquisition unit 400 acquires a face image within a preset time, a determination result is generated, and the first control unit 405 is notified of the determination result; the first control unit 405 controls the electronic device to switch from a black screen to a bright screen.
Therefore, by using the scheme of the embodiment, the automatic switching of the display modes can be realized without manually switching from the black screen to the bright screen, so that the labor is saved, and the humanization of the electronic equipment is embodied; meanwhile, corresponding keys do not need to be additionally arranged for realizing the display mode switching function, so that the occupied space is saved, and the development of the lightness and thinness of the mobile phone is adapted.
Fig. 5 is a schematic composition diagram of a second embodiment of the electronic device according to the present invention; as shown in fig. 5, the electronic device includes: an image acquisition unit 500, a first generation unit 501, a second generation unit 502, a starting unit 503, a third generation unit 504, a first control unit 505, a detection unit 506, a fourth generation unit 507 and a third control unit 508; the image capturing unit 500 may be a camera. The electronic device further includes: a display unit 509; the display unit 509 has a first display mode and a second display mode, and the display unit 509 is currently in the first display mode; when the display unit 509 is in the first display mode, it is presented with a first brightness value; when the display unit 509 is in the second display mode, it is presented at a second brightness value; the first luminance value is different from the second luminance value. The first display mode may be a black screen; the second display mode may be a bright screen.
The first generating unit 501 is configured to detect whether the gesture is in a preset first gesture, and generate a first detection result;
here, the first posture may be that the screen of the electronic device placed by the user is maintained in a certain positional relationship with the face of the user, such as the screen of the electronic device is opposed to the face of the user.
Detecting whether a screen of the electronic device is opposite to a face of a user when the electronic device is in a black screen.
In this embodiment, the detection of the first posture is completed by a chip, such as an MCU or a DSP, which is preset in the electronic device, and the detection is performed without an AP of the electronic device. The detection process of the chip on the first posture can be realized through an acceleration sensor, a gravity sensor, an air pressure sensor and the like, and for the specific realization process, reference is made to relevant descriptions, which are not repeated herein.
The second generating unit 502 is configured to generate a first instruction when the first detection result represents that the first gesture is performed;
the starting unit 503 is configured to execute the first instruction and start the image acquisition unit 500;
the image acquisition unit 500 is configured to acquire a preset first image within a preset time;
here, the preset first image may be a human face image; the face image may or may not be a face image of the electronic device owner.
The third generating unit 504 is configured to determine whether the image acquiring unit 500 acquires a preset first image within a preset time, and generate a first determination result;
the first control unit 505 is configured to control the display unit 508 to switch from the first display mode to the second display mode when the first determination result indicates that the image capturing unit 500 captures the first image within a preset time.
When the first control unit 505 controls the display unit 509 to display at the second luminance value,
the detecting unit 506 is configured to trigger the fourth generating unit 507 when a first event is detected;
the fourth generating unit 507 is configured to determine whether the first event meets a preset condition, and generate a second determination result;
the third controlling unit 508 is configured to control the displaying unit 509 to switch from the second display mode to a third display mode when the second determination result indicates that the first event meets the condition.
Here, the first event is an unlocking operation input by a user; the power consumption when the display unit 509 is in the third display mode is different from the power consumption when the display unit 509 is in the second display mode.
Here, when the first generation unit 501 detects that the screen of the electronic apparatus is directed to the face of the user while the electronic apparatus is in a black screen, a first detection result is generated and notified to the second generation unit 502; the second generating unit 502 receives the first detection result and generates a first instruction; the starting unit 503 executes the first instruction to start the image acquisition unit 500; the image acquisition unit 500 acquires a face within a preset time; when the third generating unit 504 determines that the image acquisition unit 500 acquires a face image within a preset time, a determination result is generated and the first control unit 505 is notified of the determination result; the first control unit 505 controls the electronic device to switch from a black screen to a bright screen. When the detecting unit 506 detects that the unlocking operation input by the user is performed, the fourth generating unit 507 determines whether the unlocking password input by the user is correct, and generates a second determination result. When the second determination result indicates that the unlocking password input by the user is the correct password, the third control unit 508 controls the display unit 509 to switch from the screen-locking interface when the screen is on to the non-screen-locking interface.
In a preferred embodiment, the electronic device further comprises: a second detection unit and a response unit (neither shown in fig. 5); when displayed as a non-combination lock screen interface,
the second detection unit is used for detecting a second event;
the response unit is used for responding to the operation based on the second event.
Here, the second event may be an operation performed by a user to make or receive a call, send or receive a short message, surf the internet, or the like on a non-password screen lock interface; and the electronic equipment responds to the operation, and broadcasts a telephone number or receives an incoming call, sends a short message or receives a short message or opens a webpage.
Therefore, by using the scheme of the embodiment, the display modes of the electronic equipment can be automatically switched without manual switching, so that the manpower is saved, and the humanization of the electronic equipment is reflected; meanwhile, corresponding keys do not need to be additionally arranged for realizing the display mode switching function, so that the occupied space is saved, and the development of the lightness and thinness of the mobile phone is adapted.
Fig. 6 is a schematic composition diagram of a third embodiment of an electronic device according to the present invention; as shown in fig. 6, the electronic apparatus includes: an image acquisition unit 600, a first generation unit 601, a second generation unit 602, a starting unit 603, a third generation unit 604 and a second control unit 605; the image capturing unit 600 may be a camera. The electronic device further includes: a display unit 606; the display unit 606 has a first display mode and a second display mode, and the display unit 606 is currently in the first display mode; when the display unit 606 is in the first display mode, it is presented with a first brightness value; when the display unit 606 is in the second display mode, presenting at a second brightness value; the first luminance value is different from the second luminance value. The first display mode may be a black screen; the second display mode may be a bright screen.
The first generating unit 601 is configured to detect whether the gesture is in a preset first gesture, and generate a first detection result;
here, the first posture may be that the screen of the electronic device placed by the user is maintained in a certain positional relationship with the face of the user, such as the screen of the electronic device is opposed to the face of the user.
Detecting whether a screen of the electronic device is opposite to a face of a user when the electronic device is in a black screen. In this embodiment, the detection of the first posture is completed by a chip, such as an MCU, or a DSP, which is preset in the electronic device, and the detection is performed without an AP of the electronic device. The detection process of the chip on the first posture can be realized through an acceleration sensor, a gravity sensor, an air pressure sensor and the like, and for the specific realization process, reference is made to relevant descriptions, which are not repeated herein.
The second generating unit 602 is configured to generate a first instruction when the first detection result represents that the first gesture is performed;
the starting unit 603 is configured to execute the first instruction and start the image acquisition unit 600;
the image acquisition unit 600 is configured to acquire a preset first image within a preset time;
here, the preset first image may be a human face image; the face image may or may not be a face image of the electronic device owner.
The third generating unit 604 is configured to determine whether the image acquiring unit 600 acquires a preset first image within a preset time, and generate a first determination result;
the second control unit 605 is further configured to control the image capturing unit 600 to be turned off and to be continuously in the first display mode when the first determination result indicates that the first image is not captured by the image capturing unit 600 within a preset time.
Here, when the first generation unit 601 detects that the screen of the electronic apparatus is directed to the face of the user while the electronic apparatus is in a black screen, a first detection result is generated and notified to the second generation unit 602; the second generating unit 602 receives the first detection result and generates a first instruction; the starting unit 603 executes the first instruction to start the image acquisition unit 600; the image acquisition unit 600 acquires a face within a preset time; when the third generating unit 604 determines that the image capturing unit 600 does not capture the face image within the preset time, a determination result is generated, and the determination result is notified to the second control unit 605; the second control unit 605 controls the image capturing unit 600 to be turned off, and controls the display unit 606 to be continuously in the black screen mode.
As can be seen from the above, when the image acquired by the image acquisition unit is not a face image, the display unit 606 is still in the first display mode, so that an illegal user cannot perform subsequent operations, thereby improving the operation security.
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.
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 (6)

1. An information processing method applied to an electronic device, the electronic device comprising: the device comprises an image acquisition unit and a display unit; the display unit is provided with a first display mode and a second display mode; the method comprises the following steps:
when the electronic equipment is in a first display mode, a display unit presents with a first brightness value, detects whether the electronic equipment is in a preset first posture, and generates a first detection result;
the first posture is that a screen of the electronic equipment set by the user and the face of the user are maintained in a relative position relation of the screen and the face of the user;
when the first detection result represents that the electronic equipment is in the first posture, generating a first instruction;
executing the first instruction, and starting the image acquisition unit;
judging whether the image acquisition unit acquires a preset first image within a preset time, and generating a first judgment result;
when the first judgment result represents that the image acquisition unit acquires the first image within a preset time, the electronic equipment is controlled to be switched from the first display mode to the second display mode, the display unit is presented with a second brightness value, and the second brightness value is different from the first brightness value.
2. The method of claim 1, further comprising:
and when the first judgment result represents that the image acquisition unit does not acquire the first image within a preset time, the image acquisition unit is closed, and the electronic equipment is continuously in the first display mode.
3. The method according to claim 1 or 2, wherein the preset first image is a face image.
4. An electronic device, characterized in that the electronic device comprises: the device comprises an image acquisition unit and a display unit; the display unit is provided with a first display mode and a second display mode, and the display unit is currently in the first display mode and is presented with a first brightness value; the electronic device includes: the device comprises a first generating unit, a second generating unit, a starting unit, a third generating unit and a first control unit; wherein the content of the first and second substances,
the first generating unit is used for detecting whether the first gesture is in a preset first gesture or not and generating a first detection result;
the first posture is that a screen of the electronic equipment set by the user and the face of the user are maintained in a relative position relation of the screen and the face of the user;
the second generation unit is used for generating a first instruction when the first detection result is characterized to be in the first posture;
the starting unit is used for executing the first instruction and starting the image acquisition unit;
the third generating unit is used for judging whether the image acquisition unit acquires a preset first image within a preset time and generating a first judgment result;
the first control unit is used for controlling the display unit to switch from the first display mode to the second display mode when the first judgment result represents that the image acquisition unit acquires the first image within a preset time;
when the display unit is in a second display mode, the display unit is presented with a second brightness value, and the second brightness value is different from the first brightness value.
5. The electronic device of claim 4, further comprising: and the second control unit is further used for controlling the image acquisition unit to be closed and controlling the image acquisition unit to be continuously in the first display mode when the first judgment result represents that the first image is not acquired by the image acquisition unit within a preset time.
6. The electronic device according to claim 4 or 5, wherein the preset first image is a face image.
CN201711118073.0A 2014-01-13 2014-01-13 Information processing method and electronic equipment Active CN107861620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711118073.0A CN107861620B (en) 2014-01-13 2014-01-13 Information processing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410014774.XA CN103760978B (en) 2014-01-13 2014-01-13 A kind of information processing method and electronic equipment
CN201711118073.0A CN107861620B (en) 2014-01-13 2014-01-13 Information processing method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410014774.XA Division CN103760978B (en) 2014-01-13 2014-01-13 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107861620A CN107861620A (en) 2018-03-30
CN107861620B true CN107861620B (en) 2020-06-23

Family

ID=50528230

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410014774.XA Active CN103760978B (en) 2014-01-13 2014-01-13 A kind of information processing method and electronic equipment
CN201711118073.0A Active CN107861620B (en) 2014-01-13 2014-01-13 Information processing method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410014774.XA Active CN103760978B (en) 2014-01-13 2014-01-13 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (2) CN103760978B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184891A (en) * 2014-08-12 2014-12-03 上海天奕达电子科技有限公司 Screen display method and screen display device
CN105425933A (en) * 2014-09-23 2016-03-23 联想(北京)有限公司 Information processing method and electronic device
CN104331149B (en) * 2014-09-29 2018-08-10 联想(北京)有限公司 A kind of control method, device and electronic equipment
CN106096367A (en) * 2016-06-08 2016-11-09 北京奇虎科技有限公司 A kind of mobile terminal wakes up processing method, device and equipment up
CN114222021B (en) * 2020-09-03 2023-01-17 荣耀终端有限公司 Screen-off display method, electronic device and storage medium
CN113051946B (en) * 2021-03-31 2023-09-19 联想(北京)有限公司 Detection system and detection method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012029217A (en) * 2010-07-27 2012-02-09 Kyocera Corp Portable terminal device
CN102163081A (en) * 2011-05-13 2011-08-24 北京新岸线软件科技有限公司 Method, electronic equipment and device for screen interaction
CN102236407A (en) * 2011-06-29 2011-11-09 华为终端有限公司 Method for controlling state of mobile terminal and mobile terminal
CN103024135A (en) * 2011-09-28 2013-04-03 浪潮乐金数字移动通信有限公司 Mobile terminal unlocking device and unlocking method thereof
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
US20130194172A1 (en) * 2012-01-30 2013-08-01 Cellco Partnership D/B/A Verizon Wireless Disabling automatic display shutoff function using face detection
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN103092344A (en) * 2013-01-11 2013-05-08 深圳市金立通信设备有限公司 Method of controlling terminal screen to rotate and terminal
CN103197839A (en) * 2013-03-26 2013-07-10 北京小米科技有限责任公司 Unlocking method, device and facility
CN103391366B (en) * 2013-07-18 2015-07-08 上海华勤通讯技术有限公司 Mobile terminal and identification method thereof
CN103399642A (en) * 2013-08-21 2013-11-20 珠海市魅族科技有限公司 Screen awakening control method and terminal
CN103425402A (en) * 2013-08-28 2013-12-04 紫光股份有限公司 Detection method and device for mobile terminal posture

Also Published As

Publication number Publication date
CN103760978B (en) 2017-11-28
CN107861620A (en) 2018-03-30
CN103760978A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN107861620B (en) Information processing method and electronic equipment
CN107528938B (en) Video call method, terminal and computer readable storage medium
CN106815546B (en) Fingerprint identification method and device
EP3133528A1 (en) Method and apparatus for fingerprint identification
CN109543574B (en) Fingerprint acquisition method and related equipment
EP3046016A1 (en) Method and apparatus for switching display mode
US20170103252A1 (en) Fingerprint recognition using a liquid crystal display including fingerprint recognition sensors
WO2019157804A1 (en) Method and apparatus for fingerprint unlocking
CN109409320B (en) Fingerprint acquisition method and related equipment
EP3116165B1 (en) Method and device for testing a terminal
CN108197450B (en) Face recognition method, face recognition device, storage medium and electronic equipment
US20170143252A1 (en) Sleep state detection method, apparatus and system
CN110348186B (en) Display method based on user identity recognition and electronic equipment
CN109241954B (en) Fingerprint identification method and related equipment
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
CN106527682B (en) Method and device for switching environment pictures
CN104660907A (en) Shooting method and device as well as mobile terminal
CN109543378B (en) Fingerprint unlocking method and related equipment
CN107566643B (en) Information processing method, information processing apparatus, storage medium, and electronic device
EP3403211B1 (en) User interface for a mobile device
CN107566746B (en) Photographing method and user terminal
CN105825104B (en) A kind of method for processing business and electronic equipment based on fingerprint recognition
CN102662554A (en) Information processing apparatus and code input mode switching method thereof
EP3574448A1 (en) Method and device for acquiring feature image, and user authentication method
CN110062929A (en) A kind of method, apparatus and terminal showing data

Legal Events

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