Service management method and folding screen electronic equipment

By setting different postures according to the folding angle on the folding screen electronic device to quickly start or switch services, it solves the cumbersome problem of users having difficulty in quickly finding the required services and switching services in a multi-service environment, achieving efficient time saving and experience. promote.

CN118677974APending Publication Date: 2024-09-20HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310731664.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2023-06-19
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

When the number of service cards for existing electronic devices increases, it is difficult for users to quickly find the services they need, and switching services is cumbersome, which increases the user's time cost.

Method used

By detecting user operations on folding screen electronic devices, setting different postures according to the folding angle, and quickly starting or switching services, multiple services can be run and displayed simultaneously.

Benefits of technology

It saves users' time, improves user experience, simplifies the service switching process, and enhances the multi-tasking capabilities of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677974A
    Figure CN118677974A
Patent Text Reader

Abstract

The invention provides a service management method and folding-screen electronic equipment, the method is applied to the folding-screen electronic equipment, the folding-screen electronic equipment comprises a foldable first display screen, the method comprises the following steps: detecting a first operation of a user, the first operation is an operation for setting the folding-screen electronic equipment as a first posture, and the folding-screen electronic equipment comprises a first display screen and a second display screen; the first posture includes that the folding angle of the first display screen is a first angle; if it is determined that the first triggering condition is met, a first service is run in response to the first operation, the first service belongs to the first application program, and the first triggering condition includes that the first posture is associated with the first service of the first application program. In the embodiment of the invention, the user can quickly run the corresponding service by folding the folding screen electronic equipment to a certain angle, so that the time of the user can be saved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic devices, and more specifically, to a method for managing services and a folding screen electronic device. Background Art

[0002] With the advancement of technology, electronic devices have become an indispensable part of users' daily lives. At present, electronic devices can quickly start corresponding services in response to user operations on service cards. Although users can use service cards to enable electronic devices to quickly start services, as the number of service cards increases, users may not be able to find the required service cards immediately, which increases the user's time cost. In addition, when the user needs to switch services, the user needs to return to the desktop first, and then start different services from the desktop. The operation steps are cumbersome, which also increases the user's time cost. Summary of the invention

[0003] The present application provides a method for managing services and a foldable screen electronic device, which can quickly start corresponding services when the electronic device is at a certain folding angle, thereby saving user time and improving user experience.

[0004] In a first aspect, a method for managing services is provided, the method being applied to a foldable screen electronic device, the foldable screen electronic device comprising a foldable first display screen, the method comprising: detecting a first operation of a user, the first operation being an operation of setting the foldable screen electronic device to a first posture, the first posture comprising a folding angle of the first display screen being a first angle, optionally, the first angle being greater than 0° and less than 180°; if it is determined that a first trigger condition is met, running a first service in response to the first operation, the first service belonging to a first application, and the first trigger condition comprising associating the first posture with the first service of the first application.

[0005] In the embodiment of the present application, the user can quickly run the corresponding service by folding the folding screen electronic device to a certain angle, which can save the user's time and improve the user experience.

[0006] In combination with the first aspect, in some implementations of the first aspect, the method further includes: detecting a second operation of the user, the second operation being an operation of setting the folding screen electronic device to a second posture, the second posture including the folding angle of the first display screen being a second angle, and optionally, the second angle being greater than 0° and less than 180°. The second angle is not equal to the first angle; if it is determined that the second trigger condition is satisfied, then in response to the second operation, while running the first service, running the second service, wherein the second trigger condition includes the second posture being associated with the second service, and the second service belonging to the first application or the second application

[0007] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: detecting a second operation of the user, the second operation being an operation of setting the folding screen electronic device to a second posture, the second posture including the folding angle of the first display screen being a second angle, the second angle being greater than 0° and the second angle being not equal to the first angle; if it is determined that the second trigger condition is met, then in response to the second operation, closing the first service and running the second service, wherein the second trigger condition includes that the second posture is associated with the second service, and the second service belongs to the first application or the second application.

[0008] It can be seen that in this application, multiple services can run simultaneously or not, which can meet the different needs of users in various scenarios. The services running simultaneously can run separately in the foreground and the background, or can run simultaneously in the foreground and be displayed on different display screens, or can be displayed in split screens, or in other display modes at the same time, and this application does not limit this.

[0009] In combination with the first aspect, in some implementations of the first aspect, the first posture also includes the first display screen being in a tent state.

[0010] In combination with the first aspect, in certain implementations of the first aspect, the first display screen is an outward folding display screen, and running the first service includes: displaying a first interface on a first sub-display screen of the first display screen, and the first interface is an interface corresponding to the first service of the first application.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the first display screen is an inward-folding display screen, and the folding-screen electronic device also includes a second display screen, which is an external screen, and running the first service includes: displaying a first interface on the second display screen, and the first interface is an interface corresponding to the first service of the first application.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the first display screen is an outward folding display screen, and running the first service includes: displaying a first interface on a first sub-display screen of the first display screen, the first interface being an interface corresponding to the first service of the first application; and running the second service includes: displaying a second interface on the first sub-display screen of the first display screen to replace the first interface, the second interface being an interface corresponding to the second service.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the first display screen is an outward folding display screen, and running the first service includes: displaying a first interface on a first sub-display screen of the first display screen, the first interface being an interface corresponding to the first service of the first application; and running the second service includes: displaying a second interface on a second sub-display screen of the first display screen, the second interface being an interface corresponding to the second service.

[0014] In an embodiment of the present application, services can be quickly run by changing the posture of the folding screen electronic device, and different postures correspond to different services. The folding screen can run multiple services at the same time, and the interfaces or other operating modes of different services can be displayed on the two display screens of the folding screen, making it convenient for multiple users to use the same folding screen device.

[0015] In combination with the first aspect, in some implementations of the first aspect, the second posture also includes the first display screen being in a tent state.

[0016] In a second aspect, the present application provides a method for managing services, which method is applied to a foldable screen electronic device, which includes a foldable first display screen, and the method includes: detecting a first operation of a user, which is an operation of setting the foldable screen electronic device to a first posture; in response to the first operation, running a first service; detecting a second operation of the user, which is an operation of setting the foldable screen electronic device to a second posture; and in response to the second operation, running a second service.

[0017] In conjunction with the second aspect, in some implementations, the first posture and the second posture are both in a tent state, and the folding angle of the first display screen in the first posture is different from the folding angle of the first display screen in the second posture. The tent state here may refer to a state in which the first display screen is facing downward and folded at a certain angle so that the electronic device can stand up like a "tent" (for example, Figure 4 (c) and Figure 4 (d)).

[0018] In conjunction with the second aspect, in some implementations, the second service and the first service are run simultaneously. That is, the first service is not closed when the second service is run, and the first service continues to run. The first service can be run in the background, or the second service can be run in the background, or the first service and the second service are displayed in different display areas respectively.

[0019] Other implementations of the second aspect may refer to the first aspect and the implementations of the first aspect, and will not be described in detail here.

[0020] The third aspect is a folding screen electronic device according to an embodiment of the present application, which includes modules / units for executing the above aspects or any possible design method of the above aspects; these modules / units can be implemented by hardware, or corresponding software can be implemented by hardware.

[0021] The fourth aspect is a chip of an embodiment of the present application, which is coupled to a memory in an electronic device and is used to call a computer program stored in the memory and execute the above-mentioned aspects of the embodiment of the present application and any possible design of the above-mentioned aspects of the embodiment of the present application; "coupling" in the embodiment of the present application refers to the direct or indirect combination of two components with each other.

[0022] The fifth aspect is a computer-readable storage medium according to an embodiment of the present application, which includes a computer program. When the computer program runs on an electronic device, the electronic device executes a technical solution such as the above aspect and any possible design of the above aspect.

[0023] The sixth aspect is a computer program of an embodiment of the present application, which includes instructions. When the instructions are run on a computer, the computer executes a technical solution such as the above aspect and any possible design of the above aspect.

[0024] The seventh aspect is a folding screen electronic device according to an embodiment of the present application, which includes one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the above aspects or any possible implementation method of the above aspects is executed.

[0025] Among them, for the beneficial effects of the second to seventh aspects, please refer to the beneficial effects of the first aspect and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0027] Figure 2 This is a software structure block diagram of an electronic device provided in an embodiment of the present application.

[0028] Figure 3 It is a schematic diagram of the usage form of the folding screen electronic device provided in an embodiment of the present application.

[0029] Figure 4 It is a schematic diagram of the usage form of the folding screen electronic device provided in an embodiment of the present application.

[0030] Figure 5It is a set of GUIs provided by the embodiments of the present application.

[0031] Figure 6 This is another set of GUIs provided by an embodiment of the present application.

[0032] Figure 7 This is another set of GUIs provided by an embodiment of the present application.

[0033] Figure 8 This is another set of GUIs provided by an embodiment of the present application.

[0034] Fig. 9 This is another set of GUIs provided by an embodiment of the present application.

[0035] Fig.10 It is a schematic flowchart of the method for managing services provided in an embodiment of the present application.

[0036] Fig.11 It is a schematic structural diagram of the folding screen electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "the", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0038] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0039] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer.

[0040] For example, Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0041] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0042] The processor 110 may include one or more processing units, for example: 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 video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be set in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a high-speed cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the electronic device 100 in processing data or executing instructions.

[0043] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 can also be used to connect headphones to play audio through the headphones.

[0044] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0045] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0046] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0047] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0048] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0049] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0050] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0051] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0052] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments of the present application, when the display panel is made of materials such as OLED, AMOLED, FLED, etc., the above Figure 1 The display screen 194 in the embodiment can be bent. Here, the display screen 194 can be bent, which means that the display screen can be bent to any angle at any position and can be kept at the angle. For example, the display screen 194 can be folded in half from the middle to the left or right. It can also be folded in half from the middle to the top or bottom.

[0053] The display screen 194 of the electronic device 100 can be a flexible screen. At present, the flexible screen has attracted much attention for its unique characteristics and huge potential. Compared with traditional display screens, flexible screens have the characteristics of strong flexibility and bendability, which can provide users with a new interaction method based on bendable characteristics, and can meet users' more needs for electronic devices. For electronic devices equipped with a foldable display screen, the foldable display screen on the electronic device can be switched between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, users use the split-screen function on electronic devices equipped with a foldable display screen more and more frequently.

[0054] The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.

[0055] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0056] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal 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 other format. In some embodiments, the electronic device 100 may include one or more cameras 193.

[0057] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0058] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0059] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0060] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0061] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can enable the electronic device 100 to perform the methods provided in some embodiments of the present application, as well as various applications and data processing, etc. by running the above instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the electronic device 100 to perform the methods provided in the embodiments of the present application, as well as other applications and data processing by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor 110. The electronic device 100 can implement audio functions such as music playback, weather, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0062] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0063] Among them, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0064] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0065] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0066] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0067] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0068] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0069] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0070] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0071] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0072] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0073] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0074] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0075] Content providers are used to store and retrieve data and make it accessible to applications. This data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0076] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0077] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0078] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0079] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the display in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0080] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0081] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0082] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG and PNG, etc.

[0083] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing.

[0084] A 2D graphics engine is a drawing engine for 2D drawings.

[0085] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0086] Before introducing the embodiments of the present application, concepts related to the embodiments of the present application are first introduced.

[0087] Service: The functions of an application that can be executed in an electronic device are called services. Take a music application as an example. The music application includes executable functions such as playing music, downloading, and local music. Each function can be called a service.

[0088] Service card: A card that includes one or more service entrances. The electronic device can enter the corresponding service interface in response to the user's operation on the service entrance. The entrance has many forms, which can be controls such as pictures. Service cards can display information provided by different services. Service cards can be placed on the desktop, negative one screen, control center, and lock screen interface.

[0089] With the advancement of technology, electronic devices have become an indispensable part of users' daily lives. At present, electronic devices can quickly start corresponding services in response to user operations on service cards. Although users can use service cards to enable electronic devices to quickly start services, as the number of service cards increases, users may not be able to find the required service cards immediately, which increases the user's time cost. In addition, when the user needs to switch services, the user needs to return to the desktop first, and then start different services from the desktop. The operation steps are cumbersome, which also increases the user's time cost.

[0090] Based on this, the embodiment of the present application provides a method for managing services, which is applied to foldable screen electronic devices, taking advantage of the foldability of foldable screen electronic devices, and can quickly start services, saving user time and improving user experience. The foldable screen electronic device can be a foldable mobile phone, tablet computer, etc. The foldable screen can be folded horizontally or vertically, or folded in other ways, etc., which is not limited in this application.

[0091] For a foldable screen electronic device, for example, according to the folding angle of the foldable screen electronic device from large to small, the use state of the foldable screen electronic device may include an unfolded state, a semi-expanded state, and a folded state. Figure 3(a) in the figure shows the unfolded state of the foldable screen electronic device, and the foldable screen electronic device includes two display screens, which may be a display screen 301 and a display screen 302. It can be understood that when the foldable screen electronic device is in the unfolded state, the angle between the display screen 301 and the display screen 302 may be 180°.

[0092] It is understandable that in a foldable electronic device, the folding angle of the display screen can be measured as the angle between the front sides of the display screen, or as the angle between the back sides of the display screen. For example, when the external folding electronic device is fully folded, the folding angle of the display screen can be considered to be 0 degrees, or it can be considered to be 360 ​​degrees.

[0093] Alternatively, if Figure 3 As shown in (a), the axis k can be the axis when the folding screen electronic device is bent, the display screen 301 is located on the left side of the axis k, and the display screen 302 is located on the right side of the axis. The back of the display screen 301 or the display screen 302 may include a camera.

[0094] Alternatively, if Figure 3 As shown in (b) of FIG. 3 , an outer display screen 303 may also be included on the back side of the display screen 301. Figure 3 In the folding state of the folding screen electronic device shown in (b), when the folding screen electronic device is in the folded state, the angle between the two display screens can be 0°, that is, the display screen 301 and the display screen 302 are relatively fitted together, and this folding method is inward folding.

[0095] In some embodiments, the outer surface of the inwardly folded electronic device may further include a plurality of external display screens. In the present application, the external display screens may also be referred to as external screens.

[0096] In other embodiments, the backs of the display screen 301 and the display screen 302 may be relatively attached to each other, and the folding method is called outward folding.

[0097] Optionally, the posture of the folding screen electronic device may include an unfolded state, a folded state, a tent state, a notebook state, and the like.

[0098] For example, the unfolded state of a foldable screen electronic device can be as follows: Figure 4 As shown in (a), the back side of display screen 301 or display screen 302 (for example, the side not used for display) includes a camera; when the folding screen electronic device is in the unfolded state, display screen 3201 and display screen 302 can be used for display.

[0099] For example, the folding state of the folding screen electronic device can be as follows: Figure 4As shown in (b), the foldable screen electronic device may include an external display screen 303. When the foldable screen electronic device is in a folded state, only the external display screen 303 in the foldable screen electronic device can be used for display; wherein the external display screen 303 and the display screen 301 or the display screen 302 may be located on different sides of the same surface of the foldable screen electronic device, and the figure takes the case where the external display screen 303 and the display screen 301 are located on different sides of the same surface of the foldable screen electronic device as an example.

[0100] For example, the tent state of the folding screen electronic device can be as follows: Figure 4 As shown in (c) and (d) in the figure, when the foldable screen electronic device is in the tent state and the foldable screen electronic device adopts the folding method of folding inward, the outer display screen 303 of the foldable screen electronic device can be in the working state. When the foldable screen electronic device is in the tent state and the foldable screen electronic device adopts the folding method of folding outward, the display screen 301 and the display screen 302 of the foldable screen electronic device can be in the working state, wherein the display screen 301 and the display screen 302 can display content independently.

[0101] For example, the notebook state of the foldable screen electronic device can be as follows: Figure 4 As shown in (e) or (f), when the foldable screen electronic device is in a notebook state, the two display screens in the foldable screen electronic device can support independent display of content; for example, one of the two display screens of the foldable screen electronic device can be used to display the main interface, and the other display screen can be used to display the interface of the running application.

[0102] It should be noted that in Figure 4 In the outward-folding electronic device shown in (d), the display screens 301 and 302 can also be considered as external display screens.

[0103] In some embodiments, the electronic device may collect the first signal through at least one sensor, and determine the folding angle and / or folding mode of the display screen of the electronic device according to the first signal, that is, determine whether the electronic device is in a Figure 4 Among them, at least one sensor may include a hinge sensor and / or a gyroscope sensor, and the first signal may include a signal collected by the hinge sensor and / or a signal collected by the gyroscope sensor. Exemplarily, the electronic device may determine that the posture of the electronic device is when the hinge sensor detects that the hovering angle of the hinge is greater than 0° and less than 180°, and the gyroscope detects that the electronic device is facing downward. Figure 4 (d) or Figure 4 (c) The tent posture described above.

[0104] Figure 5A set of graphical user interfaces (GUIs) provided in an embodiment of the present application is shown. Figure 5 As shown in (a) of FIG. 1 , the foldable screen electronic device can run a music playing service in response to the user setting the foldable screen electronic device to a first posture, wherein the first posture includes the folding angle of the electronic device being a first angle, and the first angle being greater than 0°. The first posture of the electronic device can also be referred to as the first semi-folded state. As can be seen from the figure, Figure 5 The folding method of the folding screen electronic device in the example shown is inward folding.

[0105] It can be understood that when the folding screen electronic device is fully unfolded, its corresponding folding angle is 180°.

[0106] Optionally, in some embodiments, the foldable screen electronic device includes a foldable first display screen, and the first posture further includes the first display screen being in a tent state, that is, the foldable screen electronic device is in a tent state. Figure 5 As shown in (b), the electronic device can run a music playing service in response to a user's operation of setting the electronic device to a first posture, wherein the first posture includes the first display screen of the electronic device being folded at a first angle and the first display screen being in a tent state.

[0107] Optionally, in some embodiments, Figure 5 As shown in (c), the electronic device can run a weather service in response to a user's operation of setting the electronic device to a second posture, wherein the second posture includes the folding angle of the electronic device being a second angle, the second angle being greater than 0°, and the second angle being unequal to the first angle.

[0108] Optionally, in some embodiments, the second posture also includes the first display screen being in a tent state.

[0109] It should be understood that the first posture is associated with the music playing service, and this association may be preset when the folding screen electronic device leaves the factory, or may be user-defined. Similarly, the second posture is associated with the weather service. Please see below for details.

[0110] It should also be understood that the foldable screen electronic device responds to the user setting the electronic device to the first posture and runs the music playing service, and the foldable screen electronic device responds to the user setting the electronic device to the second posture and runs the weather service is only an example and should not be understood as a limitation on the embodiments of the present application. For example, in other embodiments, the foldable screen electronic device responds to the user setting the electronic device to the first posture and can run the song recognition service.

[0111] In the embodiment of the present application, the user can quickly run the corresponding service by folding the folding screen electronic device to a certain angle, which can save the user's time and improve the user experience.

[0112] The foldable screen of the electronic device involved in the embodiment of the present application can be an inner folding display screen, or it can also be an outer folding display screen, which is not limited in the embodiment of the present application. The following will introduce the GUI involved when the foldable screen is an inner folding display screen and an outer folding display screen respectively.

[0113] Figure 6 Another set of GUIs provided by an embodiment of the present application is shown. In this example, the foldable screen of the foldable screen electronic device is a first display screen, and the first display screen is an outward folding display screen. Figure 6 As shown in (a), after the folding screen electronic device is folded by the user, the first display screen may include display screen 301 and display screen 302. In response to the user's operation of setting the electronic device to the first posture, the folding screen electronic device runs the music playing service and displays an interface corresponding to the music playing service on display screen 301, wherein the first posture includes that the folding angle of the first display screen of the electronic device is the first angle and the first display screen is in a tent state.

[0114] like Figure 6 As shown in (b), the folding screen electronic device runs a weather service and displays an interface corresponding to the weather service on the display screen 301 in response to the user's operation of setting the electronic device to a second posture, wherein the second posture includes the folding angle of the first display screen of the electronic device being a second angle and the first display screen being in a tent state.

[0115] In the embodiment of the present application, when the foldable screen electronic device runs the weather service, there may be the following two possible implementations: one possible implementation is that when the foldable screen electronic device runs the weather service, the music playing service is turned off; another possible implementation is that when the foldable screen electronic device runs the weather service, the music playing service is still kept running. The embodiments of the present application can all refer to this implementation and will not be repeated here.

[0116] When the foldable screen electronic device is running a weather service, it can also run a music playback service in the foreground or in the background.

[0117] When the foldable screen electronic device changes from running the music playing service in the foreground to running the music playing service in the background, such as Figure 6 As shown in (b), the foldable screen electronic device can use the interface corresponding to the weather service to replace the interface corresponding to the music playing service.

[0118] like Figure 6As shown in (b), multiple services are displayed using the display screen 301, and these multiple services can be run in the foreground or the background. In other embodiments, these multiple services can also be displayed simultaneously on the display screen 301 in a split screen manner. Figure 6 In state (b), the electronic device can automatically switch the display between multiple services, or can switch the display between services in response to user operations.

[0119] When a foldable screen electronic device runs a music service and a weather service at the same time in the foreground, such as Figure 6 As shown in (c) in the figure, the folding screen electronic device can display the interface corresponding to the music playing service on the display screen 301, and display the interface corresponding to the weather on the display screen 302.

[0120] In the embodiment of the present application, services can be quickly run by changing the posture of the folding screen electronic device, and different postures correspond to different services. The folding screen can run multiple services at the same time. The interfaces of different services can be displayed on multiple display screens of the folding screen, or one service can be displayed on one display screen, but one or more other services can be run in the background at the same time, etc., which makes it convenient for multiple users to use the same folding screen device.

[0121] It should be noted that the services running when the above-mentioned folding screen electronic device is in the first posture or the second posture are only examples and should not be understood as limitations on the embodiments of the present application.

[0122] For example, a foldable screen electronic device runs a music playback service in a first posture and runs a recording service in a second posture.

[0123] For another example, the foldable screen electronic device runs a call service (e.g., dialing the number of user #1) in a first posture, and runs a recording service in a second posture.

[0124] For another example, the foldable screen electronic device runs a video call service (e.g., a video call with user #1) in a first posture, and runs a screen recording service in a second posture.

[0125] Figure 7 Another set of GUIs provided by an embodiment of the present application is shown. In this example, the foldable screen of the foldable screen electronic device is a first display screen, and the first display screen is an inward folding display screen. Figure 7 As shown in (a), the foldable screen electronic device runs a music playback service in response to a user's operation of setting the foldable screen electronic device to a first posture, wherein the first posture includes a first display screen of the foldable screen electronic device having a folding angle of a first angle and the first display screen being in a tent state.

[0126] like Figure 7As shown in (b), the folding screen electronic device runs a weather service in response to a user's operation of setting the folding screen electronic device to a second posture, wherein the second posture includes the folding angle of the first display screen of the folding screen electronic device being a second angle and the first display screen being in a tent state.

[0127] contrast Figure 6 It can be seen that when the first display screen is an inward-folding display screen and is in a tent state, since the user cannot see the first display screen, the folding screen electronic device may not display the interface corresponding to the music service and the weather service when running the music service or the weather service.

[0128] Figure 8 Another set of GUIs provided by an embodiment of the present application is shown. In this example, the foldable screen of the foldable screen electronic device is a first display screen, and the first display screen is an inner folding display screen. In addition to the first display screen, the foldable screen electronic device also includes a second display screen, and the second display screen is an outer display screen 303. In other words, when the first display screen is folded, the user can see the second display screen, that is, Figure 3 As shown in (b) in FIG. 1 , or when the first display screen is in a tent state, the user can also see the second display screen, similar to Figure 4 As shown in (c) in Figure 8 As shown in (a), the folding screen electronic device runs a music playback service in response to a user's operation of setting the electronic device to a first posture, and displays an interface corresponding to the music playback service on the external display screen 303, wherein the first posture includes the folding angle of the first display screen of the folding screen electronic device being a first angle and the first display screen being in a tent state.

[0129] like Figure 8 As shown in (b), the folding screen electronic device runs a weather service and displays an interface corresponding to the weather service on the external display screen 303 in response to the user's operation of setting the folding screen electronic device to a second posture, wherein the second posture includes the folding angle of the first display screen of the folding screen electronic device being a second angle and the first display screen being in a tent state.

[0130] As described in the above embodiments, the music playing service and the weather service may run at different times or at the same time. When both services are running, the two services may be displayed simultaneously on the external display screen 303 (for example, in a split screen mode, a full screen plus a floating window mode, etc.), or one service may run in the foreground and the other service may run in the background. If only one service can be displayed on the external display screen 303, the two services may be automatically displayed in a switched manner, or they may be switched and displayed under the operation of the user. Other embodiments may refer to this implementation and will not be described in detail.

[0131] In other embodiments, the inwardly foldable electronic device may include two or more external screens. When there are multiple external screens, multiple different services may be displayed on the multiple external display screens, respectively. The present application does not limit the shape of the external screen.

[0132] More specifically, Figure 8 (c) shows a specific form of an electronic device, which is a vertically folded and inwardly folded smart phone, including an outer screen 303. For example, Figure 8 (d) In the scenario shown, when the smartphone recognizes that the smartphone is folded by the user to the angle shown in the figure and the smartphone is placed in tent mode, the music playing service is started and run on the external screen 303. Further, what is not shown in the figure is that when the smartphone recognizes that the folding angle of the smartphone has changed, such as becoming larger or smaller, other services, such as news broadcasting services, are started and run; or, when it is determined that the folding angle of the smartphone has changed to a certain angle, other services are started and run. At this time, optionally, the music playing service can be run at the same time, or it can be suspended or exited. Optionally, the external screen 303 can continue to display the interface of the music playing service, or it can be switched to the interface of the news broadcasting service. When two services are running at the same time, the display interface of only one of the services can always be displayed on the external screen 303, and the other service can run in the background without displaying the interface; or the display interfaces of the two services can be automatically switched and displayed on the external screen 303 according to a certain switching cycle. The switching cycle can be preset, or it can support user configuration or modification. Optionally, when only one service is displayed, the electronic device can determine the service that needs to be displayed more on the external screen 303 according to the type of service, and the other service can run in the background. For example, audio playback services can run in the background, while text / video services can be displayed on the display screen.

[0133] In the GUI mentioned above, different postures of the foldable screen electronic device are associated with different services, so when the user sets the foldable screen electronic device to different postures, the foldable screen electronic device can run the corresponding service. The association between different postures of the foldable screen electronic device and different services can be preset by the system when the electronic device leaves the factory, or can also be user-defined.

[0134] Fig. 9 Another set of GUIs provided by the present application embodiment is shown. Fig. 9 As shown in (a) of FIG. 1 , the folding screen electronic device displays an interface 901, which is a shortcut command setting interface. The user can set services corresponding to different folding angles in the interface 901 so that the folding screen electronic device can run the services corresponding to the folding angles when it is folded, such as Fig. 9As shown in (a), when the folding angle is at (0°, 60°], the corresponding service is the music playing service, when the folding angle is at (60°, 130°], the corresponding service is the recording service, and when the folding angle is at (130°, 180°), the corresponding service is the call service. The folding screen electronic device can save the user-defined association relationship in response to the user clicking the control 902.

[0135] For example, when a folding screen electronic device detects that its folding angle is 45°, a music playback service can be run.

[0136] For another example, when the folding screen electronic device detects that its folding angle is 110°, the recording service can be run.

[0137] In some embodiments, in addition to setting services corresponding to different folding angles, the user can further set that the service corresponding to the folding angle will be run only when the foldable first display screen is in the tent state, such as Fig. 9 As shown in (b), when the folding angle is at (0°, 60°] and the first display screen is in a tent shape, the corresponding service is the music playing service, when the folding angle is at (60°, 130°] and the first display screen is in a tent shape, the corresponding service is the recording service, and when the folding angle is at (130°, 180°) and the first display screen is in a tent shape, the corresponding service is the call service. The electronic device can save the user-defined association relationship in response to the user clicking the control 702.

[0138] For example, when the folding screen electronic device detects that its folding angle is 45° and the first display screen is in a tent state, a music playback service can be run.

[0139] For another example, when the folding screen electronic device detects that its folding angle is 110° and the first display screen is in a tent state, the recording service can be run.

[0140] The above describes the management service method provided by the embodiment of the present application in conjunction with the GUI. Fig.10 The following describes a method for managing services provided by an embodiment of the present application. The implementation schemes and technical effects of the above embodiment and the following embodiment can be referenced to each other.

[0141] Fig.10 A schematic flow chart of a method 1000 for managing services provided in an embodiment of the present application is shown. The method is applied to a foldable screen electronic device, the foldable screen electronic device comprising a foldable first display screen, such as Fig.10 As shown, the method includes:

[0142] S1001, detecting a first operation of a user, wherein the first operation is an operation of setting the folding screen electronic device to a first posture, wherein the first posture includes a folding angle of a first display screen being a first angle, and the first angle being greater than 0°.

[0143] Specifically, the folding screen electronic device can detect whether it is folded and can determine the folding angle of the first display screen when it is folded.

[0144] It should be noted that the embodiments of the present application do not limit the method for a foldable screen electronic device to detect whether it is folded and to determine the folding angle of the first display screen when it is folded.

[0145] For example, the folding screen electronic device can determine whether the folding screen electronic device is folded and the folding angle of the first display screen through a hinge angle sensor.

[0146] For another example, a pressure sensor is provided at the hinge of the folding screen electronic device. The pressure generated when the folding screen is folded to different angles is different. Therefore, the folding screen electronic device can determine whether the folding screen electronic device is folded and the folding angle of the first display screen through the pressure sensor at the hinge.

[0147] S1002: If it is determined that the first trigger condition is met, then in response to the first operation, a first service is run, wherein the first trigger condition includes that the first gesture is associated with a first service of the first application, and the first service belongs to the first application.

[0148] Specifically, after the folding screen electronic device detects that it has been set to the first posture by the user, it can determine whether the first posture corresponds to a corresponding service, that is, determine whether the first trigger condition is met. When it is determined that the first posture is associated with the first service of the first application, that is, it is determined that the first trigger condition is met, the folding screen electronic device can respond to the first operation and run the first service of the first application associated with the first posture.

[0149] Optionally, in some embodiments, the first posture is that the folding angle of the first display screen is a first angle.

[0150] For example, Figure 5 As shown in (a), the foldable screen electronic device runs a music playback service in response to a user's operation of folding the first display screen of the foldable screen electronic device to a first angle.

[0151] Optionally, in some embodiments, the first posture includes that the folding angle of the first display screen is a first angle and the first display screen is in a tent state.

[0152] For example, Figure 5As shown in (b) in the figure, the folding screen electronic device runs a music playback service in response to the user's operation of setting the first display screen to a first angle and the first display screen to a tent state.

[0153] Optionally, in some embodiments, the method 1000 further includes:

[0154] S1003, detecting a second operation of the user, where the second operation is an operation of setting the folding screen electronic device to a second posture, where the second posture includes the folding angle of the first display screen being a second angle.

[0155] S1004: If it is determined that the second trigger condition is met, in response to the second operation, a second service is run, the second trigger condition comprising that the second gesture is associated with the second service, and the second service belongs to the first application or the second application.

[0156] Specifically, after the folding screen electronic device detects that it is set to the second posture by the user, it can determine whether the second posture corresponds to a corresponding service, that is, determine whether the second trigger condition is met. When it is determined that the second posture is associated with the second service, that is, it is determined that the second trigger condition is met, the folding screen electronic device can respond to the second operation and run the second service. The second service can belong to the first application or the second application.

[0157] For example, the first application is a music application, the first service is a music playing service, and the second service is a music downloading service. Both services belong to the music application.

[0158] For another example, the first application is a music application, the first service is a music playing service, and the second service is a video playing service. The first service belongs to the music application, and the second service belongs to the video application.

[0159] When the foldable screen electronic device runs the second service, there are two possible implementation methods:

[0160] A possible implementation manner: when the electronic device is running the second service, the first service of the first application can be closed.

[0161] A possible implementation manner: the electronic device runs the second service while running the first service of the first application.

[0162] Optionally, in some embodiments, the second posture is that the folding angle of the first display screen is a second angle.

[0163] For example, Figure 5 As shown in (c), the folding screen electronic device runs a weather service in response to a user's operation of folding the first display screen of the folding screen electronic device to a second angle.

[0164] Optionally, in some embodiments, the second posture includes the folding angle of the first display screen being a second angle and the first display screen being in a tent state.

[0165] It should be noted that the embodiment of the present application does not limit the method for the folding screen electronic device to detect whether the first display screen is in a tent state.

[0166] For example, the folding screen electronic device can detect whether the first display screen is in a tent state through the gyroscope sensor 180B. Taking the first display screen as an inward-folding display screen as an example, it can be understood that when the first display screen is in a tent state, the first display screen faces downward, so the folding screen electronic device can detect whether the first display screen is facing downward through the gyroscope sensor 180B. When the first display screen faces downward and is folded, the first display screen is in a tent state.

[0167] Taking the first display screen as an outward folding display screen as an example, it can be understood that when the first display screen is in a tent state, the first display screen faces upward, so that the folding screen electronic device can detect whether the first display screen is facing upward through the gyroscope sensor 180B. When the first display screen faces upward and is folded, the first display screen is in a tent state.

[0168] Optionally, in some embodiments, the first display screen is an outward folding display screen, the first posture includes that the folding angle of the first display screen is a first angle and the first display screen is in a tent state, and the folding screen electronic device runs a first service, including:

[0169] A first interface is displayed on a first sub-display screen of a first display screen, where the first interface is an interface corresponding to a first service of a first application program.

[0170] Specifically, when the first display screen is folded, the first display screen can be divided into a first sub-display screen and a second sub-display screen. When the folding screen electronic device runs the first service, the interface corresponding to the first service, that is, the first interface, can be displayed on the first sub-display screen.

[0171] For example, Figure 8 As shown in (a) in the figure, the foldable screen electronic device displays an interface for playing music service on the display screen 301.

[0172] Optionally, in some embodiments, the first display screen is an inward folding display screen, the folding screen electronic device further includes a second display screen, the second display screen is an outer display screen, the first posture includes the folding angle of the first display screen being a first angle and the first display screen being in a tent state, and the folding screen electronic device runs a first service, including:

[0173] The first interface is displayed on the second display screen.

[0174] Specifically, after the first display screen is folded, the first display screen is in a tent shape with the first display screen facing downward, making it inconvenient for users to watch. However, the folding screen electronic device also includes a second display screen, which is an external display screen. Then, the folding screen electronic device can display the interface of the first service on the second display screen for the convenience of users to watch.

[0175] Optionally, in some embodiments, the first display screen is an outward folding display screen, and the folding screen electronic device runs a first service, including:

[0176] Displaying a first interface on a first sub-display screen of a first display screen;

[0177] The foldable screen electronic device runs the second service, including:

[0178] The second interface is displayed on the first sub-display screen of the first display screen to replace the first interface.

[0179] Specifically, when the first display screen is folded, the first display screen can be divided into a first sub-display screen and a second sub-display screen. When the folding screen electronic device is running a first service, an interface corresponding to the first service, i.e., a first interface, can be displayed on the first sub-display screen. When the folding screen electronic device is running a second service, an interface corresponding to the second service can be displayed on the first display screen to replace the interface corresponding to the first service.

[0180] For example, Figure 6 As shown in (a) and (b) in FIG. 1 , the foldable screen electronic device first runs the first service and displays the interface of the first service on the display screen 301, and then runs the second service. At this time, the foldable screen electronic device can still display the interface of the second service on the display screen 301 to replace the interface of the first service. The first service can be closed or run in the background.

[0181] Optionally, in some embodiments, the first display screen is an outward folding display screen, and the folding screen electronic device runs a first service, including:

[0182] Displaying a first interface on a first sub-display screen of a first display screen;

[0183] The foldable screen electronic device runs the second service, including:

[0184] The second interface is displayed on the second sub-display screen of the first display screen.

[0185] Specifically, when the first display screen is folded, the first display screen can be divided into a first sub-display screen and a second sub-display screen. When the folding screen electronic device runs the first service, the interface corresponding to the first service, that is, the first interface, can be displayed on the first sub-display screen. When the folding screen electronic device runs the second service, the interface corresponding to the second service can be displayed on the second sub-display screen.

[0186] For example, Figure 6 As shown in (c), the foldable screen electronic device first runs the first service and displays the interface of the first service on the display screen 301, and then the foldable screen electronic device runs the second service. At this time, the foldable screen electronic device can display the interface of the second service on the display screen 302.

[0187] The above mainly introduces a method for management services provided by an embodiment of the present application from the perspective of an electronic device. It is understandable that, in order to implement the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0188] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0189] In the case of dividing each functional module into corresponding functional modules, Fig.11 1 shows a schematic structural diagram of a folding screen electronic device 1100 provided in an embodiment of the present application, such as Fig.11 As shown, the folding screen electronic device 1100 includes: a detection module 1110 and a processing module 1120, wherein the detection module 1110 is used to detect a first operation of a user;

[0190] The processing module 1120 is configured to run a first service in response to a first operation if it is determined that the first trigger condition is satisfied.

[0191] Optionally, the detection module 1110 is further configured to detect a second operation of the user;

[0192] The processing module 1120 is further configured to, if it is determined that the second trigger condition is satisfied, respond to the second operation and run the second service while running the first service; or

[0193] The processing module 1120 is further configured to close the first service and execute the second service in response to a second operation if it is determined that the second trigger condition is satisfied.

[0194] Optionally, the first posture also includes the first display screen being in a tent state.

[0195] Optionally, the first display screen is an outward folding display screen, and the processing unit 1120 is specifically configured to:

[0196] The first interface is displayed on the first sub-display screen of the first display screen.

[0197] Optionally, the first display screen is an inward folding display screen, and the folding screen electronic device further includes a second display screen, and the processing unit 1120 is specifically configured to:

[0198] The first interface is displayed on the second display screen.

[0199] Optionally, the first display screen is an outward folding display screen, and the processing unit 1120 is specifically configured to:

[0200] Displaying a first interface on a first sub-display screen of a first display screen;

[0201] The second interface is displayed on the first sub-display screen of the first display screen to replace the first interface.

[0202] Optionally, the first display screen is an outward folding display screen, and the processing unit 1120 is specifically configured to:

[0203] Displaying a first interface on a first sub-display screen of a first display screen;

[0204] The second interface is displayed on the second sub-display screen of the first display screen.

[0205] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The electronic device provided in the embodiment of the present application is used to execute the above management service method, so it can achieve the same effect as above.

[0206] The embodiment of the present application also provides a folding screen electronic device, including: a processor, a memory, an application, and a computer program. The above-mentioned devices can be connected via one or more communication buses. Among them, the one or more computer programs are stored in the above-mentioned memory and are configured to be executed by the one or more processors, and the one or more computer programs include instructions, which can be used to enable the folding screen electronic device to perform the various steps of the folding screen electronic device in the above-mentioned embodiments.

[0207] Exemplarily, the processor may be Figure 1 The processor 110 shown in the figure, the above-mentioned memory can be specifically Figure 1An internal memory 120 and / or an external memory connected to the electronic device is shown.

[0208] An embodiment of the present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method for managing services described in any possible implementation method described above is executed.

[0209] This embodiment also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the management service method in the above-mentioned embodiment.

[0210] This embodiment also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the method for managing services in the above-mentioned embodiment.

[0211] As used in the above embodiments, the phrases “when…” or “after…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (the stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (the stated condition or event)” or “in response to detecting (the stated condition or event)”, depending on the context.

[0212] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0213] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0214] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0215] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0216] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0217] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0218] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for managing services, characterized in that: The method is applied to a foldable screen electronic device, wherein the foldable screen electronic device includes a foldable first display screen, and the method includes: A first operation of a user is detected, where the first operation is an operation of setting the folding screen electronic device to a first posture, where the first posture includes the folding angle of the first display screen being a first angle; If a first trigger condition is met, a first service is run in response to the first operation, the first service belongs to a first application, and the first trigger condition includes that the first gesture is associated with a first service of the first application.

2. The method according to claim 1, characterized in that The method further comprises: A second operation of the user is detected, where the second operation is an operation of setting the folding screen electronic device to a second posture, where the second posture includes the folding angle of the first display screen being a second angle, and the second angle is not equal to the first angle; If a second trigger condition is met, in response to the second operation, a second service is run while the first service is run, wherein the second trigger condition includes that the second gesture is associated with the second service, and the second service belongs to the first application or the second application.

3. The method according to claim 1, characterized in that: The method further comprises: A second operation of the user is detected, where the second operation is an operation of setting the folding screen electronic device to a second posture, where the second posture includes the folding angle of the first display screen being a second angle, the second angle being greater than 0° and not equal to the first angle; If a second trigger condition is met, in response to the second operation, the first service is closed and a second service is run, wherein the second trigger condition includes that the second gesture is associated with the second service, and the second service belongs to the first application or the second application.

4. The method according to any one of claims 1 to 3, characterized in that The first posture also includes the first display screen being in a tent state.

5. The method according to claim 4, characterized in that The first display screen is an outward folding display screen, and runs the first service, including: A first interface is displayed on a first sub-display screen of the first display screen, where the first interface is an interface corresponding to a first service of the first application.

6. The method according to claim 4, characterized in that The first display screen is an inner folding display screen, the folding screen electronic device further includes a second display screen, the second display screen is an outer screen, and running the first service includes: A first interface is displayed on the second display screen, where the first interface is an interface corresponding to the first service of the first application.

7. The method according to claim 2 or 3, characterized in that: The first display screen is an outward folding display screen, and runs the first service, including: Displaying a first interface on a first sub-display screen of the first display screen, where the first interface is an interface corresponding to a first service of the first application; Running the second service includes: A second interface is displayed on the first sub-display screen of the first display screen to replace the first interface, where the second interface is an interface corresponding to a second service.

8. The method according to claim 2, characterized in that: The first display screen is an outward folding display screen, and runs the first service, including: Displaying a first interface on a first sub-display screen of the first display screen, where the first interface is an interface corresponding to a first service of the first application; Running the second service includes: A second interface is displayed on the second sub-display screen of the first display screen, where the second interface is an interface corresponding to the second service.

9. The method according to claim 7 or 8, characterized in that: The second posture also includes the first display screen being in a tent state.

10. The method according to any one of claims 1 to 9, characterized in that: The method further includes: collecting a first signal through at least one sensor, and determining a folding angle of the electronic device according to the first signal.

11. The method according to claim 4 or 9, characterized in that: The method further includes: collecting a first signal through at least one sensor, determining a folding angle of the electronic device and determining whether the electronic device is in the tent state according to the first signal.

12. The method according to claim 11, characterized in that The collecting of a first signal by at least one sensor, determining a folding angle of the electronic device according to the first signal, and determining whether the electronic device is in the tent state comprises: Detecting the hovering angle of the hinge by a hinge sensor of the electronic device; Detecting the orientation of the electronic device by a gyroscope sensor of the electronic device; Whether the electronic device is in the tent state is determined according to the hovering angle and the orientation of the electronic device.

13. A folding screen electronic device, characterized in that: The method comprises one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs include instructions, and when the instructions are executed by the one or more processors, the method according to any one of claims 1 to 12 is executed.

14. A chip, characterized in that: The chip includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method according to any one of claims 1 to 12 is executed.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the method according to any one of claims 1 to 12 is executed.