CN112199003A - Display screen switching method and device, equipment and storage medium - Google Patents

Display screen switching method and device, equipment and storage medium Download PDF

Info

Publication number
CN112199003A
CN112199003A CN202011063742.0A CN202011063742A CN112199003A CN 112199003 A CN112199003 A CN 112199003A CN 202011063742 A CN202011063742 A CN 202011063742A CN 112199003 A CN112199003 A CN 112199003A
Authority
CN
China
Prior art keywords
display screen
sensing
determining
pressure
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.)
Pending
Application number
CN202011063742.0A
Other languages
Chinese (zh)
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202011063742.0A priority Critical patent/CN112199003A/en
Publication of CN112199003A publication Critical patent/CN112199003A/en
Pending legal-status Critical Current

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • 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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/043Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using propagating acoustic waves
    • 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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • G06F3/0441Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using active external devices, e.g. active pens, for receiving changes in electrical potential transmitted by the digitiser, e.g. tablet driving signals
    • 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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/045Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using resistive elements, e.g. a single continuous surface or two parallel surfaces put in contact
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for switching a display screen, wherein the method comprises the following steps: determining the positions of N sensing areas receiving pressure on the electronic equipment and a sensing parameter value corresponding to each sensing area, wherein N is a natural number greater than 1; determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas; switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.

Description

Display screen switching method and device, equipment and storage medium
Technical Field
The embodiment of the application relates to electronic technology, and relates to but is not limited to a method, a device, equipment and a storage medium for switching a display screen.
Background
The automatic rotation function of display screen can be opened on smart machine, if the function sets up to open, then can detect the state of current equipment, smart machine's inclination promptly through acceleration sensor or gyroscope sensor to controlgear carries out the switching of horizontal screen or perpendicular screen.
However, in some special scenes, such as holding the device with both hands lying on one side for video appreciation or game operation, once the body moves slightly (turns over or rises), the electronic device will turn over slightly horizontally, and at this time, the display screen of the electronic device may change from a horizontal screen to a vertical screen, which disturbs the immersive experience effect of the user. As another example, in a case where the electronic device is suddenly laid flat in a state where the device is held with one hand, a flipping of the video interface may occur, but the user does not intend to perform the interface flipping.
That is, although the movement direction of the electronic device can be detected by the acceleration sensor, only the movement in the axial direction can be detected. Although a gyroscope can measure the rotation and deflection of an electronic device, the selection of hardware parameters such as the linear acceleration sensitivity, the angular velocity sensitivity and the noise of the device is limited, and the problem of a specific pain point scene in the above example cannot be effectively solved.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for switching a display screen, a device, and a storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for switching a display screen, where the method includes: determining the positions of N sensing areas receiving pressure on the electronic equipment and a sensing parameter value corresponding to each sensing area, wherein N is a natural number greater than 1; determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas; switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
In a second aspect, an embodiment of the present application provides a switching apparatus for a display screen, where the apparatus includes: the first determining unit is used for determining the positions of N sensing areas receiving pressure on the electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1; the second determining unit is used for determining the first direction of the display screen according to the positions of the N sensing areas and the sensing parameter values corresponding to the N sensing areas; the processing unit is used for switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps in the handover method when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the handover method described above.
The embodiment of the application provides a method, a device and a storage medium for switching a display screen, wherein the method comprises the steps of determining the positions of N sensing areas receiving pressure on electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1; determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas; switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen; therefore, the direction of the display screen of the electronic equipment can be determined according to the position of the sensing area receiving the pressure in the electronic equipment and the sensing parameters corresponding to the sensing area, and the problem that the horizontal and vertical screen switching of the display screen under a part of specific scenes in the related art does not meet the actual requirements of users is solved.
Drawings
FIG. 1A is a schematic diagram of an automatic display panel switch according to the related art;
FIG. 1B is a first diagram illustrating a specific usage scenario of an electronic device in the related art;
FIG. 1C is a diagram illustrating a specific usage scenario of an electronic device in the related art;
fig. 2 is a first schematic flow chart illustrating an implementation process of a display screen switching method according to an embodiment of the present application;
fig. 3 is a schematic view illustrating a second implementation flow of a display screen switching method according to an embodiment of the present application;
fig. 4 is a schematic view illustrating a third implementation flow of a display screen switching method according to an embodiment of the present application;
FIG. 5A is a schematic diagram of a piezoresistive pressure button according to an embodiment of the present application;
FIG. 5B is a schematic diagram of the acceleration and angle output values of the electronic device as a landscape screen and a portrait screen according to an embodiment of the present application;
FIG. 5C is a schematic diagram illustrating a position of a side pressure button according to an embodiment of the present disclosure;
FIG. 5D is a schematic diagram of a two-handed electronic device according to an embodiment of the present disclosure;
FIG. 5E is a first schematic diagram of the electronic device held by one hand according to the embodiment of the present application;
fig. 5F is a second schematic view illustrating the electronic device being held by one hand according to the embodiment of the disclosure;
FIG. 6 is a schematic diagram illustrating a structure of a switching device of a display panel according to an embodiment of the present disclosure;
fig. 7 is a hardware entity diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Generally, an electronic device has an automatic rotation function of a display screen, and the automatic rotation function can be turned on and off by a function selection switch on the electronic device. Fig. 1A is a schematic diagram of an automatic display screen switching switch in the related art, and as shown in fig. 1A, an automatic rotary switch 12 exists in a pull-down menu of a display interface 11 of an electronic device, and automatic switching between horizontal and vertical screens can be achieved through operation of the switch 12. In the related art, a gyroscope and an acceleration sensor are mainly used for realizing automatic switching of horizontal and vertical screens. The acceleration sensor measures linear acceleration in the three-axis direction, and the gyroscope measures angular acceleration in the three-axis direction. The gyroscope and the acceleration sensor are commonly used sensors in intelligent electronic equipment, and at present, more two-in-one schemes of the two sensors are adopted. The acceleration sensor can equivalently detect the motion direction of the electronic equipment, namely the gesture detection applied to the electronic equipment. The electronic equipment can only detect the axial motion by the acceleration sensor, but can not measure the rotational motion, and the gyroscope can measure the rotational motion and the deflection motion of the electronic equipment, so that the actual motion of a user can be accurately analyzed, and application development is carried out on the basis.
Fig. 1B is a schematic diagram of a specific usage scenario of an electronic device in the related art, as shown in fig. 1B, in the use of some specific scenarios, such as holding the electronic device with a horizontal screen on both sides as shown in a circular frame 101 for video appreciation or game operation, once the body moves slightly (turns over or rises), the electronic device may turn horizontally and slightly, and at this time, the screen of the electronic device may change from the horizontal screen to the vertical screen, which disturbs the immersive experience effect of the user. Fig. 1C is a schematic diagram of a specific usage scenario of an electronic device in the related art, as shown in fig. 1C, when some specific scenarios are used, for example, when the electronic device is operated by two hands standing on a screen as shown in a circular frame 111, the electronic device is suddenly laid flat by being held by two hands, and a flipping of the video interface may also occur, but the user does not intend to flip at this time.
Therefore, the embodiment of the application provides a new display screen switching method, which can be implemented by determining the positions of N sensing areas receiving pressure on an electronic device and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1; determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas; and switching the state of the display screen according to the first direction. Therefore, the direction of the display screen of the electronic equipment can be determined according to the position of the sensing area receiving the pressure in the electronic equipment and the sensing parameters corresponding to the sensing area, and the problem that the horizontal and vertical screen switching of the display screen under a part of specific scenes in the related art is not in line with the actual requirements of users is solved. In addition, the switching method of the display screen can be combined with a method of switching by using a gravity sensor (namely, an acceleration sensor is combined with a gyroscope) in the related art, so that the horizontal and vertical screen switching which accurately and better meets the requirements of users can be realized.
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
It should be noted that the terms "first \ second \ third" referred to in the embodiments of the present application are only used for distinguishing similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under specific ordering or sequence if allowed, so that the embodiments of the present application described herein can be implemented in other orders than illustrated or described herein.
The embodiment of the application provides a method for switching a display screen, which is applied to an electronic device, wherein functions realized by the method can be realized by calling a program code through a processor in the electronic device, and the program code can be saved in a storage medium of the electronic device. Fig. 2 is a first schematic flow chart of an implementation process of a display screen switching method according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step S201, determining the positions of N sensing areas receiving pressure on the electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1;
it should be noted that the electronic device may be various types of devices with information processing capability, such as a PDA (Personal Digital Assistant), a navigator, a Digital phone, a video phone, a smart watch, a smart bracelet, a wearable device, a tablet computer, a one-piece computer, or the like.
In the embodiment of the present application, the sensing regions may be located on a side of the electronic device (i.e., on a middle frame of the electronic device), and the positions of the different sensing regions on the side are different. When a user holds the electronic device, a part of or all of the sensing regions on the electronic device may receive pressure, and the sensing regions may generate corresponding sensing parameter values, such as a pressing pressure, a pressing area, and a pressing time. Therefore, when the gestures of the user holding the electronic device are different, the positions of the sensing areas receiving the pressure and the sensing parameter value corresponding to each sensing area are also different.
Step S202, determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas;
for example, when the user holds the electronic device with the gesture shown in fig. 1B, the sensing areas located at (or near) the four corners of the side of the electronic device are pressed, and the pressure is received. In addition, under different use scenes, the pressure, the pressing area and the pressing time length received by the sensing area are also different. When the user holds the electronic device with the gesture shown in fig. 1C, the sensing areas on two symmetrical sides of the electronic device are pressed and receive pressure. And the pressure magnitude and the pressing area on different symmetrical sensing areas are also different.
Step S203, switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
In some embodiments, if the state of the display screen of the electronic device is a landscape screen and the first direction is a portrait screen, the state of the display screen is switched to a portrait screen. And if the state of the display screen of the electronic equipment is a transverse screen and the first direction is the transverse screen direction, keeping the state of the display screen unchanged. And if the display screen of the electronic equipment is in a vertical screen state and the first direction is in a transverse screen direction, switching the state of the display screen into a transverse screen. And if the display screen of the electronic equipment is in the vertical screen state and the first direction is the vertical screen direction, keeping the state of the display screen unchanged.
In some embodiments, the sensing parameter values include: the pressure of the press; or, the pressure of the press and the area of the press; or the pressure of the press, the area of the press and the length of the press.
In some embodiments, the pressing pressure refers to the pressing pressure, the pressing area refers to the area of the pressing area, and the pressing duration refers to the duration of the pressing.
In some embodiments, the N sensing regions are located on a side frame of the electronic device.
In some embodiments, the electronic device may include M sensing regions, where the M sensing regions are all located on a side frame of the electronic device, M is a natural number greater than 1, and M is greater than or equal to N.
Of course, the N sensing regions may also be located on a side of the electronic device opposite to the display screen and on the side frame.
In the embodiment of the application, the positions of N sensing areas receiving pressure on the electronic equipment and the sensing parameter value corresponding to each sensing area are determined, wherein N is a natural number greater than 1; determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas; switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen; therefore, the direction of the display screen of the electronic equipment can be determined according to the position of the sensing area receiving the pressure in the electronic equipment and the sensing parameters corresponding to the sensing area, and the problem that the horizontal and vertical screen switching of the display screen under a part of specific scenes in the related art does not meet the actual requirements of users is solved.
Based on the foregoing embodiment, an embodiment of the present application further provides a method for switching a display screen, where the method includes:
step S211, determining the angular acceleration of the electronic equipment on different coordinate axes by using a gyroscope of the electronic equipment;
step S212, determining linear accelerations of the electronic equipment on different coordinate axes by using an acceleration sensor of the electronic equipment;
step S213, determining the angle variation of the electronic equipment according to the angular acceleration and the linear acceleration;
step S214, if the variation of the angle meets a preset condition, determining the positions of N sensing areas receiving pressure on the electronic equipment and a sensing parameter value corresponding to each sensing area, wherein N is a natural number greater than 1;
the variable quantity of the angle in the embodiment of the application meets the preset condition, namely that the variable quantity of the angle meets the condition that the display screen carries out state switching. The method and the device for detecting the direction of the display screen comprise the steps that the direction of the display screen is detected by combining an acceleration sensor and a gyroscope, when the direction of the display screen is detected to be changed from a transverse screen to a vertical screen (or the direction of the display screen is changed from the vertical screen to the transverse screen), the state of the display screen is not switched, and the positions of N induction areas receiving pressure on the electronic equipment and induction parameter values corresponding to the induction areas are continuously determined.
That is, after the horizontal and vertical screen switching state of the electronic device is detected by using the acceleration sensor in combination with the gyroscope, if the switching condition is met, the switching is not performed, but the position of the sensing area receiving the pressure and the sensing parameter value corresponding to the sensing area are continuously used for performing auxiliary judgment on the direction of the display screen.
Step S215, determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas;
s216, switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
In some embodiments, the sensing parameter values include: the pressure of the press; or, the pressure of the press and the area of the press; or the pressure of the press, the area of the press and the length of the press. In some embodiments, the N sensing regions are located on a side frame of the electronic device.
Based on the foregoing embodiment, an embodiment of the present application further provides a method for switching a display screen, fig. 3 is a schematic diagram of an implementation flow of the method for switching a display screen according to the embodiment of the present application, and as shown in fig. 3, the method includes:
step S301, determining angular accelerations of the electronic equipment on different coordinate axes by using a gyroscope of the electronic equipment;
step S302, determining linear accelerations of the electronic equipment on different coordinate axes by using an acceleration sensor of the electronic equipment;
step S303, determining the angle variation of the electronic equipment according to the angular acceleration and the linear acceleration;
step S304, if the variation of the angle meets a preset condition, determining the positions of N sensing areas receiving pressure on the electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1;
s305, determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas;
step S306, determining a second direction of the display screen according to the angle variation;
in some embodiments, the electronic device may utilize a gravity sensor (i.e., an acceleration sensor in combination with a gyroscope) to determine the second orientation of the display screen.
Step S307, if the first direction is the same as the second direction, switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
For example, the previous display screen is in a horizontal screen state, and when the gravity sensor determines that the direction of the display screen is a vertical screen, the positions of N sensing areas receiving pressure on the electronic device and the sensing parameter value corresponding to each sensing area are determined. And if the determined direction of the display screen is also the vertical screen according to the positions of the N sensing areas and the sensing parameter values corresponding to the N sensing areas, switching the state of the display screen from the horizontal screen state to the vertical screen state.
In some embodiments, the sensing parameter values include: the pressure of the press; or, the pressure of the press and the area of the press; or the pressure of the press, the area of the press and the length of the press.
In some embodiments, the N sensing regions are located on a side frame of the electronic device.
In the embodiment of the application, the second direction of the display screen of the electronic device is determined by combining the acceleration sensor with the gyroscope, the positions of N sensing areas receiving pressure and each sensing parameter value corresponding to the sensing areas are utilized to determine the first direction of the display screen of the electronic device, and under the condition that the first direction is the same as the second direction, the states of the display screen of the electronic device are switched according to the first direction or the second direction.
Based on the foregoing embodiment, an embodiment of the present application further provides a method for switching a display screen, and fig. 4 is a schematic view of an implementation flow of the method for switching a display screen according to the embodiment of the present application, and as shown in fig. 4, the method includes:
step S401, determining angular accelerations of the electronic equipment on different coordinate axes by using a gyroscope of the electronic equipment;
s402, determining linear accelerations of the electronic equipment on different coordinate axes by using an acceleration sensor of the electronic equipment;
step S403, determining the angle variation of the electronic equipment according to the angular acceleration and the linear acceleration;
step S404, if the variation of the angle meets a preset condition, determining the positions of N sensing areas receiving pressure on the electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1;
s405, determining a first direction of the display screen according to the positions of the N induction areas and induction parameter values corresponding to the N induction areas;
step S406, determining a second direction of the display screen according to the angle variation;
step S407, if the first direction is the same as the second direction, switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen;
step S408, if the first direction is different from the second direction, keeping the current state of the display screen unchanged within a preset time period;
for example, the previous display screen is in a horizontal screen state, and when the gravity sensor determines that the direction of the display screen is a vertical screen, the positions of N sensing areas receiving pressure on the electronic device and the sensing parameter value corresponding to each sensing area are determined. And if the determined direction of the display screen is the horizontal screen according to the positions of the N sensing areas and the sensing parameter values corresponding to the N sensing areas, keeping the state of the display screen unchanged as the horizontal screen within a preset time period.
And step S409, after the preset time period, switching the state of the display screen according to the second direction.
For example, the previous display screen is in a horizontal screen state, and when the gravity sensor determines that the direction of the display screen is a vertical screen, the positions of N sensing areas receiving pressure on the electronic device and the sensing parameter value corresponding to each sensing area are determined. And if the determined direction of the display screen is the horizontal screen according to the positions of the N sensing areas and the sensing parameter values corresponding to the N sensing areas, keeping the state of the display screen unchanged as the horizontal screen within a preset time period. And after the preset time period, switching the state of the display screen into a vertical screen.
Of course, after the preset time period, a prompt message may be sent to prompt the user that the state of the display screen is to be switched from the horizontal screen to the vertical screen. And if the user selects 'yes', switching the state of the display screen. If the user selects "no", the state of the display screen is kept unchanged.
In some embodiments, the sensing parameter values include: the pressure of the press; or, the pressure of the press and the area of the press; or the pressure of the press, the area of the press and the length of the press. In some embodiments, the N sensing regions are located on a side frame of the electronic device.
In the embodiment of the application, the second direction of the display screen of the electronic equipment is determined by combining the acceleration sensor and the gyroscope, and then the first direction of the display screen of the electronic equipment is determined by using the positions of the N sensing areas receiving the pressure and the sensing parameter value corresponding to each sensing area; under the condition that the first direction is the same as the second direction, switching the state of the display screen of the electronic equipment according to the first direction or the second direction; under the condition that the first direction is different from the second direction, the state of the display screen is kept unchanged within a preset time period, and after the preset time period, the state of the display screen is switched according to the second direction; therefore, the switching of the states of the display screen of the acceleration sensor and the gyroscope can be assisted according to the position of the sensing area receiving the pressure in the electronic equipment and the sensing parameters corresponding to the sensing area, and the problem that the horizontal and vertical screen switching of the display screen under a specific scene in the related art is not in line with the actual requirements of a user is solved.
Based on the foregoing embodiment, an embodiment of the present application further provides a method for switching a display screen, where the method includes:
step S411, determining angular accelerations of the electronic equipment on different coordinate axes by using a gyroscope of the electronic equipment;
step S412, determining linear accelerations of the electronic equipment on different coordinate axes by using an acceleration sensor of the electronic equipment;
step S413, determining a variation of an angle of the electronic device according to the angular acceleration and the linear acceleration;
step S414, if the variation of the angle meets a preset condition, determining the positions of N sensing areas receiving pressure on the electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1;
step S415, determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas;
step S416, determining a second direction of the display screen according to the angle variation;
step S417, if the first direction is the same as the second direction, switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen;
step S418, if the first direction is different from the second direction, keeping the current state of the display screen unchanged within a preset time period;
step S419, after the preset time period, switching the state of the display screen according to the second direction;
step S420, determining the current use scene of the electronic equipment;
step S421, determining a pressure value on each sensing area and a noise value of each sensing area;
step S422, if the pressure value is greater than a preset pressure value corresponding to the current usage scene, and/or the noise value is greater than a preset noise value corresponding to the current usage scene, switching the state of the display screen according to the second direction.
The preset noise values and the preset pressure values corresponding to different use scenes can be obtained by training and testing the use scenes of the big data through machine learning and model training.
In the embodiment of the application, different use scenes, corresponding pressing areas, pressing force degrees and the like are different. Moreover, different usage scenarios are tolerant to noise.
In some embodiments, the usage scenario includes at least one of: game type scenes, social chat type scenes, video type scenes, reading type scenes and navigation type scenes.
In some embodiments, before the determining the current usage scenario of the electronic device, the method further comprises: and determining corresponding preset pressure values and preset noise values of the electronic equipment under different use scenes through machine learning and model training.
In some embodiments, the sensing parameter values include: the pressure of the press; or, the pressure of the press and the area of the press; or the pressure of the press, the area of the press and the length of the press. In some embodiments, the N sensing regions are located on a side frame of the electronic device.
In the embodiment of the application, if the pressure value is greater than the preset pressure value corresponding to the current use scene, and/or the noise value is greater than the preset noise value corresponding to the current use scene, the state of the display screen is switched according to the second direction, so that the interference of factors such as mistaken touch is eliminated.
Certainly, consider that the horizontal screen of different electronic equipment holds the state different, can define the induction zone that the pressure button can be pressed under the different use scenes according to user's in-service use condition, through detecting information such as press zone size, dynamics of pressing and duration length of pressing, pressure sensor reports the state to the software application layer, judges that electronic equipment is in the state of horizontal/vertical screen this moment, increases the logical judgement of software: the electronic device is used for horizontal/vertical screen at this time, and in a preset time range, even if the angle is larger than the preset angle, vertical/horizontal screen operation is not performed temporarily.
The related pressure keys on the side edges are mainly of a piezoresistive type, a display screen TP (Touch Panel) principle type (namely, capacitance Touch), an ultrasonic wave combined piezoresistive type and the like. Fig. 5A is a schematic diagram of a piezoresistive pressure key according to an embodiment of the present application, and as shown in fig. 5A, the principle of the piezoresistive pressure key is that a casing 51 on a middle frame of an electronic device is subjected to a force to generate a micro-deformation, so as to drive a pressure sensing module 52 in a pressure sensing sensor to generate a micro-deformation on a pressure sensing glue 53 in a steel sheet suspended area, so as to cause a change in resistance (i.e., R1, R2, R3, and R4 in the figure) in the pressure sensing glue 53, and perform detection through a wheatstone bridge. The plurality of resistance channels realize a key function, and the error touch prevention is realized through characteristic quantity information of the channels. The pressure button of display screen TP principle formula utilizes display screen TP principle, and electric capacity realizes the touch-control function promptly, realizes preventing the mistake through the double click operation and touches. Ultrasonic wave combines piezoresistive pressure button and combines through supersound and pressure drag, can use the supersound to realize position detection, and pressure drag realizes pressure detection to realize preventing the mistake and touching.
When a user uses the touch screen, the pressure sensor can convert the tiny deformation of the frame into a recognizable voltage signal by touching the frame, and the system can recognize the touch operation of the user by collecting and processing the signal. Meanwhile, the pressure key can also realize real key experience by matching with motor vibration feedback. Compared with a mechanical key, the pressure key can output a linear pressure value, and can realize multi-stage pressure operation such as light/medium/heavy operation and various operations such as single click, double click, sliding and the like.
Based on the foregoing embodiment, an embodiment of the present application further provides a method for switching a display screen, where the method includes monitoring whether an electronic device needs to switch horizontal and vertical screens by using a gravity sensor (an acceleration sensor is combined with a gyroscope), and then performing auxiliary judgment by using a side pressure button, so as to improve accuracy of switching the horizontal and vertical screens.
Firstly, the gyroscope and the accelerometer are used for normally detecting data such as X-axis linear acceleration, Y-axis linear acceleration and Z-axis linear acceleration of the acceleration sensor and three-axis angular acceleration of the gyroscope in different states such as holding and overturning of the electronic equipment, and identifying the angle of the electronic equipment according to the data such as the linear acceleration and the angular acceleration of the three axes. Wherein the acceleration sensor measures linear acceleration in the three-axis direction, and the gyroscope measures angular acceleration in the three-axis direction. Gyroscopes and acceleration sensors are commonly used sensors in intelligent electronic devices. The accelerometer detects an angle of inclination of the electronic device, and the gyroscope detects a change in angular acceleration, so that spatial states of the electronic device, such as inclination and rotation, can be detected in real time.
Fig. 5B is a schematic diagram of output values of acceleration and angle of the electronic device in the embodiment of the present application, where as shown in fig. 5B, a picture 501 is an output value of an X-axis acceleration, a Y-axis acceleration, a Z-axis acceleration, and an angle of the electronic device when the electronic device is a landscape screen. The picture 502 is an output value of an X-axis acceleration, a Y-axis acceleration, a Z-axis acceleration, and an angle of the electronic device when the electronic device is a vertical screen.
Secondly, the pressure keys on the side edges are used for judging whether the electronic equipment is in a horizontal screen state or a vertical screen state at the moment, so that the posture detection of the electronic equipment is assisted.
According to the method, the pressure key is used, the pressure sensing module is assembled at the position of the corresponding structure of the power supply/volume key of the middle frame of the electronic equipment through the pressure key in the embodiment of the application, and the pressure sensing film is slightly deformed at the position of the suspended area between the reinforcements after the shell of the middle frame of the electronic equipment is stressed, so that the resistance is changed to realize the pressure touch function. Pressing the key region, structural deformation is converted into voltage variation through the pressure sensing module, and the chip measures and judges whether the pressing is true and intended through algorithm logic. If the pressing is the real intention, an Input/Output (I/O) port is operated, the I/O port replaces a mechanical key power supply key in situ to be connected with an AP (Application Processor) end, and the pressing function is realized through level change. And the real key experience can be realized by matching with the motor vibration feedback.
Fig. 5C is a schematic diagram of a position of a side pressure key according to an embodiment of the present application, and as shown in fig. 5C, a pressure key 512 in an electronic device 511 may be located at a side of the electronic device (a power key and a volume key also belong to the side pressure key). The pressure button 513 in the electronic device 511 is an enlarged effect of the pressure button 512, that is, the pressure button 512 and the pressure button 513 are the same button. It can be seen that the pressure button 513 further includes a plurality of pressure sensing modules 514.
In the embodiment of the application, the electronic device held by the user can be divided into the following three modes:
(1) both hands hold the electronic equipment: fig. 5D is a schematic diagram of the electronic device held by two hands according to the embodiment of the present disclosure, as shown in fig. 5D, when the user holds the electronic device 52 by two hands 51 to perform a game operation or a video tour, the left and right fingers are respectively placed in the sensing areas of the side pressure keys, and a plurality of areas (i.e., channels) of the pressure keys of the electronic device are pressed. The structural deformation of the multiple areas is converted into voltage variation through the pressure sensing module, and a built-in chip of the electronic equipment measures the voltage variation and judges whether the pressing is true and intended through algorithm logic. If the pressing is the pressing with real intention, the I/O port is operated. By detecting information such as the size of the pressing area, the strength of the pressing force, the duration of the pressing and the like, it is determined that the electronic device is in the state of the horizontal screen, and in a preset time range, even if the calculated angle in fig. 5B is larger than a preset angle, the vertical screen operation is not performed temporarily.
(2) Holding the electronic device with one hand (vertical screen): namely, the single-hand vertical screen operation. Fig. 5E is a first schematic view illustrating the electronic device held by one hand according to the embodiment of the present disclosure, as shown in fig. 5E, when the user uses one hand 51 to erect the screen to operate the electronic device 52, the middle lower portion of the middle frame, the rear cover of the battery, and other areas will be held by the hand. The structural deformation of the middle and lower parts (the induction channels of the middle and lower parts are asymmetric) is converted into voltage variation through the pressure sensing module. By detecting information such as the size of the pressing area, the strength of the pressing force, the duration of the pressing and the like, it is determined that the electronic device is in the vertical screen state at the time, and in a preset time range, even if the calculated angle in fig. 5B is larger than a preset angle, the horizontal screen operation is not performed temporarily.
(3) Holding the electronic device with one hand (horizontal screen): i.e. single-handed landscape operation. Fig. 5F is a schematic view illustrating a single-hand-held electronic device according to a second embodiment of the present disclosure, as shown in fig. 5F, when a user uses a single hand 51 to hold an electronic device 52 in a landscape mode, according to a personal use condition, middle areas of left and right middle frames are pressed, corresponding pressure sensing areas are substantially symmetrical, and by detecting information such as a size of the pressed area, a strength of the pressing force, and a duration of the pressing, it is determined that the electronic device is in a landscape mode, and in a preset time range, even if the calculated angle in fig. 5B is greater than a preset angle, the user does not perform a portrait mode.
Of course, the embodiment of the application eliminates the interference of factors such as distorted false touch and middle frame false touch by a large amount of machine learning and model training and by defining parameters and models in different scenes (such as games, videos, reading, navigation and the like). For example, when the electronic device traverses a video tour scene, the semaphore of the first channel corresponding to the pressure button, the noise standard deviation of the first channel, and the bottom noise of the first channel are all greater than a certain threshold value within a continuous time period, and it is determined that the electronic device is in a stable horizontal screen stage at this time, and no vertical screen operation is performed for the time. The rest scenes can also be simulated by big data to obtain the desired parameter setting.
In the embodiment of the application, on the basis that two unification sensors (acceleration sensor combines the gyroscope) detect the electronic equipment gesture, combine the pressure button to carry out the scheme that supplementary gesture detected, can solve the unusual pain point problem of horizontal vertical screen of electronic equipment to a certain extent. And on the basis of the same electronic equipment model with the pressure keys and the two-in-one sensor, multi-module combined development is carried out, user experience is further optimized, and the technical effect of adding additional value on the basis of not increasing hardware cost is achieved.
The holding states of the transverse and vertical screens of the electronic equipment of different types are different, the sensing areas where the pressure keys of different scenes can be pressed can be defined according to the actual use condition of an individual, and the state that the electronic equipment is in the transverse screen or the vertical screen at the moment is judged by detecting the size of the pressing areas, the strength of the pressing force, the duration of the pressing and other information. And further increasing logic judgment of software, namely that the electronic equipment is used for horizontal/vertical screen at the moment, and in a preset time range, even if the angle is larger than the preset angle, vertical/horizontal screen operation is not performed temporarily.
In the switching method of the display screen in the embodiment of the application, the pressure keys on the side are used for assisting the gravity sensor (namely, the acceleration sensor is combined with the gyroscope) so as to optimize the automatic rotation function of the screen of the electronic equipment. The acceleration and the angle value of the electronic equipment can be obtained by utilizing the existing gravity sensor, so that whether the electronic equipment is in a horizontal screen or vertical screen state or not is judged. Meanwhile, the posture of the electronic equipment is judged in an auxiliary mode through the sensing area of the pressure key pressed by the user within a certain time, the intensity of the pressing force and the pressing time. Under the condition of ensuring the normal function of the original pressure key, the interference of factors such as distortion error touch, middle frame error touch and the like needs to be eliminated, and because the factors can cause the pressure sensing film at the position of the suspension area between reinforcements to generate micro deformation, the resistance is changed. When a signal is amplified by an ADC (Analog to Digital Converter), noise also causes an abnormality in function, and thus, is important for an application with a higher requirement for accuracy, such as a false touch prevention and interference prevention design.
Based on the foregoing embodiments, an embodiment of the present application provides a switching device for a display screen, where the switching device includes units, modules included in the units, and components included in the modules, and may be implemented by a processor in an electronic device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the processor may be a CPU (Central Processing Unit), an MPU (Microprocessor Unit), a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), or the like.
Fig. 6 is a schematic structural diagram of a switching device of a display screen according to an embodiment of the present application, and as shown in fig. 6, the switching device 600 includes:
a first determining unit 601, configured to determine positions of N sensing areas receiving pressure on an electronic device and a sensing parameter value corresponding to each sensing area, where N is a natural number greater than 1;
a second determining unit 602, configured to determine a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas;
a processing unit 603, configured to switch a state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
In some embodiments, the apparatus further comprises: the angular acceleration determining unit is used for determining the angular acceleration of the electronic equipment on different coordinate axes by utilizing a gyroscope of the electronic equipment; the linear acceleration determining unit is used for determining the linear acceleration of the electronic equipment on different coordinate axes by using an acceleration sensor of the electronic equipment; an angle determining unit configured to determine a variation of an angle of the electronic device according to the angular acceleration and the linear acceleration; and the position determining unit is used for determining the positions of the N sensing areas receiving the pressure on the electronic equipment if the variation of the angle meets a preset condition.
In some embodiments, the processing unit 603 includes: the first determining module is used for determining a second direction of the display screen according to the variation of the angle; and the processing module is used for switching the state of the display screen according to the first direction if the first direction is the same as the second direction.
In some embodiments, the apparatus further comprises: the holding unit is used for keeping the current state of the display screen unchanged within a preset time period if the first direction is different from the second direction; and the first switching unit is used for switching the state of the display screen according to the second direction after the preset time period.
In some embodiments, the apparatus further comprises: the scene determining unit is used for determining the current use scene of the electronic equipment; the third determining unit is used for determining a pressure value on each sensing area and a noise value of each sensing area; and the second switching unit is used for switching the state of the display screen according to the second direction if the pressure value is greater than a preset pressure value corresponding to the current use scene and/or the noise value is greater than a preset noise value corresponding to the current use scene.
In some embodiments, the usage scenario includes at least one of: game type scenes, social chat type scenes, video type scenes, reading type scenes and navigation type scenes.
In some embodiments, the apparatus further comprises: and the training unit is used for determining the corresponding preset pressure value and preset noise value of the electronic equipment under different use scenes through machine learning and model training.
In some embodiments, the sensing parameter values include: the pressure of the press; or, the pressure of the press and the area of the press; or the pressure of the press, the area of the press and the length of the press.
In some embodiments, the N sensing regions are located on a side frame of the electronic device.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the switching method is implemented in the form of a software functional module and is sold or used as a standalone product, the switching method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing an electronic device (which may be a personal computer, a server, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor executes the computer program to implement the steps in the handover method provided in the foregoing embodiment.
Correspondingly, the embodiment of the present application provides a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the handover method.
Here, it should be noted that: the above description of the storage medium and the electronic device embodiments is similar to the description of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the electronic device of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 7 is a schematic diagram of a hardware entity of an electronic device according to an embodiment of the present application, and as shown in fig. 7, the hardware entity of the electronic device 700 includes: a processor 701, a communication interface 702, and a memory 703, wherein
The processor 701 generally controls the overall operation of the electronic device 700.
The communication interface 702 may enable the electronic device 700 to communicate with other electronic devices or servers over a network.
The Memory 703 is configured to store instructions and applications executable by the processor 701, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 701 and modules in the electronic device 700, and may be implemented by a FLASH Memory (FLASH Memory) or a Random Access Memory (RAM).
In the several embodiments provided in the present application, it should be understood that the disclosed electronic device and method may be implemented in other ways. The above-described embodiments of the electronic device are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the electronic devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing module, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or electronic device embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments or electronic device embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A method for switching a display screen, the method comprising:
determining the positions of N sensing areas receiving pressure on the electronic equipment and a sensing parameter value corresponding to each sensing area, wherein N is a natural number greater than 1;
determining a first direction of the display screen according to the positions of the N sensing areas and sensing parameter values corresponding to the N sensing areas;
switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
2. The method of claim 1, wherein prior to determining the locations of the N sensing regions at which the pressure is received on the electronic device and the sensing parameter values corresponding to each of the sensing regions, the method further comprises:
determining angular accelerations of the electronic equipment on different coordinate axes by using a gyroscope of the electronic equipment;
determining linear accelerations of the electronic equipment on different coordinate axes by using an acceleration sensor of the electronic equipment;
determining the variation of the angle of the electronic equipment according to the angular acceleration and the linear acceleration;
and if the variation of the angle meets a preset condition, determining the positions of the N sensing areas receiving the pressure on the electronic equipment.
3. The method of claim 2, wherein switching the state of the display screen according to the first orientation comprises:
determining a second direction of the display screen according to the variation of the angle;
and if the first direction is the same as the second direction, switching the state of the display screen according to the first direction.
4. The method of claim 3, further comprising:
if the first direction is different from the second direction, keeping the current state of the display screen unchanged within a preset time period;
and after the preset time period, switching the state of the display screen according to the second direction.
5. The method of claim 4, further comprising:
determining a current use scene of the electronic equipment;
determining a pressure value on each sensing area and a noise value of each sensing area;
and if the pressure value is larger than a preset pressure value corresponding to the current use scene, and/or the noise value is larger than a preset noise value corresponding to the current use scene, switching the state of the display screen according to the second direction.
6. The method of claim 5,
the usage scenario includes at least one of: game type scenes, social chat type scenes, video type scenes, reading type scenes and navigation type scenes.
7. The method of claim 6, wherein prior to determining the current usage scenario of the electronic device, the method further comprises:
and determining corresponding preset pressure values and preset noise values of the electronic equipment under different use scenes through machine learning and model training.
8. The method of any of claims 1 to 7, wherein the sensing parameter values comprise:
the pressure of the press; or the like, or, alternatively,
the pressure of the press and the area of the press; or the like, or, alternatively,
the pressure of the press, the area of the press and the length of the press.
9. The method of claim 8, wherein the N sensing regions are located on a side frame of the electronic device.
10. A switching device of a display screen, the device comprising:
the first determining unit is used for determining the positions of N sensing areas receiving pressure on the electronic equipment and sensing parameter values corresponding to each sensing area, wherein N is a natural number greater than 1;
the second determining unit is used for determining the first direction of the display screen according to the positions of the N sensing areas and the sensing parameter values corresponding to the N sensing areas;
the processing unit is used for switching the state of the display screen according to the first direction; the display screen comprises a horizontal screen and a vertical screen.
11. An electronic device comprising a memory and a processor, the memory storing a computer program operable on the processor, the processor implementing the steps in the handover method of any of claims 1 to 9 when executing the program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the handover method according to any one of claims 1 to 9.
CN202011063742.0A 2020-09-30 2020-09-30 Display screen switching method and device, equipment and storage medium Pending CN112199003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011063742.0A CN112199003A (en) 2020-09-30 2020-09-30 Display screen switching method and device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011063742.0A CN112199003A (en) 2020-09-30 2020-09-30 Display screen switching method and device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112199003A true CN112199003A (en) 2021-01-08

Family

ID=74013646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011063742.0A Pending CN112199003A (en) 2020-09-30 2020-09-30 Display screen switching method and device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112199003A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197858A (en) * 2012-01-04 2013-07-10 广州三星通信技术研究有限公司 Portable terminal and method for controlling screen display direction of portable terminal
CN105487797A (en) * 2015-11-25 2016-04-13 广东欧珀移动通信有限公司 Screen display mode control method and terminal device
CN105739693A (en) * 2016-01-27 2016-07-06 努比亚技术有限公司 Method and device for horizontally and vertically switching screen and mobile terminal
CN106603835A (en) * 2016-12-05 2017-04-26 北京小米移动软件有限公司 Method and device for adjusting position of target object
CN110113496A (en) * 2019-05-13 2019-08-09 Oppo广东移动通信有限公司 Screen display mode switching method, device and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197858A (en) * 2012-01-04 2013-07-10 广州三星通信技术研究有限公司 Portable terminal and method for controlling screen display direction of portable terminal
CN105487797A (en) * 2015-11-25 2016-04-13 广东欧珀移动通信有限公司 Screen display mode control method and terminal device
CN105739693A (en) * 2016-01-27 2016-07-06 努比亚技术有限公司 Method and device for horizontally and vertically switching screen and mobile terminal
CN106603835A (en) * 2016-12-05 2017-04-26 北京小米移动软件有限公司 Method and device for adjusting position of target object
CN110113496A (en) * 2019-05-13 2019-08-09 Oppo广东移动通信有限公司 Screen display mode switching method, device and terminal device

Similar Documents

Publication Publication Date Title
JP6463795B2 (en) System and method for using textures in a graphical user interface device
CN111240789B (en) Widget processing method and related device
EP2708983B9 (en) Method for auto-switching user interface of handheld terminal device and handheld terminal device thereof
CN103257684B (en) The signal output method and device of orientation-sensitive
KR101685363B1 (en) Mobile terminal and operation method thereof
US20130069883A1 (en) Portable information processing terminal
JP5694204B2 (en) System and method for using textures in a graphical user interface device
KR20170120145A (en) Systems and methods for providing context-sensitive haptic notification frameworks
KR20170043065A (en) Portable apparatus and method for displaying a screen
KR20140098384A (en) Portable apparatus having a plurality of touch screens and sound output method thereof
CN103176744B (en) A kind of display equipment and its information processing method
CN109933252B (en) Icon moving method and terminal equipment
CN107407945A (en) From the system and method for screen locking capture images
CN109521933A (en) A kind of display control method and mobile terminal
CN102981743A (en) Method for controlling operation object and electronic device
CN111064848B (en) Picture display method and electronic equipment
JP2022545201A (en) Key instruction method and electronic equipment
CN109613958A (en) A kind of terminal equipment control method and terminal device
US20140340336A1 (en) Portable terminal and method for controlling touch screen and system thereof
CN109857289A (en) Display control method and terminal device
CN110998497A (en) Electronic device including force sensor and electronic device control method thereof
CN102289343A (en) Information processing apparatus and operation method of information processing apparatus
CN107566161A (en) Method for parameter configuration and Related product
CN112306332B (en) Method, device and equipment for determining selected target and storage medium
CN107943406B (en) touch point determining method of touch screen and terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210108