CN115022527A - Method for starting cooperative function and electronic equipment - Google Patents

Method for starting cooperative function and electronic equipment Download PDF

Info

Publication number
CN115022527A
CN115022527A CN202111679783.7A CN202111679783A CN115022527A CN 115022527 A CN115022527 A CN 115022527A CN 202111679783 A CN202111679783 A CN 202111679783A CN 115022527 A CN115022527 A CN 115022527A
Authority
CN
China
Prior art keywords
interface
display screen
screen
folding
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111679783.7A
Other languages
Chinese (zh)
Other versions
CN115022527B (en
Inventor
刘智鹍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202111679783.7A priority Critical patent/CN115022527B/en
Publication of CN115022527A publication Critical patent/CN115022527A/en
Application granted granted Critical
Publication of CN115022527B publication Critical patent/CN115022527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Abstract

The embodiment of the application provides a method for starting a cooperative function and electronic equipment, wherein the method is applied to the electronic equipment with a folding screen, the folding screen comprises an outer display screen and an inner display screen, and a display interface of a first application is currently displayed on the outer display screen, and the method comprises the following steps: when a first operation of a user on a first control on a display interface is received, acquiring the state of a folding screen of the electronic equipment, wherein the first operation is used for requesting the electronic equipment to start a cooperative function of a first application, and after the cooperative function of the first application is started, the display interface of the first application is simultaneously displayed on an outer display screen and an inner display screen; if the state of the folding screen of the electronic equipment is a folding state, displaying a first guide interface on the external display screen, wherein the first guide interface is used for guiding a user to unfold the folding screen; the first application's collaborative function is started. The method can guide the user to start and use the cooperative function of the camera application, and improve the shooting experience of the user.

Description

Method for starting cooperative function and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for starting a cooperative function and an electronic device.
Background
With the continuous development of electronic technology, the variety of electronic devices is becoming more and more abundant. For example, smart phones are no longer limited to flip screens and bar screens, and more distinctive foldable screens are also produced. The folding screen mobile phone can be divided into an inner display screen and an outer display screen, when the mobile phone is in a folding state, the outer display screen is in a working state, and contents to be displayed can be displayed on the outer display screen; when the mobile phone is in the unfolding state, the inner display screen is in the working state, and the content to be displayed can be displayed on the inner display screen.
However, in some scenarios (such as a photographing scenario), in order to enable a user to have a better use experience, it is necessary to research on how to enable the user to view display contents by using an inner display screen and an outer display screen simultaneously, and provide some guidance interfaces for the user.
Disclosure of Invention
The application provides a method for starting a cooperative function and an electronic device, which can guide a user to start and use the cooperative function of a camera application and improve the shooting experience of the user.
In a first aspect, the present application provides a method for opening a collaborative function, which is applied to an electronic device having a foldable screen, where the foldable screen includes an outer display screen and an inner display screen, and a display interface of a first application is currently displayed on the outer display screen, and the method includes: when a first operation of a user on a first control on a display interface is received, acquiring the state of a folding screen of the electronic equipment, wherein the first operation is used for requesting the electronic equipment to start a cooperative function of a first application, and after the cooperative function of the first application is started, the display interface of the first application is simultaneously displayed on an outer display screen and an inner display screen; if the state of the folding screen of the electronic equipment is a folding state, displaying a first guide interface on the external display screen, wherein the first guide interface is used for guiding a user to unfold the folding screen; the first application's collaborative function is started.
The first application may be a camera application, a video application, or other applications, and the first operation may be a click operation or a slide operation. In an implementation manner, a first control (also referred to as a cooperative switch control) may be provided on a display interface of a camera application, and after a user performs a click operation on the first control, the electronic device may obtain a current state of a folding screen, and if the current state is a folding state, a preset first guide interface is displayed on an external display screen to guide the user to expand the folding screen. When the folding screen is unfolded, namely the outer display screen and the inner display screen are displayed, the electronic equipment can start the cooperative function of the camera application, the display interface of the camera application can be displayed on the outer display screen and the inner display screen at the same time, and a user can watch the display interface of the camera application through the inner display screen and the outer display screen. At the moment, when the photographer shoots the person to be shot, the person to be shot can see the shooting picture of the person to be shot through the external display screen, the posture can be adjusted in time, and the shooting experience of the user is improved.
In one implementation, after the electronic device displays the guidance interface, the first application may be activated after a preset time period (e.g., 5 seconds), and it may be assumed that the user has unfolded the foldable screen within the time period.
With reference to the first aspect, in some implementation manners of the first aspect, the acquiring a state of the foldable screen of the electronic device includes: acquiring an included angle between the first inner display screen and the second inner display screen; and if the included angle between the first inner display screen and the second inner display screen is smaller than a first preset angle, determining that the state of the folding screen of the electronic equipment is a folding state.
Wherein, this application can divide into display screen in first interior display screen and the second with interior display screen, and display screen can overturn in first interior display screen and the second to realize the expansion and the folding of folding screen. If the electronic device is to judge whether the electronic device is in the folding state or the unfolding state, the electronic device can judge through the included angle between the first inner display screen and the second inner display screen. For example, when the included angle is smaller than the first preset angle, the folding screen may be considered to be in a folded state. Alternatively, the first preset angle may be 45 °, but preferably, the folded screen is considered to be in the folded state when the included angle between the first inner display screen and the second inner display screen is about 0 °. Therefore, the state of the folding screen is determined through the included angle between the first inner display screen and the second inner display screen, and whether the first guide interface needs to be displayed can be further determined.
With reference to the first aspect, in some implementations of the first aspect, after the first guidance interface is displayed on the external display screen, the method further includes: acquiring an included angle between the first inner display screen and the second inner display screen; and if the included angle between the first inner display screen and the second inner display screen is acquired to be larger than or equal to a first preset angle, closing the first guide interface.
After the first guide interface is displayed on the electronic device, the user can unfold the folding screen according to the prompt of the first guide interface, and then when the included angle between the first inner display screen and the second inner display screen is obtained and is larger than or equal to the first preset angle, the electronic device can extinguish the outer display screen normally, and at the moment, the first guide interface can be closed.
Then, the above starting the cooperative function of the first application includes: after the first guide interface is closed, displaying a display interface of the first application on an external display screen, and starting the cooperative function of the first application.
That is to say, after the first guidance interface is closed, the electronic device may open the cooperative function of the camera application, so as to improve the shooting experience of the user. Preferably, after a preset time interval (for example, 3 seconds) after the first guidance interface is closed, the display interface of the first application is displayed on the external display screen, and the cooperative function of the first application is started.
With reference to the first aspect, in some implementations of the first aspect, the first guidance interface includes a demonstration of a changing process of the folding screen from the folded state to the unfolded state.
In order to improve the aesthetic property and vividness of the first guidance interface, the first guidance interface generated by the electronic device may include a demonstration picture of a change process of the folding screen from the folding state to the unfolding state, so that a user can clearly understand how to use the cooperative function.
With reference to the first aspect, in some implementation manners of the first aspect, if the display interface is a display interface when the first application runs for the first time, the method further includes: acquiring view elements stored in electronic equipment; a first guide interface is generated from the view element.
Taking the first application as the camera application as an example, the first running of the camera application means that the camera application is run for the first time after the folding screen mobile phone is produced and shipped from a factory. When the camera application is operated for the first time, the camera application can acquire the equipment information of the mobile phone from the system file so as to judge whether the mobile phone is a folding screen mobile phone. For example, the model information of the mobile phone may be acquired from a system file in xml format. And if the mobile phone is the folding screen mobile phone, displaying the cooperative switch control when the photographing interface of the camera application is opened, and initializing a guide interface. Optionally, the process of initializing the boot interface may be: and generating a corresponding view according to a preset view element, wherein the generated view is the first guide interface. Therefore, the electronic equipment generates the first guide interface when the first application is operated for the first time, and then the first guide interface is directly displayed when the first guide interface is required to be displayed subsequently, so that the display efficiency is improved.
With reference to the first aspect, in some implementations of the first aspect, the first guidance interface is an interface obtained by adjusting a display size of the second guidance interface according to a posture change angle of the electronic device when the posture change of the electronic device is detected.
Optionally, the second guidance interface is an interface generated according to a view element stored in the electronic device when the first application runs for the first time.
That is to say, the second guide interface is generated when the first application runs for the first time, and when the user uses the electronic device, if the posture of the electronic device is changed, for example, from a vertical screen to a horizontal screen, the display size of the generated second guide interface needs to be adjusted to adapt to the display size of the current horizontal screen. Then, the electronic device may adjust the display size of the second guidance interface to obtain the first guidance interface, and then display the first guidance interface after the user clicks the first control, thereby improving the display aesthetics of the guidance interface.
With reference to the first aspect, in some implementations of the first aspect, the first guidance interface includes a close control, and after the first guidance interface is displayed on the external display screen, the method further includes: and when a second operation of the user on the closing control is received, closing the first guide interface.
Besides that, when the included angle between the first inner display screen and the second inner display screen is greater than or equal to the first preset angle, the electronic device may close the first guide interface, and the first guide interface may also include a closing control. If the user does not need to use the cooperative function any more after the first guide interface is displayed, the first guide interface can be closed actively so as to further improve the use experience of the user.
In a second aspect, the present application provides an apparatus, which is included in an electronic device, and which has a function of implementing the behavior of the electronic device in the first aspect and the possible implementation manners of the first aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a receiving module or unit, a processing module or unit, etc.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other to enable the electronic device to perform any one of the methods of the first aspect.
In a fourth aspect, the present application provides a chip comprising a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, the memory being connected to the processor by a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is enabled to execute any one of the methods in the technical solutions of the first aspect.
In a sixth aspect, the present application provides a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to perform any of the methods of the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of an example of a folding screen mobile phone provided in the embodiment of the present application;
fig. 2 is a schematic view of a display interface of an example of a folding-screen mobile phone provided in the embodiment of the present application in a folded state;
fig. 3 (a) is a schematic display interface diagram of an example of a folding-screen mobile phone in an unfolded state according to an embodiment of the present application;
fig. 3 (b) is a schematic display interface diagram of another foldable-screen mobile phone provided in the embodiment of the present application in an unfolded state;
fig. 4 is a schematic structural diagram of an example of an electronic device according to an embodiment of the present disclosure;
FIG. 5 is a block diagram of a software architecture of an electronic device according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of an exemplary software architecture of a camera application provided in an embodiment of the present application;
FIG. 7 is a diagram illustrating an example of a photo scene according to an embodiment of the present disclosure;
fig. 8 (a) is a schematic diagram of a photographing interface when the cooperative function is not turned on according to an embodiment of the present application;
fig. 8 (b) is a schematic diagram of a photographing interface when the cooperative function is turned on according to an example provided in the present application;
fig. 9 (a) is a schematic diagram illustrating an effect of turning on a "cooperative" switch control according to an embodiment of the present application;
FIG. 9 (b) is a schematic diagram illustrating an exemplary effect of turning off the "cooperative" switch control according to the embodiment of the present application;
FIG. 10 is a flowchart illustrating an example of a method for enabling a cooperative function according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a dynamic display of an example of a guidance interface provided in an embodiment of the present application;
fig. 12 is a schematic diagram illustrating an example of a display cooperative switch control when a folding-screen mobile phone is in a folded state according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating an effect of rotating a folding screen mobile phone from a portrait screen to a landscape screen according to an embodiment of the present application;
FIG. 14 is a schematic diagram illustrating an example of a process for adjusting the size of a guidance interface according to an embodiment of the present disclosure;
fig. 15 is a schematic view of a display interface of an example of a folding-screen mobile phone provided in the embodiment of the present application after being rotated by different angles;
FIG. 16 is a schematic diagram of an example of an adjusted guidance interface provided by embodiments of the present application;
fig. 17 is a flowchart illustrating another example of a method for starting a cooperative function according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", "third" may explicitly or implicitly include one or more of the features.
Before describing the embodiments of the present application, we first describe a foldable screen mobile phone, as shown in fig. 1, a foldable screen mobile phone 10 includes a first structural member 11, a second structural member 12, and a connecting assembly 13 connecting the first structural member 11 and the second structural member 12, and the first structural member 11 and the second structural member 12 are folded upside down by the connecting assembly 13. The first structural member 11 may include an outer display 111 and a first inner display 112, the second structural member 12 may include a second inner display 113 and a back shell 114, the outer display 111 may have a front camera 115 thereon, and the back shell 114 may have a rear camera 116 thereon. For clarity, fig. 1 is shown in a front view and a back view of a folding screen handset 10.
When the angle between the first structural member 11 and the second structural member 12 is about 0 °, as shown in fig. 2, the foldable mobile phone 10 is in a folded state, and at this time, the foldable mobile phone 10 displays the content to be displayed through the external display 111 of the first structural member 11. When the included angle between the first structural member 11 and the second structural member 12 is about 180 °, as shown in fig. 3, the foldable-screen mobile phone 10 is in an unfolded state, at this time, the first inner display screen 112 of the first structural member 11 and the second inner display screen 113 of the second structural member 12 are spliced into one display screen, and the display screen obtained by splicing the foldable-screen mobile phone 10 displays the content to be displayed. In the unfolded state, as shown in fig. 3 (a), the folding-screen mobile phone 10 may display the content of an application on the display screen obtained by splicing, for example, playing a video on the full screen using the display screen; or as shown in fig. 3 (b), the folding-screen mobile phone 10 may display the contents of multiple applications on the spliced display screen (the contents of 2 applications are shown as an example in the drawing), where the first inner display screen 112 may display the contents of the calculator application, and the second inner display screen 113 may display the contents of the mailbox application.
In a normal situation, in the process that the user gradually unfolds the foldable screen mobile phone 10 from the folded state shown in fig. 2, when an included angle between the first structural member 11 and the second structural member 12 reaches about 45 °, the outer display 111 of the first structural member 11 is turned off, and the first inner display 112 of the first structural member 11 and the second inner display 113 of the second structural member 12 are turned on, so as to implement display switching between the outer display and the inner display.
With the structural support of the folding-screen mobile phone 10 described in fig. 1-3, in a photographing scene, if the folding-screen mobile phone 10 is in the folded state shown in fig. 2, a user can use the front camera 115 to take a self-photograph, or use the rear camera 116 to take another person or thing, and the taken picture is displayed on the external display screen 111 of the first structural component 11. If the foldable screen mobile phone 10 is in the unfolded state shown in fig. 3, the user can use the rear camera 116 to take pictures of other people or objects, and the taken pictures are displayed on the display screen spliced by the first inner display screen 112 of the first structural member 11 and the second inner display screen 113 of the second structural member 12. However, when a user (hereinafter, referred to as a photographer) uses the folded-screen mobile phone in the unfolded state to take a picture of another person (hereinafter, referred to as a photographer), in order to enable the photographer to see the taken picture instantly, the photographer may open a "cooperation" switch in the camera, so that the taken picture is displayed on the outer display 111 and the display screen spliced by the first inner display 112 and the second inner display 113 at the same time, so as to improve the shooting experience of the user.
Therefore, in order to enable a user to know that the folding screen mobile phone has the cooperative function when shooting, the embodiment of the application can provide a method for starting the cooperative function so as to guide the user to start and use the function, and improve the shooting experience of the user. It should be noted that the method for starting a cooperative function provided in the embodiment of the present application may be applied to an electronic device such as a folding screen mobile phone and a folding screen tablet computer, as long as the electronic device has an internal display screen and an external display screen, and the embodiment of the present application does not set any limitation on the specific type of the electronic device.
For example, fig. 4 is a schematic structural diagram of an example of the electronic device 100 according to the embodiment of the present application. 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 key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. 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.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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 Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The charging management module 140 is configured 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 via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used 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 charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an 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 alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1, such as an inner display screen and an outer display screen.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
In addition, the software system of the electronic device 100 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 5 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, namely an application layer, an application framework layer, a system library and a kernel layer from top to bottom.
As shown in fig. 5, the application layer may include a series of Application Packages (APKs), for example, the application packages may include applications such as a camera, a gallery, a calendar, a call, a map, a navigation, a WLAN, bluetooth, music, a video, a short message, etc., and the camera application is exemplified in the figure.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer, and may include some predefined functions, such as the camera API, the camera service framework, and the like shown in fig. 5.
The application framework layer may also include a window manager, content provider, view system, phone manager, explorer, notification manager, etc., which are not shown.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The system library may include a plurality of functional modules. For example: media libraries (media libraries), Android runtime (Android runtime), hardware management modules, and the like.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: a photographing data stream, a preview data stream, a video data stream in the formats of MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The kernel layer is a layer between hardware and software. The kernel layer at least includes Display (DP) driver, ISP driver, camera driver, and Sensor (Sensor).
For convenience of understanding, the following embodiments of the present application take an electronic device with a structure shown in fig. 4 and fig. 5 as an example, and specifically describe, with reference to the accompanying drawings and an application scenario, a method for starting a cooperative function provided in the embodiments of the present application.
In the software structure shown in fig. 5, the electronic device is a folding screen mobile phone, for example, a camera application is installed in the folding screen mobile phone, as shown in fig. 6, the camera application may include a functional module and a logic module, the functional module may implement multiple functions, including but not limited to a photographing function, a portrait function, a video recording function, a movie mode function, a night view function, a large aperture function, and the like, and the logic module provides a bottom layer implementation logic for the functional module, including but not limited to a cooperative function switch rule module, a ui (user interface) interface control module, and a folding screen state control module.
The photographing function may include an intelligent object recognition function, an Artificial Intelligence (AI) photographing function, a filter function, a flash function, and a coordination function. The portrait function, the night view function, and the large aperture function may include a cooperative function. The video recording function may include a multi-scene video recording entry function, a flash function, a filter function, and a cooperative function. The movie mode function may include a palette (LUT) function, a flash function, a 4K high dynamic range imaging (HDR) function, a slow motion function, and a cooperative function. It can thus be seen that the camera application has a function called "collaboration". The embodiment of the present application refers to the functions implemented in the following scenarios as the cooperative functions: after the photographer unfolds the folding screen mobile phone to the unfolded state, the camera application is opened to take a picture for the photographer, and the picture taking scene is shown in fig. 7. In this scenario, there is a "collaboration" switch control on the interface in the photographing mode, such as "collaboration" switch control 81 in fig. 8; when the photographer does not open the switch, the photographer uses the folding screen mobile phone to display the picture taken by the photographer on the inner display screen, as shown in (a) of fig. 8, that is, the cooperative function is not started at this time; when the photographer turns on the switch, the photographer uses the folding screen mobile phone to simultaneously display the pictures shot by the photographer on the inner display screen and the outer display screen, as shown in (b) of fig. 8, that is, the photographer can also see the shot pictures through the outer display screen, and at this time, the cooperative function is turned on. It will be appreciated that the switch state of the co-function may be recorded in the co-function switch rule module.
Similarly, the interface in portrait mode, video mode, movie mode, night view mode or large aperture mode may have the "cooperation" switch control for the user to turn on the cooperation function. It will be appreciated that the "collaboration" switch control may be presented in the form of the graphical control shown in fig. 8, and when the switch is turned on, a first graphic is displayed, as shown in fig. 8 (b); after the switch is turned off, the second pattern is displayed as shown in fig. 8 (a), i.e., a diagonal line is added to the first pattern. Alternatively, the display form of the "cooperative" switch control may be the button control shown in fig. 9, and the button control changes to a dark color after the switch is turned on, as shown in fig. 9 (a); the button control becomes white after this switch is turned off, as shown in fig. 9 (b). However, it should be noted that, in the embodiment of the present application, a display form of the "cooperation" switch control is not particularly limited, and other display forms may also be applicable to the present application.
It will be appreciated that the interfaces shown in fig. 8 and 9 are shown in the portrait mode of the folding-screen mobile phone, and if the folding-screen mobile phone is rotated to the landscape mode, the "cooperative" switch control and other controls beside the folding-screen mobile phone are also rotated, and the illustration is omitted.
As can be seen from fig. 8, the cooperative function can be realized only when the folding-screen mobile phone is in the unfolded state, and if the user clicks the "cooperation" switch control when the folding-screen mobile phone is in the folded state, the embodiment of the present application may display a guidance interface on the external display screen to guide the user to unfold the folding-screen mobile phone and use the cooperative function of the camera. The unfolding state or the folding state of the folding screen mobile phone can be detected by the folding screen state control module, and the process of displaying the guide interface can be realized by the UI interface control module. A method for starting a cooperative function provided in the embodiment of the present application is described below with a specific embodiment, and fig. 10 is a schematic flowchart of an example method for starting a cooperative function provided in the embodiment of the present application, where the method includes:
s101, when the camera application runs for the first time, the UI control module initializes a guide interface.
The first running of the camera application refers to the first running of the camera application after the folding screen mobile phone is produced and delivered from a factory. When the camera application is operated for the first time, the equipment information of the mobile phone can be acquired from the system file so as to judge whether the mobile phone is a folding screen mobile phone. For example, the model information of the mobile phone may be acquired from the system file in xml format. If the mobile phone is the folding screen mobile phone, displaying a 'cooperation' switch control when a photographing interface of the camera application is opened, and initializing a guide interface by a UI interface control module; if the mobile phone is not the folding screen mobile phone, the 'cooperation' switch control is not displayed when the photographing interface of the camera application is opened, and a guide interface is not initialized. The process of initializing the boot interface may be: and generating a corresponding view according to the preset view element, wherein the generated view is the guide interface.
In one embodiment, the initialized boot interface may include a dynamic screen. As shown in fig. 11, the initial interface of the guidance interface includes a simplified diagram of the folding-screen mobile phone in the folded state, text prompt information, and an unfolding guidance direction (i.e., an arrow in the diagram) of the folding-screen mobile phone, and the simplified diagram of the folding-screen mobile phone can present a dynamically changing effect. Then, when the simplified diagram of the folding-screen mobile phone is gradually expanded from the folded state to the expanded state, the guidance interface may be converted from the initial interface to an intermediate interface, where the intermediate interface includes the simplified diagram of the folding-screen mobile phone in the intermediate state (which refers to a state where the folding-screen mobile phone is between the folded state and the expanded state), the text prompt message, and an expansion guidance direction (i.e., an arrow in the diagram) of the folding-screen mobile phone. Then, when the simplified diagram of the folding screen mobile phone is unfolded to the unfolded state, the guiding interface can be changed from the intermediate interface to a terminating interface, and the terminating interface comprises the simplified diagram and the text prompt information of the folding screen mobile phone in the unfolded state. Therefore, the dynamic process of the guide interface is completed, and it can be understood that in the guide interface, if the included text prompt information is too much and all the texts cannot be displayed on the current interface at one time, the text prompt information can be displayed in a rolling bar mode in a rolling mode.
In this embodiment, after the UI interface control module initializes the guidance interface, the guidance interface may be overlaid on the current display interface of the camera application, but the guidance interface is set to be invisible, and only when the user clicks the "cooperation" switch control in the folded state of the folding-screen mobile phone, the guidance interface is changed to be visible. As one way of achieving this, the UI interface control module may set the visual property value of the guide interface to gone (i.e., not visible) to achieve an effect that the guide interface is not visible. It will be appreciated that a "close" control may also be included in the initialized guidance interface for the user to close the guidance interface when the display of the interface is not required.
And S102, the cooperative function module receives the clicking operation of the user on the cooperative switch control.
And S103, the cooperative function module acquires the current state of the folding screen mobile phone from the folding screen state control module.
The cooperative function module in this embodiment may be a sub-module in the function module in fig. 6. The clicking operation of the user on the cooperative switch control may be a clicking operation on the graphical control in fig. 8, a clicking operation on the button control in fig. 9, or a clicking operation input on an external display screen, where an interface for displaying the cooperative switch control on the external display screen may be as shown in fig. 12, an open interface of a camera application is displayed on the external display screen, and a cooperative switch control 81 is displayed on the interface. After the cooperative function module receives the click operation of the user, the current state of the folding screen can be acquired from the folding screen state control module. As an achievable way, the folding screen state control module may determine the current state according to an included angle between a first structural member and a second structural member of the folding screen mobile phone, and if the included angle between the first structural member and the second structural member is smaller than a first preset angle (e.g., 45 °), the current state is the folding state; if the included angle between the first structural member and the second structural member is within a preset angle range (such as 170-180 degrees), the current state is the unfolding state; and when the included angle between the first structural member and the second structural member is other angles, the current state is an intermediate state.
Exemplarily, if an included angle between the first structural member and the second structural member is about 0 °, the current state is a folded state; if the included angle between the first structural member and the second structural member is about 180 degrees, the current state is the unfolding state; if the included angle between the first structural member and the second structural member is between (45 degrees and 170 degrees), the current state is an intermediate state.
And S104, the cooperative function module judges whether the current state of the folding screen mobile phone is a folding state, and if so, S105 is executed.
After the current state of the folding-screen mobile phone is acquired (for example, the acquired state identifier is 1), the cooperative function module may match the stored state identifier, for example, the stored state identifier is 1, and then it may be determined that the acquired state matches the stored state identifier, and then it is determined that the current state of the folding-screen mobile phone is the folding state.
And S105, the cooperation function module sends an indication message for displaying the guide interface to the UI interface control module.
And S106, the UI interface control module displays a guide interface.
The indication message sent by the coordination function module to the UI interface control module may be an inter-process communication (IPC) message, or may be a message in another form. If the current state of the folding screen mobile phone is the folding state, it indicates that the folding screen mobile phone cannot realize the cooperative function currently, and a user needs to be guided to unfold the folding screen mobile phone. Then, the cooperative function module may send an indication message to the UI interface control module to instruct the UI interface control module to display the initialized guidance interface. It can be understood that, because the folding screen mobile phone is in the folding state, the click operation input by the user is input on the external display screen; it can also be understood that if the current state of the folding screen mobile phone is the unfolded state, the camera application can directly start the cooperative function without displaying a guidance interface.
The guidance interface displayed by the UI interface control module, that is, the guidance interface obtained by the initialization (that is, the interface shown in fig. 11), at this time, the UI interface control module may set the guidance interface to be visible, for example, set a visual attribute value of the guidance interface to be visible (that is, visible), so as to achieve an effect that the guidance interface is visible. As one achievable way, the displayed guide interface may present a masking effect, such as setting the opacity to 85% to achieve the masking effect; under the mask effect, the video data stream of the camera interface below the guide interface is visible in a sparse way. As another implementation manner, while the UI interface control module displays the guidance interface, it may also perform a voice prompt to the user, for example, output a voice of "please unfold the folding screen mobile phone". As yet another way to achieve this, the initial interface-intermediate interface-end interface in fig. 11 above may be played in a loop until the guidance interface is closed.
After the guide interface is displayed for the user, the user can unfold the folding screen mobile phone according to the content of the guide interface, and the folding screen mobile phone hides the guide interface when detecting that the included angle between the first structural component and the second structural component of the folding screen mobile phone is larger than or equal to a first preset angle. As an implementation manner, when the included angle between the first structural member and the second structural member reaches about 45 °, the guiding interface is hidden, because it is known from the above that when the included angle between the first structural member and the second structural member reaches about 45 °, the outer display screen is turned off, and then the guiding interface is hidden along with the turning-off of the outer display screen. The implementation process of the hidden guide interface of the folding screen mobile phone can be as follows:
and S107, the state control module of the folding screen monitors the state of the folding screen mobile phone in real time.
And S108, judging whether an included angle between the first structural member and the second structural member is larger than or equal to a first preset angle or not by the folding screen state control module, and if so, executing S109.
And S109, the folding screen state control module sends an indication message of hiding the guide interface to the cooperative function module.
And S110, the cooperative function module sends the indication message of the hidden guide interface to the UI interface control module.
And S111, hiding the guide interface by the UI interface control module.
The mode of hiding the guide interface by the UI interface control module may be: the visual attribute value of the guide interface is set to none (i.e., invisible) to achieve the effect that the guide interface is hidden.
In an implementation manner, after the UI interface control module displays the guidance interface, the user may further click a "close" control on the guidance interface, and after the cooperation function module receives a close operation of the user, the cooperation function module may also send an instruction message for hiding the guidance interface to the UI interface control module, so that the UI interface control module hides the guidance interface.
After the above-mentioned coordination function module sends the instruction message of hiding the guide interface to the UI interface control module, the following process can also be executed:
and S112, the cooperative function module sends an indication message of displaying the preview area on the external display screen to the UI control module.
S113, the UI control module displays a preview area on the external display screen, namely, the cooperative function is started.
After the UI interface control module hides the guidance interface, the indication message may be sent to the UI interface control module at a preset time interval (e.g., 3 seconds) by the coordination function module, so as to display the preview area on the external display screen and start the coordination function. Then, from this moment until the user fully unfolds the folding-screen mobile phone, the camera application in the folding-screen mobile phone is in a state of opening the cooperative function.
In another implementation manner, the cooperative function module may further start the cooperative function after the foldable screen mobile phone is in the unfolded state, and the implementation process may be: the folding screen state control module continues to monitor the state of the folding screen mobile phone, and when the state of the folding screen mobile phone is monitored to be an unfolded state, an indication message for starting the cooperation function is sent to the cooperation function module; the cooperative function module starts the cooperative function. The state of the folding-screen mobile phone is an unfolded state, where an included angle between the first structural member and the second structural member is within a preset angle range, such as about 180 °, that is, when the folding-screen mobile phone is in the unfolded state, the cooperative function can be started by the cooperative function module, at this time, both the inner display screen and the outer display screen of the folding-screen mobile phone display a photographing interface, and a photographer uses the folding-screen mobile phone to display a picture taken by the photographer on the inner display screen and the outer display screen at the same time, for example, as shown in the diagram (b) in fig. 8, the photographer can also see the taken picture through the outer display screen.
Next, if the user has taken a picture for the photographed person under the cooperative function and wants to fold the folding screen mobile phone again, the folding screen state control module may monitor that the folding screen mobile phone returns to the folded state, and may enable the folding screen mobile phone to close the cooperative function, which may specifically be:
s114, the state control module of the folding screen continuously monitors the state of the folding screen mobile phone;
and S115, judging whether an included angle between the first structural member and the second structural member is smaller than a first preset angle or not by the folding screen state control module, and if so, executing S116.
That is to say, the folding screen state control module monitors that the folding screen mobile phone is gradually folded, and when the folding screen mobile phone is folded until the included angle between the first structural member and the second structural member is smaller than 45 degrees, the folding screen state control module sends an indication message that the preview area is not displayed on the outer display screen to the cooperative function module.
And S116, the folding screen state control module sends an indication message that the preview area is not displayed on the outer display screen to the cooperative function module.
And S117, the cooperation function module sends the indication message that the preview area is not displayed on the external display screen to the UI control module.
And S118, the UI control module cancels the display of the preview area on the external display screen.
According to the method for starting the cooperative function, when the folding screen mobile phone is in a folding state, if a user clicks the cooperative switch in the camera application, the folding screen mobile phone can display a guide interface for the user so as to guide the user to unfold the folding screen mobile phone and use the cooperative function, and the photographing experience of the user is improved.
In some scenarios, when a user uses a folding screen mobile phone to take a picture, the user may need to rotate the display screen to capture a larger shooting angle. For example, as shown in fig. 13, the external display screen of the folding-screen mobile phone may be rotated from the vertical screen to the horizontal screen (it should be noted here that the above embodiments are all illustrated by using the vertical screen as an example), and then to adapt to the display size of the rotated external display screen, the UI interface control module needs to adjust the size of the guide interface. Fig. 14 is a schematic diagram of an example of a process for adjusting the size of the guidance interface according to an embodiment of the present application, where the process may include:
s201, determining whether the folding screen mobile phone rotates or not according to the acquired data by a sensor; if the rotation is performed, S202 is executed.
The sensor can be an acceleration sensor, and the acceleration sensor can be used for identifying the gesture of the folding screen mobile phone to determine whether to perform horizontal and vertical screen rotation. Assuming that the folding screen mobile phone is in a vertical screen state at present, under normal conditions, the folding screen mobile phone can rotate 360 degrees on a plane where the vertical screen is located, but in order to facilitate subsequent data processing, the embodiment of the application divides the plane of 360 degrees into four areas, and the folding screen mobile phone corresponds to a rotation state in each area.
Referring to fig. 15, assuming that the posture of the folding screen mobile phone is 0 ° when it is vertical, the posture of the folding screen mobile phone within 45 ° of left rotation or within 45 ° of right rotation will be recorded as the vertical screen state, i.e. the upper diagram in fig. 15. The left-hand 45 ° to 135 ° rotated postures of the folding screen phone will be recorded as the landscape state, i.e. the right-hand schematic view in fig. 15. The posture of the folding screen mobile phone rotating 135 degrees to 225 degrees to the left is recorded as the upside-down screen state, namely the lower schematic diagram in fig. 15. The posture of the folding screen mobile phone rotating to the left by 225 degrees to 315 degrees is recorded as the inverted horizontal screen state, namely the schematic diagram at the left in fig. 15. Because the display size of the guidance interface in the vertical screen state is not suitable for the horizontal screen state, and the display size in the horizontal screen state is also not suitable for the vertical screen state, if the folding screen mobile phone is switched in the above states, the sensor needs to send an indication message for adjusting the size of the guidance interface to the UI interface control module.
S202, the sensor sends an indication message for adjusting the size of the guide interface to the UI control module.
And S203, the UI interface control module adjusts the display size of the guide interface.
If the mobile phone is in the front-vertical screen state, the UI interface control module needs to adjust the display size of the initialized guide interface, for example, adjust the size of the simplified diagram and the text prompt message, increase the width and height of the simplified diagram, increase the font of the text prompt message, and the like. In addition, when the guidance interface includes a "close" control, the position of the "close" control needs to be adjusted, and a schematic view of the adjusted guidance interface can be seen in fig. 16 (in the figure, an initial interface is taken as an example, and an intermediate interface has a similar display effect to that of the termination). It can be understood that the adjustment principle of the folding screen mobile phone in the inverted horizontal screen state and the inverted vertical screen state is similar, and the details are not repeated herein.
It should be noted that, if the user rotates the folding-screen mobile phone before clicking the cooperative switch control, the UI interface control module only adjusts the display size of the guidance interface and does not display the guidance interface, that is, the adjusted guidance interface is still invisible. And if the user clicks the cooperative switch control after rotating the folding screen mobile phone, the UI control module directly displays the adjusted guide interface. If the user rotates the folding screen mobile phone after clicking the cooperative switch control, namely the folding screen mobile phone is rotated in the process of displaying the guide interface, the UI control module adjusts the guide interface and then immediately displays the guide interface, namely the user can visually see the size change of the guide interface.
According to the method for starting the cooperative function, under the condition that the folding screen mobile phone rotates, the display size of the guide interface can be adjusted to adapt to the display size of the outer display screen, so that the display attractiveness of the guide interface is improved.
Fig. 17 is a schematic flow diagram of another method for opening a cooperative function provided in this embodiment, and is applied to an electronic device with a foldable screen, where the method includes:
s301, receiving a click operation of a user on a collaborative switch control in a camera application.
S302, responding to the click operation, and acquiring the current state of the electronic equipment.
And S303, if the current state of the electronic equipment is the folding state, displaying a guide interface.
And S304, starting the cooperative function of the camera application.
The implementation process of steps S301 to S304 may refer to the description of the above embodiments, and the technical principle is similar, which is not described herein again.
The above details an example of the method for starting the cooperative function provided by the embodiment of the present application. It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, the functional modules may be divided into the functional modules corresponding to the functions, such as the detection unit, the processing unit, the display unit, and the like, or two or more functions may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and another division manner may be available in actual implementation.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the method for starting the cooperative function, so that the same effect as the effect of the implementation method can be achieved.
In case of an integrated unit, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the action of the electronic equipment. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 4.
The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is enabled to execute the method for starting a cooperative function according to any of the above embodiments.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the method for starting a cooperative function in the above embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip executes the method for starting the cooperative function in the above method embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method for starting a cooperative function is applied to an electronic device with a folding screen, and is characterized in that the folding screen comprises an outer display screen and an inner display screen, and a display interface of a first application is currently displayed on the outer display screen, and the method comprises the following steps:
when a first operation of a user on a first control on the display interface is received, acquiring the state of a folding screen of the electronic equipment, wherein the first operation is used for requesting the electronic equipment to start a cooperative function of a first application, and after the cooperative function of the first application is started, the display interface of the first application is simultaneously displayed on the outer display screen and the inner display screen;
if the state of the folding screen of the electronic equipment is a folding state, displaying a first guide interface on the outer display screen, wherein the first guide interface is used for guiding the user to unfold the folding screen;
and starting the cooperative function of the first application.
2. The method of claim 1, wherein the internal display screen comprises a first internal display screen and a second internal display screen, and wherein obtaining the state of the folding screen of the electronic device comprises:
acquiring an included angle between the first inner display screen and the second inner display screen;
and if the included angle between the first inner display screen and the second inner display screen is smaller than a first preset angle, determining that the state of the folding screen of the electronic equipment is a folding state.
3. The method of claim 2, wherein the first predetermined angle is 45 degrees.
4. The method of claim 2 or 3, wherein after displaying the first guidance interface on the external display screen, the method further comprises:
acquiring an included angle between the first inner display screen and the second inner display screen;
and if the included angle between the first inner display screen and the second inner display screen is acquired to be larger than or equal to the first preset angle, closing the first guide interface.
5. The method of claim 4, wherein the launching of the first application's collaboration function comprises:
after the first guide interface is closed, displaying the display interface of the first application on the external display screen, and starting the cooperative function of the first application.
6. The method of any of claims 1-5, wherein the first guidance interface comprises a demonstration of a change in the folded screen from the folded state to the unfolded state.
7. The method according to any one of claims 1-6, wherein if the display interface is the display interface when the first application is first run, the method further comprises:
acquiring view elements stored in the electronic equipment;
generating the first guide interface according to the view element.
8. The method according to any one of claims 1 to 6, wherein the first guidance interface is an interface obtained by adjusting a display size of a second guidance interface according to a posture change angle of the electronic device when the posture change of the electronic device is detected.
9. The method of claim 8, wherein the second guidance interface is an interface generated from view elements stored in the electronic device when the first application is run for the first time.
10. The method of any of claims 1-9, wherein the first guide interface includes a close control, and wherein after displaying the first guide interface on the outer display screen, the method further comprises:
and when a second operation of the user on the closing control is received, closing the first guide interface.
11. The method of any of claims 1-10, wherein the first operation is a click operation on the first control.
12. The method of any of claims 1-11, wherein the first application is a camera application.
13. An electronic device, comprising:
one or more processors;
one or more memories;
an outer display screen and an inner display screen;
the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-12.
14. A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 12.
15. A computer program product, the computer program product comprising: computer program code, characterized in that it, when run on an electronic device, causes the electronic device to perform the method of any of claims 1 to 12.
CN202111679783.7A 2021-12-31 2021-12-31 Method for starting cooperative function and electronic equipment Active CN115022527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111679783.7A CN115022527B (en) 2021-12-31 2021-12-31 Method for starting cooperative function and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111679783.7A CN115022527B (en) 2021-12-31 2021-12-31 Method for starting cooperative function and electronic equipment

Publications (2)

Publication Number Publication Date
CN115022527A true CN115022527A (en) 2022-09-06
CN115022527B CN115022527B (en) 2023-04-14

Family

ID=83065062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111679783.7A Active CN115022527B (en) 2021-12-31 2021-12-31 Method for starting cooperative function and electronic equipment

Country Status (1)

Country Link
CN (1) CN115022527B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117111796A (en) * 2023-04-28 2023-11-24 荣耀终端有限公司 Collaborative display method, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174042A (en) * 2018-01-23 2018-06-15 北京珠穆朗玛移动通信有限公司 Image pickup method, mobile terminal and the device of mobile terminal
CN108833769A (en) * 2018-05-18 2018-11-16 Oppo广东移动通信有限公司 Shoot display methods, device, mobile terminal and storage medium
CN109348020A (en) * 2018-11-30 2019-02-15 维沃移动通信(杭州)有限公司 A kind of photographic method and mobile terminal
CN110806829A (en) * 2019-09-05 2020-02-18 华为技术有限公司 Display method of equipment with folding screen and folding screen equipment
CN111190563A (en) * 2019-12-31 2020-05-22 华为技术有限公司 Interface display method and related device
CN111385456A (en) * 2018-12-27 2020-07-07 北京小米移动软件有限公司 Photographing preview method and device and storage medium
US20210105389A1 (en) * 2019-10-07 2021-04-08 Samsung Electronics Co., Ltd. Apparatus and method for providing illumination of camera in electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174042A (en) * 2018-01-23 2018-06-15 北京珠穆朗玛移动通信有限公司 Image pickup method, mobile terminal and the device of mobile terminal
CN108833769A (en) * 2018-05-18 2018-11-16 Oppo广东移动通信有限公司 Shoot display methods, device, mobile terminal and storage medium
CN109348020A (en) * 2018-11-30 2019-02-15 维沃移动通信(杭州)有限公司 A kind of photographic method and mobile terminal
CN111385456A (en) * 2018-12-27 2020-07-07 北京小米移动软件有限公司 Photographing preview method and device and storage medium
CN110806829A (en) * 2019-09-05 2020-02-18 华为技术有限公司 Display method of equipment with folding screen and folding screen equipment
US20210105389A1 (en) * 2019-10-07 2021-04-08 Samsung Electronics Co., Ltd. Apparatus and method for providing illumination of camera in electronic device
CN111190563A (en) * 2019-12-31 2020-05-22 华为技术有限公司 Interface display method and related device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117111796A (en) * 2023-04-28 2023-11-24 荣耀终端有限公司 Collaborative display method, equipment and medium

Also Published As

Publication number Publication date
CN115022527B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
WO2021027747A1 (en) Interface display method and device
CN109814766B (en) Application display method and electronic equipment
CN110543289B (en) Method for controlling volume and electronic equipment
CN114115587A (en) Method for controlling screen display and electronic equipment
CN109559270B (en) Image processing method and electronic equipment
CN113824873B (en) Image processing method and related electronic equipment
CN112714901A (en) Display control method of system navigation bar, graphical user interface and electronic equipment
CN110839096A (en) Touch method of equipment with folding screen and folding screen equipment
CN112114912A (en) User interface layout method and electronic equipment
CN112598594A (en) Color consistency correction method and related device
CN112558898A (en) Display method and electronic equipment
CN110401768B (en) Method and device for adjusting working state of electronic equipment
CN113761427A (en) Method for generating card in self-adaptive mode, terminal device and server
WO2022156473A1 (en) Video playing method and electronic device
CN113723144A (en) Face watching unlocking method and electronic equipment
CN115022527B (en) Method for starting cooperative function and electronic equipment
CN110769094A (en) Method for displaying user interface according to rear shell color and electronic equipment
CN115543159A (en) Wallpaper display method, device, equipment, storage medium and program product
CN112214294B (en) Method for calling hardware interface and electronic equipment
CN115567630A (en) Management method of electronic equipment, electronic equipment and readable storage medium
CN111722896B (en) Animation playing method, device, terminal and computer readable storage medium
CN115460318A (en) Display method and related device
CN115480849A (en) User interface layout method and related equipment
CN114816311B (en) Screen movement method and device
CN116723382B (en) Shooting method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant