WO2022152267A1 - 屏幕控制方法、装置和电子设备 - Google Patents

屏幕控制方法、装置和电子设备 Download PDF

Info

Publication number
WO2022152267A1
WO2022152267A1 PCT/CN2022/072133 CN2022072133W WO2022152267A1 WO 2022152267 A1 WO2022152267 A1 WO 2022152267A1 CN 2022072133 W CN2022072133 W CN 2022072133W WO 2022152267 A1 WO2022152267 A1 WO 2022152267A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
motion parameter
preset condition
parameter
motion
Prior art date
Application number
PCT/CN2022/072133
Other languages
English (en)
French (fr)
Inventor
王丰
殷红
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Priority to EP22739142.2A priority Critical patent/EP4280035A4/en
Publication of WO2022152267A1 publication Critical patent/WO2022152267A1/zh
Priority to US18/222,477 priority patent/US20230359292A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/014Hand-worn input/output arrangements, e.g. data gloves
    • GPHYSICS
    • G04HOROLOGY
    • G04CELECTROMECHANICAL CLOCKS OR WATCHES
    • G04C3/00Electromechanical clocks or watches independent of other time-pieces and in which the movement is maintained by electric means
    • G04C3/001Electromechanical switches for setting or display
    • G04C3/002Position, e.g. inclination dependent switches
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/02Detectors of external physical values, e.g. temperature
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a screen control method, device and electronic device.
  • the electronic device when a user uses a smart watch, in order to save power, the existing smart watch usually has a function according to the movement of the user's wrist. Status, which controls the ability of the display to turn on and off. Generally, the smart watch needs to turn on the display screen when the user's wrist is raised, and turn off the display screen when the user's wrist is lowered. The realization of this function can be done by the smart watch judging the direction of its own movement.
  • the electronic device has a decision error in judging whether the display screen is turned on or off, which reduces the efficiency of the user in using the portable electronic device.
  • the purpose of the embodiments of the present application is to provide a screen control method, device, and electronic device, which can solve the problem that the electronic device makes a decision error in judging whether the display screen is on or off, and reduces the efficiency of the user using the portable electronic device.
  • an embodiment of the present application provides a screen control method, which is applied to an electronic device.
  • the method includes: the electronic device detects a first motion parameter of the electronic device; and the electronic device determines the electronic device according to the first motion parameter.
  • an embodiment of the present application provides a screen control device, including a detection module, a determination module, and a startup module; the detection module is used to detect the first motion parameter of the electronic device; the determination module is used to detect the first motion parameter of the electronic device according to the above-mentioned first a motion parameter, to determine the wearing position where the user wears the electronic device; the activation module is used to determine the wearing position as the first position in the determination module, and the second motion parameter of the electronic device satisfies the first preset condition next, start the screen of the above-mentioned electronic device, and the above-mentioned first preset condition matches the above-mentioned first position; or, it is used to determine in the above-mentioned determining module that the above-mentioned wearing position is the above-mentioned first position, and the second movement parameter of the above-mentioned electronic equipment When the second preset condition is satisfied, the screen of the electronic device is turned off, and the second preset condition matches the
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the electronic device first detects the first motion parameter of the electronic device, and then determines the wearing position where the user wears the electronic device according to the detected first motion parameter. After the wearing position is determined, when the wearing position is the first position and the second motion parameter of the electronic device satisfies the first preset condition, the screen of the electronic device is activated; or, the wearing position is the first position, and the above When the second motion parameter of the electronic device satisfies a second preset condition, the screen of the electronic device is turned off, wherein the first preset condition and the second preset condition match the first position respectively.
  • the first motion parameter of the electronic device by detecting the first motion parameter of the electronic device, it is possible to accurately determine the wearing position of the user wearing the electronic device, so that when the user lifts his wrist to view the electronic device, it is possible to accurately determine the screen-on and screen-off operations, which is convenient for the user to view the electronic device.
  • the content displayed on the display screen of the device improves the efficiency of the user in using the electronic device.
  • FIG. 1 is a schematic flowchart of a screen control method provided by an embodiment of the present application.
  • FIG. 2 is one of schematic diagrams of variation and fluctuation of a first motion parameter applied to a screen control method provided by an embodiment of the present application;
  • FIG. 3 is the second schematic diagram of variation and fluctuation of a first motion parameter applied to a screen control method provided by an embodiment of the present application;
  • FIG. 4 is a schematic structural diagram of a screen control device provided by an embodiment of the present application.
  • FIG. 5 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • Centripetal force is the resultant external force directed to the center of the circle (the center of curvature) when the object moves along a circle or a curved orbit.
  • centripetal force is named from the effect of this combined external force. This effect can be produced by any force such as elastic force, gravity, friction, etc., or it can be provided by the resultant force of several forces or their components.
  • centripetal force is a pulling force whose direction keeps changing as the object moves in a circular orbit. This pulling force is directed towards the center of the circle along the radius of the circle, hence the name "centripetal force".
  • centripetal force points to the center of the circle, and the object controlled by the centripetal force moves in the direction of the tangent.
  • the size of the centripetal force is closely related to the mass (m) of the object, the length of the circular radius of the object's motion (r) and the angular velocity ( ⁇ ).
  • the centripetal force parameter in this embodiment of the present application may include a direction parameter of the centripetal force.
  • the screen control method provided by the embodiment of the present application can be used in a scenario where a user wears an electronic device to exercise and includes a detectable centripetal force parameter.
  • the functions and types of the existing electronic device are more and more.
  • existing smart watches usually have the function of controlling the display screen to turn on and off according to the movement state of the user's wrist.
  • the smart watch needs to turn on the display screen when the user's wrist is raised, and turn off the display screen when the user's wrist is lowered.
  • the realization of this function can be done by the smart watch judging the direction of its own movement.
  • the motion directions of judging that the display screen is turned on and off are different.
  • the motion directions of judging that the display screen is turned on and off are exactly opposite. . Therefore, if the correct position of wearing the electronic device cannot be accurately determined, the electronic device may make a wrong decision to determine whether the display screen is on or off, reducing the efficiency of the user in using the electronic device.
  • the electronic device when the user wears the electronic device, the electronic device first detects the first motion parameter of the electronic device, and then determines the wearing position where the user wears the electronic device according to the detected first motion parameter. After the wearing position is determined, when the wearing position is the first position and the second motion parameter of the electronic device satisfies the first preset condition, the screen of the electronic device is activated; or, the wearing position is the first position, and the above When the second motion parameter of the electronic device satisfies a second preset condition, the screen of the electronic device is turned off, wherein the first preset condition and the second preset condition match the first position respectively.
  • the electronic device by detecting the first motion parameter of the electronic device, it is possible to accurately determine the wearing position where the user wears the electronic device, so that the screen-on and screen-off operations can be accurately determined when the user lifts his wrist to view the electronic device, which is convenient for the user to view the electronic device.
  • the content displayed on the display screen of the device improves the efficiency of the user in using the electronic device.
  • This embodiment provides a screen control method. As shown in FIG. 1 , this embodiment is applied to an electronic device, and the screen control method includes the following steps 301 to 303:
  • Step 301 The screen control apparatus detects the first motion parameter of the electronic device.
  • the above-mentioned electronic device may be a portable electronic device.
  • the above-mentioned portable electronic device may be a portable smart watch or other wearable smart electronic device, which is not limited in this embodiment of the present application.
  • the above-mentioned screen control apparatus may continuously and uninterruptedly detect the first motion parameter of the electronic device, and may also periodically detect the first motion parameter of the electronic device.
  • the above-mentioned first motion parameter is a parameter used to determine the wearing position of the electronic device among the parameters corresponding to the current motion state of the above-mentioned electronic device.
  • the above-mentioned first motion parameter may include a direction parameter, a speed parameter, and the like.
  • the acceleration parameter and the direction parameter of the centripetal force may be included, which are not limited in this embodiment of the present application.
  • the electronic device may detect the above-mentioned first motion parameter through a motion state detection device inside the electronic device.
  • the electronic device may detect the above-mentioned first motion parameter through a built-in gyroscope (gyro) and an acceleration sensor (acceleration sensor, acc). For example, the movement direction and movement speed of the smart watch are detected through the built-in gyroscope.
  • gyro built-in gyroscope
  • acceleration sensor acceleration sensor
  • the motion state of the electronic device may be a motion state under a stable plane.
  • the X-Y axis plane can be a relative plane, that is, a plane that conforms to two axes (ie, a plane in any direction formed by two axes of relative 90°), and does not necessarily need an absolute plane, for example, an absolute horizontal plane.
  • the motion state on the stable plane may be translational motion on any two-axis plane.
  • the motion state may be translation and rotation of the electronic device on the X-Y plane. sports.
  • Step 302 The screen control apparatus determines the wearing position of the electronic device according to the first motion parameter.
  • the electronic device when the electronic device is worn in different positions, the corresponding first motion parameters are different, and the electronic device may pre-store the correspondence between the first motion parameter and the wearing position in the electronic device, and the user
  • the corresponding relationship between the first motion parameter and the wearing position may also be customized and set, which is not limited in this embodiment of the present application.
  • the embodiments of the present application may be executed when the electronic device has not set a wearing position or it is detected that the user has removed the electronic device and the wearing position needs to be reset. After the wearing position is determined, if it is not detected that the electronic device changes the wearing position, the determined result can be continuously used as the default wearing position, or the above steps 301 and 302 can be repeated by using the first motion parameter to continuously detect the first wearing position. Movement parameters and determining the exact wearing position are not limited in the embodiments of the present application.
  • Step 303 When the above-mentioned wearing position is the first position, and the second motion parameter of the above-mentioned electronic device satisfies the first preset condition, the screen control device activates the screen of the above-mentioned electronic device; or, when the above-mentioned wearing position is the above-mentioned first position.
  • the screen of the electronic device is turned off.
  • the first preset condition matches the first position
  • the second preset condition matches the first position
  • the above-mentioned first position may be the wearing position where the electronic device example is located. For example, if the user wears the electronic device on the left wrist, the left wrist is the first position.
  • the above-mentioned second motion parameter is a motion parameter used to determine whether the screen of the electronic device is on or off when the wearing position of the electronic device is in the first position.
  • the second motion parameter is the motion parameter of the motion process of the user raising the wrist to the front, or the motion parameter of the motion process of lowering the wrist.
  • the above-mentioned first preset condition is a condition corresponding to when the second motion parameter can satisfy the screen-on condition
  • the above-mentioned second preset condition is a condition corresponding to when the second motion parameter can satisfy the screen-off condition
  • the first preset condition and the second preset condition may be preset thresholds in different regions.
  • the above-mentioned preset threshold may be preset by an electronic device, or may be user-defined, which is not limited in this embodiment of the present application.
  • first preset condition and second preset condition can be expressed in the same type as the second motion parameter.
  • the first preset condition and the second preset condition The setting conditions can be the corresponding angle parameter ranges when the screen is on and the screen is off; it can also be a different type of expression from the second motion parameter.
  • the first preset condition and the first The second preset conditions are the corresponding direction parameters when the screen is on and when the screen is off.
  • the electronic device obtains the above angle parameters, it can convert them into direction parameters, compare them with the first preset condition and the second preset condition, and then determine On or off the screen.
  • the above-mentioned second motion parameter may be the Z-axis rotation direction parameter when the electronic device is moving.
  • the electronic device may determine the Z-axis rotation direction parameter through a gyroscope, and the first preset condition may be the electronic device.
  • the parameter range of the Z-axis rotation direction parameter corresponding to the bright screen, and the second preset condition may be the parameter range of the Z-axis rotation direction parameter corresponding to the screen-off when the electronic device is worn in different positions.
  • the electronic device when it is determined that the smart watch is worn on the user's left wrist (that is, the above-mentioned first position), if the gyroscope of the electronic device obtains that the rotation direction of the electronic device around the Z axis is clockwise (that is, If the gyroscope of the electronic device obtains that the rotation direction of the electronic device around the Z axis is counterclockwise (ie, the second preset condition), the screen is turned off.
  • the screen control device first detects the first motion parameter of the electronic device, and then determines the wearing position where the user wears the electronic device according to the detected first motion parameter. After the wearing position is determined, when the wearing position is the first position and the second motion parameter of the electronic device satisfies the first preset condition, the screen of the electronic device is activated; or, the wearing position is the first position, and the above When the second motion parameter of the electronic device satisfies a second preset condition, the screen of the electronic device is turned off, wherein the first preset condition and the second preset condition match the first position respectively.
  • the electronic device by detecting the first motion parameter of the electronic device, it is possible to accurately determine the wearing position where the user wears the electronic device, so that the screen-on and screen-off operations can be accurately determined when the user lifts his wrist to view the electronic device, which is convenient for the user to view the electronic device.
  • the content displayed on the display screen of the device improves the efficiency of the user in using the electronic device.
  • the screen control method provided by the embodiment of the present application may include the following step A:
  • Step A When the first motion parameter includes the centripetal force parameter when the electronic device moves along the curved track, the screen control device determines the wearing position where the user wears the electronic device according to the first motion parameter.
  • the above-mentioned curved track is a motion track when the electronic device is in motion.
  • the above-mentioned motion track may be a circular motion with the elbow joint as a center
  • the above-mentioned curved track may be a curved track with a circular motion with the elbow joint as a center
  • centripetal force parameter when the centripetal force parameter includes centripetal force direction and centripetal acceleration, different centripetal force directions and centripetal accelerations can indicate different motion centripetal force parameters of the electronic device, corresponding to different wearing positions.
  • the wearing position of the electronic device when the wearing position of the electronic device is the wrist, the circular movement worn on the left wrist and the circular movement worn on the right wrist correspond to each other.
  • static friction force will be generated between the electronic device and the wrist, and then the centripetal force parameter corresponding to the static friction force will be generated.
  • the accurate wearing position of the electronic device can be determined through the changes of the centripetal force direction and centripetal acceleration of different centripetal force parameters corresponding to different circular motions.
  • the screen control method provided by the embodiment of the present application may include the following steps B1 and B2: :
  • Step B1 In the case that the above-mentioned first motion parameter of the screen control device satisfies the third preset condition, it is determined that the above-mentioned electronic device is worn on the above-mentioned user's left hand.
  • Step B2 If the first motion parameter of the screen control device satisfies the fourth preset condition, it is determined that the electronic device is worn on the right hand of the user.
  • the above-mentioned centripetal force parameter further includes: a first centripetal force parameter in the first direction and a second centripetal force parameter in the second direction.
  • the first direction and the second direction are two directions perpendicular to each other on a plane where the display screen of the electronic device is located.
  • the third preset condition is: the first centripetal force parameter changes from a negative value to a positive value, the centripetal force parameter in the second direction changes from a positive value to a negative value; the fourth preset condition The first centripetal force The parameter changes from a positive value to a negative value, and the above-mentioned second centripetal force parameter changes from a negative value to a positive value.
  • the above-mentioned third preset condition and the above-mentioned fourth preset condition may be pre-stored in the electronic device by the electronic device, or may be user-defined settings, which are not limited in this embodiment of the present application.
  • the third preset condition may be the correspondence between the first motion parameter and the wearing position when the electronic device is worn on the left hand
  • the fourth preset condition may be the first motion parameter when the electronic device is worn on the left hand.
  • the first direction and the second direction may refer to the two axes of the aforementioned two-axis plane, and the directions of the two axes may be the first direction and the second direction, respectively.
  • Example 1 Assuming that the electronic device is a smart watch, and the first motion parameters are acceleration and centripetal force parameters, when the user wears the smart watch on the left wrist, and the left hand is still on the desktop to continuously operate the computer mouse, the smart watch will The first motion parameter is automatically and continuously detected, as shown in (a) and (b) in Figure 2, (a) in Figure 2 is the fluctuation diagram of centripetal acceleration changes, and (b) in Figure 2 is the direction Fluctuation diagram of central angular velocity variation.
  • the centripetal acceleration and the centripetal angular velocity of the smartwatch detected by the acc sensor of the smartwatch and the gyro in the X, Y, and Z axes fluctuated around 0 until the time period before and after 9.5s.
  • the user's right arm takes the elbow joint as the axis, and moves the wrist to the front by rotating the wrist counterclockwise along the circular curved orbit.
  • the acc detects that the center acceleration of the Z axis fluctuates.
  • centripetal acceleration is negative, correspondingly, it points from the wrist to the humerus at the wrist, and the centripetal acceleration along the Y-axis direction is negative to positive, that is, the smart watch is first pushed and then pulled, and gyro detects
  • the Z-axis centripetal angular velocity suddenly changes to -400 degrees/second and then rapidly changes to 0 degrees/second.
  • the centripetal angular velocity is a negative value. From the centripetal force velocity, it can be seen that the smart watch rotates clockwise.
  • the user's left arm takes the elbow joint as the axis, and rotates the wrist clockwise to the mouse through the circular motion along the curved track of the circumference, then the acc detects that the center acceleration of the Z axis fluctuates,
  • X The centripetal acceleration of the axis is negative, and the centripetal acceleration along the Y-axis direction is a positive value and turns to a negative value, that is, the smart watch is first pulled and then pushed, and gyro detects that the Z-axis central angular velocity suddenly changes to 400 degrees /sec and then rapidly increased to 0 degrees/sec, the centripetal angular velocity is a positive value, and the comprehensive judgment of the centripetal acceleration and angular velocity shows that the smart watch is rotating counterclockwise.
  • the smart watch is worn on the left hand.
  • the screen After judging that the smart watch is worn on the left hand, when gyro detects that the rotation direction of the Z-axis electronic device around the Z-axis (that is, the above-mentioned second motion parameter) is clockwise (that is, the above-mentioned first preset condition), the screen will be on, and if the smart watch When the gyro of the watch detects that the rotation direction of the smart watch around the Z axis (the second motion parameter mentioned above) is counterclockwise (ie, the second preset condition mentioned above), the screen is turned off.
  • Example 2 Assuming that the electronic device is a smart watch, and the first motion parameters are acceleration and centripetal force parameters, when the user wears the smart watch on the right wrist, and the right hand is placed still on the desktop to continuously operate the computer mouse, the smart watch will The first motion parameter is automatically and continuously detected, as shown in (a) and (b) in Figure 3, (a) in Figure 3 is the fluctuation diagram of centripetal acceleration, and (b) in Figure 3 is the direction Fluctuation diagram of central angular velocity variation.
  • the centripetal acceleration and the centripetal angular velocity of the smartwatch in the X, Y, and Z axes detected by the acc sensor of the smart watch and the gyro fluctuated around 0 until the time period before and after 84s.
  • the user's right arm takes the elbow joint as the axis, and moves the wrist to the front through a circular motion along the circular curve track counterclockwise.
  • acc detects that the Z-axis centripetal acceleration fluctuates, and the X-axis centripetal acceleration is a positive value.
  • the acceleration along the Y-axis direction turns from a negative value to a positive value, that is, the smart watch is first pushed and then pulled, and gyro detects a sudden increase in the Z-axis central angular velocity.
  • the centripetal angular velocity is a positive value, and it can be known from the centripetal angular velocity that the smart watch rotates counterclockwise.
  • the user's right arm takes the elbow joint as the axis, and rotates the wrist clockwise to the mouse through the circular motion along the curved track of the circumference, then the acc detects that the center acceleration of the Z axis fluctuates, and the X axis
  • the centripetal acceleration is positive, and the centripetal acceleration along the Y-axis direction is positive and turns negative, that is, the smart watch is first pushed and then pulled, and gyro detects that the Z-axis central angular velocity suddenly increases to -300 degrees/second and then rapidly increased to 0 degrees/second, the centripetal angular velocity is a negative value, and through the comprehensive judgment of the centripetal acceleration and angular velocity, it can be seen that the smart watch is rotating clockwise.
  • the smart watch is worn on the right hand.
  • the screen After judging that the smart watch is worn on the right hand, when gyro detects that the Z-axis electronic device rotates counterclockwise around the Z-axis (ie, the first preset condition), the screen will turn on. If the rotation direction of the shaft is clockwise (ie, the second preset condition), the screen will be off.
  • the acceleration sensor acc is in the positive direction of the Y-axis direction.
  • the integral area is equal in magnitude and opposite to the integral area in the negative direction.
  • there is no positive and negative offset along the X-axis of the accelerometer so there is no combination of thrust and pull, but only static friction as the centripetal force.
  • the sliding friction force can be used as the centripetal force.
  • the electronic device can preset conditions and accurately determine whether the electronic device is worn on the left hand or the right hand according to the acquired first motion parameters, and then turn on or off the screen at the moment when the electronic device can accurately determine that the user needs to view, saving the electronic device. resource consumption.
  • the screen control method provided by the embodiment of the present application further includes the following step C:
  • Step C The screen control apparatus re-determines the wearing position of the electronic device when it detects that there is an obstacle in the predetermined area where the electronic device is located.
  • the electronic device may detect the obstruction through the sensor.
  • the electronic device can detect obstructions through infrared sensors, and can also detect obstructions through capacitive touch sensors.
  • the above-mentioned predetermined area may be preset by the electronic device in advance, or may be user-defined.
  • the screen control apparatus may re-detect the first motion parameter of the electronic device through the above-mentioned re-detection, thereby re-determining the wearing position of the above-mentioned electronic device.
  • the predetermined area may be determined according to a condition for re-detecting the first motion parameter of the electronic device.
  • the predetermined area can be set on the back of the electronic device, then when the electronic device is separated from the user , the electronic device can sense through the sensor that the back of the electronic device has changed from an obstructing object to an unobstructed object, and then execute the above steps 301 and 302 to re-detect the first motion parameter of the above-mentioned electronic device, and then re-determine the wearing of the above-mentioned electronic device. Location.
  • the electronic device can re-detect the above-mentioned first motion parameter of the electronic device under certain circumstances, and then re-determine the wearing position, so as to ensure the accuracy of the determination of the wearing position, since there is no need to continuously detect the first motion parameter, the The resource consumption of the electronic device can be saved.
  • the screen control method provided by the embodiment of the present application may include the following step D:
  • Step D The screen control apparatus detects the first motion parameter of the electronic device when the electronic device is in a preset motion state in the third direction.
  • the third direction is a direction perpendicular to the plane where the display screen of the electronic device is located.
  • the preset motion state may be that the first motion parameter in the third direction exceeds a preset threshold.
  • the electronic device when the electronic device is in a stable state of the two-axis plane (that is, it does not have a centripetal force parameter that exceeds a preset threshold, for example, when the arm is statically placed on the two-axis plane), the electronic device does not have the centripetal force parameter.
  • the electronic device when the first motion parameter of the electronic device in the third direction reaches a preset threshold, the electronic device can determine that the electronic device has a centripetal force parameter, and can determine the wearing position of the portable electronic device by detecting the first motion parameter.
  • the above-mentioned first motion parameter in the third direction may be the first motion parameter during circular motion around the third direction on the plane where the first direction and the second direction are located.
  • the first motion parameter may include centripetal force parameters in the first direction, the second direction and the third direction, and the centripetal force parameter may include: centripetal angular velocity and centripetal acceleration.
  • Example 3 Take the electronic device as a smart watch, the first direction is the X axis, the second direction is the Y axis, and the third direction is the Z axis, as an example, when the smart watch is stationary on the X-Y plane and moves in a circle around the Z axis Under the condition that the motion amplitude is less than the preset threshold, the first motion parameter is not detected until the smart watch performs a circular motion around the Z axis, so that the motion amplitude on the Z axis is greater than or equal to the preset threshold, the detection of the electronic device The first motion parameter.
  • the timing of detecting the first motion parameter of the electronic device can be determined, so that the screen control can be detected at an appropriate timing, and then the wearing position of the portable electronic device can be accurately determined.
  • the execution body may be a screen control device, or a control module in the screen control device for executing the screen control method.
  • the screen control device provided by the embodiments of the present application is described by taking the screen control device executing the screen control method as an example.
  • FIG. 4 is a schematic structural diagram of a possible structure for implementing the screen control device provided by the embodiment of the present application.
  • the above-mentioned screen control device 600 includes: a detection module 601, a determination module 602 and a start-up module 603; the above-mentioned detection module 601 is used to detect the first motion parameter of the above-mentioned electronic device; the above-mentioned determination module is used to The above-mentioned first motion parameter detected by the above-mentioned detection module 600 determines the wearing position where the user wears the above-mentioned electronic device; the above-mentioned starting module 603 is used to determine in the above-mentioned determining module 602 that the above-mentioned wearing position is the first position, and the second position of the above-mentioned electronic equipment.
  • the screen of the above-mentioned electronic device is activated, and the above-mentioned first preset condition matches the above-mentioned first position; or, it is used for the above-mentioned determination module to determine that the above-mentioned wearing position is the above-mentioned first position.
  • the second motion parameter of the electronic device satisfies the second preset condition
  • the screen of the electronic device is turned off, and the second preset condition matches the first position.
  • the screen control device first detects the first motion parameter of the electronic device, and then determines the wearing position of the electronic device worn by the user according to the detected first motion parameter. After the wearing position is determined, when the wearing position is the first position and the second motion parameter of the electronic device satisfies the first preset condition, the screen of the electronic device is activated; or, the wearing position is the first position, and the above When the second motion parameter of the electronic device satisfies a second preset condition, the screen of the electronic device is turned off, wherein the first preset condition and the second preset condition match the first position respectively.
  • the electronic device by detecting the first motion parameter of the electronic device, it is possible to accurately determine the wearing position where the user wears the electronic device, so that the screen-on and screen-off operations can be accurately determined when the user lifts his wrist to view the electronic device, which is convenient for the user to view the electronic device.
  • the content displayed on the display screen of the device improves the efficiency of the user in using the electronic device.
  • the above-mentioned determining module 602 is specifically configured to, when the above-mentioned detection module 601 detects that the above-mentioned first motion parameter includes the centripetal force parameter when the above-mentioned electronic device moves along a curved track, The wearing position of the electronic device is determined according to the first motion parameter.
  • the above-mentioned determining module 602 is specifically configured to determine that the above-mentioned electronic device is worn on the above-mentioned user's left hand when the above-mentioned first motion parameter satisfies the third preset condition; the above-mentioned determining module 602 , which is specifically configured to determine that the electronic device is worn on the right hand of the user when the first motion parameter satisfies the fourth preset condition.
  • the centripetal force parameter includes: a first centripetal force parameter in a first direction and a second centripetal force parameter in a second direction; wherein the first direction and the second direction are the display of the electronic device
  • the above-mentioned third preset conditions are: the above-mentioned first centripetal force parameter changes from a negative value to a positive value, and the centripetal force parameter in the above-mentioned second direction changes from a positive value to a negative value; the above-mentioned third Four Preset Conditions The first centripetal force parameter changes from a positive value to a negative value, and the second centripetal force parameter changes from a negative value to a positive value.
  • the above-mentioned detection module 601 is further configured to re-determine the wearing position of the above-mentioned electronic equipment when an obstacle is detected in the predetermined area where the above-mentioned electronic equipment is located.
  • the detection module 601 is specifically configured to detect the first motion parameter of the electronic device when the electronic device is in a preset motion state in the third direction;
  • the three directions are directions perpendicular to the plane where the display screen of the electronic device is located.
  • the screen control device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the screen control device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the screen control apparatus provided in the embodiments of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 3 , and to avoid repetition, details are not repeated here.
  • the modules that must be included in the screen control device 600 are indicated by solid line frames, such as the detection module 601 .
  • an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801,
  • an electronic device 800 including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801,
  • the program or instruction is executed by the processor 801
  • each process of the above screen control method embodiments can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072
  • the display unit 106 includes a display panel 1061
  • the input unit 104 includes an image processor 1041 and a microphone 1042
  • the memory 109 can be used to store software programs (eg, an operating system). , applications required for at least one function) and various data.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 110 is configured to detect the first motion parameter of the electronic device; the processor 110 is further configured to determine the position where the user wears the electronic device according to the first motion parameter; the processor 110 is also configured to Used to start the screen of the electronic device when the wearing position is the first position and the second motion parameter of the electronic device satisfies a first preset condition, and the first preset condition matches the first position Or, when the above-mentioned wearing position is the above-mentioned first position, and the second motion parameter of the above-mentioned electronic device satisfies the second preset condition, the screen of the above-mentioned electronic device is turned off, and the above-mentioned second preset condition is the same as the above-mentioned first position. match.
  • the electronic device first detects the first motion parameter of the electronic device, and then determines the wearing position where the user wears the electronic device according to the detected first motion parameter. After the wearing position is determined, when the wearing position is the first position and the second motion parameter of the electronic device satisfies the first preset condition, the screen of the electronic device is activated; or, the wearing position is the first position, and the above When the second motion parameter of the electronic device satisfies a second preset condition, the screen of the electronic device is turned off, wherein the first preset condition and the second preset condition match the first position respectively.
  • the electronic device by detecting the first motion parameter of the electronic device, it is possible to accurately determine the wearing position where the user wears the electronic device, so that the screen-on and screen-off operations can be accurately determined when the user lifts his wrist to view the electronic device, which is convenient for the user to view the electronic device.
  • the content displayed on the display screen of the device improves the efficiency of the user in using the electronic device.
  • the above-mentioned processor 110 is specifically configured to determine, according to the above-mentioned first motion parameter, the centripetal force parameter of the above-mentioned electronic equipment when the above-mentioned first motion parameter includes the centripetal force parameter when the above-mentioned electronic equipment performs a circular motion along a curved track. wearing position.
  • the above-mentioned processor 110 is specifically configured to determine that the above-mentioned electronic device is worn on the above-mentioned user's left hand when the above-mentioned first motion parameter satisfies the third preset condition; the above-mentioned processor 110 is specifically used for the above-mentioned When the first motion parameter satisfies the fourth preset condition, it is determined that the electronic device is worn on the right hand of the user.
  • the above-mentioned processor 110 is further configured to re-determine the wearing position of the above-mentioned electronic equipment when an obstacle is detected in the predetermined area where the above-mentioned electronic equipment is located.
  • the above-mentioned processor 110 is specifically configured to detect the first motion parameter of the above-mentioned electronic equipment when the above-mentioned electronic equipment is in a preset motion state in a third direction; wherein, the above-mentioned third direction is perpendicular to the above-mentioned electronic equipment.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above screen control method embodiments.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run a program or an instruction to implement the above screen control method embodiments.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种屏幕控制方法、装置和电子设备。该方法应用于电子设备,该方法包括:电子设备检测电子设备的第一运动参数;电子设备根据第一运动参数,确定电子设备的佩戴位置;电子设备在佩戴位置为第一位置,且电子设备的第二运动参数满足第一预设条件的情况下,启动电子设备的屏幕,第一预设条件与第一位置相匹配;或者,在佩戴位置为上述第一位置,且电子设备的第二运动参数满足第二预设条件的情况下,熄灭电子设备的屏幕,第二预设条件与第一位置相匹配。

Description

屏幕控制方法、装置和电子设备
本申请要求于2021年01月15日提交国家知识产权局、申请号为202110057594.X、申请名称为“屏幕控制方法、装置和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于通信技术领域,具体涉及一种屏幕控制方法、装置和电子设备。
背景技术
随着电子设备技术的发展,电子设备的种类也越来越多,以电子设备为智能手表为例,在用户使用智能手表时,为了节约电量,现有的智能手表通常具备根据用户手腕的运动状态,控制显示屏幕亮起和熄灭的功能。一般地,智能手表需要在用户的手腕抬起时,显示屏幕亮起,在用户的手腕放下时,显示屏幕熄灭。而这一功能的实现可以通过智能手表判断自身运动方向的方式完成。
然而,在相关技术中,电子设备存在判断显示屏幕亮起和熄灭的决策错误,降低用户使用便携式电子设备的效率。
发明内容
本申请实施例的目的是提供一种屏幕控制方法、装置和电子设备,能够解决电子设备判断显示屏幕亮起和熄灭的决策错误,降低用户使用便携式电子设备的效率的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种屏幕控制方法,应用于电子设备,该方法包括:电子设备检测上述电子设备的第一运动参数;电子设备根据上述第一运动参数,确定上述电子设备的佩戴位置;电子设备在上述佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动上述电子设备的屏幕,上述第一预设条件与上述第一位置相匹配;或者,在上述佩戴位置为上述第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,上述第二预设条件与上述第一位置相匹配。
第二方面,本申请实施例提供了一种屏幕控制装置,检测模块、确定模块和启动模块;上述检测模块,用于检测上述电子设备的第一运动参数;上述确定模块,用于根据上述第一运动参数,确定用户佩戴上述电子设备的佩戴位置;上述启动模块,用于在上述确定模块确定上述佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动上述电子设备的屏幕,上述第一预设条件与上述第一位置相匹配;或者,用于在上述确定模块确定上述佩戴位置为上述第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,上述第二预设条件与上述第一位置相匹配。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所 述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,电子设备先行检测该电子设备的第一运动参数,然后根据检测到的第一运动参数,确定用户佩戴该电子设备的佩戴位置。在确定佩戴位置后,在佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动电子设备的屏幕;或者,佩戴位置为第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,其中,上述第一预设条件和第二预设条件分别与上述第一位置相匹配。如此,通过检测该电子设备的第一运动参数,可以准确判定用户佩戴该电子设备的佩戴位置,从而可以在用户抬腕查看电子设备时准确地判定亮屏和灭屏的操作,方便用户查看电子设备的显示屏中显示的内容,提高了用户使用电子设备的效率。
附图说明
图1是本申请实施例提供的一种屏幕控制方法的流程示意图;
图2为本申请实施例提供的一种屏幕控制方法所应用的第一运动参数变化波动示意图之一;
图3为本申请实施例提供的一种屏幕控制方法所应用的第一运动参数变化波动示意图之二;
图4为本申请实施例提供的一种屏幕控制装置的结构示意图;
图5为本申请实施例提供的一种电子设备的结构示意图之一;
图6为本申请实施例提供的一种电子设备的结构示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面对本申请实施例中出现的名词“向心力参数”作出如下解释:
向心力是当物体沿着圆周或者曲线轨道运动时,指向圆心(曲率中心)的合外力作用力。“向心力”一词是从这种合外力作用所产生的效果而命名的。这种效果可以由弹力、重力、摩擦力等任何一力而产生,也可以由几个力的合力或其分力提供。
因为圆周运动属于曲线运动,在做圆周运动中的物体也同时会受到与其速度方向不同的合外力作用。对于在做圆周运动的物体,向心力是一种拉力,其方向随着物体在圆周轨道上的运动而不停改变。此拉力沿着圆周半径指向圆周的中心,所以得名“向心力”。向心力指向圆周中心,且被向心力所控制的物体是沿着切线的方向运动。
向心力的大小与物体的质量(m)、物体运动圆周半径的长度(r)和角速度(ω)有着密切关系。
本申请实施例的向心力参数可以包括向心力的方向参数。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的屏幕控制方法进行详细地说明。
本申请实施例提供的屏幕控制方法可以用于用户佩戴电子设备进行运动时包含可检测到的向心力参数的场景。
针对用户佩戴电子设备进行运动时包含可检测到的向心力参数的场景,现有的电子设备的功能和种类越来越多,以电子设备为智能手表为例,用户在佩戴智能手表的情况下,为了节约电量,现有的智能手表通常具备根据用户手腕的运动状态,控制显示屏幕亮起和熄灭的功能。一般地,智能手表需要在用户的手腕抬起时,显示屏幕亮起,在用户的手腕放下时,显示屏幕熄灭。而这一功能的实现可以通过智能手表判断自身运动方向的方式完成。
然而,当电子设备位于不同位置时,判断显示屏幕亮起和熄灭的运动方向是不同的,例如,当智能手表佩戴在左手和右手时,判断显示屏幕亮起和熄灭的运动方向正好为相反的。因此,在无法准确判定电子设备佩戴的正确位置的情况下,会导致电子设备判断显示屏幕亮起和熄灭的决策错误,降低用户使用电子设备的效率。
在本申请实施例中,在用户佩戴电子设备的情况下,电子设备先行检测该电子设备的第一运动参数,然后根据检测到的第一运动参数,确定用户佩戴该电子设备的佩戴位置。在确定佩戴位置后,在佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动电子设备的屏幕;或者,佩戴位置为第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,其中,上述第一预设条件和第二预设条件分别与上述第一位置相匹配。如此,通过检测该电子设备的第一运动参数,可以准确判定用户佩戴该电子设备的佩戴位置,从而可以在用户抬腕查看电子设备时准确地判定亮屏和灭屏的操作,方便用户查看电子设备的显示屏中显示的内容,提高了用户使用电子设备的效率。
本实施例提供一种屏幕控制方法,如图1所示,本实施例应用于电子设备,该屏幕控制方法包括以下步骤301至步骤303:
步骤301:屏幕控制装置检测上述电子设备的第一运动参数。
在本申请实施例中,上述电子设备可以为便携式电子设备。其中,上述便携式电子设备可以为便携式智能手表,也可以为其他的穿戴式智能电子设备,本申请实施例对此不作限定。
在本申请实施例中,上述屏幕控制装置可以对电子设备的第一运动参数进行连续不间断检测,也可以对电子设备的第一运动参数进行周期性检测。
在本申请实施例中,上述第一运动参数为上述电子设备当前运动状态对应的参数 中用于判定电子设备佩戴位置的参数。
在一种示例中,上述第一运动参数可以包括方向参数、速度参数等。一般地,可以包含向心力的加速度参数和方向参数,本申请实施例对此不作限定。
在本申请实施例中,电子设备可以通过其内部的运动状态检测设备检测上述第一运动参数。
在一种示例中,电子设备可以通过内置陀螺仪(gyro)以及加速度传感器(acceleration sensor,acc)检测上述第一运动参数。例如,通过内置陀螺仪检测智能手表的运动方向和运动速度。
需要说明的是,在本申请实施例中,上述电子设备的运动状态可以为在稳定平面下的运动状态。例如,X-Y轴平面。可以理解的是,上述平面可为相对平面,即符合两轴平面即可(即相对90°的两轴构成的任意方向的平面),不一定需要绝对平面,例如,绝对的水平平面。在一种示例中,上述稳定平面上的运动状态可以为在任意两轴平面的平移运动,例如,当二轴平面为X-Y轴平面时,上述运动状态可以为电子设备在X-Y平面上的平移旋转运动。
步骤302:屏幕控制装置根据上述第一运动参数,确定上述电子设备的佩戴位置。
在本申请实施例中,当电子设备佩戴在不同的位置的情况下,对应的第一运动参数为不同的,电子设备可以将第一运动参数与佩戴位置的对应关系预存在电子设备中,用户也可以自定义设定第一运动参数与佩戴位置的对应关系,本申请实施例对此不作限定。
需要说明的是,当电子设备为用户佩戴的设备时,本申请实施例可以在电子设备未设定佩戴位置或者检测到用户卸下电子设备,需要重新设定佩戴位置的情况下执行。在确定佩戴位置后,在未检测到该电子设备更换佩戴位置的情况下,可以持续以判定后的结果作为默认佩戴位置,也可以通过第一运动参数重复上述步骤301和302,持续检测第一运动参数并确定准确的佩戴位置,本申请实施例对此不作限定。
步骤303:屏幕控制装置在上述佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动上述电子设备的屏幕;或者,在上述佩戴位置为上述第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕。
在本申请实施例中,上述第一预设条件与上述第一位置相匹配,上述第二预设条件与上述第一位置相匹配。
在本申请实施例中,上述第一位置可以为电子设备示例所处的佩戴位置,例如,用户将电子设备佩戴在左手腕,左手腕为第一位置。
在本申请实施例中,上述第二运动参数为电子设备的佩戴位置在第一位置的情况下,用于判定电子设备亮屏或者灭屏的运动参数。例如,假设第一位置为左手腕,则第二运动参数为用户抬起手腕至面前这一运动过程的运动参数,或者放下手腕这一运动过程的运动参数。
在本申请实施例中,上述第一预设条件为第二运动参数可以满足亮屏条件时所对应的条件,上述第二预设条件为第二运动参数可以满足灭屏条件时所对应的条件。
在本申请实施例中,上述第一预设条件和上述第二预设条件可以为不同区域范围 的预设阈值。其中,上述预设阈值可以为电子设备预设的,也可以为用户自定义的,本申请实施例对此不作限定。
可以理解地,上述第一预设条件和第二预设条件可以与第二运动参数为同一类型的表现方式,例如,当第二运动参数为角度参数时,第一预设条件和第二预设条件可以分别为亮屏和灭屏时对应的角度参数范围;也可以与第二运动参数为不同类型的表现方式,例如,当第二运动参数为角度参数时,第一预设条件和第二预设条件分别为亮屏和灭屏时对应的方向参数,电子设备在获取上述角度参数,可以将其转换为方向参数,与第一预设条件和第二预设条件进行对比,进而确定亮屏或者灭屏。
在一种示例中,上述第二运动参数可以为电子设备运动时的Z轴旋转方向参数,一般地,电子设备可以通过陀螺仪判断该Z轴旋转方向参数,第一预设条件可以为电子设备佩戴在不同位置时,亮屏对应的Z轴旋转方向参数的参数范围,第二预设条件可以为电子设备佩戴在不同位置时,熄屏对应的Z轴旋转方向参数的参数范围。
例如,当电子设备为智能手表,当确定智能手表佩戴在用户的左手腕(即上述第一位置)上时,若电子设备的陀螺仪获取到电子设备绕Z轴旋转方向为顺时针旋转(即第一预设条件),则亮屏,若电子设备的陀螺仪获取到电子设备绕Z轴旋转方向为逆时针旋转(即第二预设条件),则灭屏。
本申请实施例提供的屏幕控制方法,屏幕控制装置先行检测该电子设备的第一运动参数,然后根据检测到的第一运动参数,确定用户佩戴该电子设备的佩戴位置。在确定佩戴位置后,在佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动电子设备的屏幕;或者,佩戴位置为第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,其中,上述第一预设条件和第二预设条件分别与上述第一位置相匹配。如此,通过检测该电子设备的第一运动参数,可以准确判定用户佩戴该电子设备的佩戴位置,从而可以在用户抬腕查看电子设备时准确地判定亮屏和灭屏的操作,方便用户查看电子设备的显示屏中显示的内容,提高了用户使用电子设备的效率。
可选地,在本申请实施例中,在上述步骤302中的根据上述第一运动参数,确定上述电子设备的佩戴位置中,本申请实施例提供的屏幕控制方法可以包括如下步骤A:
步骤A:屏幕控制装置在上述第一运动参数中包含上述电子设备沿着曲线轨道进行运动时的向心力参数的情况下,根据上述第一运动参数,确定用户佩戴上述电子设备的佩戴位置。
在本申请实施例中,上述曲线轨道为电子设备进行运动时的运动轨道。
在一种示例中,在电子设备为佩戴在手腕处的情况下,上述运动轨道中可以为包含以肘关节为圆心的圆周运动,上述曲线轨道可以为以肘关节为圆心的圆周运动的曲线轨道。
在本申请实施例中,上述向心力参数可以参照前述描述,此处不再赘述。
在本申请实施例中,当向心力参数包括向心力方向和向心加速度时,不同的向心力方向和向心加速度可以指示电子设备不同的运动的向心力参数,对应不同的佩戴位置。
在一种示例中,当电子设备的佩戴位置为手腕时,佩戴在左手手腕的圆周运动与 佩戴在右手手腕的圆周运动为相互对应的。通常情况下,在左手手腕或者右手手腕进行圆周运动的过程中,电子设备与手腕处会产生静摩擦力,进而产生与该静摩擦力对应的向心力参数,由于左手手腕或者右手手腕处的圆周运动的运动方向为相反的,因此,可以通过不同的圆周运动对应的不同的向心力参数的向心力方向和向心加速度的变化情况,确定该电子设备的准确佩戴位置。
可选地在本申请实施例中,上述步骤302中的根据上述第一运动参数,确定用户佩戴上述电子设备的佩戴位置中,本申请实施例提供的屏幕控制方法可以包括如下步骤B1和步骤B2:
步骤B1:在屏幕控制装置的上述第一运动参数满足第三预设条件的情况下,则确定上述电子设备佩戴在上述用户的左手。
步骤B2:在屏幕控制装置的上述第一运动参数满足第四预设条件的情况下,则确定上述电子设备佩戴在上述用户的右手。
可选地,在本申请实施例中,上述向心力参数还包括:第一方向的第一向心力参数和第二方向的第二向心力参数。
示例性地,上述第一方向和第二方向为上述电子设备的显示屏所在平面上的相互垂直的两个方向。
示例性地,上述第三预设条件为:上述第一向心力参数由负值变化至正值,上述第二方向的向心力参数由正值变化至负值;上述第四预设条件上述第一向心力参数由正值变化至负值,上述第二向心力参数由负值变化至正值。
示例性地,上述第三预设条件和上述第四预设条件可以为电子设备预存在电子设备中的,也可以为用户自定义设定的,本申请实施例对此不作限定。
示例性地,上述第三预设条件可以为电子设备佩戴在左手时的第一运动参数与佩戴位置的对应关系,相类似地,上述第四预设条件可以为电子设备佩戴在左手时的第一运动参数与佩戴位置的对应关系。
示例性地,上述第一方向和第二方向可以参照前述两轴平面的两轴,两轴的方向可以分别为第一方向和第二方向。
示例1:假设电子设备为智能手表,第一运动参数为加速度和向心力参数,在用户将该智能手表佩戴在左手手腕上,且左手静止放置在桌面上持续操作电脑鼠标的情况下,智能手表将自动对其第一运动参数进行连续检测,如图2中的(a)和(b)所示,图2中的(a)为向心加速度变化波动图,图2中的(b)为向心角速度变化波动图。所示,在时间9.5s之前,智能手表的acc传感器和gyro检测到的智能手表在X、Y、Z轴的向心加速度和向心角速度均在0附近波动,直至9.5s前后的时间段,在这一时间段内,用户的右臂以肘关节为轴,通过圆周运动沿圆周的曲线轨道逆时针旋转将手腕移动至面前,acc检测到Z轴向心加速度有所波动,X轴的向心加速度为负值,相对应地在手腕处为从手腕处指向肱骨,沿着Y轴方向的向心加速度为负值转向正值,即智能手表先受到推力后又受到拉力,而gyro检测到Z轴向心角速度突然变化至-400度/秒然后迅速变化至0度/秒,该向心角速度为负值,通过该向心力速度可知,智能手表为顺时针旋转。
在12.5s前后的时间段内,用户的左臂以肘关节为轴,通过圆周运动沿圆周的曲 线轨道将手腕顺时针旋转至鼠标处,则acc检测到Z轴向心加速度有所波动,X轴的向心加速度为负值,沿着Y轴方向的向心加速度为正值转向负值,即智能手表先受到拉力后又受到推力,而gyro检测到Z轴向心角速度突然变化至400度/秒然后迅速增加至0度/秒,该向心角速度为正值,通过该向心加速度和角速度综合判断可知,智能手表为逆时针旋转。
通过上述两次第一运动参数的变化,根据预先设定的第一运动参数与佩戴位置的对应关系(即第一运动参数满足第一预设条件),可以判定,该智能手表佩戴在左手。
在判定智能手表佩戴在左手之后,当gyro检测到Z轴电子设备绕Z轴旋转方向(即上述第二运动参数)为顺时针旋转(即上述第一预设条件),则亮屏,若智能手表的gyro检测到智能手表绕Z轴旋转方向(第上述二运动参数)为逆时针旋转(即上述第二预设条件),则灭屏。
示例2:假设电子设备为智能手表,第一运动参数为加速度和向心力参数,在用户将该智能手表佩戴在右手手腕上,且右手静止放置在桌面上持续操作电脑鼠标的情况下,智能手表将自动对其第一运动参数进行连续检测,如图3中的(a)和(b)所示,图3中的(a)为向心加速度变化波动图,图3中的(b)为向心角速度变化波动图。在时间84s之前,智能手表的acc传感器和gyro检测到的智能手表在X、Y、Z轴的向心加速度和向心角速度均在0附近波动,直至84s前后的时间段,在这一时间段内,用户的右臂以肘关节为轴,通过圆周运动沿圆周的曲线轨道逆时针旋转将手腕移动至面前,acc检测到Z轴向心加速度有所波动,X轴的向心加速度为正值,相对应地在手腕处为从手腕处指向肱骨,沿着Y轴方向的加速度为负值转向正值,即智能手表先受到推力后又受到拉力,而gyro检测到Z轴向心角速度突然增大至300度/秒然后迅速回落至0度/秒,该向心角速度为正值,通过该向心角速度可知,智能手表为逆时针旋转。
在90s前后的时间段内,用户的右臂以肘关节为轴,通过圆周运动沿圆周的曲线轨道将手腕顺时针旋转至鼠标处,则acc检测到Z轴向心加速度有所波动,X轴的向心加速度为正值,沿着Y轴方向的向心加速度为正值转向负值,即智能手表先受到推力后又受到拉力,而gyro检测到Z轴向心角速度突然增大至-300度/秒然后迅速增加至0度/秒,该向心角速度为负值,通过该向心加速度和角速度综合判断可知,智能手表为顺时针旋转。
通过上述两次第一运动参数的变化,根据预先设定的第一运动参数与佩戴位置的对应关系(即第一运动参数满足第二预设条件),可以判定,该智能手表佩戴在右手。
在判定智能手表佩戴在右手之后,当gyro检测到Z轴电子设备绕Z轴旋转方向为逆时针旋转(即第一预设条件),则亮屏,若智能手表的gyro检测到智能手表绕Z轴旋转方向为顺时针旋转(即第二预设条件),则灭屏。
可以理解的是,在上述示例1和示例2中,因为用户手部动作的前后均为静止状态,所以推力和拉力是方向相反能量近似相等的,例如加速度传感器acc沿着Y轴方向正方向的积分面积与负方向的积分面积大小相等方向相反。而沿着加速度传感器X轴方向并没有出现正负抵消的情况,所以并没有存在推力和拉力组合,只是存在静摩擦力做为向心力。在一种示例中,在智能手表的表盘与手有相对运动的情况下,则可以将滑 动摩擦力做为向心力。
如此,电子设备可以预设条件,根据获取的第一运动参数,准确判定电子设备佩戴在左手或者右手,进而在电子设备可以准确判定用户需要查看的时刻,进行亮屏或者灭屏,节约电子设备的资源消耗。
可选地,在本申请实施例中,上述步骤302中的根据上述第一运动参数,确定上述电子设备的佩戴位置之后,本申请实施例提供的屏幕控制方法还包括如下步骤C:
步骤C:屏幕控制装置在检测到上述电子设备所处位置的预定区域内存在障碍物的情况下,重新确定上述电子设备的佩戴位置。
示例性地,电子设备可以通过传感器对遮挡物进行检测。例如,电子设备可以通过红外传感器对遮挡物进行检测,还可以通过电容触摸传感器对遮挡物进行检测。
示例性地,上述预定区域可以为电子设备提前预设的,也可以为用户自定义的。
示例性地,屏幕控制装置可以通过上述重新检测上述电子设备的第一运动参数,进而重新确定上述电子设备的佩戴位置。
示例性地,上述预定区域可以根据重新检测上述电子设备的第一运动参数的条件进行确定。
在一种示例中,当重新检测上述电子设备的第一运动参数的条件为用户卸下电子设备的情况下,可以将预定区域设定在电子设备的背面,则当电子设备脱离用户的情况下,电子设备可以通过传感器感知到电子设备的背部从有遮挡物变为无遮挡物,进而执行上述步骤301和步骤302,重新检测上述电子设备的第一运动参数,进而重新确定上述电子设备的佩戴位置。
如此,电子设备可以在特定情况下重新检测上述电子设备的第一运动参数,进而重新判定佩戴位置,从而在保证佩戴位置的判定准确性的情况下,由于无需持续检测第一运动参数,因此还可以节约电子设备的资源消耗。
可选地,在本申请实施例中,在上述步骤301中,本申请实施例提供的屏幕控制方法可以包括如下步骤D:
步骤D:屏幕控制装置在上述电子设备在第三方向上处于预设运动状态的情况下,检测上述电子设备的第一运动参数。
示例性地,上述第三方向为垂直于上述电子设备显示屏所在平面的方向。
示例性地,预设运动状态可以为在第三方向上的第一运动参数超过预设阈值。
可以理解的是,当电子设备处于两轴平面稳定状态(即不具备超过预设阈值的向心力参数的情况下,例如,在两轴平面上静止放置手臂)的时候,电子设备并不具备向心力参数,在电子设备在第三方向上的第一运动参数达到预设阈值的情况下,电子设备可以判定此时,该电子设备具备向心力参数,可以通过检测第一运动参数判定便携式电子设备的佩戴位置。
在一种示例中,上述在第三方向上的第一运动参数可以为在第一方向和第二方向所在平面上绕着第三方向的作圆周运动时的第一运动参数。其中,第一运动参数可以包括第一方向、第二方向和第三方向上的向心力参数,向心力参数可以包括:向心角速度和向心加速度。
示例3:以电子设备为智能手表,第一方向为X轴,第二方向为Y轴,第三方向 为Z轴为例,当智能手表处于X-Y平面上静止,围绕Z轴进行圆周运动的情况下,运动幅度小于预设阈值,因此,不对第一运动参数进行检测,直至智能手表围绕Z轴进行圆周运动,使得Z轴上的运动幅度大于等于预设阈值的情况下,检测上述电子设备的第一运动参数。
如此,通过第三方向的预设运动状态,可以判定检测电子设备第一运动参数的时机,从而在合适的时机对屏幕控制进行检测,进而可以准确地判定便携式电子设备的佩戴位置。
需要说明的是,本申请实施例提供的屏幕控制方法,执行主体可以为屏幕控制装置,或者该屏幕控制装置中的用于执行屏幕控制方法的控制模块。本申请实施例中以屏幕控制装置执行屏幕控制方法为例,说明本申请实施例提供的屏幕控制装置。
图4为实现本申请实施例提供的屏幕控制装置的可能的结构示意图。如图4所示,上述屏幕控制装置600,包括:检测模块601、确定模块602和启动模块603;上述检测模块601,用于检测上述电子设备的第一运动参数;上述确定模块,用于根据上述检测模块600检测的上述第一运动参数,确定用户佩戴上述电子设备的佩戴位置;上述启动模块603,用于在上述确定模块602确定上述佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动上述电子设备的屏幕,上述第一预设条件与上述第一位置相匹配;或者,用于在上述确定模块确定上述佩戴位置为上述第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,上述第二预设条件与上述第一位置相匹配。
本申请实施例提供的屏幕控制装置,屏幕控制装置先行检测该电子设备的第一运动参数,然后根据检测到的第一运动参数,确定用户佩戴该电子设备的佩戴位置。在确定佩戴位置后,在佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动电子设备的屏幕;或者,佩戴位置为第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,其中,上述第一预设条件和第二预设条件分别与上述第一位置相匹配。如此,通过检测该电子设备的第一运动参数,可以准确判定用户佩戴该电子设备的佩戴位置,从而可以在用户抬腕查看电子设备时准确地判定亮屏和灭屏的操作,方便用户查看电子设备的显示屏中显示的内容,提高了用户使用电子设备的效率。
可选地,在本申请实施例中,上述确定模块602,具体用于在上述检测模块601检测到上述第一运动参数中包含上述电子设备沿着曲线轨道进行运动时的向心力参数的情况下,根据上述第一运动参数,确定上述电子设备的佩戴位置。
可选地,在本申请实施例中,上述确定模块602,具体用于在上述第一运动参数满足第三预设条件的情况下,则确定上述电子设备佩戴在上述用户的左手;上述确定模块602,具体用于在上述第一运动参数满足第四预设条件的情况下,则确定上述电子设备佩戴在上述用户的右手。
可选地,在本申请实施例中,上述向心力参数包括:第一方向的第一向心力参数和第二方向的第二向心力参数;其中,上述第一方向和第二方向为上述电子设备的显示屏所在平面上的相互垂直的两个方向;上述第三预设条件为:上述第一向心力参数由负值变化至正值,上述第二方向的向心力参数由正值变化至负值;上述第四预设条 件上述第一向心力参数由正值变化至负值,上述第二向心力参数由负值变化至正值。
可选地,在本申请实施例中,上述检测模块601,还用于在检测到上述电子设备所处位置的预定区域内存在障碍物的情况下,重新确定上述电子设备的佩戴位置。
可选地,在本申请实施例中,上述检测模块601,具体用于在上述电子设备在第三方向上处于预设运动状态的情况下,检测上述电子设备的第一运动参数;其中,上述第三方向为垂直于上述电子设备显示屏所在平面的方向。
本申请实施例中的屏幕控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的屏幕控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的屏幕控制装置能够实现图1至图3的方法实施例实现的各个过程,为避免重复,这里不再赘述。
需要说明的是,如图4所示,屏幕控制装置600中一定包括的模块用实线框示意,如检测模块601。
可选地,如图5所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述屏幕控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。其中,用户输入单元107包括:触控面板1071和其他输入设备1072,显示单元106包含显示面板1061,输入单元104包括图像处理器1041和麦克风1042,存储器109可用于存储软件程序(如,操作系统、至少一个功能所需的应用程序)以及各种数据。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,上述处理器110,用于检测上述电子设备的第一运动参数;上述处理器110, 还用于根据上述第一运动参数,确定用户佩戴上述电子设备的佩戴位置;上述处理器110,还用于在上述佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动上述电子设备的屏幕,上述第一预设条件与上述第一位置相匹配;或者,在上述佩戴位置为上述第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,上述第二预设条件与上述第一位置相匹配。
本申请实施例提供的电子设备,该电子设备先行检测该电子设备的第一运动参数,然后根据检测到的第一运动参数,确定用户佩戴该电子设备的佩戴位置。在确定佩戴位置后,在佩戴位置为第一位置,且上述电子设备的第二运动参数满足第一预设条件的情况下,启动电子设备的屏幕;或者,佩戴位置为第一位置,且上述电子设备的第二运动参数满足第二预设条件的情况下,熄灭上述电子设备的屏幕,其中,上述第一预设条件和第二预设条件分别与上述第一位置相匹配。如此,通过检测该电子设备的第一运动参数,可以准确判定用户佩戴该电子设备的佩戴位置,从而可以在用户抬腕查看电子设备时准确地判定亮屏和灭屏的操作,方便用户查看电子设备的显示屏中显示的内容,提高了用户使用电子设备的效率。
可选地,上述处理器110,具体用于在上述第一运动参数中包含上述电子设备沿着曲线轨道进行圆周运动时的向心力参数的情况下,根据上述第一运动参数,确定上述电子设备的佩戴位置。
可选地,上述处理器110,具体用于在上述第一运动参数满足第三预设条件的情况下,则确定上述电子设备佩戴在上述用户的左手;上述处理器110,具体用于在上述第一运动参数满足第四预设条件的情况下,则确定上述电子设备佩戴在上述用户的右手。
可选地,上述处理器110,还用于在检测到上述电子设备所处位置的预定区域内存在障碍物的情况下,重新确定上述电子设备的佩戴位置。
可选地,上述处理器110,具体用于在上述电子设备在第三方向上处于预设运动状态的情况下,检测上述电子设备的第一运动参数;其中,上述第三方向为垂直于上述电子设备显示屏所在平面的方向。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述屏幕控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述屏幕控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (17)

  1. 一种屏幕控制方法,应用于电子设备,所述方法包括:
    检测所述电子设备的第一运动参数;
    根据所述第一运动参数,确定所述电子设备的佩戴位置;
    在所述佩戴位置为第一位置,且所述电子设备的第二运动参数满足第一预设条件的情况下,启动所述电子设备的屏幕,所述第一预设条件与所述第一位置相匹配;或者,在所述佩戴位置为所述第一位置,且所述电子设备的第二运动参数满足第二预设条件的情况下,熄灭所述电子设备的屏幕,所述第二预设条件与所述第一位置相匹配。
  2. 根据权利要求1所述的方法,其中,所述根据所述第一运动参数,确定所述电子设备的佩戴位置,包括:
    在所述第一运动参数中包含所述电子设备沿着曲线轨道进行运动时的向心力参数的情况下,根据所述第一运动参数,确定所述电子设备的佩戴位置。
  3. 根据权利要求2所述的方法,其中,所述根据所述第一运动参数,确定所述电子设备的佩戴位置,包括:
    在所述第一运动参数满足第三预设条件的情况下,则确定所述电子设备佩戴在用户的左手;
    在所述第一运动参数满足第四预设条件的情况下,则确定所述电子设备佩戴在所述用户的右手。
  4. 根据权利要求3所述的方法,其中,所述向心力参数包括:第一方向的第一向心力参数和第二方向的第二向心力参数;
    其中,所述第一方向和第二方向为所述电子设备的显示屏所在平面上的相互垂直的两个方向;
    所述第三预设条件为:所述第一向心力参数由负值变化至正值,所述第二方向的向心力参数由正值变化至负值;所述第四预设条件所述第一向心力参数由正值变化至负值,所述第二向心力参数由负值变化至正值。
  5. 根据权利要求1所述的方法,其中,所述根据所述第一运动参数,确定所述电子设备的佩戴位置之后,所述方法还包括:
    在检测到所述电子设备所处位置的预定区域内存在障碍物的情况下,重新确定所述电子设备的佩戴位置。
  6. 根据权利要求1至5任一项所述的方法,其中,所述检测所述电子设备的第一运动参数,包括:
    在所述电子设备在第三方向上处于预设运动状态的情况下,检测所述电子设备的第一运动参数;
    其中,所述第三方向为垂直于所述电子设备显示屏所在平面的方向。
  7. 一种屏幕控制装置,所述装置包括:检测模块、确定模块和启动模块;
    所述检测模块,用于检测电子设备的第一运动参数;
    所述确定模块,用于根据所述检测模块检测的所述第一运动参数,确定所述电子设备的佩戴位置;
    所述启动模块,用于在所述确定模块确定所述佩戴位置为第一位置,且所述电子 设备的第二运动参数满足第一预设条件的情况下,启动所述电子设备的屏幕,所述第一预设条件与所述第一位置相匹配;或者,用于在所述确定模块确定所述佩戴位置为所述第一位置,且所述电子设备的第二运动参数满足第二预设条件的情况下,熄灭所述电子设备的屏幕,所述第二预设条件与所述第一位置相匹配。
  8. 根据权利要求7所述的装置,其中,
    所述确定模块,具体用于在所述检测模块检测到所述第一运动参数中包含所述电子设备沿着曲线轨道进行运动时的向心力参数的情况下,根据所述第一运动参数,确定所述电子设备的佩戴位置。
  9. 根据权利要求8所述的装置,其中,
    所述确定模块,具体用于在所述第一运动参数满足第三预设条件的情况下,则确定所述电子设备佩戴在用户的左手;
    所述确定模块,具体用于在所述第一运动参数满足第四预设条件的情况下,则确定所述电子设备佩戴在所述用户的右手。
  10. 根据权利要求9所述的装置,其中,所述向心力参数包括:第一方向的第一向心力参数和第二方向的第二向心力参数;
    其中,所述第一方向和第二方向为所述电子设备的显示屏所在平面上的相互垂直的两个方向;
    所述第三预设条件为:所述第一向心力参数由负值变化至正值,所述第二方向的向心力参数由正值变化至负值;所述第二预设条件所述第一向心力参数由正值变化至负值,所述第二向心力参数由负值变化至正值。
  11. 根据权利要求7所述的装置,其中,
    所述检测模块,还用于在检测到所述电子设备所处位置的预定区域内存在障碍物的情况下,重新确定所述电子设备的佩戴位置。
  12. 根据权利要求7至11任一项所述的装置,其中,
    所述检测模块,具体用于在所述电子设备在第三方向上处于预设运动状态的情况下,检测所述电子设备的第一运动参数;
    其中,所述第三方向为垂直于所述电子设备显示屏所在平面的方向。
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6任一项所述的屏幕控制方法的步骤。
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6任一项所述的屏幕控制方法的步骤。
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至6中任一项所述的屏幕控制方法的步骤。
  16. 一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至6中任一项所述的屏幕控制方法的步骤。
  17. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至6中任一 项所述的屏幕控制方法的步骤。
PCT/CN2022/072133 2021-01-15 2022-01-14 屏幕控制方法、装置和电子设备 WO2022152267A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22739142.2A EP4280035A4 (en) 2021-01-15 2022-01-14 SCREEN CONTROL METHOD AND APPARATUS AND ELECTRONIC DEVICE
US18/222,477 US20230359292A1 (en) 2021-01-15 2023-07-16 Screen control method and apparatus, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110057594.XA CN112711334A (zh) 2021-01-15 2021-01-15 屏幕控制方法、装置和电子设备
CN202110057594.X 2021-01-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/222,477 Continuation US20230359292A1 (en) 2021-01-15 2023-07-16 Screen control method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2022152267A1 true WO2022152267A1 (zh) 2022-07-21

Family

ID=75549189

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/072133 WO2022152267A1 (zh) 2021-01-15 2022-01-14 屏幕控制方法、装置和电子设备

Country Status (4)

Country Link
US (1) US20230359292A1 (zh)
EP (1) EP4280035A4 (zh)
CN (1) CN112711334A (zh)
WO (1) WO2022152267A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711334A (zh) * 2021-01-15 2021-04-27 维沃移动通信有限公司 屏幕控制方法、装置和电子设备
CN116225227B (zh) * 2023-03-10 2024-07-09 东莞市猎声电子科技有限公司 一种基于有限状态机的亮屏判定方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227355A (zh) * 2016-09-09 2016-12-14 广东乐源数字技术有限公司 一种可实现抬手亮屏的智能手环
CN111722692A (zh) * 2019-03-21 2020-09-29 奇酷互联网络科技(深圳)有限公司 功耗控制方法、存储介质及可穿戴设备
CN111750895A (zh) * 2019-07-31 2020-10-09 广东小天才科技有限公司 一种基于可穿戴设备的运动方向检测方法及可穿戴设备
CN112711334A (zh) * 2021-01-15 2021-04-27 维沃移动通信有限公司 屏幕控制方法、装置和电子设备

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2445635C2 (ru) * 2007-04-13 2012-03-20 Кинетик, Инк. Силовой датчик и способ определения радиуса поворота движущегося объекта
WO2014145122A2 (en) * 2013-03-15 2014-09-18 Aliphcom Identification of motion characteristics to determine activity
KR102179812B1 (ko) * 2013-07-18 2020-11-17 엘지전자 주식회사 와치형 이동단말기
US9606721B2 (en) * 2013-07-22 2017-03-28 Lg Electronics Inc. Mobile terminal and control method thereof
TWI521382B (zh) * 2013-12-06 2016-02-11 廣達電腦股份有限公司 穿戴式裝置之控制方法
US10254804B2 (en) * 2014-02-11 2019-04-09 Apple Inc. Detecting the limb wearing a wearable electronic device
JP6551929B2 (ja) * 2015-09-16 2019-07-31 株式会社ファインウェル 受話機能を有する腕時計
JP2017102429A (ja) * 2015-11-19 2017-06-08 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America ウェアラブル端末および制御方法
JP6334601B2 (ja) * 2016-05-17 2018-05-30 レノボ・シンガポール・プライベート・リミテッド 携帯情報端末、装着腕判定方法、装着向き判定方法、及びプログラム
US11341776B2 (en) * 2016-07-15 2022-05-24 Htc Corporation Method, electronic apparatus and recording medium for automatically configuring sensors
US10478099B2 (en) * 2016-09-22 2019-11-19 Apple Inc. Systems and methods for determining axial orientation and location of a user's wrist
CN107155005A (zh) * 2017-04-27 2017-09-12 上海斐讯数据通信技术有限公司 一种智能腕式可穿戴装置亮屏控制方法及系统
CN110187758B (zh) * 2019-05-08 2023-06-30 安徽华米信息科技有限公司 显示方法、装置、智能穿戴设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227355A (zh) * 2016-09-09 2016-12-14 广东乐源数字技术有限公司 一种可实现抬手亮屏的智能手环
CN111722692A (zh) * 2019-03-21 2020-09-29 奇酷互联网络科技(深圳)有限公司 功耗控制方法、存储介质及可穿戴设备
CN111750895A (zh) * 2019-07-31 2020-10-09 广东小天才科技有限公司 一种基于可穿戴设备的运动方向检测方法及可穿戴设备
CN112711334A (zh) * 2021-01-15 2021-04-27 维沃移动通信有限公司 屏幕控制方法、装置和电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4280035A4

Also Published As

Publication number Publication date
EP4280035A1 (en) 2023-11-22
US20230359292A1 (en) 2023-11-09
EP4280035A4 (en) 2024-06-12
CN112711334A (zh) 2021-04-27

Similar Documents

Publication Publication Date Title
WO2022152267A1 (zh) 屏幕控制方法、装置和电子设备
CN109144181B (zh) 设备中的抬起手势检测
EP4130950A1 (en) Display method and electronic device
WO2018191900A1 (zh) 显示控制方法及装置
US20220286503A1 (en) Synchronization method and electronic device
KR102607562B1 (ko) 베젤 기반 인터랙션에 따른 비주얼 이펙트 제공 방법 및 이를 구현한 전자 장치
US20120038675A1 (en) Assisted zoom
US20130141464A1 (en) Orientation Control
JP5620331B2 (ja) 携帯電子機器、制御方法および制御プログラム
JP2016038905A (ja) 入力装置および機器制御方法
KR20180023284A (ko) 복수의 터치 디스플레이들을 포함하는 전자 장치 및 이의 상태 전환 방법
EP3317748A1 (en) Touchless user interface navigation using gestures
CN111147743B (zh) 摄像头控制方法及电子设备
US20170153728A1 (en) Information processing device, information processing method, and program
JP2018538590A (ja) 加速度計の入力を用いたコンバーチブル型コンピューティング装置の動作状態の変更
KR102616405B1 (ko) Hmi 확장을 통해 웨어러블 디바이스 사용자 경험을 개량하기 위한 자이러토리 센싱 시스템
CN110417960B (zh) 一种可折叠触摸屏的折叠方法及电子设备
US20180374501A1 (en) Detecting pause in audible input to device
CA3045169A1 (en) Method and system for device placement based optimization techniques
EP3091422B1 (en) Method, apparatus and computer program product for entering operational states based on an input type
EP4068758A1 (en) Image capture method and electronic device
US20160291703A1 (en) Operating system, wearable device, and operation method
KR20030060251A (ko) 휴대용 기기에서 표시 화면의 전환 장치 및 방법
US20150212593A1 (en) Operational Methods and Systems for Motion-Centric User Interfaces
US20160202997A1 (en) Portable device operating system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22739142

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022739142

Country of ref document: EP

Effective date: 20230816