CN110445926B - Processing method and electronic equipment - Google Patents

Processing method and electronic equipment Download PDF

Info

Publication number
CN110445926B
CN110445926B CN201910581851.2A CN201910581851A CN110445926B CN 110445926 B CN110445926 B CN 110445926B CN 201910581851 A CN201910581851 A CN 201910581851A CN 110445926 B CN110445926 B CN 110445926B
Authority
CN
China
Prior art keywords
state
processor
acquisition device
distance
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
CN201910581851.2A
Other languages
Chinese (zh)
Other versions
CN110445926A (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 CN201910581851.2A priority Critical patent/CN110445926B/en
Publication of CN110445926A publication Critical patent/CN110445926A/en
Application granted granted Critical
Publication of CN110445926B publication Critical patent/CN110445926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • 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
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Abstract

The application discloses a processing method and electronic equipment, wherein a first processor obtains a state parameter, the state parameter shows a working state of an operating system of the electronic equipment running in a second processor, if the state parameter shows that the operating system is in an idle state, a third processor controls a collecting device to obtain an environment parameter of the environment where the electronic equipment is located, if the environment parameter meets a switching condition, the first processor controls the electronic equipment to be switched from a second limit authority state to a first limit authority state, and the authority of the first limit authority state is smaller than the authority of the second limit authority state. According to the scheme, the working state of the operating system of the electronic equipment is detected at first, and if the operating system is in an idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is guaranteed, and the user experience is improved.

Description

Processing method and electronic equipment
Technical Field
The present disclosure relates to the field of processing, and in particular, to a processing method and an electronic device.
Background
At present, when electronic equipment such as a computer or a mobile phone is used, the use permission of the electronic equipment is limited only after the electronic equipment does not receive the operation of a user for a preset time, so that the purpose of protecting the privacy of the user is achieved.
However, by adopting the above manner, when the time length that the user leaves the electronic device does not reach the predetermined time length, the use permission of the electronic device is still in the state of unrestricted permission, which brings a potential safety hazard to the privacy of the user and reduces the user experience.
Disclosure of Invention
In view of the above, the present application provides a processing method and an electronic device, and the specific scheme is as follows:
a method of processing, comprising:
the method comprises the steps that a first processor obtains a state parameter, wherein the state parameter is used for indicating the working state of an operating system of the electronic equipment running in a second processor;
if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameter of the environment where the electronic equipment is located;
and if the environmental parameter meets the switching condition, the first processor controls the electronic equipment to be switched from the second limited authority state to the first limited authority state, wherein the authority of the first limited authority state is smaller than the authority of the second limited authority state.
Further, the third processor controls the acquisition device to obtain an environmental parameter of an environment where the electronic device is located, where the environmental parameter includes at least one of the following:
the third processor controls the distance acquisition device to acquire a distance data set in an acquisition range; or
The third processor controls the image acquisition device to obtain an image data set within an acquisition range; or
The third processor controls the distance acquisition device to obtain a distance data set within an acquisition range, and the third processor controls the image acquisition device to obtain an image data set within the acquisition range according to the distance data set.
Further, the image acquisition device obtains an image data set within an acquisition range, and comprises:
determining whether a first frame image and a second frame image at the current moment in an image data set obtained by the image acquisition device are changed, wherein the first frame image and the second frame image are adjacent frame images at adjacent moments;
if the first frame image and the second frame image are changed, determining that the environmental parameters do not meet the switching condition;
and if the first frame image and the second frame image are not changed, determining that the environmental parameter meets a switching condition.
Further, the third processor controls the distance acquisition device to obtain a distance data set within the acquisition range, including:
a distance acquisition device arranged on the electronic equipment body acquires a first distance data set within a first acquisition range;
if the first distance data set indicates that no target object exists in the first acquisition range, the third processor controls the distance acquisition device to adjust the acquisition range, so that the acquisition range of the distance acquisition device is adjusted from the first acquisition range to a second acquisition range;
the third processor controls the distance acquisition device to obtain a second distance data set of a second acquisition range;
if the second distance data set indicates that the target object is present within the second acquisition range, the third processor determines that the environmental parameter does not satisfy a handover condition.
Further, after the first processor controls the electronic device to be in the first restricted authority state, at least one of the following is included:
the first processor continuously obtains state parameters, so that the third processor determines whether to control the acquisition device to obtain the environmental parameters of the environment where the electronic equipment is located according to the state parameters;
or the third processor continuously controls the acquisition device to acquire the environmental parameters of the environment where the electronic equipment is located, so that the first processor determines whether to switch the limited authority state according to the environmental parameters.
Further, the method also comprises the following steps:
and if the state parameter indicates that the operating system is in an idle state, reducing the display brightness of the electronic equipment and/or the frequency of the second processor.
Further, if the environmental parameter satisfies a switching condition, the first processor controls the electronic device to switch from the second restricted permission state to the first restricted permission state, including:
if the environmental parameter meets a switching condition, the first processor controls the display brightness of the electronic equipment to be reduced to a preset brightness, and/or the frequency of the second processor is reduced to a preset frequency;
at intervals of a preset time length, the first processor controls the electronic equipment to be switched from a second permission limiting state to a first permission limiting state;
if the environmental parameter is determined not to meet the switching condition within the preset time length, the first processor controls the display brightness to be increased to the initial brightness, and/or the frequency of the second processor is increased to the initial frequency.
An electronic device, comprising:
a second processor for running an operating system of the electronic device;
the first processor is used for obtaining a state parameter, and the state parameter indicates the working state of an operating system of the electronic equipment running on the second processor;
the acquisition device is used for acquiring environmental parameters of the environment where the electronic equipment is located;
the third processor is used for controlling the acquisition device to acquire the environmental parameters of the environment where the electronic equipment is located when the state parameters indicate that the operating system is in an idle state;
the first processor is further configured to control the electronic device to be in a first restricted permission state when the environmental parameter satisfies a switching condition.
Further, in the above-mentioned case,
the first processor is connected with the second processor to obtain the state parameters of the second processor;
and the third processor is connected with the first processor and acquires the information that the state parameter of the first processor indicates that the operating system is in an idle state.
Further, the method also comprises the following steps:
a first body having a first surface;
the acquisition device is arranged in or on the first surface and is used for acquiring environmental parameters outside the first surface;
and the included angle between the collection reference direction of the collection device and the first surface does not meet the vertical condition.
According to the processing method and the electronic device disclosed by the application, the first processor obtains the state parameters, the state parameters indicate the working state of the operating system of the electronic device running on the second processor, if the state parameters indicate that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic device is located, and if the environment parameters meet the switching condition, the first processor controls the electronic device to be switched from the second limited permission state to the first limited permission state, wherein the permission of the first limited permission state is smaller than that of the second limited permission state. According to the scheme, the working state of the operating system of the electronic equipment is detected at first, and if the operating system is in an idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is guaranteed, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a processing method disclosed in an embodiment of the present application;
FIG. 2 is a flow chart of a processing method disclosed in an embodiment of the present application;
FIG. 3 is a schematic diagram of a distance data set within a collection range obtained by a distance collection device according to an embodiment of the disclosure;
fig. 4 is a schematic diagram of a length of a light ray on a shading surface of a distance collecting device disclosed in an embodiment of the present application;
fig. 5 is a schematic diagram of a length of a light ray on a light shielding surface of a distance collecting device disclosed in an embodiment of the present application;
FIG. 6 is a schematic diagram of calculating an actual distance according to an embodiment of the present disclosure;
FIG. 7 is a flow chart of a processing method disclosed in an embodiment of the present application;
FIG. 8 is a flow chart of a processing method disclosed in an embodiment of the present application;
fig. 8a is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 8b is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 8c is a schematic structural diagram of an electronic device disclosed in the embodiment of the present application;
fig. 8d is a schematic structural diagram of an electronic device disclosed in the embodiment of the present application;
fig. 8e is a schematic structural diagram of an electronic device disclosed in the embodiment of the present application;
fig. 8f is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 8g is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 8h is a schematic structural diagram of an electronic device disclosed in the embodiment of the present application;
FIG. 9 is a signal flow diagram disclosed in an embodiment of the present application;
FIG. 10 is a flow chart of a processing method disclosed in an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The application discloses a processing method, a flow chart of which is shown in fig. 1, comprising the following steps:
s11, the first processor obtains a state parameter, wherein the state parameter is used for indicating the working state of an operating system of the electronic equipment running in the second processor;
the first processor may be a system controller EC and the second processor may be different from the first processor, wherein the second processor may be a CPU. The first processor is a processor which is used for waking up the second processor when the second processor is in a closed or low-power consumption state so as to realize normal operation of the operating system, or reducing the power consumption of the second processor or closing the second processor when the second processor is in a normal operation state so as to realize sleep or low-power consumption operation of the operating system; the first processor is a processor for management control of the input/output device; the second processor is a processor for running an operating system of the electronic device; the third processor is a processor for controlling the state of the acquisition device according to the state of the operating system.
The first processor obtains a state parameter, where the state parameter is used to indicate a working state of an operating system of the second processor, where the working state of the operating system of the electronic device at least may include a work state, that is, a working state, an Idle state, that is, an Idle state, and in addition, may also include a sleep state, a hibernation state, a standby state, a shutdown state, and the like. Wherein, the Idle state is: the electronic equipment does not detect input, the Idle rate of the second processor exceeds a certain value, and the Idle time of a disk of the electronic equipment exceeds a certain duration, and at this moment, the operating system of the electronic equipment is considered to be in an Idle state.
When the operating state of the operating system of the electronic equipment running in the second processor is a working state, it indicates that a user is using the electronic equipment, and at the moment, the CPU is in a running mode with higher power consumption; when the operating state of the operating system of the electronic device running on the second processor is an idle state, it indicates that no user is currently operating the electronic device, but the display screen is in a display state, and at this time, the CPU is in a low power consumption operating mode.
The first processor obtains the state parameter of the operating system running on the second processor, which may specifically be: determining the state of the operating system by detecting the power consumption state of a second processor, namely a CPU, wherein the power consumption state of the CPU is the power saving state of the CPU, and C represents the power saving state of the CPU and is represented in a form of letters and numbers, wherein the smaller the number is, the larger the workload is; the larger the number, the more circuits and signals that are turned off, and the higher the power saving efficiency.
For example: the C0 state represents that the processor is in a full-speed running state and the energy consumption is highest; the C1 state can save about 70% of CPU power consumption relative to the C0 state, the C2 state can save about 70% of CPU power consumption and platform power consumption relative to the C0 state, the C4-C6 can reduce the CPU power consumption by reducing the CPU voltage, the C7 can represent a deep energy-saving state, and the C8-C10 are deeper energy-saving states, so that circuits or signals which cannot be closed before are closed, and the deeper energy-saving state is achieved.
The method comprises the steps of detecting whether a CPU is in a C1 state or a C2 state or a C9 state or a C10 state, indicating that the CPU is in an idle state if the CPU is in the C9 state or the C10 state, and indicating that the CPU is in a working state if the CPU is in the C1 state or the C2 state.
S12, if the state parameters indicate that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located;
the third processor may be the same as the first processor or different from the first processor and the third processor is different from the second processor. When the third processor is different from the first processor, the third processor may be a data processing chip ISH (Intel sensor hub) for processing data of each sensor in the electronic device, or may be another data processing chip.
When the state parameter indicates that the operating system is in a working state at the moment, the environment parameter of the environment where the electronic equipment is located does not need to be obtained through the acquisition device, and at the moment, the electronic equipment only needs to keep the current state to continue to operate; when the state parameter indicates that the operating system is in an idle state, it indicates that no user performs any operation on the electronic device currently, at this time, the environment parameter of the environment where the electronic device is located needs to be detected, and the third processor controls the acquisition device to acquire the environment parameter, so as to determine whether the state of the electronic device needs to be switched.
The third processor controls the acquisition device to obtain the environmental parameters of the environment where the electronic equipment is located, which can be specifically: the third processor controls the acquisition device to acquire the environmental parameters, and the environmental parameters are processed by the third processor so as to determine whether a user exists at the operation position of the electronic equipment or whether the user exists in the preset range of the electronic equipment; the method can also comprise the following steps: the third processor controls the acquisition device to acquire the environmental parameters, and the environmental parameters are processed by the third processor so as to determine whether the operation position of the electronic equipment is a target user or not, or whether the target user exists in a preset range of the electronic equipment or not.
And S13, if the environmental parameters meet the switching condition, the first processor controls the electronic equipment to be switched from the second permission limiting state to the first permission limiting state, and the permission of the first permission limiting state is smaller than that of the second permission limiting state.
The third processor controls the acquisition device to be opened, so that the acquisition device acquires the environmental parameters, and after the third processor processes the environmental parameters, the environmental parameters are judged to determine whether the environmental parameters acquired by the acquisition device meet the switching conditions, wherein the switching conditions can specifically be: the operation position of the electronic equipment is empty, and no user is detected; alternatively, the preset range of the electronic device is by the user, but not the target user.
If the environmental parameter meets the switching condition, the first processor controls the electronic device to be in a first restricted permission state, wherein the first restricted permission state may specifically be: the first restricted permission state may be a state in which permission is restricted for operation or display of the electronic device: a sleep state or a standby state, etc.; in addition, the first restricted permission state may be: the brightness of the display screen is reduced to the first brightness so as to ensure the safety of information in the electronic equipment; alternatively, the first restricted permission state may be: the MS state, i.e. a modem Standby mode, is that only a small number of devices in the electronic device are in a power supply state, and other devices are all in a power off state, and the electronic device can exit the MS state and enter a normal on state by triggering the devices in the power supply state, where the devices in the power supply state may be network card modules.
The authority of the second limited authority state is greater than that of the first limited authority state, wherein when the first limited authority state is a dormant state, a sleeping state or a standby state, the second limited authority state can be a normal starting state; the first restricted permission state may be that the brightness of the display screen of the electronic device is reduced to the first brightness, and the second restricted permission state may be that the brightness of the display screen of the electronic device is the initial brightness. The first limited authority state has authority limit, that is, the first processor can directly control the electronic device to switch from the idle state to the first limited authority state, and when the electronic device needs to be switched from the first limited authority state to the idle state or the working state, the electronic device needs to have a switching authority, for example: and inputting a correct password to end the first limited right state, or ending the first limited right state after the face recognition verification is passed, or ending the first limited right state after the fingerprint comparison is successful.
Further, when the state parameter obtained by the first processor indicates that the operating system is in an idle state, or when the third processor determines that the environmental parameter obtained by the acquisition device meets the switching condition, the brightness of the display screen is controlled to be reduced by the first processor, and/or the frequency of the second processor. After the interval of the preset time, the electronic equipment is controlled to be in the first limit authority state by the first processor.
Specifically, if the environmental parameter satisfies the switching condition, the first processor controls the electronic device to switch from the second restricted permission state to the first restricted permission state, including: if the environmental parameter meets the switching condition, the first processor controls the display brightness of the electronic equipment to be reduced to the preset brightness, and/or the frequency of the second processor is reduced to the preset frequency; after a preset time interval, the first processor controls the electronic equipment to be switched from the second permission limiting state to the first permission limiting state; and if the preset time length is not reached, determining that the environmental parameter does not meet the switching condition, and controlling the display brightness to be increased to the initial brightness by the first processor and/or increasing the frequency of the second processor to be increased to the initial frequency.
Further, it is determined that the environmental parameter satisfies the switching condition, and the first processor controls the electronic device to switch from the second limited permission state to the first limited permission state, which may further be: when the environmental parameter meets the switching condition for a first preset time, the first processor controls the electronic equipment to be switched from the second limit authority state to the first limit authority state. The limit authority state of the electronic equipment is not switched immediately after the environmental parameter is determined to meet the switching condition, but the switching is carried out after the environmental parameter meets the switching condition for a first preset time;
specifically, the following may be mentioned: and after the environmental parameter meets the switching condition and reaches a second preset time length, the first processor controls the display brightness of the electronic equipment to be reduced to preset brightness, and/or the frequency of the second processor is reduced to preset frequency.
When the user is detected to leave the acquisition range and reach a second preset time length, the first processor controls the display brightness of the display screen of the electronic equipment to be reduced to preset brightness, and/or controls the frequency of the second processor to be reduced to preset frequency; and then, after a preset time interval, the first processor controls the electronic equipment to be switched from the second permission limiting state to the first permission limiting state.
In the process, the acquisition device continuously acquires the environmental parameters of the environment where the electronic equipment is located, and if the user leaves the acquisition range and does not reach the second preset time length, the environmental parameters acquired by the acquisition device indicate that the user returns to the acquisition range, the first processor does not need to control the brightness of the display screen of the electronic equipment to be reduced, control the frequency of the second processor to be reduced, and control the electronic equipment to be switched from the second limit authority state to the first limit authority state;
if the display brightness of the electronic equipment is controlled to be reduced to the preset brightness by the first processor, and/or after the frequency of the second processor is reduced to the preset frequency, timing is started for a preset time length, and if the preset time length is not reached, the environmental parameters acquired by the acquisition device indicate that the user returns to the acquisition range, timing does not need to be continued, the electronic equipment does not need to be controlled by the first processor to be switched from the second limit authority state to the first limit authority state, the display brightness of the display screen is controlled to be improved to the initial brightness by the first processor, and/or the frequency of the second processor is controlled to be improved to the initial frequency, so that the electronic equipment is in a normal starting state.
The preset brightness may be only brightness reduction, or brightness reduction to 0.
In the application, no matter the first processor obtains the state parameters, or the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located, or the first processor controls the electronic equipment to be in the first limit authority state, the state parameters are all realized through the bottom layer hardware processor instead of being processed through the CPU or software.
In the processing method disclosed in this embodiment, the first processor obtains a state parameter indicating a working state of an operating system of the electronic device running on the second processor, if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain an environmental parameter of an environment where the electronic device is located, and if the environmental parameter meets a switching condition, the first processor controls the electronic device to be switched from a second restricted permission state to a first restricted permission state, where permission of the first restricted permission state is smaller than permission of the second restricted permission state. According to the scheme, the working state of the operating system of the electronic equipment is firstly detected, and if the operating system is in the idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, waiting is not needed, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is ensured, and the user experience is improved.
The embodiment discloses a processing method, a flowchart of which is shown in fig. 2, and the processing method includes:
s21, the first processor obtains a state parameter, wherein the state parameter is used for indicating the working state of an operating system of the electronic equipment running in the second processor;
s22, if the state parameters indicate that the operating system is in an idle state, the third processor controls the distance acquisition device to acquire a distance data set in an acquisition range;
and when the state parameter is determined to indicate that the operating system is in an idle state, the third processor controls the distance acquisition device to acquire a distance data set so as to control the state of the electronic equipment according to the distance data set.
Set up distance collection system on display screen panel, distance collection system includes transmitter and receiver, by distance collection system's transmitter emission light, if there is the sheltering from in the place ahead of emission light, this emission light can be reflected, form reflection light, reflection light is received by the receiver, according to the time difference that the moment that emission light was launched to the transmitter and the moment that reflection light was received to the receiver constitute, confirm this length between the display screen panel of sheltering from apart from electronic equipment.
Specifically, a schematic diagram of the distance acquisition device obtaining the distance data set within the acquisition range is shown in fig. 3, and includes:
distance acquisition device 31, blind face 32, wherein, distance acquisition device 31 includes: a transmitter 311 and a receiver 312, wherein the shielding surface 32 is disposed within the collecting range of the distance collecting device 31.
The emitter 311 and the receiver 312 are not limited to be disposed vertically, and may be disposed on the same horizontal plane, or have a plurality of receivers disposed in different directions of the emitter, so as to ensure that the reflected light can be received in a wider range.
If the time when the emitter 311 emits the light is T1, the time when the receiver receives the reflected light is T2, and the time difference between the received light and the emitted light is T, where T = T2-T1, the propagation speed of the light is known, the duration of T/2 is the duration of the light from the distance collecting device to the shielding surface, and the product of the speed and the duration is the distance between the distance collecting device 31 and the shielding surface 32.
Since the distance collecting device is disposed on the display screen panel of the electronic device, the distance between the distance collecting device 312 and the shielding surface 32 is the distance between the electronic device and the shielding surface 32.
If the electronic device is fixed, the operation position of the electronic device is also fixed relative to the position of the electronic device, under the condition that the distance between the electronic device and the shielding surface 32 is determined, whether the distance is matched with the operation position of the electronic device is only required to be determined, if the distance is matched with the operation position of the electronic device, the operation position of the electronic device is provided with a user, the environmental parameters of the environment where the electronic device is located do not meet the switching condition, the electronic device still keeps the current state, and the first processor does not need to control the electronic device to be in the first limit authority state; if the information is not matched with the first limiting authority, the fact that the operating position of the electronic equipment is not provided with the user is indicated, the environmental parameters of the environment where the electronic equipment is located meet the switching regulation, and the first processor is required to control the electronic equipment to be in the first limiting authority state, so that the safety of the information in the electronic equipment is ensured.
If the electronic device is a mobile terminal, the distance between the operation position of the electronic device and the electronic device is necessarily in a certain range, and under the condition that the distance between the electronic device and the shielding surface 32 is determined, it is only required to determine whether the distance is matched with the operation position of the electronic device, and if the distance is matched with the shielding surface, it is indicated that the operation position of the electronic device is provided with a user, the environmental parameters of the environment where the electronic device is located do not meet the switching condition, the electronic device still keeps the current state, and the first processor does not need to control the electronic device to be in the first limited permission state.
Further, the method can also comprise the following steps: when the distance collection device is arranged on the display screen panel of the electronic equipment, the distance collection device is arranged to form a fixed included angle with the display screen panel of the electronic equipment, so that the collection range of the distance collection device can include the possible operation position of a user.
If the distance collecting device is disposed on the display screen panel of the electronic device and the angle between the distance collecting device and the display screen panel is 0 degree or 180 degrees, and if the light emitting range of the emitter is 60 degrees, when the distance between the distance collecting device and the display screen panel is L1, the length range of the light of the emitter on the shielding surface is L2, as shown in fig. 4;
if the distance collecting device is disposed on the display screen panel of the electronic device and the angle between the distance collecting device and the display screen panel is a, if the light emitting range of the emitter is 60 degrees, then when the distance between the distance collecting device and the display screen panel is L1, the length range of the light of the emitter on the shielding surface is L3, as shown in fig. 5.
Since the inclination angle between the distance acquisition device and the display screen panel is increased in fig. 5, compared with fig. 4, both the emitter and the receiver are located in front of the emitter and the receiver in fig. 4, if only the distance between the emitter and the shielding plane is considered, and the distance in fig. 5 is shorter than the distance in fig. 4, then on the basis that the light emission range of the emitter is the same, the projection of the light emission range on the shielding plane will appear to be larger than that in fig. 4, and therefore L3 in fig. 5 is larger than L2 in fig. 4, that is, the detection range in fig. 5 is larger than that in fig. 4 relative to the same detection plane.
In addition, since the inclination angle occurs between the distance collecting device and the display screen panel, two values of the actual distance between the distance collecting device and the light shielding surface and the measured distance will occur, therefore, after the inclination angle a is designed, the relationship between the actual distance d between the distance collecting device and the light shielding surface and the measured distance d' is as shown in fig. 6, and after the correction is performed by the correction algorithm, the relationship between the actual distance and the measured distance is:
d = d' (f, a), where f is the transmit frequency of the transmitter.
Taking an electronic device as an example, no matter whether the computer is a desktop computer or a notebook computer, an included angle between the display screen and the surface where the keyboard is located is generally 90-100 degrees, and if an inclination angle is added between the distance acquisition device and the display screen panel, because the acquisition range of the distance acquisition device is increased, correspondingly, the included angle between the display screen and the surface where the keyboard is located can also be increased, for example: a is 15 degrees, and when the included angle between the display screen and the surface where the keyboard is located reaches 125 degrees, the operation position of the electronic equipment is still in the collection range of the distance collection device.
And S23, if the distance data set meets the switching condition, controlling the electronic equipment to be in a first limit authority state by the first processor.
In the processing method disclosed in this embodiment, the first processor obtains the state parameter, where the state parameter indicates a working state of an operating system of the electronic device running on the second processor, and if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain an environment parameter of an environment where the electronic device is located, and if the environment parameter meets a switching condition, the first processor controls the electronic device to be switched from a second permission-limiting state to a first permission-limiting state, where permission of the first permission-limiting state is smaller than permission of the second permission-limiting state. According to the scheme, the working state of the operating system of the electronic equipment is detected at first, and if the operating system is in an idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is guaranteed, and the user experience is improved.
The embodiment discloses a processing method, a flowchart of which is shown in fig. 7, and includes:
step S71, the first processor obtains a state parameter, wherein the state parameter is used for indicating the working state of an operating system of the electronic equipment running in the second processor;
step S72, if the state parameter indicates that the operating system is in an idle state, the third processor controls the image acquisition device to obtain an image data set in an acquisition range;
the acquisition device can also be an image acquisition device, and when the state parameters indicate that the operating system is in an idle state, the third processor controls the image acquisition device to acquire an image data set within an acquisition range.
The image acquisition device is arranged on a display screen panel of the electronic equipment, so that the operation position in front of the display screen panel of the electronic equipment is in the acquisition range of the image acquisition device, and the image acquisition device is used for acquiring the image in front of the display screen panel of the electronic equipment so as to determine whether a user is in the operation position in front of the display screen panel.
The method can be specifically as follows: if no user exists in the image acquired by the image acquisition device, indicating that the environmental parameter meets the switching condition; or, the operating position in the image acquired by the image acquisition device is not provided with a user, and other positions except the operating position are provided with users, which also indicates that the environmental parameters meet the switching condition; or the image acquisition device acquires a plurality of images within a first preset time length so as to determine whether the time length when the user is not at the operation position of the electronic equipment reaches a second preset time length, and if the time length reaches the second preset time length, the environmental parameter is indicated to meet the switching condition;
alternatively, the following may be also possible:
determining whether a first frame image and a second frame image of the current moment in an image data set obtained by an image acquisition device are changed or not, wherein the first frame image and the second frame image are adjacent frame images of the adjacent moment, if the first frame image and the second frame image are changed, determining that the environmental parameter does not meet the switching condition, and if the first frame image and the second frame image are not changed, determining that the environmental parameter meets the switching condition.
Specifically, the image acquisition device acquires images in real time, and if the images at adjacent moments change, it indicates that a person walks, and the walking of the person can be specifically as follows: the user operating the electronic device leaves, or other people than the user operating the electronic device move within the acquisition range.
For example: the electronic equipment is in a working state at a first moment, is in an idle state at a second moment, and when the first processor determines that the electronic equipment is in the idle state, the third processor controls the image acquisition device to acquire an image data set;
or: the electronic equipment is in a working state at a first moment, is in an idle state at a second moment, and when the first processor determines that the electronic equipment is in the idle state, the third processor controls the image acquisition device to acquire an image data set.
And S73, if the environmental parameters meet the switching conditions, controlling the electronic equipment to be in a first limited authority state by the first processor.
In the processing method disclosed in this embodiment, the first processor obtains a state parameter indicating a working state of an operating system of the electronic device running on the second processor, if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain an environmental parameter of an environment where the electronic device is located, and if the environmental parameter meets a switching condition, the first processor controls the electronic device to be switched from a second restricted permission state to a first restricted permission state, where permission of the first restricted permission state is smaller than permission of the second restricted permission state. According to the scheme, the working state of the operating system of the electronic equipment is detected at first, and if the operating system is in an idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is guaranteed, and the user experience is improved.
The embodiment discloses a processing method, a flowchart of which is shown in fig. 8, and includes:
s81, the first processor obtains a state parameter, wherein the state parameter is used for indicating the working state of an operating system of the electronic equipment running in the second processor;
s82, if the state parameters indicate that the operating system is in an idle state, the third processor controls the distance acquisition device to acquire a distance data set in an acquisition range;
s83, controlling the image acquisition device to acquire an image data set within an acquisition range by the third processor according to the distance data set;
when the first processor obtains the state parameters and determines that the operating system is in an idle state, in order to ensure the safety of information in the electronic device, the third processor needs to control the acquisition device to acquire the environmental parameters.
Wherein, collection system can include: distance collection system and image acquisition device.
The distance acquisition device is used for obtaining a distance data set within the acquisition range, and then the third processor determines an image data set within the acquisition range of the distance acquisition device according to the distance data set. Specifically, the third processor processes the image data set so as to determine whether a target object exists in the acquisition range of the distance acquisition device, and if the third processor determines that the data in the distance data set are all smaller than a certain threshold, it can be determined that the target object exists in the acquisition range of the distance acquisition device, which indicates that a user exists at the operation position of the electronic device, and at this time, the state of the electronic device does not need to be switched; if the third processor determines that the target object does not exist in the acquisition range of the distance acquisition device, that is, the third processor determines that the data in the distance data set is greater than a certain threshold, it indicates that no user is located at the operation position of the electronic device, or that no user is located in the acquisition range of the distance acquisition device, the third processor needs to start the image acquisition device, and the image acquisition device further confirms the data.
The image acquisition device acquires an image data set within an acquisition range, then the third processor determines whether a target object exists within the acquisition range of the image acquisition device according to the image data set, if the third processor determines that the target object exists within the acquisition range of the image acquisition device, it indicates that a user exists at the operation position of the electronic equipment, and at the moment, the state of the electronic equipment does not need to be switched; if the third processor determines that the target object does not exist in the acquisition range of the image acquisition device, it indicates that there is no user at the operation position of the electronic device, or indicates that there is no user in the acquisition range of the image acquisition device, and the first processor is required to control the electronic device to be in the first limited authority state.
The acquisition of the distance acquisition device and the image acquisition device for the environmental parameters, and the judgment of the third processor for the environmental parameters are the same as the above embodiments, and are not described herein again.
In the embodiment, the state parameter of the electronic device is detected by the first processor to determine the state of the operating system, when the operating system is in an idle state, the third processor starts the distance acquisition device, the distance data set is determined by the distance acquisition device, if the distance data set indicates that no target object exists, the third processor continues to start the image acquisition device, and only when the image data set acquired by the image acquisition device still indicates that no target object exists in the acquisition range of the image acquisition device, the first processor controls the electronic device to be in the first limited authority state.
Specifically, when the distance acquisition device determines a distance data set which indicates that no target object exists, that is, when a user leaves the electronic device, the third processor sends a GPIO interrupt signal to the image acquisition device, so that the image acquisition device is started, the image acquisition device acquires the image data set, and if the change between adjacent frame images determines whether the environmental parameter meets the switching condition, the third processor can acquire a picture characteristic dot matrix through the image acquisition device and compare the difference between the characteristic points of the first frame image and the second frame image to detect the motion behavior;
if the third processor detects that the first frame image and the second frame image are changed, the target object is indicated to be in the acquisition range, namely the user is at the operation position of the electronic equipment, and at the moment, the current state of the electronic equipment system is kept; if no change between the first frame image and the second frame image is detected, it is indicated that no target object exists in the acquisition range, that is, the user leaves the operation position of the electronic device, at this time, the third processor informs the first processor through the GPIO interrupt signal, so that the first processor controls the electronic device to be switched from the second permission limiting state to the first permission limiting state.
Thus, the signal flow chart of the process may be as shown in fig. 9, and specifically includes: a first processor 91, a second processor 92, a third processor 93, a distance acquisition device 94, an image acquisition device 95 and an acquisition range 96, wherein the third processor 93 may at least include: an image signal processor 931 and a distance signal processor 932.
Step 91, the first processor detects the working state of the electronic equipment, and the working state is detected by the second processor;
step S92, if the second processor determines that the first processor is in an idle state, the second processor needs to send a signal to the distance signal processor;
s93, controlling a distance acquisition device to acquire distance information by a distance signal processor;
step S94, the distance acquisition device sends a detection signal for acquiring the distance, namely, the distance is determined by the time difference between the transmission signal and the reflection signal through the transmission signal and the reflection signal when the transmission signal is shielded;
s95, returning the reflection signal to a distance acquisition device;
s96, the distance acquisition device sends the sent detection signals and the received related information of the reflection signals to a distance signal processor;
step S97, the distance signal processor processes the signals sent by the distance acquisition device, and then sends the signals to the image signal processor if the target object does not exist in the acquisition range;
s98, the image information processor sends a signal to the image acquisition device, so that the image acquisition device acquires an image in an acquisition range;
s99, the image acquisition device sends the acquired image to an image information processor so that the image information processor can judge whether a target object exists in an acquisition range according to the image;
step S910, if the image signal processor determines that no target object exists in the acquisition range, an interrupt signal is sent to the first processor.
Therefore, the whole processing process is realized on the basis of a hardware architecture without software support. It should be noted that the process of obtaining the environmental parameter at least includes one of the three embodiments described above, namely: at least one of the following is included: the third processor controls the distance acquisition device to obtain a distance data set in an acquisition range; or the third processor controls the image acquisition device to obtain an image data set in an acquisition range; or the third processor controls the distance acquisition device to obtain a distance data set within the acquisition range, and the third processor controls the image acquisition device to obtain an image data set within the acquisition range according to the distance data set.
Further, a schematic structural diagram of the acquisition apparatus disposed on the electronic device is shown in fig. 8a, and includes:
a first body 811, and a collection device 812.
The first body 11 has a first surface, and the collecting device 12 is disposed in or on the first surface and is configured to collect an environmental parameter outside the first surface, where an included angle between a collecting reference direction of the collecting device and the first surface does not satisfy a vertical condition. The acquisition device can be a distance acquisition device or an image acquisition device.
Wherein, the perpendicular condition is not satisfied with the contained angle of first surface to collection reference direction of collection device, and wherein, collection reference direction can be the central line direction of gathering the scope, as shown in fig. 8b, includes: the first body 821, the collecting device 822, the collecting range a of the collecting device 822, the central line L of the collecting device, and the reverse extension line of the central line L of the collecting device intersect with the first surface, and form an included angle b, wherein b is an angle different from 90 degrees.
Further, the electronic device may further include an output device, and the schematic structural diagram is shown in fig. 8c, and the output device includes: a first body 831, an acquisition device 832, an output device 833.
The output device is capable of outputting multimedia content such as: a horn or a screen.
Further, output device can be display device, and display device sets up at first body, can let the user at first surface perception display image, and collection system is close to first lateral part setting, and first lateral part is the directional lateral part of the forward of display image.
The image of the electronic equipment is displayed on the first surface, namely the first surface comprises a surface of the display screen for displaying the image and also comprises a frame of the display screen. The acquisition device is arranged in the first surface of the display screen or on the first surface of the display screen. The acquisition device can be arranged in the display screen or on the surface of the display screen, and can also be arranged in the frame of the display screen or on the surface of the frame of the display screen.
Specifically, the acquisition device is disposed close to the first side portion, and the first side portion is a side portion of the display image pointed in the forward direction, that is, the first side portion is related to the orientation of the content displayed on the display screen, and the side portion of the display content pointed in the direction is the first side portion.
Defining the orientation of the display device displaying the image as a forward direction, such as: a picture is displayed in the display screen, and a user needs to look upwards on the basis of the lower edge of the picture to conveniently watch the picture; if the display screen is a mobile phone display screen, when a user watches the picture through the mobile phone display screen, the user needs to watch the picture at the lower edge side of the mobile phone display screen, if the picture is watched at the upper edge side of the mobile phone display screen, the picture watched by the user is the picture turned by 180 degrees, the picture watched by the user is opposite to the actual picture, and the watching direction of the user is the same as the displaying direction of the picture, so that the displaying direction of the picture is taken as the forward direction, and the first side part is the forward-direction side part.
Using show the characters through cell-phone display screen as an example, the orientation of every word is from bottom to top, then, the forward is this direction from bottom to top promptly, and first lateral part is the lateral part of the direction from bottom to top promptly, the upper end edge of cell-phone display screen promptly, as shown in fig. 8d, include: a first body 841, a collection device 842 and a display screen 843.
Of course, the first side portion may also be the right side, the lower side or the left side of the display image, which is related to the predefined forward direction of the display image.
In addition, the acquisition device and the output device can also be: arranged side by side or stacked.
Wherein, collection system and output device set up side by side can be for: the collecting device and the output device are in the same horizontal plane on the first body, as shown in fig. 8e, and include: a first body 851, an acquisition device 852 and an output device 853.
The stacking arrangement of the collecting device and the output device can be as follows: the direction of outputting the multimedia content by the output device is used as the front, the acquisition device and the output device are arranged in front of and behind, wherein the acquisition device can be arranged in front of the output device, and the acquisition device can also be arranged behind the output device. Taking the example of the acquisition device being set after the output device, as shown in fig. 8f, the method includes: a first body 861, a collecting device 862 and an output device 863.
The relative position of the acquisition device and the output device may be any one of the above, and is not specifically limited herein.
Further, the electronic device may further include: the second surface, a schematic structural diagram of which is shown in fig. 8g, includes: a first body 871, a collection device 872, an output device 873, and a second surface 874.
The second surface is capable of holding the electronic device on a support surface. The second surface keeps the electronic device on a supporting surface, that is, the electronic device is placed on a desktop, so that the electronic device can be kept stable and supported by the desktop, and then, a contact surface between the electronic device and the desktop is the second surface, and the supporting surface is the desktop.
The output reference of the output device and the supporting surface have a first angle, the collecting reference of the collecting device and the supporting surface have a second angle, and the second angle is smaller than the first angle.
The output reference of the output device is the output direction of the output device, the output direction of the output device is vertical to the output device, and L1 is used for representing the output reference, wherein L1 is vertical to the output device; l2 is the collection reference direction of the collection device, and the collection reference direction is the central direction of the collection range of the collection device; l0 is parallel to the second surface.
The first angle formed by the output reference of the output device and the supporting surface is a first angle a1 formed by the output reference L1 of the output device and L0; a second angle formed by the collection datum of the collection device and the supporting surface, namely a second angle a2 formed by the collection datum L2 of the collection device and L0 is obviously obtuse a1, and acute a2, so that a2 is smaller than a1, namely the second angle is smaller than the first angle.
Further, as shown in fig. 8h, the schematic structural diagram of the electronic device includes: a first body 881, a collecting device 882 and a second body 883.
The first body 881 and the second body 883 are connected, and the first body 881 and the second body 883 can move relatively, so that the collection reference direction of the collection device is changed.
The electronic equipment comprises a first body and a second body, wherein the first body is connected with the second body, and the relative movement of the first body and the second body can change the collection reference direction of the collection device, namely the first body and the second body have a certain included angle, and the collection reference direction of the collection device is changed through the change of the included angle.
Then, the second body may be a body where a keyboard of a notebook computer is located, or a display stand of a desktop computer. Through the contained angle between adjustment first body and the second body for the collection scope of the collection device who sets up on the first body changes, and the collection benchmark direction that corresponds also changes.
Furthermore, the second body can be a plate-shaped body, is connected with the first body through a rotating shaft, and changes the collection reference direction of the collection device through the rotation of the second body relative to the first body;
because the electronic equipment is provided with the second surface, the second surface can keep the electronic equipment on a supporting surface, the output reference of the output device capable of outputting the multimedia content and the supporting surface have a first angle, the acquisition reference of the acquisition device and the supporting surface have a second angle, and the second angle is smaller than the first angle.
If the second body is a plate-shaped body and is connected with the first body through the rotating shaft, the notebook computer can be considered to be formed by the first body, the second body and the acquisition device, wherein the first body is also the plate-shaped body.
Through the first surface output display picture on the first body, make the contained angle between first body and the second body change through the relative motion of first body and second body, this moment, because first body position changes, so, output device's output benchmark changes, and is corresponding, because collection device is the same with output device, all sets up on first body, so, collection device's collection benchmark changes along with the change of first body position.
In a practical application scenario, the following are typical: the notebook computer is placed on a desktop, the first body and the second body are combined together, namely when the included angle is 0 degrees, the acquisition device cannot acquire environmental information, when the first body and the second body have a certain included angle, the content on the screen can be seen, the output reference of the screen is a first position at the moment, the included angle between the screen and the supporting surface is a first numerical value, the acquisition range of the acquisition device is a second position, and the included angle between the corresponding acquisition reference direction and the supporting surface is a second numerical value; when the included angle between the first body and the second body continues to increase, the output reference of the screen is the third position, the included angle between the screen and the supporting surface is the third numerical value, the collection range of the collection device is the fourth position, and the included angle between the corresponding collection reference direction and the supporting surface is the fourth numerical value.
Wherein a first variation range between the first position and the third position is the same as a second variation range between the second position and the fourth position, and a first value range between the first value and the third value is the same as a second value range between the second value and the fourth value; in addition, the difference between the first value and the second value is the same as the difference between the third value and the fourth value; and the second value is always smaller than the first value, and the fourth value is always smaller than the third value.
In addition, the first body is connected with the second body, and a columnar connection mode or an internal and external nested connection mode can be adopted as long as the first body and the second body are connected in a rotating mode.
Step S84, if the image data set satisfies the switching condition, the first processor controls the electronic device to be in the first limited right state.
Further, the method can also comprise the following steps: after the first processor controls the electronic equipment to be in the first limit authority state, the first processor continuously obtains the state parameters, so that when the state parameters are determined to indicate that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located, namely when the electronic equipment is detected to be in a non-idle state, the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located, the first limit authority state can be switched to the second limit authority state by the first processor only according to the environment parameters, and specifically, when the environment parameters meet a second switching condition, the first limit authority state is switched to the second limit authority state by the first processor; or, the first processor directly switches the permission restricting state according to the state parameter, that is, when the electronic device is detected to be in a non-idle state, the first processor can directly release the first permission restricting state of the electronic device and switch the permission restricting state to the second permission restricting state.
Such as: the first restricted permission state is: when the first processor detects that the state parameter indicates that the operating system is in a working state, the first processor releases a first limit authority state of the electronic device, and increases the display screen brightness to a second brightness value, wherein the second brightness value is larger than the first brightness value, and the display screen enters a second limit authority state.
The method can also comprise the following steps: after the first processor controls the electronic equipment to be in the first limit authority state, the third processor controls the continuous acquisition device to acquire the environmental parameters of the environment where the electronic equipment is located, so that whether the limit authority state is switched or not is determined according to the environmental parameters, namely when the environmental parameters meet a second switching condition, the first processor controls the electronic equipment to switch the first limit authority state into the second limit authority state.
The second switching condition may be: the distance acquisition device is provided with a target object in the acquisition range, and/or the image acquisition device is provided with a target object in the acquisition range. Wherein, there is the target object in distance acquisition device's the collection within range, can specifically be: at least part of the data in the distance data set acquired by the distance acquisition device is smaller than a certain threshold value, or all the data in the distance data set are smaller than a certain threshold value.
Of course, after the first processor controls the electronic device to switch from the second limited permission state to the first limited permission state, the first processor may continuously obtain the state parameters, and at the same time, the third processor continuously controls the collecting device to collect the environmental parameters of the environment where the electronic device is located.
In the processing method disclosed in this embodiment, the first processor obtains the state parameter, where the state parameter indicates a working state of an operating system of the electronic device running on the second processor, and if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain an environment parameter of an environment where the electronic device is located, and if the environment parameter meets a switching condition, the first processor controls the electronic device to be switched from a second permission-limiting state to a first permission-limiting state, where permission of the first permission-limiting state is smaller than permission of the second permission-limiting state. According to the scheme, the working state of the operating system of the electronic equipment is detected at first, and if the operating system is in an idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is guaranteed, and the user experience is improved.
The present embodiment discloses a processing method, a flowchart of which is shown in fig. 9, and the processing method includes:
step S91, the first processor obtains a state parameter, wherein the state parameter is used for indicating the working state of the operating system of the electronic equipment running in the second processor;
step S92, if the state parameters indicate that the operating system is in an idle state, the third processor controls a distance acquisition device arranged on the electronic equipment body to acquire a first distance data set in a first acquisition range;
step S93, if the first distance data set shows that no target object exists in the first acquisition range, controlling the distance acquisition device to adjust the acquisition range through the third processor, so that the acquisition range of the distance acquisition device has the first acquisition range and is adjusted to be a second acquisition range;
s94, the third processor controls the distance acquisition device to obtain a second distance data set in a second acquisition range;
and S95, if the second distance data set indicates that the target object exists in the second acquisition range, determining that the environmental parameter does not meet the switching condition.
When the first processor determines that the operating system is in an idle state, the third processor controls the distance acquisition device on the electronic equipment body to start, the distance acquisition device firstly acquires a first distance data set in a first acquisition range, if the third processor determines that the first distance data set in the first acquisition range indicates that a target object exists in the first acquisition range, the environmental parameters meet switching conditions, and the first processor controls the electronic equipment to be in a first limit permission state; if the third processor determines that the first distance data set in the first acquisition range indicates that the target object does not exist in the first acquisition range, the acquisition range of the distance acquisition device needs to be adjusted through the first processor, so that the acquisition range of the distance acquisition device is adjusted from the first acquisition range to a second acquisition range, then the third processor controls the distance acquisition device to obtain a second distance data set in the second acquisition range, and if the second distance data set indicates that the target object exists in the second acquisition range, it is determined that the environmental parameters do not meet the switching conditions, and the state of the electronic equipment does not need to be switched; if the second distance data set indicates that the target object does not exist in the second acquisition range, the environmental parameter meets the switching condition, and the first processor controls the electronic device to be in the first limit authority state.
When setting up distance collection device on the electronic equipment body, electronic equipment's display screen panel promptly, its junction need set up a first angle adjustment mechanism to when can be adjusted the contained angle between distance collection device and the display screen panel in needs, can directly be controlled this first angle adjustment mechanism by first treater and change, realize the regulation of gathering the scope among the distance collection device.
Furthermore, if the acquisition device for acquiring the environmental parameters further comprises an image acquisition device, the second angle adjustment mechanism is also arranged at the joint of the image acquisition device and the display screen panel when the image acquisition device is arranged on the display screen panel of the electronic equipment, so that when the included angle between the image acquisition device and the display screen panel needs to be adjusted, the second angle adjustment mechanism can be directly controlled by the first processor to change, and the adjustment of the acquisition range in the image acquisition device is realized.
The adjustment process can also be as follows: when the third processor determines that the image acquisition device does not have the target object in the third acquisition range, the first processor controls the image acquisition device to adjust the acquisition range, so that the acquisition range of the image acquisition device is adjusted from the third acquisition range to the fourth acquisition range, image acquisition is continued under the condition that the image acquisition device is in the fourth acquisition range, and then the first processor judges whether the environmental parameters meet the switching conditions.
In the processing method disclosed in this embodiment, the first processor obtains a state parameter indicating a working state of an operating system of the electronic device running on the second processor, if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain an environmental parameter of an environment where the electronic device is located, and if the environmental parameter meets a switching condition, the first processor controls the electronic device to be switched from a second restricted permission state to a first restricted permission state, where permission of the first restricted permission state is smaller than permission of the second restricted permission state. According to the scheme, the working state of the operating system of the electronic equipment is detected at first, and if the operating system is in an idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is guaranteed, and the user experience is improved.
The embodiment discloses an electronic device, a schematic structural diagram of which is shown in fig. 10, including:
a processing device 101 and an acquisition device 102.
Wherein, processing apparatus includes: a second processor, and a first processor and/or a third processor, wherein:
the first processor is used for obtaining state parameters, the state parameters indicate the working state of an operating system of the electronic equipment running on the second processor, if the state parameters indicate that the operating system is in an idle state, the third processor controls the acquisition device to obtain environment parameters of the environment where the electronic equipment is located, and if the environment parameters meet switching conditions, the first processor controls the electronic equipment to be switched from a second permission limiting state to a first permission limiting state, wherein permission of the first permission limiting state is smaller than permission of the second permission limiting state.
The first processor may be a system controller EC and the second processor may be different from the first processor, wherein the second processor may be a CPU. The first processor is a processor which is used for waking up the second processor when the second processor is in a closed or low-power consumption state so as to realize normal operation of the operating system, or reducing the power consumption of the second processor or closing the second processor when the second processor is in a normal operation state so as to realize sleep or low-power consumption operation of the operating system; the first processor is a processor for management control of the input/output device; the second processor is a processor for running an operating system of the electronic device; the third processor is a processor for controlling the state of the acquisition device according to the state of the operating system.
The first processor obtains a state parameter, where the state parameter is used to indicate a working state of an operating system of the second processor, where the working state of the operating system of the electronic device at least may include a work state, that is, a working state, an Idle state, that is, an Idle state, and in addition, may also include a sleep state, a hibernation state, a standby state, a shutdown state, and the like. Wherein, the Idle state is: the electronic device does not detect the input, the Idle rate of the second processor exceeds a certain value, and the Idle time of the disk of the electronic device exceeds a certain duration, at this time, the operating system of the electronic device is considered to be in an Idle state.
When the operating state of the operating system of the electronic equipment running in the second processor is a working state, it indicates that a user is using the electronic equipment, and at the moment, the CPU is in a running mode with higher power consumption; when the operating state of the operating system of the electronic device running on the second processor is an idle state, it indicates that no user is currently operating the electronic device, but the display screen is in a display state, and at this time, the CPU is in a low power consumption operating mode.
The obtaining, by the first processor, the state parameter of the operating system running on the second processor may specifically be: determining the state of the operating system by detecting the power consumption state of the second processor, namely the CPU, wherein the power consumption state of the CPU, namely the power saving state of the CPU, and C represents the power saving state of the CPU and is represented in a form of letters and numbers, wherein the smaller the number is, the larger the workload is; the larger the number, the more circuits and signals that are turned off, and the higher the energy saving efficiency.
For example: the C0 state represents that the processor is in a full-speed running state and the energy consumption is highest; the C1 state can save about 70% of CPU power consumption relative to the C0 state, the C2 state can save about 70% of CPU power consumption and platform power consumption relative to the C0 state, the C4-C6 can reduce the CPU power consumption by reducing the CPU voltage, the C7 can represent a deep energy-saving state, and the C8-C10 are deeper energy-saving states, so that circuits or signals which cannot be closed before are closed, and the deeper energy-saving state is achieved.
The method comprises the steps of detecting whether a CPU is in a C1 state or a C2 state or a C9 state or a C10 state, indicating that the CPU is in an idle state if the CPU is in the C9 state or the C10 state, and indicating that the CPU is in a working state if the CPU is in the C1 state or the C2 state.
The third processor may be the same as the first processor or different from the first processor and the third processor is different from the second processor. When the third processor is different from the first processor, the third processor may be a data processing chip ISH (Intel sensor hub) for processing data of each sensor in the electronic device, or may be another data processing chip.
When the state parameter indicates that the operating system is in a working state at the moment, the environment parameter of the environment where the electronic equipment is located does not need to be obtained through the acquisition device, and at the moment, the electronic equipment only needs to keep the current state to continue to operate; when the state parameter indicates that the operating system is in an idle state, it indicates that no user performs any operation on the electronic device currently, at this time, the environment parameter of the environment where the electronic device is located needs to be detected, and the third processor controls the acquisition device to acquire the environment parameter, so as to determine whether the state of the electronic device needs to be switched.
The third processor controls the acquisition device to obtain the environmental parameters of the environment where the electronic equipment is located, which can be specifically: the third processor controls the acquisition device to acquire the environmental parameters, and the environmental parameters are processed by the third processor so as to determine whether a user exists at the operation position of the electronic equipment or whether the user exists in the preset range of the electronic equipment; the method can also comprise the following steps: the third processor controls the acquisition device to acquire the environmental parameters, and the environmental parameters are processed by the third processor so as to determine whether the operation position of the electronic equipment is a target user or not, or whether the target user exists in a preset range of the electronic equipment or not.
The third processor controls the acquisition device to be opened, so that the acquisition device acquires the environmental parameters, and after the third processor processes the environmental parameters, the environmental parameters are judged to determine whether the environmental parameters acquired by the acquisition device meet the switching conditions, wherein the switching conditions can specifically be: the operation position of the electronic equipment is empty, and the user is not detected; alternatively, the preset range of the electronic device is by the user, but not the target user.
If the environmental parameter meets the switching condition, the first processor controls the electronic device to be in a first restricted permission state, where the first restricted permission state may specifically be: the first restricted permission state may be a state in which permission is restricted for operation or display of the electronic device: a sleep state or a standby state, etc.; in addition, the first restricted permission state may be: the brightness of the display screen is reduced to the first brightness so as to ensure the safety of information in the electronic equipment; alternatively, the first restricted permission state may be: the MS state, i.e. a modem Standby mode, is that only a small number of devices in the electronic device are in a power supply state, and other devices are all in a power off state, and the electronic device can exit the MS state and enter a normal on state by triggering the devices in the power supply state, where the devices in the power supply state may be network card modules.
The authority of the second limited authority state is greater than that of the first limited authority state, wherein when the first limited authority state is a dormant state, a sleeping state or a standby state, the second limited authority state can be a normal starting state; when the first limit authority state is that the brightness of the display screen is reduced to the first brightness, the second limit authority state may be that the brightness of the display screen of the electronic device is the initial brightness, and the like. The first limit authority state has authority limit, that is, the first processor can directly control the electronic device to switch from the idle state to the first limit authority state, and when the electronic device needs to be switched from the first limit authority state to the idle state or the working state, the electronic device needs to have switching authority, such as: and inputting a correct password to finish the first restricted permission state, or finishing the first restricted permission state only after the face recognition verification is passed, or finishing the first restricted permission state only after the fingerprint comparison is successful.
Further, when the state parameter obtained by the first processor indicates that the operating system is in an idle state, or when the third processor determines that the environmental parameter obtained by the acquisition device meets the switching condition, the brightness of the display screen is controlled to be reduced by the first processor, and/or the frequency of the second processor. After the preset time interval, the electronic equipment is controlled to be in the first limit authority state by the first processor.
Specifically, if the environmental parameter satisfies the switching condition, the first processor controls the electronic device to switch from the second restricted permission state to the first restricted permission state, including: if the environmental parameter meets the switching condition, the first processor controls the display brightness of the electronic equipment to be reduced to the preset brightness, and/or the frequency of the second processor is reduced to the preset frequency; after a preset time interval, the first processor controls the electronic equipment to be switched from the second permission limiting state to the first permission limiting state; and if the preset time length is not reached, determining that the environmental parameter does not meet the switching condition, and controlling the display brightness to be increased to the initial brightness by the first processor and/or increasing the frequency of the second processor to be increased to the initial frequency.
Further, it is determined that the environmental parameter satisfies the switching condition, and the first processor controls the electronic device to switch from the second limited permission state to the first limited permission state, which may further be: when the environmental parameter meets the switching condition and reaches a first preset time, the first processor controls the electronic equipment to be switched from the second permission limiting state to the first permission limiting state. The limit authority state of the electronic equipment is not switched immediately after the environmental parameter is determined to meet the switching condition, but the switching is carried out after the environmental parameter meets the switching condition for a first preset time;
specifically, the method can be as follows: and after the environmental parameter meets the switching condition for a second preset time, the first processor controls the display brightness of the electronic equipment to be reduced to the preset brightness, and/or the frequency of the second processor is reduced to the preset frequency.
When the user is detected to leave the acquisition range for a second preset time, the first processor controls the display brightness of the display screen of the electronic equipment to be reduced to preset brightness, and/or controls the frequency of the second processor to be reduced to preset frequency; and then, after a preset time interval, the first processor controls the electronic equipment to be switched from the second permission limiting state to the first permission limiting state.
In the process, the acquisition device continuously acquires the environmental parameters of the environment where the electronic equipment is located, and if the environmental parameters acquired by the acquisition device indicate that the user returns to the acquisition range when the user leaves the acquisition range and does not reach the second preset duration, the first processor does not need to control the brightness of the display screen of the electronic equipment to be reduced, does not need to control the frequency of the second processor to be reduced, and does not need to control the electronic equipment to be switched from the second permission limiting state to the first permission limiting state;
if the display brightness of the electronic equipment is controlled to be reduced to the preset brightness by the first processor, and/or after the frequency of the second processor is reduced to the preset frequency, timing is started for the preset time, and when the preset time is not reached, the environmental parameters acquired by the acquisition device indicate that the user returns to the acquisition range, the timing does not need to be continued, the electronic equipment does not need to be controlled by the first processor to be switched from the second limit authority state to the first limit authority state, the display brightness of the display screen is also controlled by the first processor to be improved to the initial brightness, and/or the frequency of the second processor is controlled to be improved to the initial frequency, so that the electronic equipment is in a normal starting state.
The preset brightness may be only brightness reduction, or brightness reduction to 0.
In the application, whether the first processor obtains the state parameters or the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located, or whether the first processor controls the electronic equipment to be in the first limited permission state, the state parameters are realized through the bottom layer hardware processor instead of being processed through a CPU or software.
Further, the third processor controls the acquisition device to obtain an environmental parameter of an environment where the electronic device is located, where the environmental parameter includes at least one of: the third processor controls the distance acquisition device to obtain a distance data set in an acquisition range; or the third processor controls the image acquisition device to obtain an image data set within the acquisition range; or the third processor controls the distance acquisition device to acquire a distance data set within the acquisition range, and controls the image acquisition device to acquire an image data set within the acquisition range according to the distance data set.
When the first mode is adopted:
and when the state parameter is determined to indicate that the operating system is in an idle state, the third processor controls the distance acquisition device to acquire a distance data set so as to control the state of the electronic equipment according to the distance data set.
Set up distance collection system on display screen panel, distance collection system includes transmitter and receiver, by distance collection system's transmitter emission light, if there is the shelter from in the place ahead of emission light, this emission light can be reflected, form reflection light, reflection light is received by the receiver, according to the time difference that the moment that transmitter launches emission light and the moment that the receiver received reflection light constitutes confirm should shelter from the length between electronic equipment's the display screen panel.
Specifically, a schematic diagram of the distance acquisition device obtaining the distance data set in the acquisition range is shown in fig. 3, and includes:
distance acquisition device 31, blind face 32, wherein, distance acquisition device 31 includes: a transmitter 311 and a receiver 312, wherein the shielding surface 32 is disposed within the collecting range of the distance collecting device 31.
The emitter 311 and the receiver 312 are not limited to be disposed vertically, and may be disposed on the same horizontal plane, or have a plurality of receivers disposed in different directions of the emitter, so as to ensure that the reflected light can be received in a wider range.
If the time when the emitter 311 emits the light is T1, the time when the receiver receives the reflected light is T2, and the time difference between the received light and the emitted light is T, where T = T2-T1, the propagation speed of the light is known, the duration of T/2 is the duration of the light from the distance collecting device to the shielding surface, and the product of the speed and the duration is the distance between the distance collecting device 31 and the shielding surface 32.
Since the distance collecting device is disposed on the display screen panel of the electronic device, the distance between the distance collecting device 312 and the shielding surface 32 is the distance between the electronic device and the shielding surface 32.
If the electronic device is fixed, the operation position of the electronic device is also fixed relative to the position of the electronic device, under the condition that the distance between the electronic device and the shielding surface 32 is determined, whether the distance is matched with the operation position of the electronic device is only required to be determined, if the distance is matched with the operation position of the electronic device, the operation position of the electronic device is provided with a user, the environmental parameters of the environment where the electronic device is located do not meet the switching condition, the electronic device still keeps the current state, and the first processor does not need to control the electronic device to be in the first limit authority state; if the information is not matched with the first limiting authority state, the operation position of the electronic equipment is indicated to be free of users, the environmental parameters of the environment where the electronic equipment is located meet the requirements of switching and adjusting, and the electronic equipment needs to be controlled to be in the first limiting authority state by the first processor, so that the safety of the information in the electronic equipment is ensured.
If the electronic device is a mobile terminal, the distance between the operation position of the electronic device and the electronic device is necessarily in a certain range, and under the condition that the distance between the electronic device and the shielding surface 32 is determined, it is only required to determine whether the distance is matched with the operation position of the electronic device, and if the distance is matched with the shielding surface, it is indicated that the operation position of the electronic device is provided with a user, the environmental parameters of the environment where the electronic device is located do not meet the switching condition, the electronic device still keeps the current state, and the first processor does not need to control the electronic device to be in the first limited permission state.
Further, the method can also comprise the following steps: when the distance acquisition device is arranged on the display screen panel of the electronic equipment, the distance acquisition device is arranged to have a fixed included angle with the display screen panel of the electronic equipment, so that the acquisition range of the distance acquisition device can include the possible operation position of a user.
If the distance collecting device is disposed on the display screen panel of the electronic device and the angle between the distance collecting device and the display screen panel is 0 degree or 180 degrees, and if the light emitting range of the emitter is 60 degrees, when the distance between the distance collecting device and the display screen panel is L1, the length range of the light of the emitter on the shielding surface is L2, as shown in fig. 4;
if the distance collecting device is disposed on the display screen panel of the electronic device, and the angle between the distance collecting device and the display screen panel is a, if the light emitting range of the emitter is 60 degrees, then when the distance between the distance collecting device and the display screen panel is L1, the length range of the light of the emitter on the shielding surface is L3, as shown in fig. 5.
Since the inclination angle between the distance acquisition device and the display screen panel is increased in fig. 5, compared with fig. 4, both the emitter and the receiver are located in front of the emitter and the receiver in fig. 4, if only the distance between the emitter and the shielding plane is considered, and the distance in fig. 5 is shorter than the distance in fig. 4, then on the basis that the light emission range of the emitter is the same, the projection of the light emission range on the shielding plane will appear to be larger than that in fig. 4, and therefore L3 in fig. 5 is larger than L2 in fig. 4, that is, the detection range in fig. 5 is larger than that in fig. 4 relative to the same detection plane.
In addition, since the inclination angle occurs between the distance collecting device and the display screen panel, two values of the actual distance between the distance collecting device and the light shielding surface and the measured distance will occur, therefore, after the inclination angle a is designed, the relationship between the actual distance d between the distance collecting device and the light shielding surface and the measured distance d' is as shown in fig. 6, and after the correction is performed by the correction algorithm, the relationship between the actual distance and the measured distance is:
d = d' (f, a), where f is the transmit frequency of the transmitter.
Taking an electronic device as an example, no matter whether the computer is a desktop computer or a notebook computer, an included angle between the display screen and the surface where the keyboard is located is generally 90-100 degrees, and if an inclination angle is added between the distance acquisition device and the display screen panel, because the acquisition range of the distance acquisition device is increased, correspondingly, the included angle between the display screen and the surface where the keyboard is located can also be increased, for example: a is 15 degrees, and when the included angle between the display screen and the surface where the keyboard is located reaches 125 degrees, the operation position of the electronic equipment is still in the collection range of the distance collection device.
When the second mode is adopted:
the acquisition device can also be an image acquisition device, and when the state parameter indicates that the operating system is in an idle state, the third processor controls the image acquisition device to acquire an image data set within an acquisition range.
The image acquisition device is arranged on a display screen panel of the electronic equipment, so that the operation position in front of the display screen panel of the electronic equipment is in the acquisition range of the image acquisition device, and the image acquisition device is used for acquiring the image in front of the display screen panel of the electronic equipment, so as to determine whether a user is in the operation position in front of the display screen panel.
The method can be specifically as follows: if no user exists in the image acquired by the image acquisition device, indicating that the environmental parameter meets the switching condition; or, the operating position in the image acquired by the image acquisition device is not provided with a user, and other positions except the operating position are provided with users, which also indicates that the environmental parameters meet the switching condition; or the image acquisition device acquires a plurality of images within a first preset time length so as to determine whether the time length when the user is not at the operation position of the electronic equipment reaches a second preset time length, and if the time length reaches the second preset time length, the environmental parameter meets the switching condition;
alternatively, it may be:
determining whether a first frame image and a second frame image of the image data set obtained by the image acquisition device at the current moment are changed, wherein the first frame image and the second frame image are adjacent frame images of adjacent moments, if the first frame image and the second frame image are changed, determining that the environmental parameter does not meet the switching condition, and if the first frame image and the second frame image are not changed, determining that the environmental parameter meets the switching condition.
Specifically, the image acquisition device acquires images in real time, and if the images at adjacent moments change, it indicates that a person walks, and the walking of the person can be specifically as follows: the user operating the electronic device leaves, or other people than the user operating the electronic device move within the acquisition range.
For example: the method comprises the steps that the electronic equipment is in a working state at a first moment, is in an idle state at a second moment, and when the first processor determines that the electronic equipment is in the idle state, the third processor controls an image acquisition device to acquire an image data set;
or: the electronic equipment is in a work state at a first moment, is in an idle state at a second moment, and when the first processor determines that the electronic equipment is in the idle state, the third processor controls the image acquisition device to acquire an image data set.
When the third mode is adopted:
when the first processor obtains the state parameters and determines that the operating system is in an idle state, in order to ensure the safety of information in the electronic device, the third processor needs to control the acquisition device to acquire the environmental parameters.
Wherein, collection system can include: distance collection system and image acquisition device.
The distance acquisition device is used for obtaining a distance data set within an acquisition range, and then the third processor determines an image data set within the acquisition range of the distance acquisition device according to the distance data set. Specifically, the third processor processes the distance data set to determine whether a target object exists within the acquisition range of the distance acquisition device, and if the third processor determines that all the data in the distance data set are smaller than a certain threshold, it can be determined that the target object exists within the acquisition range of the distance acquisition device, which indicates that a user exists at the operation position of the electronic device, and at this time, the state of the electronic device does not need to be switched; if the third processor determines that the target object does not exist in the acquisition range of the distance acquisition device, that is, the third processor determines that the data in the distance data set is greater than a certain threshold, it indicates that no user exists at the operation position of the electronic device, or that no user exists in the acquisition range of the distance acquisition device, the third processor needs to start the image acquisition device, and the image acquisition device further confirms the data.
The image acquisition device acquires an image data set within an acquisition range, then the third processor determines whether a target object exists within the acquisition range of the image acquisition device according to the image data set, if the third processor determines that the target object exists within the acquisition range of the image acquisition device, it indicates that a user exists at the operation position of the electronic equipment, and at the moment, the state of the electronic equipment does not need to be switched; if the third processor determines that the target object does not exist in the acquisition range of the image acquisition device, it indicates that there is no user at the operation position of the electronic device, or indicates that there is no user in the acquisition range of the image acquisition device, and the first processor is required to control the electronic device to be in the first limited authority state.
The acquisition of the distance acquisition device and the image acquisition device for the environmental parameters, and the judgment of the third processor for the environmental parameters are the same as the above embodiments, and are not described herein again. In this embodiment, a state parameter of the electronic device is detected by the first processor to determine a state of the operating system, when the operating system is in an idle state, the third processor starts the distance acquisition device, the distance data set is determined by the distance acquisition device, if the distance data set indicates that the target object does not exist, the third processor continues to start the image acquisition device, and only when the image data set acquired by the image acquisition device still indicates that the target object does not exist in the acquisition range of the image acquisition device, the first processor controls the electronic device to be in the first restricted permission state.
Specifically, when the distance acquisition device determines a distance data set which indicates that no target object exists, that is, when a user leaves the electronic device, the third processor sends a GPIO interrupt signal to the image acquisition device, so that the image acquisition device is started, the image acquisition device acquires the image data set, and if the change between adjacent frame images determines whether the environmental parameter meets the switching condition, the third processor can acquire a picture characteristic dot matrix through the image acquisition device and compare the difference between the characteristic points of the first frame image and the second frame image to detect the motion behavior;
if the third processor detects that the first frame image and the second frame image are changed, the target object is in the acquisition range, namely the user is at the operation position of the electronic equipment, and at the moment, the current state of the electronic equipment system is kept; if no change between the first frame image and the second frame image is detected, it is indicated that no target object exists in the acquisition range, that is, the user leaves the operation position of the electronic device, at this time, the third processor informs the first processor through the GPIO interrupt signal, so that the first processor controls the electronic device to be switched from the second permission limiting state to the first permission limiting state.
Thus, the signal flow chart of the process may be as shown in fig. 9, and specifically includes: a first processor 91, a second processor 92, a third processor 93, a distance acquisition device 94, an image acquisition device 95, and an acquisition range 96, wherein the third processor 93 may at least include: an image signal processor 931 and a distance signal processor 932.
Step 91, the first processor detects the working state of the electronic equipment, and the working state is detected by the second processor;
step S92, if the second processor determines that the first processor is in an idle state, the second processor needs to send a signal to the distance signal processor;
s93, controlling a distance acquisition device to acquire distance information by a distance signal processor;
step S94, the distance acquisition device sends a detection signal for acquiring the distance, namely the distance is determined by the time difference between the transmission signal and the reflection signal through the transmission signal and the reflection signal when the shielding exists;
s95, returning the reflection signal to a distance acquisition device;
s96, the distance acquisition device sends the sent detection signals and the related information of the received reflection signals to the distance signal processor;
step S97, the distance signal processor processes the signal sent by the distance acquisition device, and then sends the signal to the image signal processor if the target object does not exist in the acquisition range;
s98, the image information processor sends a signal to the image acquisition device, so that the image acquisition device acquires an image in an acquisition range;
s99, the image acquisition device sends the acquired image to an image information processor so that the image information processor can judge whether a target object exists in an acquisition range according to the image;
step S910, if the image signal processor determines that no target object exists in the acquisition range, an interrupt signal is sent to the first processor.
Therefore, the whole processing process is realized on the basis of a hardware architecture without software support.
It should be noted that the process of obtaining the environmental parameter at least includes one of the three embodiments described above, namely: at least one of the following is included: the third processor controls the distance acquisition device to acquire a distance data set in an acquisition range; or the third processor controls the image acquisition device to obtain an image data set within the acquisition range; or the third processor controls the distance acquisition device to acquire a distance data set within the acquisition range, and controls the image acquisition device to acquire an image data set within the acquisition range according to the distance data set.
Further, a schematic structural diagram of the acquisition device disposed on the electronic device is shown in fig. 8a, and includes:
a first body 811, and a collection device 812.
The first body 11 has a first surface, and the collecting device 12 is disposed in or on the first surface and is configured to collect an environmental parameter outside the first surface, wherein an included angle between a collecting reference direction of the collecting device and the first surface does not satisfy a vertical condition. The acquisition device can be a distance acquisition device or an image acquisition device.
Wherein, the included angle of collection reference direction and the first surface of collection device does not satisfy the vertical condition, and wherein, collection reference direction can be the central line direction of gathering the scope, as shown in fig. 8b, includes: the first body 821, the collecting device 822, the collecting range a of the collecting device 822, the central line L of the collecting device, and the reverse extension line of the central line L of the collecting device intersect with the first surface, and form an included angle b, wherein b is an angle different from 90 degrees.
Further, the electronic device may further include an output device, and the schematic structural diagram is shown in fig. 8c, and includes: a first body 831, a collection device 832 and an output device 833.
The output device is capable of outputting multimedia content such as: a horn or a screen.
Further, output device can be display device, and display device sets up at first body, can let the user at first surface perception display image, and collection system is close to first lateral part setting, and first lateral part is the directional lateral part of the forward of display image.
The image of the electronic equipment is displayed on the first surface, namely the first surface comprises a surface of the display screen for displaying the image and also comprises a frame of the display screen. The acquisition device is arranged in the first surface of the display screen or on the first surface of the display screen. The acquisition device can be arranged in or on the surface of the display screen, and can also be arranged in or on the surface of a frame of the display screen.
Specifically, the capturing device is disposed near the first side portion, and the first side portion is a side portion pointing in a forward direction of the display image, that is, the first side portion is related to an orientation of the content displayed on the display screen, and the side portion pointing in the direction of the displayed content is the first side portion.
Defining the orientation of the display device displaying the image as a forward direction, such as: a picture is displayed in the display screen, and a user needs to look upwards on the basis of the lower edge of the picture to conveniently watch the picture; if the display screen is a mobile phone display screen, when a user watches the picture through the mobile phone display screen, the user needs to watch the picture at the lower edge side of the mobile phone display screen, if the picture is watched at the upper edge side of the mobile phone display screen, the picture watched by the user is the picture turned by 180 degrees, the picture watched by the user is opposite to the actual picture, and the watching direction of the user is the same as the displaying direction of the picture, so that the displaying direction of the picture is taken as the forward direction, and the first side part is the forward-direction side part.
Using show the characters through cell-phone display screen as an example, the orientation of every word is from bottom to top, then, the forward is this direction from bottom to top promptly, and first lateral part is the lateral part of the direction from bottom to top promptly, the upper end edge of cell-phone display screen promptly, as shown in fig. 8d, include: a first body 841, a collection device 842 and a display screen 843.
Of course, the first side may also be the upper, lower or left side of the display image, which is related to the predefined forward direction of the display image.
In addition, the acquisition device and the output device can also be: arranged side by side or stacked.
Wherein, collection system and output device set up side by side can be for: the collecting device and the output device are in the same horizontal plane on the first body, as shown in fig. 8e, and include: a first body 851, an acquisition device 852 and an output device 853.
The stacking arrangement of the collecting device and the output device can be as follows: the direction of outputting the multimedia content by the output device is used as the front, the acquisition device and the output device are arranged in front of and behind, wherein the acquisition device can be arranged in front of the output device, and the acquisition device can also be arranged behind the output device. Taking the example of the acquisition device being set after the output device, as shown in fig. 8f, the method includes: a first body 861, a collecting device 862 and an output device 863.
The relative position of the acquisition device and the output device may be any one of the above, and is not specifically limited herein.
Further, the electronic device may further include: the second surface, the schematic structural diagram of which is shown in fig. 8g, includes: a first body 871, a collection device 872, an output device 873, and a second surface 874.
The second surface is capable of holding the electronic device on a supporting surface. The second surface holds the electronic device on a supporting surface, that is, the electronic device is placed on a desktop, so that the electronic device can be stably held and supported by the desktop, and then, a contact surface between the electronic device and the desktop is the second surface, and the supporting surface is the desktop.
The output reference of the output device and the supporting surface have a first angle, the collecting reference of the collecting device and the supporting surface have a second angle, and the second angle is smaller than the first angle.
The output reference of the output device is the output direction of the output device, the output direction of the output device is vertical to the output device, and L1 is used for representing the output reference, wherein L1 is vertical to the output device; l2 is the collection reference direction of the collection device, and the collection reference direction is the central direction of the collection range of the collection device; l0 is parallel to the second surface.
The first angle formed by the output reference of the output device and the supporting surface is a first angle a1 formed by the output reference L1 of the output device and L0; a second angle formed by the collection datum of the collection device and the supporting surface, namely a second angle a2 formed by the collection datum L2 of the collection device and L0 is obviously obtuse a1, and acute a2, so that a2 is smaller than a1, namely the second angle is smaller than the first angle.
Further, as shown in fig. 8h, the schematic structural diagram of the electronic device includes: a first body 881, a collecting device 882 and a second body 883.
The first body 881 and the second body 883 are connected, and the first body 881 and the second body 883 can move relatively, so that the collection reference direction of the collection device is changed.
The electronic equipment comprises a first body and a second body, wherein the first body is connected with the second body, and the relative movement of the first body and the second body can change the collection reference direction of the collection device, namely the first body and the second body have a certain included angle, and the collection reference direction of the collection device is changed through the change of the included angle.
Then, the second body may be a body where a keyboard of a notebook computer is located, or a display stand of a desktop computer. Through the contained angle between adjustment first body and the second body for the collection scope of the collection device who sets up on the first body changes, and the collection benchmark direction that corresponds also changes.
Furthermore, the second body can be a plate-shaped body, is connected with the first body through a rotating shaft, and changes the collecting reference direction of the collecting device through the rotation of the second body relative to the first body;
because the electronic equipment is provided with the second surface, the second surface can keep the electronic equipment on a supporting surface, the output reference of the output device capable of outputting the multimedia content and the supporting surface have a first angle, the acquisition reference of the acquisition device and the supporting surface have a second angle, and the second angle is smaller than the first angle.
If the second body is a plate-shaped body and is connected with the first body through the rotating shaft, the notebook computer can be considered to be formed by the first body, the second body and the acquisition device, wherein the first body is also the plate-shaped body.
Through the first surface output display picture on the first body, make the contained angle between first body and the second body change through the relative motion of first body and second body, this moment, because first body position changes, so, output device's output benchmark changes, and is corresponding, because collection device is the same with output device, all sets up on first body, so, collection device's collection benchmark changes along with the change of first body position.
In a practical application scenario, the following are typical: the notebook computer is placed on a desktop, the first body and the second body are combined together, namely when the included angle is 0 degree, the acquisition device cannot acquire environmental information, when the first body and the second body have a certain included angle, the content on the screen can be seen, the output reference of the screen is a first position at the moment, the included angle between the screen and the supporting surface is a first numerical value, the acquisition range of the acquisition device is a second position, and the included angle between the corresponding acquisition reference direction and the supporting surface is a second numerical value; when the included angle between the first body and the second body is continuously increased, the output reference of the screen is the third position, the included angle between the screen and the supporting surface is the third numerical value, the acquisition range of the acquisition device is the fourth position, and the included angle between the corresponding acquisition reference direction and the supporting surface is the fourth numerical value.
Wherein a first variation range between the first position and the third position is the same as a second variation range between the second position and the fourth position, and a first value range between the first value and the third value is the same as a second value range between the second value and the fourth value; in addition, the difference between the first value and the second value is the same as the difference between the third value and the fourth value; and the second value is always smaller than the first value, and the fourth value is always smaller than the third value.
In addition, the first body is connected with the second body, and a columnar connection mode or an internal and external nested connection mode can be adopted as long as the first body and the second body are connected in a rotating mode.
Further, the method can also comprise the following steps: after the first processor controls the electronic equipment to be in the first limit authority state, the first processor continuously obtains the state parameters, so that when the state parameters are determined to indicate that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located, namely when the electronic equipment is detected to be in a non-idle state, the third processor controls the acquisition device to obtain the environment parameters of the environment where the electronic equipment is located, the first limit authority state can be switched to the second limit authority state by the first processor only according to the environment parameters, and specifically, when the environment parameters meet a second switching condition, the first limit authority state is switched to the second limit authority state by the first processor; or, the first processor directly switches the permission restricting state according to the state parameter, that is, when the electronic device is detected to be in a non-idle state, the first processor can directly release the first permission restricting state of the electronic device and switch the permission restricting state to the second permission restricting state.
Such as: the first restricted permission state is: when the first processor detects that the state parameter indicates that the operating system is in the working state, the first processor releases the first limit authority state of the electronic device, and increases the brightness of the display screen to a second brightness value, wherein the second brightness value is greater than the first brightness value, and the display screen enters a second limit authority state.
The method can also comprise the following steps: after the first processor controls the electronic equipment to be in the first limit authority state, the third processor controls the continuous acquisition device to acquire the environmental parameters of the environment where the electronic equipment is located, so that the third processor determines whether to switch the limit authority state according to the environmental parameters, namely when the environmental parameters meet a second switching condition, the first processor controls the electronic equipment to switch the first limit authority state into the second limit authority state.
The second switching condition may be: the target object is in the acquisition range of the distance acquisition device, and/or the target object is in the acquisition range of the image acquisition device. Wherein, there is the target object in distance acquisition device's the collection within range, can specifically be: at least part of the data in the distance data set acquired by the distance acquisition device is smaller than a certain threshold, or the data in the distance data set is smaller than a certain threshold.
Of course, after the first processor controls the electronic device to switch from the second permission-limiting state to the first permission-limiting state, the first processor continuously obtains the state parameters, and meanwhile, the third processor continuously controls the collecting device to collect the environmental parameters of the environment where the electronic device is located.
Further, the third processor controls the distance acquisition device to obtain a distance data set within the acquisition range, including:
a distance acquisition device arranged on the electronic equipment body acquires a first distance data set within a first acquisition range; if the first distance data set shows that the target object does not exist in the first acquisition range, controlling the distance acquisition device to adjust the acquisition range through the third processor, so that the acquisition range of the distance acquisition device is adjusted from the first acquisition range to the second acquisition range; the third processor controls the distance acquisition device to obtain a second distance data set of a second acquisition range; if the second distance data set indicates that the target object exists within the second acquisition range, the third processor determines that the environmental parameter does not satisfy the switching condition.
When the first processor determines that the operating system is in an idle state, the third processor controls the distance acquisition device on the electronic equipment body to start, the distance acquisition device firstly acquires a first distance data set in a first acquisition range, if the third processor determines that the first distance data set in the first acquisition range indicates that a target object exists in the first acquisition range, the environment parameter is indicated to meet the switching condition, and the first processor controls the electronic equipment to be in a first limit authority state; if the third processor determines that the first distance data set in the first acquisition range indicates that the target object does not exist in the first acquisition range, the acquisition range of the distance acquisition device needs to be adjusted through the first processor, so that the acquisition range of the distance acquisition device is adjusted from the first acquisition range to a second acquisition range, then the third processor controls the distance acquisition device to obtain a second distance data set in the second acquisition range, and if the second distance data set indicates that the target object exists in the second acquisition range, it is determined that the environmental parameters do not meet the switching conditions, and the state of the electronic equipment does not need to be switched; if the second distance data set indicates that the target object does not exist in the second acquisition range, the environmental parameter meets the switching condition, and the first processor controls the electronic device to be in the first limit authority state.
When setting up distance collection device on the electronic equipment body, electronic equipment's display screen panel promptly, its junction need set up a first angle adjustment mechanism to when can be adjusted the contained angle between distance collection device and the display screen panel in needs, can directly be controlled this first angle adjustment mechanism by first treater and change, realize the regulation of gathering the scope among the distance collection device.
Furthermore, if the acquisition device for acquiring the environmental parameters further comprises an image acquisition device, the second angle adjustment mechanism is also arranged at the joint of the image acquisition device and the display screen panel when the image acquisition device is arranged on the display screen panel of the electronic equipment, so that when the included angle between the image acquisition device and the display screen panel needs to be adjusted, the second angle adjustment mechanism can be directly controlled by the first processor to change, and the adjustment of the acquisition range in the image acquisition device is realized.
The adjustment process can also be as follows: when the third processor determines that the image acquisition device does not have the target object in the third acquisition range, the first processor controls the image acquisition device to adjust the acquisition range, so that the acquisition range of the image acquisition device is adjusted from the third acquisition range to a fourth acquisition range, the image acquisition is continued under the condition that the image acquisition device is in the fourth acquisition range, and then the first processor judges whether the environmental parameters meet the switching conditions.
In the electronic device disclosed in this embodiment, the first processor obtains the state parameter, where the state parameter indicates a working state of an operating system of the electronic device running on the second processor, and if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameter of an environment where the electronic device is located, and if the environment parameter meets a switching condition, the first processor controls the electronic device to be switched from a second restricted permission state to a first restricted permission state, where permission of the first restricted permission state is smaller than permission of the second restricted permission state. According to the scheme, the working state of the operating system of the electronic equipment is firstly detected, and if the operating system is in the idle state, the environmental parameters of the environment where the electronic equipment is located are further detected, so that when the switching condition is definitely met, waiting is not needed, the electronic equipment is directly controlled to be in the first limit authority state, the safety of information in the electronic equipment is ensured, and the user experience is improved.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method of processing, comprising:
the method comprises the steps that a first processor obtains state parameters, the state parameters are used for indicating the working state of an operating system of an electronic device running on a second processor, and the state parameters comprise the power consumption state of the second processor;
if the state parameter indicates that the operating system is in an idle state, the third processor controls the acquisition device to obtain the environment parameter of the environment where the electronic equipment is located, specifically, the acquisition device comprises a distance acquisition device and an image acquisition device, the third processor controls the distance acquisition device to obtain a distance data set within an acquisition range and controls the image acquisition device to obtain an image data set within the acquisition range, and the distance acquisition device utilizes the first angle adjustment mechanism to adjust the acquisition range;
and if the environmental parameters meet the switching condition, the first processor controls the electronic equipment to be switched from the second limited authority state to the first limited authority state, wherein the authority of the first limited authority state is smaller than the authority of the second limited authority state, and the network card module is still in a power supply state in the first limited authority state.
2. The method of claim 1, wherein the image acquisition device obtains an image dataset within an acquisition range, comprising:
determining whether a first frame image and a second frame image at the current moment in an image data set obtained by the image acquisition device are changed or not, wherein the first frame image and the second frame image are adjacent frame images at adjacent moments;
if the first frame image and the second frame image are changed, determining that the environmental parameters do not meet the switching condition;
and if the first frame image and the second frame image are not changed, determining that the environmental parameter meets a switching condition.
3. The method of claim 1, wherein the third processor controls a distance acquisition device to obtain a distance data set within an acquisition range, comprising:
a distance acquisition device arranged on the electronic equipment body acquires a first distance data set within a first acquisition range;
if the first distance data set shows that the target object does not exist in the first acquisition range, controlling the distance acquisition device to adjust the acquisition range through the third processor, so that the acquisition range of the distance acquisition device is adjusted from the first acquisition range to a second acquisition range;
the third processor controls the distance acquisition device to obtain a second distance data set of a second acquisition range;
if the second distance data set indicates that the target object is present within the second acquisition range, the third processor determines that the environmental parameter does not satisfy a handoff condition.
4. The method of claim 1, wherein after the first processor controls the electronic device to be in the first restricted permission state, further comprising at least one of:
the first processor continuously obtains state parameters, so that the third processor determines whether to control the acquisition device to obtain the environmental parameters of the environment where the electronic equipment is located according to the state parameters;
or the third processor continuously controls the acquisition device to acquire the environmental parameters of the environment where the electronic equipment is located, so that the first processor determines whether to switch the limited authority state according to the environmental parameters.
5. The method of claim 1, further comprising:
and if the state parameter indicates that the operating system is in an idle state, reducing the display brightness of the electronic equipment and/or the frequency of the second processor.
6. The method of claim 1, wherein if the environmental parameter satisfies a switch condition, the first processor controlling the electronic device to switch from a second restricted permission state to a first restricted permission state comprises:
if the environmental parameter meets the switching condition, the first processor controls the display brightness of the electronic equipment to be reduced to a preset brightness, and/or the frequency of the second processor is reduced to a preset frequency;
at intervals of a preset time, the first processor controls the electronic equipment to be switched from the second limited authority state to the first limited authority state;
if the environmental parameter is determined not to meet the switching condition within the preset time length, the first processor controls the display brightness to be increased to the initial brightness, and/or the frequency of the second processor is increased to the initial frequency.
7. An electronic device, comprising:
a second processor for running an operating system of the electronic device;
the first processor is used for obtaining a state parameter, wherein the state parameter indicates the working state of an operating system of the electronic equipment running in the second processor, and the state parameter comprises the power consumption state of the second processor;
the acquisition device is used for acquiring environmental parameters of the environment where the electronic equipment is located;
the third processor is used for controlling the acquisition device to acquire environmental parameters of the environment where the electronic equipment is located when the state parameters indicate that the operating system is in an idle state, specifically, the acquisition device comprises a distance acquisition device and an image acquisition device, the third processor controls the distance acquisition device to acquire a distance data set in an acquisition range and controls the image acquisition device to acquire an image data set in the acquisition range, and the distance acquisition device utilizes the first angle adjustment mechanism to adjust the acquisition range;
the first processor is further configured to control the electronic device to switch from a second restricted permission state to a first restricted permission state when the environmental parameter meets a switching condition, where permission of the first restricted permission state is smaller than that of the second restricted permission state, and the network card module is in a power supply state in the first restricted permission state.
8. The electronic device of claim 7,
the first processor is connected with the second processor to obtain the state parameters of the second processor;
and the third processor is connected with the first processor and acquires the information that the state parameter of the first processor indicates that the operating system is in an idle state.
9. The electronic device of claim 7, further comprising:
a first body having a first surface;
the acquisition device is arranged in or on the first surface and is used for acquiring environmental parameters outside the first surface;
and the included angle between the collection reference direction of the collection device and the first surface does not meet the vertical condition.
CN201910581851.2A 2019-06-30 2019-06-30 Processing method and electronic equipment Active CN110445926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910581851.2A CN110445926B (en) 2019-06-30 2019-06-30 Processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910581851.2A CN110445926B (en) 2019-06-30 2019-06-30 Processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110445926A CN110445926A (en) 2019-11-12
CN110445926B true CN110445926B (en) 2023-01-06

Family

ID=68429494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910581851.2A Active CN110445926B (en) 2019-06-30 2019-06-30 Processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110445926B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051946B (en) * 2021-03-31 2023-09-19 联想(北京)有限公司 Detection system and detection method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644990A (en) * 2009-08-21 2010-02-10 深圳华为通信技术有限公司 Method for quickly starting application program and equipment
CN102223435A (en) * 2010-04-16 2011-10-19 联想(北京)有限公司 Method for displaying connection state of communication component in electric equipment and electric equipment
CN102411691A (en) * 2010-09-21 2012-04-11 富泰华工业(深圳)有限公司 Electronic device and display and control method thereof
TW201244447A (en) * 2011-04-27 2012-11-01 Siliconware Precision Industries Co Ltd Audio input/output control system and method for a communications device
CN204680020U (en) * 2015-05-25 2015-09-30 山西机电职业技术学院 A kind of computer safety system
CN106896994A (en) * 2015-12-21 2017-06-27 阿里巴巴集团控股有限公司 A kind of frame display methods and device
CN106604374A (en) * 2016-11-30 2017-04-26 努比亚技术有限公司 Screen backlight control method and terminal
CN109257484B (en) * 2017-07-14 2021-05-25 西安中兴新软件有限责任公司 Display screen brightness processing method, terminal device and readable storage medium
CN109547625A (en) * 2017-09-22 2019-03-29 上海中兴软件有限责任公司 A kind of method and apparatus and terminal reducing power consumption
CN109788138A (en) * 2019-02-01 2019-05-21 Oppo广东移动通信有限公司 Screen control method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN110445926A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
EP3574388B1 (en) Determining user presence based on sensed distance
EP2600220B1 (en) Method for operating user functions based on eye tracking and mobile device adapted thereto
KR101965365B1 (en) Systems and methods for device interaction based on a detected gaze
US20180321731A1 (en) System and method for heuristics based user presence detection for power management
US9377893B2 (en) Touchscreen device with grip sensor and control methods thereof
EP4109218B1 (en) Mobile phone comprising a touch screen with an in-display fingerprint sensor
US7152172B2 (en) Method and apparatus for real time monitoring of user presence to prolong a portable computer battery operation time
US20150062032A1 (en) Mobile communication terminal, screen adjusting method and storage medium thereof
US20150058651A1 (en) Method and apparatus for saving battery of portable terminal
CN107450801B (en) Screen display control method and device, storage medium and mobile terminal
US20150362979A1 (en) Touch Screen Terminal and Working Method Thereof
US9405327B2 (en) Control method and control apparatus of electronic device, and electronic device
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
US8643771B2 (en) Electronic device and control method for controlling powering-saving state of electronic device
CN108762877A (en) A kind of control method and mobile terminal of interface of mobile terminal
CN110445926B (en) Processing method and electronic equipment
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
US20220366721A1 (en) Electronic apparatus and control method
CN105824474A (en) Control method and device as well as mobile equipment
CN109828635B (en) Method for adjusting screen position of terminal equipment and terminal equipment
CN210402144U (en) Electronic equipment
CN108696638B (en) Control method of mobile terminal and mobile terminal
US20220366722A1 (en) Electronic apparatus and control method
CN112698806A (en) Parameter adjusting method and device, electronic equipment and readable storage medium
EP4064004A1 (en) Screen wakeup method, screen wake-up apparatus and storage medium

Legal Events

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