CN113485666A - Control method of electronic device, and readable storage medium - Google Patents

Control method of electronic device, and readable storage medium Download PDF

Info

Publication number
CN113485666A
CN113485666A CN202110836555.XA CN202110836555A CN113485666A CN 113485666 A CN113485666 A CN 113485666A CN 202110836555 A CN202110836555 A CN 202110836555A CN 113485666 A CN113485666 A CN 113485666A
Authority
CN
China
Prior art keywords
screen
state
sensor
use state
group
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
CN202110836555.XA
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.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies 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 Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Priority to CN202110836555.XA priority Critical patent/CN113485666A/en
Publication of CN113485666A publication Critical patent/CN113485666A/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a control method of electronic equipment, the electronic equipment and a readable storage medium, wherein the electronic equipment comprises a screen and at least two groups of sensor groups, and the method comprises the following steps: monitoring the use state of the screen, judging whether the use state of the screen changes or not, and activating and monitoring a group of sensor groups corresponding to the changed use state and closing other sensor groups when the use state of the screen changes. Therefore, at least two groups of sensor groups are arranged, meanwhile, based on the use state of the screen, one group of sensor groups corresponding to the use state of the screen is controlled to work, and other sensor groups do not work, so that the electronic equipment can normally use the sensors and can acquire accurate sensor data, and the power consumption of the electronic equipment is further reduced.

Description

Control method of electronic device, and readable storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a control method for an electronic device, and a readable storage medium.
Background
Existing electronic devices typically have only one set of sensors. Due to the fact that the electronic equipment is more and more in form, the problem that the sensor cannot be normally used or acquired sensor data is inaccurate exists in some scenes in the process that a user uses the electronic equipment due to the fact that only one group of sensors is arranged, and user experience is affected.
Therefore, the existing electronic equipment only has one group of sensors, and the problems that the sensors cannot be normally used or the acquired sensor data is inaccurate exist.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide a control method for an electronic device, and a readable storage medium, which can solve the problem that the existing electronic device cannot normally use a sensor or the acquired sensor data is inaccurate.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling an electronic device, where the electronic device includes a screen and at least two sensor groups, and the method includes:
monitoring the use state of the screen;
judging whether the use state of the screen is changed or not;
and when the use state of the screen is changed, activating and monitoring a group of sensor groups corresponding to the changed use state, and closing other sensor groups.
In a second aspect, embodiments of the present application provide an electronic device, which includes a screen, at least two sensor groups, a processor, and a memory, where the memory stores programs or instructions, and the programs or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a third aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the method according to the first aspect.
The foregoing embodiments of the present application provide a control method for an electronic device, and a readable storage medium, where the electronic device includes a screen and at least two sensor groups, and the method includes: monitoring the use state of the screen, judging whether the use state of the screen changes or not, and activating and monitoring a group of sensor groups corresponding to the changed use state and closing other sensor groups when the use state of the screen changes. Therefore, at least two groups of sensor groups are arranged, meanwhile, based on the use state of the screen, one group of sensor groups corresponding to the use state of the screen is controlled to work, and other sensor groups do not work, so that the electronic equipment can normally use the sensors and can acquire accurate sensor data, and the power consumption of the electronic equipment is further reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a flowchart illustrating a control method for an electronic device according to an embodiment of the present disclosure;
fig. 2 illustrates a front view of an electronic device provided by an embodiment of the present application;
fig. 3 illustrates a back view of an electronic device provided by an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a foldable electronic device provided in an embodiment of the present application in an unfolded state;
fig. 5 is a schematic diagram illustrating a foldable electronic device provided by an embodiment of the present application in a folded state and using a first screen;
fig. 6 is a schematic diagram illustrating a foldable electronic device provided by an embodiment of the present application in a folded state and using a second screen;
fig. 7 is a schematic diagram illustrating a foldable electronic device provided by an embodiment of the present application in a folded state and using a third screen;
fig. 8 shows a cross-sectional view along a-a in fig. 7.
Description of the main element symbols:
200-electronic device, 210-screen on front side, 211-sensor group on front side, 220-screen on back side, 221-sensor group on back side, 300-foldable electronic device, 310-first screen, 311-first sensor group, 320-second screen, 321-second sensor group, 330-third screen, 331-third sensor group.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Existing electronic devices typically have only one set of sensors. Due to the fact that the electronic equipment is more and more in form, the problem that the sensor cannot be normally used or acquired sensor data is inaccurate exists in some scenes in the process that a user uses the electronic equipment due to the fact that only one group of sensors is arranged, and user experience is affected.
Some electronic equipment all is provided with the screen at the front and the back, if only a set of sensor, and the sensor setting is in electronic equipment's front, then the user is when using the screen that the back set up, and the sensor that can't normally use or the sensor data that acquire are inaccurate.
Still other electronic devices use flexible screens, such as foldable electronic devices, including a main screen and a sub-screen, if there is only one set of sensors and the sensors are disposed on the main screen, then the user cannot use the sensors normally or the acquired sensor data is inaccurate when using the sub-screen.
The present application aims to solve the above technical problems, and provides a control method for an electronic device, and a readable storage medium. Referring to fig. 1, fig. 1 is a flowchart of a control method of an electronic device according to an embodiment of the present application, where the electronic device includes a screen and at least two sensor groups, as shown in fig. 1, the method includes the following steps:
step 101, monitoring the use state of the screen.
Specifically, the electronic device monitors the use state of the screen in real time, wherein the use state of the screen can be distinguished according to different bright screen areas. The electronic devices of different modalities include screens of different use states.
Referring to fig. 2 and fig. 3 together, fig. 2 shows a front view of an electronic device provided in an embodiment of the present application, and fig. 2 shows a back view of the electronic device provided in the embodiment of the present application. For the electronic device 200 with the front and back sides provided with the screens, the user may use only the front screen 210 or only the back screen 220 during use. The front screen 210 is provided with a front sensor group 211, and the rear screen 220 is provided with a rear sensor group 221. The areas of the front screen 210 and the back screen 220 may be the same or different, and this embodiment does not limit this.
Referring to fig. 4, 5 and 6 together, fig. 4 shows a schematic diagram of a foldable electronic device provided by an embodiment of the present application in an unfolded state, fig. 5 shows a schematic diagram of a foldable electronic device provided by an embodiment of the present application in a folded state and using a first screen, and fig. 6 shows a schematic diagram of a foldable electronic device provided by an embodiment of the present application in a folded state and using a second screen. For the foldable electronic equipment, in the using process, a user can only use the main screen, namely the electronic equipment is in a folded state and uses the first screen, or only use the auxiliary screen, namely the electronic equipment is in a folded state and uses the second screen, and the main screen and the auxiliary screen can also be simultaneously used, namely the electronic equipment is in an unfolded state.
It is to be understood that the present embodiment is not limited to the locations of the sensors in the sensor group, and the locations of the sensors in the drawings are merely exemplary.
And 102, judging whether the use state of the screen is changed.
Specifically, whether the use state of the screen changes can be judged by whether the bright screen area of the screen changes, for example, for an electronic device with screens on both the front side and the back side, a user switches from using the screen on the front side to using the screen on the back side or from using the screen on the back side to using the screen on the front side during use.
For the foldable electronic equipment, a user switches between any two of three states of an unfolded state, a folded state and the use of the first screen, and the folded state and the use of the second screen in the use process.
Step 103, when the use state of the screen is changed, activating and monitoring a group of sensor groups corresponding to the changed use state, and closing other sensor groups.
Specifically, once the use state of the screen changes, if the currently used sensor group continues to be used, there may be a problem that the sensor cannot be normally used or the acquired sensor data is inaccurate, and the used sensor group needs to be switched. The sensor group corresponding to the changed use state is activated and monitored, other sensor groups are closed, and the sensor group can be switched to the sensor group corresponding to the use state, so that the sensors can be normally used, the acquired sensor data is prevented from being inaccurate, and the power consumption of the electronic equipment is reduced because only one sensor group is activated.
For the electronic device with the screens arranged on the front side and the back side, when the use state of the screen is changed and the screen on the front side is used, the front sensor group 211 is activated, and the back sensor group 221 is closed; when the use state of the screen changes to use the screen on the back side, the back sensor group 221 is activated and the front sensor group 211 is deactivated. It can be understood that the use state of the screen is not changed, and the sensor group used does not need to be switched.
Each group of sensor group all includes at least one in distance sensor, light sensor, acceleration sensor, gyroscope, earth magnetism sensor.
It is to be understood that the above sensor types are only exemplary, and may be set according to actual requirements, and the present application does not limit the types of sensors included in each group of the sensors.
The present embodiments are further discussed below with respect to foldable electronic device deployment.
In an optional embodiment, the screen comprises a flexible screen, the flexible screen comprises a first screen and a second screen which are connected, the first screen is provided with a first sensor group, the second screen is provided with a second sensor group, and the using states of the screens comprise an unfolding state, a folding state and the first screen, and the folding state and the second screen; step 103 comprises:
when the changed using state is an unfolding state, activating and monitoring one of the first sensor group or the second sensor group, and closing the other of the first sensor group or the second sensor group;
when the changed using state is a folding state and a first screen is used, activating and monitoring the first sensor group, and closing the second sensor group;
and when the changed using state is a folding state and a second screen is used, activating and monitoring the second sensor group, and closing the first sensor group.
Referring to fig. 4-6, the screen of the foldable electronic device 300 includes a flexible screen, the flexible screen includes a first screen 310 and a second screen 320 connected to each other, the first screen 310 is provided with a first sensor group 311, and the second screen 320 is provided with a second sensor group 321. The using states of the screen include an unfolded state, a folded state and using the first screen, and a folded state and using the second screen.
When the changed using state is the unfolding state, because the first screen 310 and the second screen 320 are used at the same time, the first sensor group 311 corresponding to the first screen 310 can be activated and monitored to close the second sensor group 321, or the second sensor group 321 corresponding to the second screen 320 can be activated and monitored to close the second sensor group 321;
when the changed using state is a folded state and uses the first screen, since only the first screen 310 is used, the first sensor group 311 corresponding to the first screen 310 is activated and monitored, and the second sensor group 321 is closed;
when the changed using state is a folded state and uses the second screen, since only the second screen 320 is used, the second sensor group 321 corresponding to the second screen 320 is activated and monitored, and the first sensor group 311 is closed.
On the basis of the above embodiment, the screen further includes a third screen, the third screen and the first screen are respectively disposed on two opposite surfaces of the electronic device, the third screen is provided with a third sensor group, and the use state of the screen further includes a folded state and uses the third screen; step 103 further comprises:
and when the changed using state is a folding state and uses a third screen, activating and monitoring the third sensor group, and closing the first sensor group and the second sensor group.
Specifically, please refer to fig. 7 and 8 together, in which fig. 7 shows a schematic diagram of a foldable electronic device provided in an embodiment of the present application in a folded state and using a third screen, and fig. 8 shows a cross-sectional view along a-a in fig. 7. The screen of the foldable electronic device 300 further includes a third screen 330, the third screen 330 and the first screen 310 are respectively disposed on two opposite surfaces of the foldable electronic device 300, and the third screen 330 is disposed with a third sensor group 331.
The areas of the third screen 330 and the first screen 310 may be the same or different, and this embodiment does not limit this.
When the changed using state is a folded state and uses the third screen, since only the third screen 330 is used, the third sensor group 331 corresponding to the third screen 330 is activated and monitored, and the first sensor group 311 and the second sensor group 321 are closed.
The embodiment of the application also provides various ways to monitor the use state of the screen of the foldable electronic device.
The electronic device further comprises an angle sensor for detecting an angle between the first screen and the second screen; the monitoring the use state of the screen comprises the following steps:
when the angle is larger than a preset angle threshold value, determining the use state of the screen as an expansion state;
when the angle is smaller than a preset angle threshold value and the first screen is bright, determining the using state of the screen to be a folding state and using the first screen;
and when the angle is smaller than a preset angle threshold value and the second screen is bright, determining the using state of the screen to be a folding state and using the second screen.
Specifically, the preset angle threshold may be set according to requirements, for example, 140 °, 150 °, and 160 °, which is not limited in this embodiment.
The electronic device further comprises a distance sensor for detecting a distance between the first screen and the second screen; the monitoring the use state of the screen comprises the following steps:
when the distance is larger than a preset distance threshold, determining the use state of the screen as an expansion state;
when the distance is smaller than a preset distance threshold value and the first screen is bright, determining the using state of the screen to be a folding state and using the first screen;
and when the distance is smaller than a preset distance threshold value and the second screen is bright, determining the using state of the screen to be a folding state and using the second screen.
Specifically, the preset distance threshold may be set according to a requirement, for example, 1cm, 1.5cm, or 2cm, which is not limited in this embodiment.
It can be understood that when the electronic device is fully unfolded, i.e. the included angle between the first screen and the second screen is 180 °, the distance sensor cannot detect the distance between the first screen and the second screen, i.e. the distance between the first screen and the second screen is infinite.
The electronic device further includes a magnetic sensor disposed at one of the first screen and the second screen, and a magnet disposed at the other of the first screen and the second screen; the monitoring the use state of the screen comprises the following steps:
when the magnetic field intensity detected by the magnetic sensor is smaller than a preset magnetic field intensity threshold value, determining the use state of the screen as an expansion state;
when the magnetic field intensity detected by the magnetic sensor is greater than a preset magnetic field intensity threshold value and the first screen is bright, determining the using state of the screen to be a folded state and using the first screen;
when the magnetic field intensity detected by the magnetic sensor is greater than a preset magnetic field intensity threshold value and the second screen is bright, the using state of the screen is determined to be a folding state and the second screen is used.
In an optional embodiment, the method further comprises: acquiring a request of an application program;
step 103 comprises:
when the use state of the screen is changed, activating and monitoring the sensor corresponding to the request in the group of sensor groups corresponding to the use state, and closing other sensors and other sensor groups in the group of sensor groups corresponding to the use state;
and sending the monitoring data of the sensor to the application program.
The sensor to be activated may be obtained upon request by the application. Specifically, the request of the application includes a sensor to be activated, or the request of the application includes data to be acquired, and the sensor to be activated is obtained based on the data to be acquired. The application may need to be implemented by matching a plurality of sensors, and therefore, the number of sensors to be activated is not limited herein, and may be one or a plurality of sensors.
Still taking the foldable electronic device shown in fig. 4-6, the sensor to be activated is a distance sensor when the application is a phone as an example. When the using state of the screen changes to the unfolding state, activating and monitoring the distance sensors in the first sensor group 311 corresponding to the unfolding state and closing the sensors except the distance sensors in the first sensor group 311 and the second sensor group 321, or activating and monitoring the distance sensors in the second sensor group 321 corresponding to the unfolding state and closing the sensors except the distance sensors in the second sensor group 321 and the first sensor group 311; when the using state of the screen changes to a folded state and the first screen is used, the distance sensors in the first sensor group 311 are activated and monitored, and the sensors in the first sensor group 311 except the distance sensors are turned off, and the second sensor group 321 is used; when the usage state of the screen changes to a folded state and the second screen is used, the distance sensors in the second sensor group 321 are activated and listened to, and the sensors other than the distance sensors in the second sensor group 321, and the first sensor group 311 are turned off.
And sending the activated monitoring data of the sensor to the application program for the application program to use.
When the use state of the screen is changed, because only the sensor corresponding to the request in the sensor group corresponding to the use state is activated and monitored, on the basis of closing other sensor groups, other sensors in the sensor group corresponding to the use state are also closed, and the power consumption of the electronic equipment is further reduced.
The control method of the electronic device provided in the embodiment of the present application, the electronic device includes a screen and at least two sensor groups, and the method includes: monitoring the use state of the screen, judging whether the use state of the screen changes or not, and activating and monitoring a group of sensor groups corresponding to the changed use state and closing other sensor groups when the use state of the screen changes. Therefore, at least two groups of sensor groups are arranged, meanwhile, based on the use state of the screen, one group of sensor groups corresponding to the use state of the screen is controlled to work, and other sensor groups do not work, so that accurate sensor data can be acquired, and the power consumption of the electronic equipment is further reduced.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory stores a program or an instruction, and the program or the instruction, when executed by the processor, implements each process of the control method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Optionally, an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the control method for an electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method of controlling an electronic device, the electronic device comprising a screen and at least two sets of sensor groups, the method comprising:
monitoring the use state of the screen;
judging whether the use state of the screen is changed or not;
and when the use state of the screen is changed, activating and monitoring a group of sensor groups corresponding to the changed use state, and closing other sensor groups.
2. The control method of an electronic device according to claim 1, wherein the screen comprises a flexible screen including a first screen and a second screen connected, and the first screen is provided with a first sensor group, and the second screen is provided with a second sensor group, and the use states of the screens include an unfolded state, a folded state and use of the first screen, the folded state and use of the second screen; when the use state of the screen changes, activating and monitoring a group of sensor groups corresponding to the changed use state, and closing other sensor groups, including:
when the changed using state is an unfolding state, activating and monitoring one of the first sensor group or the second sensor group, and closing the other of the first sensor group or the second sensor group;
when the changed using state is a folding state and a first screen is used, activating and monitoring the first sensor group, and closing the second sensor group;
and when the changed using state is a folding state and a second screen is used, activating and monitoring the second sensor group, and closing the first sensor group.
3. The control method of an electronic device according to claim 2, wherein the screen further includes a third screen, the third screen and the first screen are respectively provided on two opposite surfaces of the electronic device, the third screen is provided with a third sensor group, and the use state of the screen further includes a folded state and uses the third screen; when the use state of the screen changes, activating and monitoring a group of sensor groups corresponding to the changed use state, and closing other sensor groups, further comprising:
and when the changed using state is a folding state and uses a third screen, activating and monitoring the third sensor group, and closing the first sensor group and the second sensor group.
4. The method according to claim 2, characterized in that the electronic apparatus further comprises an angle sensor for detecting an angle between the first screen and the second screen; the monitoring the use state of the screen comprises the following steps:
when the angle is larger than a preset angle threshold value, determining the use state of the screen as an expansion state;
when the angle is smaller than a preset angle threshold value and the first screen is bright, determining the using state of the screen to be a folding state and using the first screen;
and when the angle is smaller than a preset angle threshold value and the second screen is bright, determining the using state of the screen to be a folding state and using the second screen.
5. The method according to claim 2, characterized in that the electronic apparatus further comprises a distance sensor for detecting a distance between the first screen and the second screen; the monitoring the use state of the screen comprises the following steps:
when the distance is larger than a preset distance threshold, determining the use state of the screen as an expansion state;
when the distance is smaller than a preset distance threshold value and the first screen is bright, determining the using state of the screen to be a folding state and using the first screen;
and when the distance is smaller than a preset distance threshold value and the second screen is bright, determining the using state of the screen to be a folding state and using the second screen.
6. The method according to claim 2, wherein the electronic apparatus further includes a magnetic sensor provided to one of the first screen and the second screen, and a magnet provided to the other of the first screen and the second screen; the monitoring the use state of the screen comprises the following steps:
when the magnetic field intensity detected by the magnetic sensor is smaller than a preset magnetic field intensity threshold value, determining the use state of the screen as an expansion state;
when the magnetic field intensity detected by the magnetic sensor is greater than a preset magnetic field intensity threshold value and the first screen is bright, determining the using state of the screen to be a folded state and using the first screen;
when the magnetic field intensity detected by the magnetic sensor is greater than a preset magnetic field intensity threshold value and the second screen is bright, the using state of the screen is determined to be a folding state and the second screen is used.
7. The method of controlling an electronic device according to claim 1, further comprising:
acquiring a request of an application program;
when the use state of the screen changes, activating and monitoring a group of sensor groups corresponding to the changed use state, and closing other sensor groups, including:
when the use state of the screen is changed, activating and monitoring the sensor corresponding to the request in the group of sensor groups corresponding to the use state, and closing other sensors and other sensor groups in the group of sensor groups corresponding to the use state;
and sending the monitoring data of the sensor to the application program.
8. The method according to claim 1, wherein each of the sensor groups includes at least one of a distance sensor, a light sensor, an acceleration sensor, a gyroscope, and a geomagnetic sensor.
9. An electronic device, characterized in that it comprises a screen, at least two sets of sensor groups, a processor and a memory, said memory having stored thereon a program or instructions which, when executed by said processor, implement the steps of a control method of an electronic device according to any one of claims 1-8.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the control method of an electronic device according to any one of claims 1-8.
CN202110836555.XA 2021-07-23 2021-07-23 Control method of electronic device, and readable storage medium Pending CN113485666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110836555.XA CN113485666A (en) 2021-07-23 2021-07-23 Control method of electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110836555.XA CN113485666A (en) 2021-07-23 2021-07-23 Control method of electronic device, and readable storage medium

Publications (1)

Publication Number Publication Date
CN113485666A true CN113485666A (en) 2021-10-08

Family

ID=77943306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110836555.XA Pending CN113485666A (en) 2021-07-23 2021-07-23 Control method of electronic device, and readable storage medium

Country Status (1)

Country Link
CN (1) CN113485666A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000321A1 (en) * 2013-07-03 2015-01-08 惠州Tcl移动通信有限公司 Display screen of changeable size, mobile terminal, and implementation method therefor
WO2018191900A1 (en) * 2017-04-20 2018-10-25 华为技术有限公司 Display control method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000321A1 (en) * 2013-07-03 2015-01-08 惠州Tcl移动通信有限公司 Display screen of changeable size, mobile terminal, and implementation method therefor
WO2018191900A1 (en) * 2017-04-20 2018-10-25 华为技术有限公司 Display control method and apparatus

Similar Documents

Publication Publication Date Title
CN102609144B (en) Touch screen damage protection adaption method and electronic equipment
CA2824694C (en) System and method for providing notifications on a mobile device
US20130132877A1 (en) Unlocking method of operating system and device
CN102224487A (en) Tiltable user interface
US7626355B2 (en) Portable electronic device and method to protect same
CN105320542B (en) A kind of method and apparatus that mobile terminal exits abnormal interface
KR20150017893A (en) Method and apparatus to processing lock screen of electronic device
CN104780316A (en) Camera starting detection method and camera starting detection device
CN104732167A (en) Mobile terminal and detecting control method used for same
CN105224187A (en) Menu execution control method and terminal equipment
CN105446838A (en) Terminal control method and terminal
US9653915B2 (en) Method and apparatus for detecting electro static discharge in electronic device
CN104391634A (en) Method for automatically controlling screen rotating mode of mobile terminal based on user panting
CN107329763B (en) Application program interface display method and device, electronic equipment and storage medium
CN104461717A (en) Information processing method and electronic equipment
CN109002216B (en) Touch screen repairing method and device and electronic equipment
CN113485666A (en) Control method of electronic device, and readable storage medium
CN104750575A (en) Restoring method and device for mobile terminal operating system
US9417667B2 (en) Methods and devices for touchscreen eavesdropping prevention
CN110673697B (en) Control method and device of electronic equipment, electronic equipment and storage medium
CN106020701B (en) Letter index bar display method and device and electronic equipment
CN105278861B (en) Control method and device for preset input mode
CA2851705C (en) Methods and devices for touchscreen eavesdropping prevention
CN105404383A (en) Screen state control method and apparatus, and terminal device
KR20170108119A (en) Terminal and Terminal Background Screen Control Method

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20211008

WD01 Invention patent application deemed withdrawn after publication