CN111045487A - Electronic equipment and folding angle detection method - Google Patents

Electronic equipment and folding angle detection method Download PDF

Info

Publication number
CN111045487A
CN111045487A CN201911355776.4A CN201911355776A CN111045487A CN 111045487 A CN111045487 A CN 111045487A CN 201911355776 A CN201911355776 A CN 201911355776A CN 111045487 A CN111045487 A CN 111045487A
Authority
CN
China
Prior art keywords
screen
area
sub
light
target
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.)
Granted
Application number
CN201911355776.4A
Other languages
Chinese (zh)
Other versions
CN111045487B (en
Inventor
张郝令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911355776.4A priority Critical patent/CN111045487B/en
Publication of CN111045487A publication Critical patent/CN111045487A/en
Application granted granted Critical
Publication of CN111045487B publication Critical patent/CN111045487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • G06F1/162Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position changing, e.g. reversing, the face orientation of the screen with a two degrees of freedom mechanism, e.g. for folding into tablet PC like position or orienting towards the direction opposite to the user to show to a second user
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to the technical field of communication, and provides electronic equipment and a folding angle detection method, which aim to solve the problem of low folding angle detection accuracy. Wherein, electronic equipment includes first screen, second screen and folding angle detection subassembly, and folding angle detection subassembly includes: the rotating shaft comprises a first connecting part and a second connecting part which are rotatably connected with each other, the first connecting part is connected with the first screen, the second connecting part is connected with the second screen, and a notch is formed in the position, connected with the second connecting part, of the first connecting part; a detection device, wherein the surface area of the second connecting part comprises a target area corresponding to the notch; the detection device detects the size of the first sub-area or the second sub-area in the target area through the notch, and determines the folding angle between the first screen and the second screen according to the size. Therefore, the electronic equipment determines the folding angle of the first screen and the second screen according to the size of the first sub-area or the second sub-area, and the detection accuracy can be improved.

Description

Electronic equipment and folding angle detection method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an electronic device and a method for detecting a folding angle.
Background
Along with the development of electronic equipment, folding screen electronic equipment has come to the end, and it possesses the big and portable advantage of screen, has received people's attention gradually.
The folding screen electronic equipment comprises at least two screens, and every two adjacent screens can be connected through a rotating shaft. In practical applications, the folding screen electronic device can determine the use state of the electronic device by detecting the angle of the unfolding between the two screens, for example, when the two screens are at 180 °, the screen of the electronic device is determined to be in the display state. However, as for the detection mode of the angle between the screens, in the prior art, the gravity sensor is added in the two display screens, and the angle is determined by the magnetic field component, so that the accuracy of the detection of the angle value is low.
Disclosure of Invention
The embodiment of the invention provides electronic equipment and a folding angle detection method, and aims to solve the problem that the folding angle value of a folding screen is low in detection accuracy.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, including a first screen, a second screen, and a folding angle detection component, where the folding angle detection component includes:
the rotating shaft comprises a first connecting part and a second connecting part which are rotatably connected with each other, the first connecting part is connected with the first screen, the second connecting part is connected with the second screen, and a notch is formed in the position, connected with the second connecting part, of the first connecting part;
the detection device is arranged at the notch, the surface area of the second connecting part comprises a target area corresponding to the notch, and the target area comprises a first sub-area and a second sub-area;
the detection device is used for detecting the size of the first sub-area or the second sub-area through the notch, and determining the folding angle between the first screen and the second screen according to the size of the first sub-area or the size of the second sub-area.
In a second aspect, an embodiment of the present invention further provides a method for detecting a folding angle, which is applied to the electronic device described above, and includes:
detecting the size of a target sub-region in the target region, wherein the target sub-region is the first sub-region or the second sub-region;
and determining the folding angle between the first screen and the second screen according to the size of the target sub-area and the preset corresponding relation between the area size and the screen angle.
In a third aspect, an embodiment of the present invention further provides an electronic device applied to the electronic device described above, where the electronic device includes:
a detection module, configured to detect a size of a target sub-region in the target region, where the target sub-region is the first sub-region or the second sub-region;
and the determining module is used for determining the folding angle between the first screen and the second screen according to the size of the target sub-region and the preset corresponding relation between the size of the region and the screen angle.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the folding angle detection method as described above when executing the computer program.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps in the folding angle detection method as described above.
In an embodiment of the present invention, an electronic device includes a first screen, a second screen, and a folding angle detection assembly, where the folding angle detection assembly includes: the rotating shaft comprises a first connecting part and a second connecting part which are rotatably connected with each other, the first connecting part is connected with the first screen, the second connecting part is connected with the second screen, and a notch is formed in the position, connected with the second connecting part, of the first connecting part; the detection device is arranged at the notch, the surface area of the second connecting part comprises a target area corresponding to the notch, and the target area comprises a first sub-area and a second sub-area; the detection device is used for detecting the size of the first sub-area or the second sub-area through the notch, and determining the folding angle between the first screen and the second screen according to the size of the first sub-area or the size of the second sub-area. Therefore, the electronic equipment detects the size of the first sub-area or the second sub-area, determines the folding angle between the first screen and the second screen according to the preset corresponding relation between the size of the area and the screen angle, and can improve the detection accuracy.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is one of the schematic diagrams of the target area provided by the embodiment of the present invention;
FIG. 3 is a second schematic diagram of a target area provided by an embodiment of the present invention;
FIG. 4 is a third schematic diagram of a target area provided by an embodiment of the present invention;
FIG. 5 is a second block diagram of an electronic device according to an embodiment of the present invention;
FIG. 6 is a flow chart of a method for detecting a folding angle according to an embodiment of the present invention;
FIG. 7 is a third block diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a fourth structural diagram of an electronic device according to an embodiment of the present invention.
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 some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes a first screen 1, a second screen 2, and a folding angle detection assembly, where the folding angle detection assembly includes:
a rotating shaft 3, wherein the rotating shaft 3 includes a first connecting portion 31 and a second connecting portion 32 rotatably connected to each other, the first connecting portion 31 is connected to the first screen 1, the second connecting portion 32 is connected to the second screen 2, and the first connecting portion 31 is provided with a notch at a position connected to the second connecting portion 32;
the detection device 4 is arranged at the notch, the surface area of the second connecting part 32 comprises a target area corresponding to the notch position, and the target area comprises a first sub-area and a second sub-area;
the detection device 4 is configured to detect the size of the first sub-area or the second sub-area through the notch, and determine a folding angle between the first screen 1 and the second screen 2 according to the size of the first sub-area or the size of the second sub-area.
The electronic equipment comprises a first screen and a second screen, the first screen and the second screen can rotate around a rotating shaft in the folding process, and the folding angle between the first screen and the second screen is changed correspondingly. In actual operation, the first screen can be controlled to rotate around the shaft, so that the folding angle between the first screen and the second screen is changed, and the second screen can be controlled to rotate around the shaft, so that the folding angle is changed. When the electronic device comprises more than two screens, any two adjacent screens which are rotatably connected through the rotating shaft can be used as the first screen and the second screen.
The first screen and the second screen are connected through the first connecting portion and the second connecting portion respectively, in the process that the first screen and the second screen rotate relatively, the first connecting portion and the second connecting portion can rotate relatively, the first connecting portion is provided with a notch, the direction of the notch can face the second connecting portion, a target area on the surface of the second connecting portion is exposed in the notch, and the detection device can detect the size of the first sub-area or the second sub-area in the target area through the notch.
As shown in FIG. 2, the target area (shown within the dashed box) corresponding to the notch includes a coating that is alternating black and white; the target region may also be a region as shown in fig. 3 (shown within the dashed box), including a partially black region and a partially white region. The black area may be a light absorbing area, i.e., a first sub-area, and the white area may be a light reflecting area, i.e., a second sub-area.
As shown in fig. 3, the surface area of the second connection part includes a black and white coating, and the surface area is unfolded to be rectangular corresponding to 0 ° to 180 ° of the rotation axis, that is, a folding angle range between the first screen and the second screen. The entire surface area is divided into a plurality of target areas, the coating distribution in each target area is different, and the coating distribution at different positions on the surface of the half rotating shaft corresponds to different positions of 0-180 degrees, so that the folding angle between the screens can be determined.
Specifically, the folding angle between the first screen and the second screen can be obtained by acquiring the sizes of the black area and the white area. Wherein the detection means may be a light detector for determining the size of the first sub-area or the second sub-area by emitting light to the target area and detecting the light intensity of the reflected light; the detection means may also be a camera for detecting the size of the first and second sub-areas by taking an image comprising the first and second sub-areas.
The electronic device may preset a correspondence between the size of the first sub-area or the second sub-area and the folding angle between the two screens, and the folding angle between the first screen and the second screen may be obtained according to the correspondence.
In this way, the electronic device can determine the folding angle between the first screen and the second screen according to the size of the first sub-area or the second sub-area, and the accuracy of angle detection can be improved.
Optionally, as shown in fig. 1, the first sub-area or the second sub-area is a light reflection area, and the detection device 4 includes a light detector 41 and a data processing module 42;
the photodetector 41 emits incident light toward the target region, and detects the intensity of reflected light after the incident light is reflected by the light reflecting region;
the data processing module 42 obtains the folding angle between the first screen and the second screen according to the preset corresponding relationship between the light intensity and the angle and the intensity of the reflected light.
In this embodiment, the first and second sub-regions may be a light absorbing region and a light reflecting region, respectively. The light detector emits incident light towards the target area, wherein one part of the incident light is absorbed by the light absorption area, the other part of the incident light is reflected by the light reflection area, and the data processing module can determine the size of the light reflection area according to the intensity of the reflected light. In addition, the electronic apparatus may also directly set a correspondence between the intensity of the reflected light and the folding angle, so that the folding angle between the first screen and the second screen may be acquired according to the acquired intensity of the reflected light.
As shown in fig. 3, the rotating shaft is unfolded into a rectangular shape, and half of the rotating shaft is preset to be light-absorbing dark-colored image coating, and the other half is preset to be white coating which hardly absorbs light; the entire rectangular area can also be divided according to 0 ° to 180 ° into a corresponding plurality of target areas, each of which specifies a coating of a certain absorption ratio. The ratio of absorbed to reflected light is different for each target area.
As shown in fig. 4, the coatings added to the shaft in two different ways are shown within the dashed rectangle. The whole coating surface can be superposed with a light-transmitting protective layer to cover the surface of the rotating shaft. The area corresponding to 0 to 180 degrees can be divided into n small rectangular areas, namely n target areas, wherein the n target areas comprise light absorption coatings with different light absorption ratios, so that different positions of the rotating shaft correspond to the coatings with different light absorption ratios and also correspond to different folding angles, and n is a positive integer.
When n is constant, the angle corresponding to each small rectangular region is 180/n, the angle can be customized and divided into a storage table in advance, n can be determined according to the light detection sensor and the actual angle detection precision requirement, and if n is 180, the angle corresponding to each small rectangular region is 1 degree.
The light detector is used for inputting light with certain intensity and detecting the intensity of the reflected light, and the intensity of the light absorbed by each small rectangular area is changed linearly. The folding angle between the first screen and the second screen may be determined according to a preset correspondence between the light intensity and the angle, and the intensity of the reflected light. In addition, the corresponding relation between the proportion of the light absorption area occupying the target area and the folding angle can be preset, and the folding angle value can be obtained according to the obtained reflected light intensity and the emitted light intensity.
The detection device can further comprise a data processing module, and the data processing module acquires the folding angle between the first screen and the second screen according to the preset corresponding relation between the light intensity and the angle and the intensity of the reflected light.
According to the embodiment, the corresponding relation between the angle and the change of the reflected light intensity is established by setting parameters through an optical detection method, and the folding angle between the screens is rapidly determined. The precision is adjustable, the detection is not influenced by factors such as temperature and humidity, the cost is low, and the circuit is easy to realize.
Alternatively, as shown in fig. 1, the first connecting portion 31 is an outer shaft, and the second connecting portion 32 is an inner shaft;
the outer shaft is provided with a through groove, the outer surface area of the inner shaft comprises a target area corresponding to the through groove, the target area and the light detector 41 are respectively positioned at two opening ends of the through groove, and light emitted by the light detector 41 is emitted to the target area through the through groove.
In this embodiment, the outer shaft is provided with a through slot, and the target area in the outer surface area of the inner shaft is exposed within the through slot. Light emitted by the light detector is emitted to the target area through the through groove and is reflected by the light reflecting area, and the light detector detects the intensity of the reflected light.
The outer surface area of the inner shaft includes a plurality of target areas, each having a different ratio of light reflecting areas to light absorbing areas. When the inner shaft and the outer shaft rotate relatively, a plurality of target areas in the outer surface area of the inner shaft are exposed in the through grooves in sequence, the light detector can detect the proportion of the light reflecting area and the light absorbing area in different target areas in sequence through the through grooves, and the folding angle between the first screen and the second screen can be obtained. Because the angle between the proportion and the screen is a preset corresponding relation, or the intensity of the reflected light and the angle of the screen are a preset corresponding relation, the folding angle obtained according to any corresponding relation is high in accuracy.
Alternatively, as shown in fig. 5, the first connecting portion 31 is an inner shaft, and the second connecting portion 32 is an outer shaft;
a notch is formed in the outer surface of the inner shaft, a target area corresponding to the notch is formed in the inner surface area of the outer shaft, the target area and the light detector are respectively located at two ends of the notch, and light emitted by the light detector 41 is emitted to the target area through the notch.
In this embodiment, a target area in an inner surface area of the outer shaft is exposed into the slot, and light emitted by the light detector emits light through one side of the slot and through the slot to the target area.
The inner surface area of the outer shaft includes a plurality of target areas that are sequentially exposed within the slots upon relative rotation of the outer shaft and the inner shaft. The light emitted from the light detector is emitted to the target area through the notch, and the light can be reflected by the light reflecting area, so that the intensity of the reflected light can be acquired. The data processing module 42 may determine the folding angle between the first screen and the second screen according to the intensity of the reflected light and a preset correspondence between the light intensity and the screen angle.
Because the intensity of the reflected light and the screen angle are in a preset corresponding relation, the folding angle obtained according to any corresponding relation is high in accuracy.
Optionally, as shown in fig. 1, the inner surface of the slot is provided with a light guiding structure 5.
In this embodiment, when the light detector emits light, the light is guided by the light guide structure on the inner surface of the notch in a directional manner, so that the light guide effect can be improved, the light loss can be reduced, and the accuracy of reflected light intensity detection can be improved.
When the notch is positioned in the inner shaft, the inner surface of the notch can be provided with the light guide structure.
Optionally, the surface area of the second connection portion includes N target areas, where N is an integer greater than 1;
wherein the size of the surface area corresponds to a range of folding angles between the first screen and the second screen, and the size of each of the first sub-areas or each of the second sub-areas corresponds to a one-to-one correspondence to a folding angle between the first screen and the second screen.
As shown in fig. 3, the surface area of the second connecting portion provided with the coating is a rectangular area, the surface area can be divided into a plurality of target areas, the size of each target area can be the same, and the proportion of the first sub-area to the second sub-area in each target area is different. When the first connecting part and the second connecting part rotate to the target position, the target area corresponding to the notch can be determined according to the position, and the size of the first sub-area and the size of the second sub-area in the target area are obtained, so that the folding angle between the first screen and the second screen corresponding to the area size is determined. Thus, the accuracy of angle detection can be improved.
Referring to fig. 6, fig. 6 is a flowchart of a folding angle detection method according to an embodiment of the present invention, and is applied to the electronic device described in any of the above embodiments. As shown in fig. 6, the folding angle detecting method includes the steps of:
step 601, detecting the size of a target sub-region in the target region, where the target sub-region is the first sub-region or the second sub-region.
In this step, the size of the first sub-area or the second sub-area may be detected by the detection means. Specifically, the detection may be performed by taking an image including the first sub-area and the second sub-area with a camera, and may also be performed by emitting light to the target area and acquiring the intensity of the reflected light.
Step 602, determining a folding angle between the first screen and the second screen according to the size of the target sub-region and a preset corresponding relationship between the size of the region and the screen angle.
The electronic device may preset a one-to-one correspondence between the size of the region and the screen angle, and may determine the folding angle between the first screen and the second screen according to the correspondence when the size of the target sub-region is obtained.
Optionally, the first sub-area or the second sub-area is a light reflection area, and the detection device includes a light detector;
the detecting the size of a target sub-region in the target region includes:
emitting incident light toward the target area by the photodetector, and collecting reflected light;
detecting the intensity of the reflected light;
and determining the folding angle between the first screen and the second screen according to the intensity of the reflected light and the preset corresponding relation between the light intensity and the screen angle.
When the detection means comprises a light detector, light may be emitted by the light detector towards the target area, wherein the target area may comprise a light absorbing area and a light reflecting area. The light reflecting region reflects light emitted from the light detector, and the light detector can acquire the intensity of the reflected light, so that the folding angle between the first screen and the second screen can be determined according to a preset correspondence between the light intensity and the screen angle.
Thus, according to the intensity of the reflected light, the folding angle between the first screen and the second screen corresponding to the intensity of the reflected light can be determined, and the angle detection accuracy can be improved.
Optionally, the method further includes:
outputting indication information for indicating that a folding angle between the first screen and the second screen is adjusted to a target angle value;
controlling the light detector to emit incident light and acquire the intensity of reflected light in the case of receiving an operation performed by a user based on the instruction information;
and updating the preset corresponding relation according to the target angle value and the intensity of the reflected light.
In order to further improve the accuracy of angle detection, the preset corresponding relationship between the angle value and the intensity of the reflected light may be calibrated in combination with the user operation.
Specifically, the electronic device may output a prompt message to prompt the user to adjust the folding angle between the first screen and the second screen to a target angle value, for example, 0 ° or 180 °. And under the condition of receiving the user operation, the electronic equipment acquires the intensity of the reflected light, so that the reflected light intensity value corresponding to the target angle value is updated. The accuracy of angle detection can be improved.
Rotating the rotating shaft from 0 degree to 180 degrees, taking each angle n as stepping, and establishing a linear relation table of the intensity Sn of the reflected light and the angle n corresponding to each intensity Sn of the reflected light. When the folding screen is located at a certain position, the light detector emits incident light and detects the intensity of reflected light, and the angle can be obtained by inquiring a linear relation table of the intensity Sn of the reflected light and the angle n.
In the embodiment of the present invention, the folding angle detection method may be applied to an electronic device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the folding angle detection method provided by the embodiment of the invention, the size of a target sub-region in the target region is detected, wherein the target sub-region is the first sub-region or the second sub-region; and determining the folding angle between the first screen and the second screen according to the size of the target sub-area and the preset corresponding relation between the area size and the screen angle. The electronic equipment detects the size of the first sub-area or the second sub-area, determines the folding angle between the first screen and the second screen according to the preset corresponding relation between the size of the area and the screen angle, and can improve the detection accuracy.
Referring to fig. 7, fig. 7 is a structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device is applied to any one of the above embodiments. As shown in fig. 7, the electronic device 700 includes:
a detecting module 701, configured to detect a size of a target sub-region in the target region, where the target sub-region is the first sub-region or the second sub-region;
a determining module 702, configured to determine a folding angle between the first screen and the second screen according to the size of the target sub-region and a preset corresponding relationship between the size of the region and the screen angle.
Optionally, the first sub-area or the second sub-area is a light reflection area, and the detection device includes a light detector;
the detection module comprises:
the collection submodule is used for emitting incident light to the target area through the optical detector and collecting reflected light;
a detection sub-module for detecting the intensity of the reflected light;
and the determining submodule is used for determining the folding angle between the first screen and the second screen according to the intensity of the reflected light and the preset corresponding relation between the light intensity and the screen angle.
Optionally, the electronic device further includes:
an output module, configured to output indication information, where the indication information is used to indicate that a folding angle between the first screen and the second screen is adjusted to a target angle value;
an acquisition module, configured to control the light detector to emit incident light and acquire intensity of reflected light in a case where an operation based on the indication information by a user is received;
and the updating module is used for updating the preset corresponding relation according to the target angle value and the intensity of the reflected light.
The electronic device 700 can implement each process implemented by the electronic device in the above method embodiments, and details are not described here to avoid repetition.
According to the electronic device 700 provided by the embodiment of the invention, the electronic device detects the size of the first sub-area or the second sub-area, and determines the folding angle between the first screen and the second screen according to the preset corresponding relation between the size of the area and the screen angle, so that the detection accuracy can be improved.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to detect a size of a target sub-region in the target region, where the target sub-region is the first sub-region or the second sub-region;
and determining the folding angle between the first screen and the second screen according to the size of the target sub-area and the preset corresponding relation between the area size and the screen angle.
Therefore, the electronic equipment detects the size of the first sub-area or the second sub-area, determines the folding angle between the first screen and the second screen according to the preset corresponding relation between the size of the area and the screen angle, and can improve the detection accuracy.
Optionally, the processor 810 executes that the first sub-area or the second sub-area is a light reflection area, and the detection device includes a light detector;
the detecting the size of a target sub-region in the target region includes:
emitting incident light toward the target area by the photodetector, and collecting reflected light;
detecting the intensity of the reflected light;
and determining the folding angle between the first screen and the second screen according to the intensity of the reflected light and the preset corresponding relation between the light intensity and the screen angle.
Optionally, the processor 810 is further configured to:
outputting indication information for indicating that a folding angle between the first screen and the second screen is adjusted to a target angle value;
controlling the light detector to emit incident light and acquire the intensity of reflected light in the case of receiving an operation performed by a user based on the instruction information;
and updating the preset corresponding relation according to the target angle value and the intensity of the reflected light.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process in the above-mentioned folding angle detection method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned folding angle detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. An electronic device comprising a first screen, a second screen, and a folding angle detection assembly, the folding angle detection assembly comprising:
the rotating shaft comprises a first connecting part and a second connecting part which are rotatably connected with each other, the first connecting part is connected with the first screen, the second connecting part is connected with the second screen, and a notch is formed in the position, connected with the second connecting part, of the first connecting part;
the detection device is arranged at the notch, the surface area of the second connecting part comprises a target area corresponding to the notch, and the target area comprises a first sub-area and a second sub-area;
the detection device is used for detecting the size of the first sub-area or the second sub-area through the notch, and determining the folding angle between the first screen and the second screen according to the size of the first sub-area or the size of the second sub-area.
2. The electronic device of claim 1, wherein the first sub-area or the second sub-area is a light reflecting area, and the detection device comprises a light detector and a data processing module;
the light detector emits incident light towards the target area and detects the intensity of reflected light of the incident light reflected by the light reflecting area;
and the data processing module acquires the folding angle between the first screen and the second screen according to the preset corresponding relation between the light intensity and the angle and the intensity of the reflected light.
3. The electronic apparatus according to claim 2, wherein the first connection portion is an outer shaft, and the second connection portion is an inner shaft;
the outer shaft is provided with a through groove, the outer surface area of the inner shaft comprises a target area corresponding to the through groove, the target area and the light detector are respectively positioned at two opening ends of the through groove, and light emitted by the light detector is emitted to the target area through the through groove.
4. The electronic device according to claim 2, wherein the first connection portion is an inner shaft, and the second connection portion is an outer shaft;
the outer surface of the inner shaft is provided with a notch, the inner surface area of the outer shaft comprises a target area corresponding to the notch, the target area and the light detector are respectively positioned at two ends of the notch, and light emitted by the light detector is emitted to the target area through the notch.
5. The electronic device of claim 2, wherein an inner surface of the slot is provided with a light guiding structure.
6. The electronic device according to claim 2, wherein the surface area of the second connection portion includes N target areas, N being an integer greater than 1;
wherein the size of the surface area corresponds to a range of folding angles between the first screen and the second screen, and the size of each of the first sub-areas or each of the second sub-areas corresponds to a one-to-one correspondence to a folding angle between the first screen and the second screen.
7. A folding angle detection method applied to the electronic device according to any one of claims 1 to 6, the method comprising:
detecting the size of a target sub-region in the target region, wherein the target sub-region is the first sub-region or the second sub-region;
and determining the folding angle between the first screen and the second screen according to the size of the target sub-area and the preset corresponding relation between the area size and the screen angle.
8. The method of claim 7, wherein the first or second sub-region is a light reflecting region, the detection device comprises a light detector;
the detecting the size of a target sub-region in the target region includes:
emitting incident light toward the target area by the photodetector, and collecting reflected light;
detecting the intensity of the reflected light;
and determining the folding angle between the first screen and the second screen according to the intensity of the reflected light and the preset corresponding relation between the light intensity and the screen angle.
9. The method of claim 8, further comprising:
outputting indication information for indicating that a folding angle between the first screen and the second screen is adjusted to a target angle value;
controlling the light detector to emit incident light and acquire the intensity of reflected light in the case of receiving an operation performed by a user based on the instruction information;
and updating the preset corresponding relation according to the target angle value and the intensity of the reflected light.
10. An electronic device, applied to the electronic device according to any one of claims 1 to 6, the electronic device comprising:
a detection module, configured to detect a size of a target sub-region in the target region, where the target sub-region is the first sub-region or the second sub-region;
and the determining module is used for determining the folding angle between the first screen and the second screen according to the size of the target sub-region and the preset corresponding relation between the size of the region and the screen angle.
11. The electronic device of claim 10, wherein the first or second sub-area is a light reflecting area, and the detecting means comprises a light detector;
the detection module comprises:
the collection submodule is used for emitting incident light to the target area through the optical detector and collecting reflected light;
a detection sub-module for detecting the intensity of the reflected light;
and the determining submodule is used for determining the folding angle between the first screen and the second screen according to the intensity of the reflected light and the preset corresponding relation between the light intensity and the screen angle.
12. The electronic device of claim 11, further comprising:
an output module, configured to output indication information, where the indication information is used to indicate that a folding angle between the first screen and the second screen is adjusted to a target angle value;
an acquisition module, configured to control the light detector to emit incident light and acquire intensity of reflected light in a case where an operation based on the indication information by a user is received;
and the updating module is used for updating the preset corresponding relation according to the target angle value and the intensity of the reflected light.
13. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the folding angle detection method according to any one of claims 7 to 9 when executing the computer program.
14. 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 folding angle detection method according to any one of claims 7 to 9.
CN201911355776.4A 2019-12-25 2019-12-25 Electronic equipment and folding angle detection method Active CN111045487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911355776.4A CN111045487B (en) 2019-12-25 2019-12-25 Electronic equipment and folding angle detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911355776.4A CN111045487B (en) 2019-12-25 2019-12-25 Electronic equipment and folding angle detection method

Publications (2)

Publication Number Publication Date
CN111045487A true CN111045487A (en) 2020-04-21
CN111045487B CN111045487B (en) 2021-04-27

Family

ID=70239465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911355776.4A Active CN111045487B (en) 2019-12-25 2019-12-25 Electronic equipment and folding angle detection method

Country Status (1)

Country Link
CN (1) CN111045487B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586216A (en) * 2020-04-30 2020-08-25 维沃移动通信有限公司 Folding terminal, folding state determining method and device
CN111831068A (en) * 2020-07-09 2020-10-27 维沃移动通信有限公司 Electronic device
CN112304252A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Folding angle determining method, folding equipment and electronic equipment
CN112445289A (en) * 2020-11-18 2021-03-05 维沃移动通信有限公司 Foldable electronic device and folding angle detection method
CN112860011A (en) * 2020-12-31 2021-05-28 维沃移动通信有限公司 Folding electronic device and control method and control device thereof
CN113313758A (en) * 2021-05-28 2021-08-27 维沃移动通信有限公司 Folding angle calculation method and device, electronic equipment and storage medium
CN115065750A (en) * 2022-06-08 2022-09-16 Oppo广东移动通信有限公司 Folding angle adjusting method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158573A (en) * 2001-11-21 2003-05-30 Canon Inc Foldable device and its control method
CN1611916A (en) * 2003-10-29 2005-05-04 苏文威 Angle detecting sensor and control system adopting said sensor for vehicle
CN201476771U (en) * 2009-07-28 2010-05-19 北京世纪桑尼科技有限公司 Device for measuring angle position of rotating element
CN110072014A (en) * 2019-05-20 2019-07-30 维沃移动通信有限公司 A kind of screen folded state determines method and mobile terminal
CN110360955A (en) * 2019-07-22 2019-10-22 Oppo广东移动通信有限公司 Fold screen assembly, electronic equipment, Folding screen angle detecting method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158573A (en) * 2001-11-21 2003-05-30 Canon Inc Foldable device and its control method
CN1611916A (en) * 2003-10-29 2005-05-04 苏文威 Angle detecting sensor and control system adopting said sensor for vehicle
CN201476771U (en) * 2009-07-28 2010-05-19 北京世纪桑尼科技有限公司 Device for measuring angle position of rotating element
CN110072014A (en) * 2019-05-20 2019-07-30 维沃移动通信有限公司 A kind of screen folded state determines method and mobile terminal
CN110360955A (en) * 2019-07-22 2019-10-22 Oppo广东移动通信有限公司 Fold screen assembly, electronic equipment, Folding screen angle detecting method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586216A (en) * 2020-04-30 2020-08-25 维沃移动通信有限公司 Folding terminal, folding state determining method and device
CN111586216B (en) * 2020-04-30 2021-06-25 维沃移动通信有限公司 Folder terminal, folder state determining method and apparatus, and computer-readable storage medium
CN111831068A (en) * 2020-07-09 2020-10-27 维沃移动通信有限公司 Electronic device
CN112304252A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Folding angle determining method, folding equipment and electronic equipment
CN112445289A (en) * 2020-11-18 2021-03-05 维沃移动通信有限公司 Foldable electronic device and folding angle detection method
CN112860011A (en) * 2020-12-31 2021-05-28 维沃移动通信有限公司 Folding electronic device and control method and control device thereof
CN112860011B (en) * 2020-12-31 2024-04-26 维沃移动通信有限公司 Folding electronic equipment, control method and control device thereof
CN113313758A (en) * 2021-05-28 2021-08-27 维沃移动通信有限公司 Folding angle calculation method and device, electronic equipment and storage medium
CN115065750A (en) * 2022-06-08 2022-09-16 Oppo广东移动通信有限公司 Folding angle adjusting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111045487B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN111045487B (en) Electronic equipment and folding angle detection method
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN111314610B (en) Control method and electronic equipment
AU2020263183B2 (en) Parameter Obtaining Method and Terminal Device
CN108600546B (en) Environment light detection method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN110784575B (en) Electronic equipment and shooting method
CN110825168B (en) Electronic equipment and control element control method
CN110888494B (en) Angle detection method and device and mobile terminal
CN111405181B (en) Focusing method and electronic equipment
CN111338489B (en) Parameter adjustment method and electronic equipment
CN108108113B (en) Webpage switching method and device
CN111256580B (en) Electronic equipment and rotation angle detection method
CN111176513B (en) Control method and electronic equipment
CN111031221B (en) Shooting method and electronic equipment
CN111142618A (en) Method for detecting folding angle and electronic equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN111552166B (en) Electronic equipment, interaction method and device
CN111561899A (en) Folding angle detection method and electronic equipment
CN110769162B (en) Electronic equipment and focusing method
CN111352566A (en) Parameter adjusting method and electronic equipment
CN111443802B (en) Measurement method and electronic device
CN111427496B (en) Parameter adjusting method and electronic equipment
CN109683789B (en) Content display method 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
GR01 Patent grant
GR01 Patent grant