CN116592756A - Detection method for included angle of folding screen and electronic equipment - Google Patents

Detection method for included angle of folding screen and electronic equipment Download PDF

Info

Publication number
CN116592756A
CN116592756A CN202310872624.1A CN202310872624A CN116592756A CN 116592756 A CN116592756 A CN 116592756A CN 202310872624 A CN202310872624 A CN 202310872624A CN 116592756 A CN116592756 A CN 116592756A
Authority
CN
China
Prior art keywords
folding screen
included angle
value
screen
acceleration
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
CN202310872624.1A
Other languages
Chinese (zh)
Other versions
CN116592756B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310872624.1A priority Critical patent/CN116592756B/en
Publication of CN116592756A publication Critical patent/CN116592756A/en
Application granted granted Critical
Publication of CN116592756B publication Critical patent/CN116592756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a detection method for an included angle of a folding screen and electronic equipment. The electronic equipment comprises a folding screen, and under the condition that the electronic equipment is in a motion state based on acceleration acquired at the moment t, if the Hall value acquired at the moment t belongs to a first range, an angle corresponding to the Hall value acquired at the moment t is determined from a preset relation to be used as an included angle of the folding screen; if the Hall value acquired at the moment t does not belong to the first range, calculating the change value of the included angle of the folding screen based on the angular velocity acquired at the moment t, and then combining the initial value and the change value of the included angle of the folding screen to obtain the final value of the included angle of the folding screen. Therefore, the included angle of the folding screen can still be accurately detected when the electronic equipment moves.

Description

Detection method for included angle of folding screen and electronic equipment
Technical Field
The application relates to the field of terminals, in particular to a detection method for an included angle of a folding screen and electronic equipment.
Background
Currently, electronic devices with folding screens are widely used, and the electronic devices need to control the display state of the folding screen according to the change of the included angle of the folding screen, including controlling to use different display screens, changing display contents, and the like.
How to accurately detect the included angle of the folding screen to accurately manage the display state of the folding screen is a problem to be solved.
Disclosure of Invention
The application provides a detection method for an included angle of a folding screen and electronic equipment. The electronic equipment comprises the folding screen, and the included angle of the folding screen can still be accurately detected when the electronic equipment moves based on the collected acceleration, angular velocity, hall value and the like of the folding screen.
In a first aspect, the present application provides a method for detecting an included angle of a folding screen, where the method is applied to an electronic device having a folding screen, and the method includes: collecting a first acceleration, a first angular velocity and a first Hall value of the folding screen; if the first Hall value is in a first range under the condition that the first acceleration is larger than a first value, determining a folding screen included angle corresponding to the first Hall value in a first corresponding relation between a preset folding screen included angle and the Hall value as the folding screen included angle; and if the first Hall value is out of the first range, determining the included angle of the folding screen according to the first angular speed.
After the method described in the first aspect is implemented, the included angle of the folding screen can still be accurately detected under the movement of the electronic equipment (namely under the condition of unstable acceleration).
The method described in connection with the first aspect, determining the folding screen included angle according to the first angular velocity specifically includes: and integrating the first angular velocity to obtain a change value of the included angle of the folding screen, and superposing the change value on an initial value of the included angle of the folding screen to obtain the included angle of the folding screen.
Therefore, under the condition that the electronic equipment moves (namely, the acceleration is unstable), the change value of the included angle of the folding screen of the electronic equipment is determined through the integration of the angular velocity, and the included angle of the folding screen at a certain moment (for example, the moment t described below) in the moving process is further obtained.
The method described in connection with the first aspect, before the first acceleration of the folding screen is acquired, the method further comprises: collecting a second acceleration of the folding screen; and under the condition that the second acceleration is smaller than or equal to the first value, the initial value of the included angle of the folding screen is obtained through the second acceleration.
The method described in connection with the first aspect, before the first acceleration and the first hall value of the folding screen are acquired, the method further comprises: collecting a second acceleration and a second Hall value of the folding screen; and under the condition that the second acceleration is larger than the first value, if the second Hall value is the boundary Hall value of the first range, the initial value of the folding screen included angle is the folding screen included angle corresponding to the second Hall value in the first corresponding relation.
The method described in connection with the first aspect, before the first acceleration and the first hall value of the folding screen are acquired, the method further comprises: collecting a second acceleration and a second Hall value of the folding screen; and under the condition that the second acceleration is larger than the first value, if the second Hall value is out of the first range, the initial value of the included angle of the folding screen is a preset value.
Therefore, when the electronic equipment is in different motion scenes, the initial value of the included angle of the folding screen in the motion process of the electronic equipment can be accurately and rapidly obtained in different modes. If the electronic equipment is from rest (the acceleration is calculated to be smaller than or equal to a first value at the moment t-1) to movement (the acceleration is calculated to be larger than the first value at the moment t and then the electronic equipment moves), the initial value of the folding screen included angle during movement is the folding screen included angle calculated based on the acceleration at rest; if the electronic equipment moves from the moment when the acceleration is calculated to be greater than a first value (namely movement) to the moment when the acceleration is calculated to be greater than the first value (still movement) when the electronic equipment moves (moment when the acceleration is calculated to be greater than the first value), the initial value of the folding screen included angle during movement is the folding screen included angle queried based on the detected Hall value boundary value during the previous movement; if the Hall value detected when the electronic equipment moves from the moment (t-1) to the moment when the acceleration is greater than the first value, namely the movement is continued (the moment when the acceleration is greater than the first value and still moves), and the Hall value detected when the electronic equipment moves before the moment (t-1), the initial value of the included angle of the folding screen is a preset value, and the preset value is an intermediate angle value which can be unfolded by the folding screen.
The method described in connection with the first aspect, before the first acceleration of the folding screen is acquired, the method further comprises: collecting a second acceleration of the folding screen; and if the second acceleration is smaller than the first value, obtaining the included angle of the folding screen based on the second acceleration.
Therefore, when the acceleration of the electronic equipment is detected to be stable (equivalent to the static state of the electronic equipment), the accurate folding screen included angle can be calculated directly based on the acceleration.
The method described in connection with the first aspect, the first angular velocity comprising a sequence of a plurality of angular velocities.
Therefore, the sequence of the plurality of angular velocities acquired in the period of time can be integrated, and further the change value of the folding screen in the period of time for acquiring the sequence of time can be accurately calculated.
The method described in connection with the first aspect, before the first acceleration, the first angular velocity and the first hall value of the folding screen are acquired, the method further comprises: the folding screen is detected to be bright.
Thus, since the user is less likely to further operate the folding screen in the state where the folding screen is off or off, and is more likely to further perform an operation of unfolding/closing the folding screen in the state where the folding screen is on. Therefore, after the folding screen is lightened, the sensor is controlled to acquire corresponding data, so that the sensor can be prevented from acquiring meaningless data, and the power consumption of the electronic equipment is reduced. The method described in connection with the first aspect, the folding screen comprising at least a first display screen and a second display screen, the method further comprising:
When the included angle of the folding screen is smaller than a first threshold value, displaying information through the first display screen, and displaying information not through the second display screen; and when the included angle of the folding screen is larger than a second threshold value, displaying information through the first display screen and the second display screen.
Therefore, the change condition of the included angle of the folding screen can be combined with the display requirement of a user on the folding screen, and the display state of the folding screen can be controlled.
The method described in connection with the first aspect, the first display screen and the second display screen are both provided with an acceleration sensor and a gyro sensor; the first display screen is also provided with a Hall sensor, and the second display screen is also provided with a magnetic field generating device corresponding to the Hall sensor.
In combination with the method described in the first aspect, in the first corresponding relationship, hall values corresponding to different folding screen included angles are different.
Therefore, when the Hall values corresponding to the included angles of different folding screens are different, if the included angles of the folding screens which are inquired according to the collected Hall values are also different, the unique corresponding included angle of the folding screen can be accurately inquired.
The method described in connection with the first aspect, the electronic device further includes a folding screen angle detection module, the folding screen angle detection module operates in a sensor hub of the electronic device, and the folding screen angle detection module is configured to: under the condition that the first Hall value is in the first range, determining a folding screen included angle corresponding to the first Hall value in the first corresponding relation as the folding screen included angle; and determining the included angle of the folding screen according to the first angular speed when the first Hall value is out of the first range.
Thus, the folding screen included angle can be detected through the sensor hub. The power consumption of the CPU is reduced.
In a second aspect, the present application provides an electronic device comprising a folding screen, one or more memories, one or more processors; the memory is coupled to the one or more processors, the memory for storing computer program code comprising computer instructions that the one or more processors call to cause the electronic device to perform the method as described in any of the first aspects.
In a third aspect, the application provides a computer readable storage medium comprising instructions which, when run on an electronic device, cause the electronic device to perform a method as described in any of the first aspects.
Drawings
Fig. 1A to fig. 1C are schematic application scenarios of a group of folding screens according to an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a relationship between Hall value and folding screen included angle according to an embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device software architecture according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an OS interaction flow provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a specific implementation method for detecting an included angle of a folding screen according to an embodiment of the present application;
fig. 7 is a schematic diagram of a specific implementation method for calculating an included angle of a folding screen based on an angular velocity acquired at time t according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly and thoroughly described below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the application may be combined with other embodiments.
The term "User Interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. The user interface is a source code written in a specific computer language such as java, extensible markup language (extensible markup language, XML) and the like, and the interface source code is analyzed and rendered on the electronic equipment to finally be presented as content which can be identified by a user. A commonly used presentation form of the user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be a visual interface element of text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc., displayed in a display of the electronic device.
In an application scenario of an electronic device with a folding screen, a user may control a display state of the folding screen according to a change of an included angle of the folding screen during folding/unfolding of the folding screen, including but not limited to controlling to use different display screens, changing display contents, and the like.
Referring to fig. 1A to 1C, fig. 1A to 1C schematically illustrate an application scenario of a set of folding screens provided by an embodiment of the present application.
1A-1C are only shown by way of example as folding screens of an electronic device, including A, B, and C screens, and should not be construed as limiting the application. Wherein, A screen and B screen belong to the internal folding screen, and C screen belongs to the external folding screen, because at folding screen expansion in-process, mainly through A screen display information, consequently A screen can regard as the main screen, and B screen and C screen regard as the auxiliary screen. In addition, because the B screen in the inner folding screen and the C screen of the outer folding screen are parallel to each other, the included angle of the folding screen is as followsThe included angle of the A screen and the B screen can be represented, and the included angle of the A screen and the C screen can also be represented. In the embodiment of the application, the screen A can be also called a first display screen, and the screen B can be also called a second display screen.
Fig. 1A exemplarily shows a display state of a folding screen of an electronic device in a closed state.
As shown in FIG. 1A, when the folding screen is in a closed state, the included angle of the folding screen is 0 DEG, which is recorded as. At this time, the folding screen may be in a screen-off state, or information may be displayed through the C screen (for example, a screen-off interface, an unlock interface, an arbitrary interface after unlocking, etc.) but the a screen and the B screen are always in a screen-off state.
Fig. 1B exemplarily shows a display state of a folding screen of an electronic device during unfolding.
As shown in fig. 1B, in the process of closing the folding screen to unfolding the folding screen, the included angle of the folding screen gradually increases, and with the change of the included angle, the electronic device switches different display screens to display information. For example, when the included angle exceeds the first threshold, the electronic device displays information through the A screen, and the B screen and the C screen are in the off-screen state, which is shown in (a) of FIG. 1BWhen the information is displayed by the screen A; for example, when the angle is further expanded to exceed the second threshold, the electronic device displays information together through the A screen and the B screen, and the C screen is in the off-screen state, see in fig. 1BAnd when the information is displayed by the screen A and the screen B together. Wherein the first threshold value is smaller than the second threshold value, which may be, for example +. >The second threshold value may be, for example +.>The first threshold value and the second threshold value are not particularly limited in the embodiment of the application.
Fig. 1C exemplarily shows a display state of a folding screen of an electronic device in a fully unfolded state.
As shown in FIG. 1C, when the folding screen is completely unfolded, the included angle of the folding screen is 180 degrees, which is recorded asAt this time, the information can be displayed through the screen A and the screen B, and the screen C is in the off-screen state.
Alternatively, the folding screen of the electronic device may include only the inner folding screen and not the outer folding screen, which is not limited by the embodiment of the present application.
Optionally, the electronic device is not limited to changing the display screen used when the included angle of the folding screen changes, and may also change the display content in the display screen, etc. The above-described fig. 1A-1C are only shown by way of example of a display screen used for electronic device modification, and should not be construed as limiting the application.
Alternatively, the above-mentioned folding screen angles and the corresponding display screens are only examples, and should not be construed as limiting the application.
In order to realize the function of controlling the display state of the folding screen based on the change of the folding screen included angle, the folding screen included angle needs to be detected, and particularly, how to accurately detect the folding screen included angle under the condition that the electronic equipment is still in a moving state while a user opens/closes the folding screen is a problem to be solved.
In order to solve the problems, the application provides a detection method of an included angle of a folding screen and electronic equipment. The electronic equipment comprises a folding screen, and under the condition that the electronic equipment is in a motion state based on acceleration acquired at the moment t, if the Hall value acquired at the moment t belongs to a first range, an angle corresponding to the Hall value acquired at the moment t is determined from a preset relation to be used as an included angle of the folding screen; if the Hall value acquired at the moment t does not belong to the first range, calculating the change value of the included angle of the folding screen based on the angular velocity acquired at the moment t, and then combining the initial value and the change value of the included angle of the folding screen to obtain the final value of the included angle of the folding screen.
After the scheme provided by the application is implemented, the collected Hall value angular velocity is less interfered by the movement of the electronic equipment relative to the acceleration, so that the electronic equipment can be ensured to calculate an accurate folding screen included angle through the collected Hall value/angular velocity in the movement state. However, in the state that the electronic device is in motion, the collected acceleration has larger components in the x, y and z axes, the acceleration data is unstable, and the calculated included angle of the folding screen based on the acceleration data has larger difference from the actual one.
In a further implementation, before the sensor is controlled to collect the corresponding data, a corresponding trigger mechanism needs to be detected, for example, after the folding screen (any one or more display screens included in the folding screen) is detected to be on, the sensor is controlled to collect the corresponding data. Since the user is less likely to further operate the folding screen in the state where the folding screen is off or off, and is more likely to further perform an operation of unfolding/closing the folding screen in the state where the folding screen is on. Therefore, after the folding screen is lightened, the sensor is controlled to acquire corresponding data, so that the sensor can be prevented from acquiring meaningless data, and the power consumption of the electronic equipment is reduced.
In a further implementation manner, a corresponding relation (also called a first corresponding relation) between the included angle of the folding screen and the hall value is preset in the electronic device, but only the corresponding relation between the included angle of the folding screen in the second range and the hall value is pre-stored, and the hall value corresponding to the included angle of the folding screen in the corresponding second range is in the first range. The embodiment of the application does not limit specific numerical values of the first range and the second range, and adopts the Hall sensors with different specifications and the Hall sensors arranged at different positions in different electronic equipment sizes, and adopts the magnetic field generating devices with different specifications, so that the corresponding relation between the detected Hall values and the included angles of the folding screens can be different, and therefore, the application only needs to ensure that the included angles of different folding screens folded in the second range can respectively correspond to different Hall values. In a further implementation manner, in the case that the electronic device is in motion at the time t and the hall value acquired at the time t does not belong to the first range. The initial value used for calculating the included angle of the folding screen can be determined by judging the motion state at the time t-1 and then based on the acceleration/Hall value acquired at the time t-1, and the following 3 modes are specifically referred to:
Mode 1: under the condition that the electronic equipment is in a static state based on the acceleration acquired at the time t-1, taking the folding screen included angle calculated based on the acceleration acquired at the time t-1 as an initial value of the folding screen included angle at the time t (namely, the folding screen included angle at the time t-1).
Mode 2: under the condition that the electronic equipment is in a motion state based on the acceleration acquired at the time t-1, and under the condition that the Hall value acquired at the time t-1 is the boundary Hall value of the first range, taking the angle corresponding to the boundary Hall value of the first range acquired at the time t-1 (namely one boundary angle of the second range) as the initial value of the included angle of the folding screen at the time t.
Mode 3: under the condition that the electronic equipment is in a motion state based on the acceleration acquired at the time t-1, and the Hall value acquired at the time t-1 does not belong to the first range, taking a preset fixed value as an initial value of the included angle of the folding screen, wherein the preset fixed value can specifically select an intermediate value, for exampleThe calculation is performed as an initial value.
If the mode 1 is applied, the folding screen included angle is obtained by directly utilizing the boundary Hall value at the time t-1, and the folding screen included angle at the time t can be rapidly and accurately calculated as the initial value of the adopted folding screen included angle at the time t. This is because, in the stationary state of the electronic apparatus, the acquired acceleration is stable (kept at 9.8m/s 2 A range of left and right), a trusted folding screen angle that matches the actual result can be calculated based on the accelerometer.
If the mode 2 is applied, the folding screen included angle is obtained by directly utilizing the boundary Hall value at the time t-1, and the folding screen included angle at the time t can be rapidly and accurately calculated as the initial value of the adopted folding screen included angle at the time t. This is because, when the electronic device is in motion, the collected hall value is hardly affected, and a trusted folding screen angle which matches the actual result can be calculated based on the hall value.
If the method 3 is applied, the preset fixed value is directly utilizedAs an initial value of the adopted folding screen included angle at the time t, the folding screen included angle at the time t cannot be accurately calculated. This is because +.>And not necessarily the actual initial value of the folding screen angle. Therefore, the pair based on ++needs to be filtered by Kalman filtering algorithm>And (3) carrying out filtering treatment on the predicted value of the included angle of the folding screen, namely filtering the predicted value of the included angle of the folding screen which does not meet the condition after multiple iterations, and taking the predicted value of the included angle of the folding screen which finally meets the condition as the final included angle of the folding screen.
For a detailed description of the foregoing method, reference may be made to the method flow shown in fig. 5, and the description of the Operating System (OS) interaction flow introduced in fig. 6, which will not be described in detail herein.
Next, a product form, a hardware-software architecture, and the like of the electronic device according to the present application will be described.
The electronic device may be a portable terminal device with an iOS, android, microsoft or other operating system mounted, such as a cell phone, tablet, desktop, laptop, handheld, notebook, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, and personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) device, virtual Reality (VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle device, smart home device, and/or smart city device, among others.
The various electronic devices provided by the application are all provided with folding screens, namely the display screens of the electronic devices can be folded, and after being folded, the electronic devices are divided into two display screens by at least a folding shaft.
Reference may be made in particular to the configurations shown in figures 1A-1C with respect to the configuration of the folding screen.
As shown in fig. 1A-1C, the display screen of the electronic device is a folding screen, and the folding screen can be divided into an a screen and a B screen along a folding axis, and a C screen is further disposed on the opposite side of the B screen. The screen A and the screen B can be two display areas divided by a complete display screen or two independent display screens, and the screen C is a completely independent display screen with the screen A and the screen B. The A and B panels are referred to as invaginations, and the C panel may also be referred to as an outer panel.
Fig. 2 illustrates a schematic hardware architecture of an electronic device according to an embodiment of the present application.
The electronic device may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, microphone 170C, headset interface 170D, sensor module 180, keys 190, camera 193, display 194, etc. The sensor module 180 may include a touch sensor 180A, an acceleration sensor 180B, a gyro sensor 180C, a hall sensor 180D, and the like. It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can be a neural center and a command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In the embodiment of the present application, the processor 110 is configured to control the corresponding software and hardware modules to perform the methods described in fig. 5 to 6, which may be specifically described in connection with fig. 5 to 6, and are not described herein again.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge an electronic device.
In the present application, the USB interface 130 may also be used to transfer data between an electronic device and a peripheral device, for example, to connect to a headset, through which audio is played.
It should be understood that the connection relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on an electronic device. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device implements display functions via a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD). The display panel may also be manufactured using organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (flex-emitting diode), mini, micro-OLED, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device may include 1 or N display screens 194, N being a positive integer greater than 1.
In the embodiment of the present application, the device may display, for example, the user interface as shown in fig. 1A to 1C provided in the UI embodiment described above, through the display screen 194, and other descriptions of the display screen 194 may also be omitted herein with reference to the foregoing description of the folding screen.
The electronic device may implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to the naked eye. ISP can also perform algorithm optimization on noise and brightness of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, and so on.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of electronic devices can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (NVM).
The random access memory may include a static random-access memory (SRAM), a dynamic random-access memory (dynamic random access memory, DRAM), a synchronous dynamic random-access memory (synchronous dynamic random access memory, SDRAM), a double data rate synchronous dynamic random-access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as fifth generation DDR SDRAM is commonly referred to as DDR5 SDRAM), etc.;
the nonvolatile memory may include a disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. divided according to an operation principle, may include single-level memory cells (SLC), multi-level memory cells (MLC), triple-level memory cells (TLC), quad-level memory cells (QLC), etc. divided according to a storage specification, may include universal FLASH memory (english: universal FLASH storage, UFS), embedded multimedia card (eMMC), etc. divided according to a storage specification.
The random access memory may be read directly from and written to by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like.
The nonvolatile memory may store executable programs, store data of users and applications, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect external non-volatile memory to enable expansion of the memory capabilities of the electronic device. The external nonvolatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external nonvolatile memory.
In the embodiment of the application, the memory can be used for storing the corresponding relation between the included angle of the folding screen and the Hall value, the corresponding relation can be obtained through pre-testing, and the testing method and the testing result are as follows:
fig. 3 is a schematic diagram schematically illustrating a correspondence relationship between a hall value and an included angle of a folding screen according to an embodiment of the present application.
As shown in fig. 3, the testing method includes: a screen A/B in the folding screen is provided with a Hall sensor, and a magnetic field generating device corresponding to the Hall sensor is correspondingly arranged in the screen B/A in the folding screen. When the hall sensor is close to the magnetic field generating means, the magnetic field strength, i.e. the hall value, can be detected. Thus, the hall value (i.e., the magnetic field strength) acquired by the hall sensor at different folding screen angles can be measured by gradually expanding/closing the folding screen.
As shown in fig. 3, the test results show: in the process of unfolding the folding screen, the included angle of the folding screen gradually becomes larger, which is equivalent to that the screen A and the screen B are gradually far away from each other by lamination, so that the Hall sensor is gradually far away from the magnetic field generating device, and the Hall value acquired by the Hall sensor is gradually reduced. In particular, when the unfolded and folded screen exceeds a certain value (e.g) Then, as the included angle of the folding screen is continuously increased, the corresponding decrease trend of the Hall value is not obvious, namely, different included angles of the folding screen possibly correspond to the same Hall value, so that the test result exceeding a certain range has no meaning on the test result per se, but->To->The corresponding hall values of different folding angles of the range of (a) have larger difference, the unique corresponding folding screen included angle can be accurately inquired according to the collected hall values, the corresponding hall value differences of different folding screen included angles beyond the second range are smaller or even the same, and the unique corresponding folding screen included angle cannot be accurately inquired if a plurality of corresponding different folding screen included angles are possibly inquired according to the collected hall values. Therefore, only the second range, e.g. +.>To->The corresponding relation between the included angle of the folding screen and the Hall value in the range is only needed. The hall value and folding screen angle correspondence shown in fig. 3 is only an example, in the following In another implementation manner, the corresponding relationship between the hall value and the included angle of the folding screen may also be a list, etc., which is not limited in the embodiment of the present application.
The test method and the test result shown in fig. 3 are only examples, and specific numerical values of the first range and the second range are not limited, and in different sizes of electronic devices, the hall sensors with different specifications and the hall sensors installed at different positions are adopted, and the corresponding relation between the detected hall value and the included angle of the folding screen is possibly different due to the adoption of the magnetic field generating devices with different specifications, so that only the different included angles of the folding screen folded in the second range are required to be ensured to be respectively corresponding to different hall values.
The electronic device may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device may listen to music, or to hands-free conversations, through speaker 170A. In an embodiment of the present application, the electronic device may select to output audio using the speaker 170A according to the operation of the audio output device selected by the user. In this scenario, if the electronic device sets the speaker volume to a large volume range, the processor 110 controls the corresponding software and hardware module to execute the foregoing method flow, so that the speaker 170A outputs loud audio, so that the user can hear the audio content.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the electronic device picks up a phone call or voice message, the voice can be picked up by placing the receiver 170B close to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The touch sensor 180A, also referred to as a "touch panel". The touch sensor 180A may be disposed on each display screen 194 (e.g., the aforementioned screen a, screen B, and screen C), and the touch sensor 180A and the display screen 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor 180A is used to detect a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180A may also be disposed on the surface of the electronic device at a different location than the display 194.
The acceleration sensor 180B may detect the magnitude of acceleration of the electronic device in various directions (typically three axes). The acceleration sensor 180B may be disposed on each display 194 (e.g., the aforementioned a-screen, B-screen, and C-screen) to detect the acceleration in each direction (typically three axes) of each display when the electronic device is in a stationary state, and then calculate the angle of rotation of one screen relative to the other, i.e., the angle of folding of the a-screen relative to the B-screen. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The gyro sensor 180C can detect angular velocities of the electronic device about three axes (i.e., x, y, and z axes). The gyro sensor 180C may be disposed on each display screen 194 (e.g., the aforementioned screen a, screen B, and screen C), so that the angular velocity of the display screen 194 of the electronic device with respect to the folding axis can be calculated, and thus the folding screen angle can be calculated. The gyro sensor 180C may also be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180C detects the shake angle of the electronic device, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device through the reverse motion, thereby realizing anti-shake. The gyro sensor 180C may also be used for navigation, somatosensory game scenes. May be used to determine a motion gesture of the electronic device.
Hall sensor 180D may be used to detect the magnetic field strength at the location. The hall sensor 180D may be provided on each display screen 194 and may be provided on only one display screen 194 (e.g., the aforementioned B screen), while the corresponding magnetic field generating device is provided on the other display screen 194 (e.g., the aforementioned a screen). Thus, the folding screen angle can be calculated from the hall value acquired by the hall sensor 180D.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device.
The software system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, an Android system with a layered architecture is taken as an example, and the software structure of the electronic equipment is illustrated by an example.
Fig. 4 is a schematic diagram schematically illustrating a software architecture of an electronic device according to the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. The software architecture includes an application layer, an application framework layer, a hardware abstraction layer (Hardware Abstraction Layer, HAL), and a kernel layer. The Sensor driver (including an acceleration Sensor driver, a gyroscope Sensor driver and a Hall Sensor driver) in the inner core layer, the folding screen included angle detection module in the HAL layer and the like run in a Sensor control center (Sensor hub) in the electronic equipment. The remaining modules are run in the CPU of the electronic device.
Sensor hub is used to realize centralized control of the sensors and reduce the load of the central processing unit (Central Processing Unit, CPU). The Sensor hub corresponds to a micro-program controller (Microprogrammed Control Unit, MCU) on which a program for driving the plurality of sensors to operate can be run, that is, the capability of mounting the plurality of sensors can be supported in the Sensor hub. It can be used as a separate chip, placed between the CPU and various sensors (Sensor), or integrated in an application processor (application processor, AP) in the CPU.
In the embodiment of the application, the Sensor hub mainly provides a folding screen included angle detection function, and particularly provides detection service through a folding screen included angle detection module. The following describes in detail how the folding screen included angle detection function is implemented through Sensor hub.
Sensor hub has two basic functions:
(1) Sensor hub may support on-board Sensor drives (including acceleration Sensor drives, gyroscopic Sensor drives, and hall Sensor drives). Thus, the Sensor hub can control the Sensor to collect data under the condition that the CPU is dormant.
(2) The Sensor hub can receive corresponding data (acceleration, angular velocity and hall value) reported by Sensor drivers (including acceleration Sensor drivers, gyroscope Sensor drivers and hall Sensor drivers), and perform independent/fusion processing on the data, so that an included angle of a folding screen is detected, and an Application Processor (AP) in a CPU does not need to be reported to be judged by the CPU.
Further, when the Sensor hub detects that the included angle of the folding screen can report to the whole machine management service module in the CPU, the whole machine management service module determines the display state of the display screen, or only when detecting that the change/variation value of the included angle of the folding screen meets the condition, the Sensor hub reports to the whole machine management service module in the CPU.
The application layer may include a series of application packages.
As shown in fig. 4, the application package may include applications such as music, video, talk, bluetooth, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 4, the application framework layer may include a complete state management server, and may also include some window managers, content providers, view systems, phone managers, resource managers, notification managers, etc., not shown in fig. 4.
The whole machine state management server can be used for registering the service for detecting the folding screen included angle to the folding screen included angle detection module through the Sensor hal in the hal layer, so that the folding screen included angle detection module starts to detect the folding screen included angle and reports the detection result to the whole machine state management server through the Sensor hal.
Optionally, the complete machine state management server may be specifically used to register a service for detecting the folding screen included angle with the folding screen included angle detection module through the Sensor hal in the hal layer when the display screen is on, and notify the folding screen included angle detection module to end the service for detecting the folding screen included angle through the Sensor hal in the hal layer when the display screen is off or off, so as to save power consumption of the electronic device.
The complete machine state management server may also manage the display states of the display screens of the electronic device according to the change of the included angles of the folding screens, such as opening/closing one or more display screens in the folding screens, changing the content displayed by the display screens, etc., for example, when the included angle of the folding screen is smaller, only using the a screen to display the content, and when the included angle of the folding screen is larger, simultaneously using the a screen and the B screen to jointly display the content, and may also display more content than the content displayed by using the a screen only.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The HAL is positioned between the kernel layer and the application framework layer and plays a role in supporting the up and down. Specifically, the HAL defines a set of standard interfaces including, but not limited to, sensor HAL, and Camera HAL, fingerprint HAL, etc., not shown in fig. 4.
The interface is defined by the Sensor HAL and can be used for the call of the whole machine state management service, so that the folding screen included angle detection module is informed to start/stop detection. And the coordination hardware starts working (acceleration sensing drive, gyroscope sensor and Hall sensor collect corresponding data).
The kernel layer is a layer between hardware and software. The core layer contains at least display drivers, sensor drivers (including acceleration sensor drivers, gyro sensor drivers, and hall sensor drivers), and may also include camera drivers, audio drivers, etc., not shown in fig. 4.
The sensor driver can control the corresponding sensor to collect data based on the instruction, and the collected data is returned to the folding screen included angle detection module.
Next, a method for detecting the included angle of the folding screen is specifically described.
Referring to fig. 5, fig. 5 schematically illustrates an OS interaction flow provided by an embodiment of the present application.
As shown in fig. 5, the method is performed by the following modules: the complete machine state management service, the sensor hal, the folding screen included angle detection module, the Hall sensor drive, the acceleration sensor drive and the gyroscope sensor drive, and the specific description of the modules can refer to the description of the software architecture of the electronic equipment, so that the description is omitted herein.
As shown in fig. 5, the method specifically includes the following steps:
s11, the whole state management service of the electronic equipment registers the folding screen included angle detection service to the folding screen included angle detection module through the sensor hal.
Specifically, the overall state management service of the electronic device needs to know the included angle of the folding screen first, and then can control the overall state based on the included angle of the folding screen, including controlling the display state of the electronic device, for example, a display screen used or content displayed in the display screen. Therefore, the complete machine state management service needs to register corresponding detection service with the module providing the folding screen included angle detection function, and therefore, the complete machine state management service needs to register the folding screen included angle detection service with the folding screen included angle detection module through the sensor hal.
Optionally, in one possible implementation manner, after the electronic device is started, the complete machine state management service may be started, and the complete machine state management service may register the folding screen included angle detection service with the folding screen included angle detection module directly through the sensor hal. In another possible implementation manner, after the electronic device is started, the complete machine state management service is started, and the complete machine state management service also needs to register the folding screen included angle detection service to the folding screen included angle detection module directly through the sensor hal only when the condition that the preset condition is met is detected, wherein the preset condition can be that the electronic device is on, and the operation of triggering the electronic device to on the screen can be any one.
S13, the folding screen included angle detection module of the electronic equipment informs the Hall sensor to drive and collect data.
S15, the folding screen included angle detection module of the electronic equipment informs the acceleration sensor to drive and collect data.
S17, the folding screen included angle detection module of the electronic equipment informs the gyroscope sensor to drive and collect data.
Specifically, after the folding screen included angle detection module receives the registration service information sent by the upper-layer complete machine state management service, the folding screen detection module informs the corresponding sensor driver to start working so as to acquire corresponding data. For example, it includes notifying hall sensor drive acquisition data, notifying acceleration sensor drive acquisition data, and notifying gyro sensor drive acquisition data.
The optional S13-S17 may be performed separately, or any two or more may be performed together, for example, when the acceleration sensor driver and the gyro sensor driver are combined into one driver, then S15 and S17 may be combined into one notification to be sent, and the embodiment of the present application is not limited thereto.
In addition, the execution sequence between S13 to S17 is not limited in the embodiment of the present application, that is, S15 or S17 may be executed first, S13 may be executed later, and so on.
And S19, driving the Hall sensor of the electronic equipment to drive the Hall sensor to acquire a Hall value.
S21, driving an acceleration sensor of the electronic equipment to drive the acceleration sensor to collect acceleration.
S23, driving the gyroscope sensor of the electronic equipment to drive the gyroscope sensor to acquire angular velocity.
Specifically, after the corresponding sensor drive of the electronic device receives the notification of the folding screen included angle detection module, the corresponding sensor is started to be driven to acquire data and acquire data which is returned by the corresponding sensor, and the method comprises the steps of driving the Hall sensor to acquire a Hall value, driving the acceleration sensor to acquire acceleration and driving the gyroscope sensor to acquire angular velocity.
In addition, the embodiment of the present application does not limit the execution order between S19 to S23, that is, S23 or S21 may be executed first, S19 may be executed later, and so on.
S25, the Hall sensor of the electronic equipment drives the collected Hall value to return to the folding screen included angle detection module.
And S27, the acceleration sensor of the electronic equipment drives the collected acceleration to return to the folding screen included angle detection module.
S29, the gyroscope sensor of the electronic equipment drives the collected angular velocity to return to the folding screen included angle detection module.
Specifically, the sensor driver may continuously return the collected corresponding data to the folding screen included angle detection module in a data stream form, for example, including a hall value data stream, an acceleration data stream, an angular velocity data stream, and the like.
In addition, the embodiment of the present application does not limit the execution order between S25 to S29, that is, S27 or S29 may be executed first, S25 may be executed later, and so on.
S31, a folding screen included angle detection module of the electronic equipment detects a folding screen included angle.
And then the folding screen included angle detection module can detect the folding screen included angle based on the acquired Hall value, acceleration and angular velocity. Specifically, for the specific implementation of the folding screen angle detection module to detect the folding screen angle, reference may be made to the description of the method flows shown in fig. 6 to fig. 7, which is omitted herein for brevity.
S33, the folding screen included angle detection module of the electronic equipment reports the folding screen included angle to the whole machine state management service through the sensor hal.
S35, the whole machine state management service of the electronic equipment manages the whole machine state based on the folding screen included angle.
Specifically, after receiving the detection result of the folding screen included angle reported by the folding screen detection module, the overall state management service of the electronic device can manage states of the electronic device including display states, such as states of a display screen used for management, content displayed in the display screen, and the like, according to the folding screen included angle.
One way to manage this is, for example, to display information through the a screen instead of the B screen when the angle of the folding screen is greater than the first threshold and less than the second threshold, and to display information together through the a screen and the B screen when the angle of the folding screen is greater than the second threshold, which is described above with reference to fig. 1A-1C. Wherein the first threshold value may be, for exampleThe second threshold value may be, for example +.>The first threshold value and the second threshold value are not particularly limited in the embodiment of the application.
In addition, the overall state management service may also have other management policies, which are not limited by the embodiment of the present application.
Fig. 6 is a schematic diagram schematically illustrating a specific implementation method for detecting an included angle of a folding screen according to an embodiment of the present application.
As shown in fig. 6, fig. 6 shows a schematic diagram of a specific implementation method for detecting an included angle of a folding screen in the foregoing step S31, where the method specifically includes the following steps:
and S311, continuously receiving the acquired acceleration, angular velocity and Hall value.
Specifically, the folding screen detection module of the electronic device may continuously receive acceleration, angular velocity and hall value.
The acceleration, angular velocity, and hall value may be received in different data streams, or in one data stream after fusion, respectively, which is not limited in this embodiment of the present application.
And S312, detecting whether the electronic equipment is in a motion state or not based on the acceleration acquired at the moment t.
Specifically, the electronic device determines whether the electronic device is in a motion state based on the acceleration acquired at the time t, for example, when the acceleration is greater than a first value, the electronic device is considered to be in a motion state, and when the acceleration is less than or equal to the first value, the electronic device is considered to be in a stationary state. Wherein the first value is greater than or equal to the gravitational acceleration, i.e. 9.8m/s 2
In the embodiment of the application, the motion state and the static state are two opposite concepts, and the static state does not only comprise absolute static, but also can comprise some slight motion states, for example, when a user holds a mobile phone and touches a display screen, the slight motion of the electronic device can be caused.
S313, calculating the included angle of the folding screen based on the acceleration acquired at the moment t.
If it is detected in S312 that the electronic device is not in a motion state, a folding screen angle is calculated based on the acceleration acquired at the time t, where the acceleration acquired at the time t includes the folding screen angle of the a screen and further includes the folding screen angle of the B screen. The angle of the screen A relative to the screen B can be obtained by calculating the acceleration of the two screens.
S314, judging whether the Hall value acquired at the moment t belongs to a first range.
If it is detected in S312 that the electronic device is in a motion state, it is further determined whether the hall value acquired at the time t belongs to the first range. For the definition of the first range, reference may be made to the description of fig. 3 above, and will not be repeated here.
S315, inquiring the included angle of the corresponding folding screen based on the Hall value acquired at the moment t.
If it is detected in S313 that the hall value acquired at the time t belongs to the first range, the hall value acquired at the time t is queried for the corresponding folding screen included angle directly from the corresponding relation between the prestored folding screen included angle and the hall value.
S316, calculating the included angle of the folding screen based on the angular velocity acquired at the moment t.
If it is detected in S313 that the hall value acquired at the time t does not belong to the first range, the folding screen angle needs to be further obtained based on the angular velocity acquired at the time t.
Since it is determined in S312 that the electronic device is in a motion state, when calculating the folding screen angle according to the angular velocity, the folding screen angle change value in the motion process needs to be obtained by integrating the angular velocity, that is, the angular velocity acquired at the time t includes a sequence of a plurality of angular velocities, and the folding screen angle change value in the motion process needs to be obtained by integrating the plurality of sequences. And then, superposing the variation value and the initial value to obtain the initial value of the included angle of the combined folding screen.
The method for determining the initial value of the folding screen angle may refer to the description of the method shown in fig. 7, which is not repeated herein.
Alternatively, the acceleration, hall value, angular velocity, etc. acquired at time t according to the present application may include a plurality of sequence values, not just one value.
In the embodiment of the present application, the acceleration acquired by the electronic device at the time t may be referred to as a first acceleration, the angular velocity acquired by the electronic device at the time t may be referred to as a first angular velocity, and the hall value acquired by the electronic device at the time t may also be referred to as a first hall value.
Fig. 7 is a schematic diagram of a specific implementation method for calculating an included angle of a folding screen based on an angular velocity acquired at time t according to an embodiment of the present application.
As shown in fig. 7, the step S316 specifically includes the following steps:
s3161, judging whether the electronic equipment is in a motion state or not based on acceleration acquired at the time t-1.
Specifically, in order to determine the initial value of the included angle of the folding screen of the electronic device in the motion state, the included angle of the folding screen obtained by previous calculation can be used as the initial value of the included angle of the folding screen. Equivalently, the included angle of the folding screen calculated at the time t-1 needs to be used as an initial value of the included angle of the folding screen at the time t. Therefore, whether the electronic equipment is in a motion state or not needs to be detected based on the acceleration acquired at the time t-1, and whether the included angle of the folding screen at the time t-1 can be used as an initial value of the included angle of the folding screen at the time t is further determined.
S3162, taking the included angle of the folding screen at the time t-1 as an initial value of the included angle of the folding screen at the time t, integrating the angular velocity acquired at the time t to obtain a change value of the folding angle, and calculating the included angle of the folding screen at the time t by combining the initial value and the change value.
Under the condition that the electronic equipment is in a static state is determined in S3161, the folding screen included angle calculated based on the acceleration at the time t-1 is directly used as an initial value of the folding screen included angle at the time t, the angular velocity acquired at the time t is integrated to obtain a folding angle change value, and the folding screen included angle at the time t is calculated by combining the initial value and the change value.
This is because, when t-1 determines that the electronic device is in a stationary state, the electronic device calculates the angle of the folding screen accurately, and can be used as an initial value in a moving state at the subsequent time t.
S3163, judging whether the Hall value acquired at the time t-1 belongs to the boundary value of the first range.
In the case that the electronic device is in a motion state in S3161, it is further determined whether the hall value at the time t-1 belongs to a boundary value of the first range, and further it is further determined whether the folding screen included angle at the time t-1 can be used as an initial value of the folding screen included angle at the time t.
S3164, taking the included angle of the folding screen at the time t-1 as an initial value of the included angle of the folding screen at the time t, integrating the angular velocity acquired at the time t to obtain a change value of the folding angle, and calculating the included angle of the folding screen at the time t by combining the initial value and the change value.
Under the condition that the Hall value at the time t-1 determined in S3163 belongs to the boundary value of the first range, directly inquiring the Hall value at the time t-1 to obtain a corresponding folding screen included angle as an initial value of the folding screen included angle at the time t, integrating the angular velocity acquired at the time t to obtain a folding angle change value, and calculating the folding screen included angle at the time t by combining the initial value and the change value.
S3165, taking a preset fixed value (90 degrees) as an initial value of the included angle of the folding screen at the moment t, integrating the angular velocity acquired at the moment t to obtain a change value of the folding angle, and combining the initial value and the change value to obtain the included angle of the folding screen at the moment t by using a Kalman filtering algorithm.
Under the condition that the Hall value at the t-1 moment determined in S3163 does not belong to the boundary value of the first range, taking the preset value as an initial value of the folding screen included angle at the t moment, integrating the angular velocity acquired at the t moment to obtain a folding angle change value, and calculating the folding screen included angle at the t moment by combining the initial value and the change value.
The preset value may be an intermediate value of the included angle of the folding screen, for example, for some folding screens that can be unfolded to 180 °, the preset fixed value may be set to 90 °, and for some folding screens that can be unfolded to 360 °, the preset fixed value may be set to 180 °, which embodiments of the present application are not limited in this respect.
In S3165, the preset fixed value is used as the initial value of the folding screen included angle at the time t-1 instead of the folding screen included angle at the time t-1, because a certain error may occur in the folding screen included angle obtained when the electronic device moves at the time t-1 and the Hall value is not in the first range, and therefore, the intermediate value of the folding screen is selected as the initial value of the folding screen included angle at the time t.
Alternatively, in other embodiments, the preset fixed value may be selected as a common folding screen angle instead of an intermediate value, which is not limited in this embodiment of the present application.
Optionally, the preset fixed value is directly used as the initial value of the adopted folding screen included angle at the time t, so that the folding screen included angle at the time t cannot be accurately calculated. This is because the preset fixed value is not necessarily the actual initial value of the folding screen angle. Therefore, the predicted value of the included angle of the folding screen, which is calculated based on the initial value under the preset fixed value, needs to be filtered through a Kalman filtering algorithm, namely, the predicted value of the included angle of the folding screen which does not meet the condition is filtered through multiple iterations, and the predicted value of the included angle of the folding screen which finally meets the condition is used as the final included angle of the folding screen.
In the embodiment of the application, the acceleration acquired by the electronic equipment at the time t-1 can be called second acceleration, the angular velocity acquired by the electronic equipment at the time t-1 can be called second angular velocity, and the Hall value acquired by the electronic equipment at the time t-1 can be called second Hall value. In the embodiment of the application, the time t-1 is the time before the time t, and the embodiment of the application does not limit the direct difference between the time t and the time t-1, for example, the difference can be determined according to the detection period of the folding screen included angle detection module.
In summary, after the scheme provided by the application is implemented, because the collected Hall value and angular velocity are less interfered by the movement of the electronic equipment relative to the acceleration, the electronic equipment can be ensured to calculate an accurate folding screen included angle through the collected Hall value/angular velocity in the movement state. Furthermore, when the included angle of the folding screen is calculated by integrating the angular speed, the convergence speed of the algorithm can be increased when the adopted included angle of the folding screen is calculated based on the acceleration or Hall value at the time t-1, and the user experience is further improved.
It should be understood that each step in the above method embodiments provided by the present application may be implemented by an integrated logic circuit of hardware in a processor or an instruction in software form. The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
The present application also provides an electronic device, which may include: memory and a processor. Wherein the memory is operable to store a computer program; the processor may be operative to invoke a computer program in said memory to cause the electronic device to perform the method of any of the embodiments described above.
The application also provides a chip system comprising at least one processor for implementing the functions involved in the method performed by the electronic device in any of the above embodiments.
In one possible design, the system on a chip further includes a memory to hold program instructions and data, the memory being located either within the processor or external to the processor.
The chip system may be formed of a chip or may include a chip and other discrete devices.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integral with the processor or separate from the processor, and embodiments of the present application are not limited. The memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately provided on different chips, and the type of memory and the manner of providing the memory and the processor are not particularly limited in the embodiments of the present application.
Illustratively, the system-on-chip may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated chip (application specific integrated circuit, ASIC), a system on chip (SoC), a central processing unit (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chip.
The present application also provides a computer program product comprising: a computer program (which may also be referred to as code, or instructions), which when executed, causes a computer to perform the method performed by the electronic device in any of the embodiments described above.
The present application also provides a computer-readable storage medium storing a computer program (which may also be referred to as code, or instructions). The computer program, when executed, causes a computer to perform the method performed by the electronic device in any of the embodiments described above.
The embodiments of the present application may be arbitrarily combined to achieve different technical effects.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk), etc.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.
In summary, the foregoing description is only exemplary embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. The method for detecting the included angle of the folding screen is characterized by being applied to electronic equipment with the folding screen, and comprises the following steps:
collecting a first acceleration, a first angular velocity and a first Hall value of the folding screen;
in case said first acceleration is greater than a first value,
if the first Hall value is in a first range, determining a folding screen included angle corresponding to the first Hall value in a first corresponding relation between a preset folding screen included angle and the Hall value as the folding screen included angle;
And if the first Hall value is out of the first range, determining the included angle of the folding screen according to the first angular speed.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
determining the included angle of the folding screen according to the first angular velocity specifically comprises: and integrating the first angular velocity to obtain a change value of the included angle of the folding screen, and superposing the change value on an initial value of the included angle of the folding screen to obtain the included angle of the folding screen.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
before the first acceleration of the folding screen is acquired, the method further comprises: collecting a second acceleration of the folding screen;
and under the condition that the second acceleration is smaller than or equal to the first value, the initial value of the included angle of the folding screen is obtained through the second acceleration.
4. The method of claim 2, wherein the step of determining the position of the substrate comprises,
before the first acceleration and the first hall value of the folding screen are acquired, the method further comprises: collecting a second acceleration and a second Hall value of the folding screen;
and if the second Hall value is the boundary Hall value of the first range under the condition that the second acceleration is larger than the first value, the initial value of the folding screen included angle is the folding screen included angle corresponding to the second Hall value in the first corresponding relation.
5. The method of claim 2, wherein the step of determining the position of the substrate comprises,
before the first acceleration and the first hall value of the folding screen are acquired, the method further comprises: collecting a second acceleration and a second Hall value of the folding screen;
and if the second acceleration is larger than the first value and the second Hall value is out of the first range, the initial value of the included angle of the folding screen is a preset value.
6. The method of claim 1, wherein prior to the first acceleration of the folding screen being acquired, the method further comprises:
collecting a second acceleration of the folding screen;
and if the second acceleration is smaller than the first value, obtaining the included angle of the folding screen based on the second acceleration.
7. The method of claim 1, wherein the first angular velocity comprises a sequence of a plurality of angular velocities.
8. The method of claim 1, wherein prior to acquiring the first acceleration, the first angular velocity, and the first hall value of the folding screen, the method further comprises:
and detecting that the folding screen is bright.
9. The method of claim 1, wherein the folding screen comprises at least a first display screen and a second display screen, the method further comprising:
When the included angle of the folding screen is smaller than a first threshold value, displaying information through the first display screen, and displaying information not through the second display screen;
and when the included angle of the folding screen is larger than a second threshold value, displaying information through the first display screen and the second display screen.
10. The method of claim 9, wherein the first display screen and the second display screen are each provided with an acceleration sensor and a gyroscopic sensor; the first display screen is also provided with a Hall sensor, and the second display screen is also provided with a magnetic field generating device corresponding to the Hall sensor.
11. The method of claim 1, wherein in the first correspondence, hall values corresponding to different folding screen angles are different.
12. The method of claim 1, wherein the electronic device further comprises a folding screen angle detection module that operates in a sensor hub of the electronic device, the folding screen angle detection module configured to:
determining a folding screen included angle corresponding to the first Hall value in the first corresponding relation as the folding screen included angle under the condition that the first Hall value is in the first range;
And determining the included angle of the folding screen according to the first angular speed when the first Hall value is out of the first range.
13. An electronic device comprising a folding screen, one or more memories, one or more processors; the memory is coupled with the one or more processors, the memory for storing computer program code comprising computer instructions that the one or more processors invoke to cause the electronic device to perform the method of any of claims 1-12.
14. A computer readable storage medium comprising instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-12.
CN202310872624.1A 2023-07-17 2023-07-17 Detection method for included angle of folding screen and electronic equipment Active CN116592756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310872624.1A CN116592756B (en) 2023-07-17 2023-07-17 Detection method for included angle of folding screen and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310872624.1A CN116592756B (en) 2023-07-17 2023-07-17 Detection method for included angle of folding screen and electronic equipment

Publications (2)

Publication Number Publication Date
CN116592756A true CN116592756A (en) 2023-08-15
CN116592756B CN116592756B (en) 2023-10-20

Family

ID=87604775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310872624.1A Active CN116592756B (en) 2023-07-17 2023-07-17 Detection method for included angle of folding screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN116592756B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110077903A1 (en) * 2009-09-30 2011-03-31 Samsung Electronics Co., Ltd. Apparatus and method sensing motion
CN114787746A (en) * 2019-12-27 2022-07-22 英特尔公司 Hinge angle detection
CN115077460A (en) * 2021-11-19 2022-09-20 荣耀终端有限公司 Hinge angle detection method and related equipment
CN116033056A (en) * 2022-08-10 2023-04-28 荣耀终端有限公司 Folding angle detection method and device for folding screen and readable storage medium
CN116257200A (en) * 2021-12-10 2023-06-13 华为技术有限公司 Display method and related device of folding screen
CN116366750A (en) * 2021-12-28 2023-06-30 荣耀终端有限公司 Method for determining included angle of folding screen and related equipment thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110077903A1 (en) * 2009-09-30 2011-03-31 Samsung Electronics Co., Ltd. Apparatus and method sensing motion
CN114787746A (en) * 2019-12-27 2022-07-22 英特尔公司 Hinge angle detection
CN115077460A (en) * 2021-11-19 2022-09-20 荣耀终端有限公司 Hinge angle detection method and related equipment
CN116257200A (en) * 2021-12-10 2023-06-13 华为技术有限公司 Display method and related device of folding screen
CN116366750A (en) * 2021-12-28 2023-06-30 荣耀终端有限公司 Method for determining included angle of folding screen and related equipment thereof
CN116033056A (en) * 2022-08-10 2023-04-28 荣耀终端有限公司 Folding angle detection method and device for folding screen and readable storage medium

Also Published As

Publication number Publication date
CN116592756B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN112217923B (en) Display method of flexible screen and terminal
CN115473957B (en) Image processing method and electronic equipment
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
CN112351156A (en) Lens switching method and device
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
CN112437341B (en) Video stream processing method and electronic equipment
CN114006698B (en) token refreshing method and device, electronic equipment and readable storage medium
CN113380240B (en) Voice interaction method and electronic equipment
CN117009005A (en) Display method, automobile and electronic equipment
CN116592756B (en) Detection method for included angle of folding screen and electronic equipment
CN111722896A (en) Animation playing method, device, terminal and computer readable storage medium
CN116719569B (en) Method and device for starting application
CN116795476B (en) Wallpaper deleting method and electronic equipment
CN116700556B (en) Card generation method and related device
WO2024017332A1 (en) Method for controlling component, and related apparatus
CN117608416A (en) Unlocking control method and electronic equipment
CN116954770A (en) Display method and electronic equipment
CN116339569A (en) Split screen display method, folding screen device and computer readable storage medium
CN118113187A (en) Method for displaying floating window and electronic equipment
CN117705094A (en) Navigation positioning method and terminal equipment
CN116700556A (en) Card generation method and related device
CN117687501A (en) Display method for switching horizontal screen and vertical screen and related device
CN117369914A (en) Display method and electronic equipment
CN114764299A (en) Display method and electronic equipment

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