Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning 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. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The screen splitting switching method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to fig. 2 h.
Fig. 1 is a schematic flow chart of a split screen switching method according to an embodiment of the present application. The method comprises the following steps:
s101, receiving a split screen switching instruction input aiming at a first window task stack and a second window task stack in a split screen interface;
the split screen means that the main screen is divided into a plurality of window task stacks according to a specific size and a specific position, wherein the window task stacks comprise a main window task stack and a plurality of secondary window task stacks. The multiple window task stacks displayed on the main screen form a split screen interface.
In the embodiment of the application, two split screens are taken as an example, and the split screen interface comprises a first window task stack and a second window task stack. The window task stack is a container of window tasks, which are used to display applications. The split screen switching is to exchange the positions of a first window task stack and a second window task stack in a split screen interface.
The first window task stack is different from the second window task stack. If the first window task stack is a primary window task stack and the second window task stack is a secondary window task stack, the first window task stack may include window tasks corresponding to a plurality of (greater than or equal to 2) application programs, and the second window task stack only includes window tasks corresponding to a single application program.
One possible way to enter the split screen mode is: when a plurality of applications (or tasks) are simultaneously opened on the main screen, the plurality of applications are displayed in the first window task stack. And window tasks corresponding to the plurality of application programs in the first window task stack are linearly arranged in the window task stack according to the stacking sequence. And long-time pressing and dragging the window task of one application program to the outside of the first window task stack, starting a split screen mode immediately, and displaying the window task of the application program in the second window task stack.
The opening mode of the plurality of application programs in the first window task stack may specifically be that the plurality of window tasks are opened by opening different application programs one by one, or the plurality of application programs are directly displayed in the first window task stack by opening a latest application list.
The method includes the steps of receiving a split-screen switching instruction input aiming at a first window task stack and a second window task stack in a split-screen interface, wherein the split-screen switching instruction specifically comprises the steps that a split-screen switching device receives a split-screen switching operation input by a user in a mode of voice, characters or pressing a physical button and the like, and the split-screen switching operation is recognized to generate the split-screen switching instruction. For example, when a user clicks a voice recognition button on the split-screen interface, the split-screen switching device receives a voice signal such as "split-screen switching" or "screen switching" sent by the user, then analyzes and recognizes the voice signal, and generates a split-screen switching instruction based on the recognized information.
For another example, if a split-screen switching button is provided on the split-screen interface, when the split-screen switching device detects that the user clicks the split-screen switching button, a split-screen switching instruction is generated.
Optionally, when the split-screen switching device detects that the user clicks the split-screen switching button, to avoid a user misoperation, information such as a clicked pressure value or fingerprint is acquired, the acquired information is compared with a preset threshold (a pressure threshold, a set fingerprint, and the like), and if it is determined that the comparison result does not satisfy a misoperation condition, a split-screen switching instruction is generated.
S102, acquiring source split screen parameters of the first window task stack and the second window task stack, and determining target split screen parameters of the first window task stack and the second window task stack after switching based on the source split screen parameters;
the source split screen parameters refer to parameters such as display position, display size, display direction and display form of the first window task stack and the second window task stack before switching.
The target split screen parameters refer to parameters such as target display positions, target display sizes, target display directions, target display forms and the like of the first window task stack and the second window task stack after switching.
After the split screen switching, the positions of the first window task stack and the second window task stack are exchanged, the source split screen parameter of the first window task stack is the target split screen parameter after the second window task stack is switched, and the source split screen parameter of the second window task stack is the target split screen parameter after the first window task stack is switched.
It should be noted that the display direction is the direction indicated by the main window task stack in the two window task stacks. For example, the first window task stack is a main window task stack, and the indicated direction is horizontal to the right, and then the display direction at this time is horizontal to the right.
In one possible implementation, two pairs of angular coordinates (a first vertex coordinate and a second vertex coordinate) of the screen split area are calculated based on the source display position, the display width, and the display height, then the first target display position is determined based on the display width, the display height, and the first vertex coordinate, and the second target display position is determined based on the display width, the display height, and the second vertex coordinate.
S103, performing split-screen switching processing on the first window task stack and the second window task stack based on the target split-screen parameter, and displaying the first window task stack and the second window task stack after split-screen switching.
In a feasible implementation manner, after the target split-screen parameters of the first window task Stack and the second window task Stack are determined, the first window task Stack and the second window task Stack can be refreshed based on the target split-screen parameters by using a method (Activity Manager service.reset Stack) for refreshing the window task Stack area in the system, and the switched split-screen interface is displayed on the main screen.
In the embodiment of the application, after a split-screen switching instruction input aiming at a first window task stack and a second window task stack in a split-screen interface is received, source split-screen parameters of the first window task stack and the second window task stack are obtained, target split-screen parameters of the first window task stack and the second window task stack after switching are determined based on the source split-screen parameters, and then the first window task stack and the second window task stack are subjected to split-screen switching processing and displayed. The quick switching of the split screen task stack can be realized only through a split screen switching instruction input by a user, the method is simple and convenient, and the convenience of split screen switching is improved; when the screen is large, the content required by the user can be quickly switched by controlling the switching of the switching control without moving the user on two sides of the screen, so that the user experience is improved; in addition, the split screen process is processed only by adopting a simple algorithm, so that the split screen switching efficiency is improved.
Please refer to fig. 2, which is a flowchart illustrating a split screen switching method according to an embodiment of the present application. The method comprises the following steps:
s201, a split screen interface comprises a screen splitting area, the screen splitting area is located between a first window task stack and a second window task stack, the screen splitting area comprises a switching control, and a split screen switching instruction input aiming at the switching control is received;
in this embodiment, the screen division region divides the first window task stack and the second window task stack in the split screen interface, and the user inputs a split screen switching instruction by clicking/pressing a switching control on the screen division region, thereby implementing split screen one-key switching.
In this embodiment, the shape, position, size, display form, and the like of the screen partition area and the switching control on the split screen interface are not specifically limited. For example, when the switching control is an entity key, the switching control may be disposed at a position of a frame of the display device; when the switching control is a virtual key, the switching control can be arranged in the middle of the screen partition area or at the edge of the window task stack. In the preferred embodiment of fig. 2a, the screen splitting area may be as narrow as possible, and may leave more display area for the first window task stack and the second window task stack. It should be noted that the switching control in fig. 2a is only an example, and in a preferred embodiment, the width of the switching control may be larger than the screen partition area, so that a user can select the switching control conveniently.
In a possible implementation manner, when the user clicks the switching control, the split-screen switching device detects the operation of the user and generates a split-screen switching instruction for instructing to perform split-screen switching.
As an example, fig. 2a to fig. 2b are schematic diagrams illustrating an operation of a split screen switching method according to an embodiment of the present application.
The electronic device 100 may be a touch-enabled large screen display device (e.g., an intelligent interactive tablet), and includes a first window task stack and a second window task stack located on the left and right sides of a display screen. The first window task stack includes anapplication 1, an application 2, and an application 3, and the second window task stack includes an application 4 (as shown in fig. 2 a). In the using process, if a user wants to change the positions of the two window task stacks, the user only needs to click the switching button on the screen partition area of the electronic device 100 to quickly switch the two task stacks. The switched split screen interface is shown in fig. 2 b.
Optionally, before receiving the split-screen switching instruction input for the switching control, the method further includes: receiving a document selection instruction input for the document list in a screen splitting mode of a screen splitting interface, and acquiring a selected first document and a selected second document; and respectively displaying the first document and the second document on a first window task stack and a second window task stack in the split-screen interface.
In the embodiment, a first window task stack and a second window task stack in the split-screen interface respectively display a first document and a second document, wherein the first document is different from the second document.
In the split-screen mode, if a user wants to change the application program displayed in the main window task stack of the split-screen interface, the user can input a document selection instruction by clicking a latest application button in the navigation bar, and reselect the application program required to be displayed in the main window task stack from a latest application list.
It should be noted that, if the application program in the secondary window task stack needs to be replaced, the split-screen mode needs to be exited, at this time, the application program in the secondary window task stack returns to the main window task stack, the main window task stack displays the opened multiple application programs, and the user reselects the application program that needs to be displayed in the secondary window task stack from the main window task stack to complete the replacement of the application program. Compared with the method that only one document is displayed on a large-screen device and different documents are displayed in a split-screen mode, the document replacement times are reduced, a user can quickly browse and compare different documents on the same screen or perform touch operation on different documents, and the working efficiency/entertainment is improved; the document division is convenient to distinguish among different documents, the switching control arranged on the division area is used for rapidly switching the documents at different positions displayed on the screen, and a user can switch the document at a position far away from the user to the position near the user through the touch switching control to perform corresponding touch operation. By applying the split-screen switching method provided by the embodiment of the application, a good operation experience can be provided for a user especially when large-screen equipment is used.
Please refer to fig. 2 c-2 f, which are schematic operation diagrams of a split screen switching method according to an embodiment of the present application.
In fig. 2c, the smartphone 200 displays two applications opened by the user in a split-screen manner, where the main window task stack displays application a and the sub-window task stack displays application B.
If the user wants to replace the application program a in the main window task stack with the application program C, the user clicks the latest application button in the navigation bar below the screen, and selects the application program C in the latest application list, so that the application program C can be displayed in the main window task stack (as shown in fig. 2 d).
If the user wants to replace the application program B in the secondary window task stack with the application program D, the application program B needs to be dragged into the primary window task stack, at this time, the split-screen mode exits, a plurality of recently opened application programs are displayed in the primary window task stack (as shown in fig. 2 e), the application program D is selected and the primary window task stack is dragged out, and then the replacement of the application program of the secondary window task stack is achieved (as shown in fig. 2 f).
S202, determining a main window task stack in the first window task stack and the second window task stack according to the source split screen parameters including the source split screen direction;
the source split screen direction refers to the split screen direction of the split screen window task stack before switching. According to different division conditions of the window task stack in the split screen interface, the split screen direction comprises a left direction, a right direction, an upper direction, a lower direction and the like.
When the source split-screen direction is determined, firstly, the screen source display direction of the split-screen interface (namely the screen display direction before the split-screen window task stack is switched) is acquired, and then whether the screen source display direction is a horizontal screen is judged. As an example, when the split screen mode is a dual split screen, if the screen source display direction is a horizontal screen, it is determined that the source split screen direction is left/right; and if the screen source display direction is vertical screen, determining the source split screen direction as up/down.
S203, determining the window direction indicated by the main window task stack as the source split screen direction of the first window task stack and the second window task stack.
In this embodiment, the window direction indicated by the main window task stack is determined as the source split screen direction of the first window task stack and the second window task stack. The main window task stack may be a window task stack including a plurality of (2 or more) application programs, or a window task stack including a single application program. According to the method and the device, the task stack of the main window is used as a reference, the direction of the window is used as the source split screen direction, the target split screen direction after split screen switching is conveniently and quickly determined, and operation is simple.
As an example, as shown in fig. 2a, the window task stack containing the applications 1-3 is taken as the main window task stack, and the split direction of the split interface shown in fig. 2a is left.
And S204, the target split screen parameters comprise a target split screen direction, and the reverse direction of the source split screen direction is determined as the target split screen direction of the first window task stack and the second window task stack after switching.
In this embodiment, determining target split-screen parameters of the first window task stack and the second window task stack after switching based on the source split-screen parameters includes determining split-screen directions of the first window task stack and the second window task stack after switching.
In this embodiment, taking two split screens as an example, switching means exchanging positions of a first window task stack and a second window task stack in a split screen interface, and a reverse direction of a source split screen direction is a target split screen direction of the first window task stack and the second window task stack after switching. The reverse direction of the source screen splitting direction is taken as the switched target screen splitting direction, the algorithm is simple, the operand is small, and the equipment loss can be reduced.
It should be noted that, for multi-split-screen window task stacks (three split screens and more), split screen switching may be cyclic switching or symmetric switching between multiple window task stacks, or switching between any two designated window task stacks.
S205, the source split screen parameters further include a source display position of the screen segmentation area, and a display width and a display height of the split screen interface, and the target split screen parameters further include a first target display position of the first window task stack and a second target display position of the second window task stack; calculating first vertex coordinates and second vertex coordinates of the screen segmentation area based on the source display position, the display width and the display height, wherein the first vertex coordinates and the second vertex coordinates are two diagonal coordinates of the screen segmentation area;
in this embodiment, the target display positions of the first window task stack and the second window task stack after switching are determined, the source display positions of the screen partition areas in the split screen interface are determined first, and then the source display positions of the first window task stack and the second window task stack are calculated by combining the display width and the display height of the split screen interface.
In a feasible implementation manner, the specific way to obtain the two pairs of angular coordinates of the screen segmentation area is as follows: the method comprises the steps of taking the upper Left corner of a Screen as a coordinate origin, firstly calculating the coordinates of an upper Left corner (namely a first vertex) of a View of a Screen segmentation area through a view.get Location On Screen algorithm (namely, the coordinates of the Left side (Left) and the Top (Top) of the Screen segmentation area), then obtaining the display Height and the display Width of the Screen segmentation area through a view.get Height and a view.get Width algorithm, and then calculating the coordinates of the Right side (Right) and the Bottom (Bottom) of the Screen segmentation area by combining the coordinates of the upper Left corner to obtain the coordinates of a lower Right corner (namely, a second vertex) of the Screen segmentation area.
S206, determining the first target display position based on the display width, the display height and the first vertex coordinate;
based on step S205, the present embodiment calculates a first target display position of the first window task stack and a second target display position of the second window task stack according to the first vertex coordinates (i.e., coordinates of the Left side (Left) and the Top (Top)) of the screen partition area, the display width and the display height of the split screen interface stored in the system.
Taking two split screens as an example, the screen resolution of the electronic device is 2k (namely, the screen display Width is 1920px, the display Height is 1080px), the source split screen direction (the first window task stack) is left, the first window task stack and the second window task stack are displayed on the split screen interface in equal proportion, and the screen split area display Width is 80px and the display Height is 1080px are calculated through the view. The source display area of the first window task stack is (0, 920,1080) through calculation. The display area is also a target display area after the task stack of the second window is switched.
S207, determining the second target display position based on the display width, the display height and the second vertex coordinate.
This step can be referred to as S206, and is not described herein.
S208, performing split-screen switching processing on the first window task stack and the second window task stack based on the target split-screen parameter, and displaying the first window task stack and the second window task stack after split-screen switching.
This step can be referred to as S103, and is not described herein.
Optionally, when a window moving instruction input for the screen partition region is received, a window moving parameter corresponding to the window moving instruction is obtained; and adjusting the display proportion of the first window task stack and the second window task stack on the split-screen interface based on the window movement parameter.
The window moving parameters include parameters such as a window moving direction and a window moving distance.
A user can press and drag the screen segmentation area by fingers or a pen to input a window moving instruction aiming at the screen segmentation area, and a first window task stack and a second window task stack in the split screen interface can be displayed in any proportion according to the movement of a screen segmentation area window.
And after the display position of the screen segmentation area is changed, updating the display data of the first window task stack and the second window task stack on the split screen interface.
By applying the method and the device, the user can drag the screen division area in the split screen interface arbitrarily to adjust the display proportion of the split screen, and then the display requirements under different conditions are met. For example, to specify the content of a document in a screenshot interface, the screenshot segmentation area may be dragged so that the document is displayed on the screen at the maximum scale for easy viewing by the user and other viewers.
As an example, fig. 2g to fig. 2h are schematic operation diagrams of a split screen switching method provided in an embodiment of the present application.
Fig. 2g shows the interface display result before the screen division area of the electronic device 300 is not moved, and the dotted line indicates the direction and distance of the screen division area moving under the dragging of the finger.
Fig. 2h shows the display result of the interface after the screen division area of the electronic device 300 is moved.
In the actual use process, a user can freely move the screen segmentation area on the split screen interface according to different display requirements.
In the embodiment of the application, after receiving a split-screen switching instruction input for a first window task stack and a second window task stack in a split-screen interface, a split-screen switching device obtains source split-screen parameters of the first window task stack and the second window task stack, determines target split-screen parameters of the first window task stack and the second window task stack after switching based on the source split-screen parameters, and performs split-screen switching processing and display on the first window task stack and the second window task stack. The quick switching of the split screen task stack can be realized only by inputting a split screen switching instruction by a user, so that the method is simple and convenient, and the convenience of split screen switching is improved; when the screen is large, the content required by the user can be quickly switched by controlling the switching of the switching control without moving the user on two sides of the screen, so that the user experience is improved; in addition, the split screen process is processed only by adopting a simple algorithm, so that the split screen switching efficiency is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 3 is a schematic structural diagram of a split-screen switching device according to an embodiment of the present application. Thedevice 1 comprises aninstruction receiving module 10, aparameter determining module 20 and a splitscreen switching module 30, wherein:
theinstruction receiving module 10 is configured to receive a split screen switching instruction input for a first window task stack and a second window task stack in a split screen interface;
aparameter determining module 20, connected to theinstruction receiving module 10, configured to obtain source split-screen parameters of the first window task stack and the second window task stack, and determine target split-screen parameters of the first window task stack and the second window task stack after switching based on the source split-screen parameters;
and the split-screen switching module 30 is connected to theparameter determining module 20, and is configured to perform split-screen switching processing on the first window task stack and the second window task stack based on the target split-screen parameter, and display the first window task stack and the second window task stack after split-screen switching.
Optionally, the split-screen interface includes a screen splitting area, and the screen splitting area is located between the first window task stack and the second window task stack;
the screen division area includes a switching control, and theinstruction receiving module 10 is specifically configured to:
and receiving a split screen switching instruction input aiming at the switching control.
Optionally, the source split-screen parameter includes a source split-screen direction, and theparameter determining module 20 is specifically configured to:
determining a main window task stack in the first window task stack and the second window task stack;
and determining the window direction indicated by the main window task stack as the source split screen direction of the first window task stack and the second window task stack.
Optionally, the target split-screen parameter includes a target split-screen direction, and theparameter determining module 20 is specifically configured to:
and determining the opposite direction of the source screen splitting direction as the target screen splitting direction of the first window task stack and the second window task stack after switching.
Optionally, the source split-screen parameters further include a source display position of the screen partition area, and a display width and a display height of the split-screen interface, and the target split-screen parameters further include a first target display position of the first window task stack and a second target display position of the second window task stack;
theparameter determining module 20 is specifically configured to:
calculating first vertex coordinates and second vertex coordinates of the screen segmentation area based on the source display position, the display width and the display height, wherein the first vertex coordinates and the second vertex coordinates are two diagonal coordinates of the screen segmentation area;
determining the first target display position based on the display width, the display height, and the first vertex coordinates;
determining the second target display position based on the display width, the display height, and the second vertex coordinates.
Optionally, as shown in fig. 4, a schematic structural diagram of a split-screen switching device provided in the embodiment of the present application is shown. Thedevice 1 further comprises: aparameter obtaining module 40, awindow adjusting module 50, adocument selecting module 60 and adocument displaying module 70, wherein:
theparameter obtaining module 40 is configured to obtain a window moving parameter corresponding to the window moving instruction when the instruction receiving module receives the window moving instruction input for the screen partition area;
and thewindow adjusting module 50 is configured to adjust display proportions of the first window task stack and the second window task stack on the split-screen interface based on the window movement parameter.
Thedocument selection module 60 is configured to receive a document selection instruction input for the document list in the screen splitting mode of the screen splitting interface, and acquire a first document and a second document that are selected;
and adocument display module 70, configured to display the first document and the second document in the first window task stack and the second window task stack in the split-screen interface, respectively.
It should be noted that, when the split-screen switching apparatus provided in the foregoing embodiment executes the split-screen switching method, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the split-screen switching device and the split-screen switching method provided by the above embodiments belong to the same concept, and the detailed implementation process thereof is referred to as the method embodiment, which is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, after an instruction receiving module of the split-screen switching device receives a split-screen switching instruction input for a first window task stack and a second window task stack in a split-screen interface, a parameter determining module obtains source split-screen parameters of the first window task stack and the second window task stack, determines target split-screen parameters of the first window task stack and the second window task stack after switching based on the source split-screen parameters, and a split-screen switching module performs split-screen switching processing on the first window task stack and the second window task stack and displays the first window task stack and the second window task stack. The quick switching of the split screen task stack can be realized only by inputting a split screen switching instruction by a user, so that the method is simple and convenient, and the convenience of split screen switching is improved; when the screen is large, the content required by the user can be quickly switched by controlling the switching of the switching control without moving the user on two sides of the screen, so that the user experience is improved; in addition, the split screen process is processed only by adopting a simple algorithm, so that the split screen switching efficiency is improved.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure.
In this embodiment, the electronic device includes a processor 510, a memory 520, a camera 530, and a microphone 540.
In this embodiment, the processor 510 is a control center of a computer system, and may be a processor of a physical machine or a processor of a virtual machine. In the present embodiment, the memory 520 stores at least one instruction, and the instruction is loaded and executed by the processor 510 to implement the methods in the embodiments described above. The electronic device in the embodiment of the present application may include, but is not limited to, a smart phone, a tablet computer, a palm computer, a Personal Digital Assistant (PAD), an interactive smart tablet, and other devices having a display function.
In some embodiments, camera 530 may include a front-facing camera and may also include a rear-facing camera.
In alternative embodiments of the present application, the microphone 540 may be a first microphone and a second microphone. One of the first microphone and the second microphone may be a primary microphone for receiving sounds of a user's conversation, voice or recording activity, and the other microphone may be a secondary microphone for reducing noise in cooperation with the primary microphone.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure.
In this embodiment, the electronic device 600 includes: a processor 601 and a memory 602.
In the embodiment of the present application, the processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the electronic device 600 further comprises: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and a power supply 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 604 may be one, providing a front panel of the electronic device 600; in other embodiments of the present application, the number of the display screens 604 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the electronic device 600 or in a folding design; in still other embodiments of the present application, the display screen 604 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device 600. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of an electronic apparatus, and a rear camera is disposed on a rear surface of the electronic apparatus. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 605 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 606 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 600. The microphone may also be an array microphone or an omni-directional pick-up microphone.
The power supply 607 is used to supply power to the various components in the electronic device 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the electronic device 600 shown in the embodiments of the present application does not limit the electronic device 600, and the electronic device 600 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
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.