Screen splitting method, device and electronic equipment
By detecting device posture data in real time, preset conditions trigger split-screen requests, which solves the problem of difficult split-screen operations on mobile terminals, enables fast and convenient split-screen and combined-screen operations, and improves user experience and operating efficiency.
Patent Information
- Application Number
- CN202110974230.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-08-24
AI Technical Summary
In the existing technology, split-screen operation is not easy to implement on mobile terminals. The operation is cumbersome and has poor practicality. Especially in Android and iOS systems, the split-screen buttons are hidden or have unspecific functions, resulting in low user operation efficiency.
By detecting the posture data of the device in real time, including position and angle information, preset conditions trigger split-screen requests to achieve quick split-screen and combined-screen operations. Partition processing is performed based on the application's opening time and attributes, simplifying the split-screen process.
It realizes fast and convenient split-screen and combined-screen operation of the device, improves the user experience, matches the operation process with the actual usage scenario, and reduces false triggers and operation complexity.
Smart Images

Figure CN113672141B
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to a screen splitting method, device and electronic equipment. Background Art
[0002] The split-screen operation and use of mobile terminals has become a future trend, and even multi-screen operation has been realized. In the prior art, split-screen is realized by the following methods, including:
[0003] 1. Set a split screen button in the Android system and control the split screen based on the split screen button. However, the split screen button is hidden very deep in the Android system. You can only find the split screen button by entering the task manager, which is inconvenient to operate;
[0004] 2. There are major limitations when switching split-screen applications. The reason is that the application switching and the task manager overlap, making the task manager unusable while switching applications.
[0005] 3. The iOS system uses the dock bar for split-screen control. However, since the main function of the dock bar is to manage the most commonly used applications, it is not designed specifically for split-screen applications. Therefore, it is often the case that the application cannot be split, or users always have to click to enter the application instead of dragging to split the screen, causing users to repeat this process over and over again, reducing work efficiency.
[0006] The above three split-screen methods have the same problems and limitations, that is, the split-screen operation is not easy to implement, the operation is cumbersome, and the practicality is poor. Summary of the invention
[0007] The embodiments of the present invention provide a screen splitting method, device and electronic device, which can quickly perform screen splitting processing on a device based on the location and posture information of the device, so that the device can realize screen splitting in a manner that is easy to operate and has strong practicality.
[0008] According to a first aspect of an embodiment of the present invention, a screen splitting method is provided, including:
[0009] Real-time detection of the device's position and posture data at each moment;
[0010] When there are multiple consecutive moments of posture data that meet the split-screen condition, a split-screen request is triggered;
[0011] Based on the split-screen request, multiple applications currently running are processed in split-screen mode.
[0012] Optionally, in a possible implementation manner of the first aspect, the posture data includes detection position information and detection angle information, and the split-screen condition includes a preset time period and first preset path information and first preset angle information within the preset time period;
[0013] When there are multiple consecutive moments of posture data that meet the split-screen conditions, triggering the split-screen request includes:
[0014] Generate detection path information based on detection position information at multiple consecutive moments;
[0015] If the detected path information is the same as the first preset path information, comparing the detected angle information at multiple consecutive moments with the first preset angle information to obtain an angle comparison result;
[0016] A screen split request is triggered based on the angle comparison result.
[0017] Optionally, in a possible implementation manner of the first aspect, the posture data includes detection position information and detection angle information, and the split-screen condition includes a preset time period and first preset path information and first preset angle information within the preset time period;
[0018] When there are multiple consecutive moments of posture data that meet the split-screen conditions, triggering the split-screen request includes:
[0019] If the detection angle information at multiple consecutive moments corresponds to the first preset angle information within the preset time period, generating the detection path information based on the detection position information at multiple consecutive moments;
[0020] Comparing the detected path information with the first preset path information to obtain a path comparison result;
[0021] A split screen request is triggered based on the path comparison result.
[0022] Optionally, in a possible implementation manner of the first aspect, the split-screen processing of multiple applications currently running based on the split-screen request includes:
[0023] Get the start time of multiple running applications at the current moment;
[0024] A preset number of applications from multiple running applications are selected based on the start time and displayed in split-screen mode.
[0025] Optionally, in a possible implementation manner of the first aspect, selecting a preset number of applications from the plurality of running applications for split-screen display based on the start time includes:
[0026] Sort multiple running applications according to the start time of the running applications according to the preset logic;
[0027] Acquire attribute information of a running application, wherein the attribute information includes whether the application can be split into two screens or whether the application cannot be split into two screens;
[0028] A preset number of split-screen applications are selected according to the order of the running applications and displayed in split-screen.
[0029] Optionally, in a possible implementation manner of the first aspect, selecting a preset number of split-screen applications for split-screen display according to the order of the running applications includes:
[0030] Pre-set partitioning strategy;
[0031] The start time of the application that needs to be split screen is obtained, and the application is displayed in different areas based on the partition strategy and the start time.
[0032] Optionally, in a possible implementation of the first aspect, the method further includes:
[0033] If the detected angle information reaches the second preset angle information, receiving an adjustment instruction;
[0034] In response to the adjustment instruction, the display areas of the application in different regions are adjusted.
[0035] Optionally, in a possible implementation of the first aspect, the method further includes:
[0036] When there are multiple consecutive moments of posture data that meet the screen merging condition, a screen merging request is output;
[0037] Based on the screen merging request, multiple split-screen applications are merged.
[0038] Optionally, in a possible implementation manner of the first aspect, the posture data includes detection position information and detection angle information, and the screen closing condition includes a preset time period and second preset path information and second preset angle information within the preset time period;
[0039] When there are multiple consecutive moments of pose data that meet the screen-joining condition, the output screen-joining request includes:
[0040] Generate detection path information based on detection position information at multiple consecutive moments;
[0041] If the detection path information is the same as the second preset path information, comparing the detection angle information at multiple consecutive moments with the second preset angle information to obtain a second angle comparison result;
[0042] A screen merging request is output based on the second angle comparison result.
[0043] Optionally, in a possible implementation manner of the first aspect, the posture data includes detection position information and detection angle information, and the screen closing condition includes a preset time period and second preset path information and second preset angle information within the preset time period;
[0044] When there are multiple consecutive moments of pose data that meet the screen-joining condition, the output screen-joining request includes:
[0045] If the detection angle information at multiple consecutive moments corresponds to the second preset angle information within the preset time period, generating the detection path information based on the detection position information at multiple consecutive moments;
[0046] Comparing the detected path information with the second preset path information to obtain a path comparison result;
[0047] A screen merging request is output based on the path comparison result.
[0048] Optionally, in a possible implementation of the first aspect, the method further includes:
[0049] Obtain all running applications that are not participating in the split screen and whose attribute information indicates that the application can be split into two screens to generate an application candidate list;
[0050] Receive selected information, where the selected information includes at least one selected application in the candidate application list and one selected application in the current split screen;
[0051] Replace the app selected in the app candidate list with the app currently selected in the split screen.
[0052] According to a second aspect of an embodiment of the present invention, a screen splitting device is provided, including:
[0053] The detection module is used to detect the posture data of the device at each moment in real time;
[0054] A split-screen request module, used to trigger a split-screen request when there are multiple consecutive moments of posture data that meet the split-screen condition;
[0055] The split-screen processing module is used to perform split-screen processing on multiple applications currently running based on the split-screen request.
[0056] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the first aspect of the present invention and various methods that may be involved in the first aspect.
[0057] The present invention provides a split-screen method, device and electronic device, which can use the device's posture data as a condition for triggering a split-screen request. The user only needs to move or shake the device to achieve the split-screen effect, which is convenient and quick. When the need for split-screen is lost, the split-screen can be switched to a combined-screen state by moving or shaking the device in the same or similar manner.
[0058] When performing split-screen, the present invention determines the applications involved in the split-screen and the split-screen area where the applications are located according to the opening time of the applications, so that the split-screen process is more in line with the user's actual usage scenarios and usage habits. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A flowchart of a first implementation method of the split-screen method;
[0060] Figure 2 Schematic diagram of the device's posture change;
[0061] Figure 3 A schematic diagram for display area adjustment;
[0062] Figure 4 A flowchart of a second implementation of the split screen method
[0063] Figure 5 This is a structural diagram of the first implementation of the split-screen device. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0065] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0066] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0067] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0068] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.
[0069] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.
[0070] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."
[0071] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0072] An embodiment of the present invention provides a screen splitting method, such as Figure 1 The flow chart shown includes:
[0073] Step S110: Real-time detection of the posture data of the device at each moment. The posture data in the present invention is a general concept, which includes but is not limited to the position and posture of the device. In a possible implementation, the posture data includes detection position information and detection angle information.
[0074] The detected position information in the present invention can be the position of the device relative to the horizontal plane, any target object, or any fixed coordinate. The detected angle information can be the angle change of the device relative to the previous moment, or the angle change of the device relative to the horizontal plane.
[0075] like Figure 2 As shown, the device can change its position by the user shaking it up and down.
[0076] In a possible implementation, the above-mentioned detection position information and detection angle information may be obtained through a measuring device such as a gyroscope, an angular velocity sensor, an infrared sensor, etc. provided in the device.
[0077] Step S120: When there are multiple consecutive moments of posture data that meet the split screen condition, a split screen request is triggered. The present invention pre-sets the split screen condition, for example, the tilt angle of the device is greater than 30 degrees, and it is tilted three times in a row (left-right or right-left).
[0078] The split screen condition includes a preset time period and first preset path information and first preset angle information within the preset time period. The preset time period in the present invention may be 10 seconds, 5 seconds or 3 seconds, the first preset path information may be that the device is tilted three times in a row (left-right-left or right-left-right), and the first preset angle information may be that the tilt angle (relative to the horizontal plane or the angle at the previous moment) is greater than 30 degrees, 35 degrees, etc.
[0079] In one embodiment, step S120 includes:
[0080] The detection path information is generated based on the detection position information of multiple consecutive moments. The present invention detects the position of the device at each moment in real time to obtain the detection position information, and then connects the detection position information in sequence according to the moment relationship to obtain the detection path information.
[0081] If the detection path information is the same as the first preset path information, the detection angle information of multiple consecutive moments is compared with the first preset angle information to obtain an angle comparison result. When it is judged that the detection path information is the same as the first preset path information, it proves that the user may have the intention to trigger the device to split the application at this time. In order to avoid false triggering, the present invention will further compare the detection angle information of multiple consecutive moments with the first preset angle information. Among them, the first preset angle information can be a range, for example, 30 degrees to 35 degrees, etc. The angle comparison result may be that all the detection angle information is the same or corresponds to the first preset angle information, or it may be that part of the detection angle information is the same or corresponds to the first preset angle information.
[0082] The split screen request is triggered based on the angle comparison result. The present invention can trigger the split screen request when all the detected angle information is the same as or corresponds to the first preset angle information.
[0083] The present invention triggers the split screen request through two conditions in sequence, the first condition is that the detection path information is the same as the first preset path information, and the second condition is that all detection angle information is the same as or corresponds to the first preset angle information. Triggering the split screen request through two conditions can effectively avoid the occurrence of false triggering. In the scenario of false triggering, it is more difficult to achieve the same as the first preset path information, so in one embodiment of the present invention, the same as the first preset path information is used as the first condition, and then the detection angle information does not need to be frequently compared with the first preset angle information, thereby reducing the amount of data processing.
[0084] In another embodiment, step S120 includes:
[0085] If the detection angle information of multiple consecutive moments corresponds to the first preset angle information within the preset time period, the detection path information is generated based on the detection position information of multiple consecutive moments. When it is determined that the detection angle information of multiple consecutive moments is the same or corresponding, it proves that the user may have the intention to trigger the device to split the application.
[0086] The detected path information is compared with the first preset path information to obtain a path comparison result. In order to avoid false triggering, the present invention further compares the detected path information with the first preset path information.
[0087] A split screen request is triggered based on the path comparison result. The path comparison result may be that the detection path information is the same as the first preset path information, or may be that the detection path information is different from the first preset path information. If the path comparison result is that the detection path information is the same as the first preset path information, a split screen request is triggered.
[0088] Comparing the steps of the above two embodiments, the first condition in another embodiment is the first preset angle information, and the second condition is the first preset path information. Based on the above differences, another embodiment can compare the detection angle information of the device in real time, and only when all the detection angle information within the preset time period corresponds to the first preset angle information, will the detection path information be compared with the first preset path information. This method requires a large amount of data to be processed in real time, but the response time is shorter, so that the user can achieve split screen with a shorter delay.
[0089] Step S130: Split-screen processing is performed on multiple applications currently running based on the split-screen request. After receiving the split-screen request, the present invention will split-screen multiple applications, where the multiple applications can be 2, 3, 4, etc. The present invention does not impose any restrictions on the number of applications in the split-screen. Among them, the running applications that do not participate in the split-screen can be displayed in the task manager.
[0090] Wherein, step S130 includes:
[0091] Get the opening time of multiple running applications at the current moment. In actual use, the opening time of each APP and software running in the device is different. The present invention will determine the application that needs to be split screen at the current moment according to the opening time of the application.
[0092] Based on the start time, a preset number of applications from a plurality of running applications are selected for split-screen display. The preset number may be pre-set, and the present invention selects a corresponding number of applications for split-screen display according to the preset number.
[0093] In a possible implementation, selecting a preset number of applications from a plurality of running applications for split-screen display based on the start time includes:
[0094] According to the start time of the running applications, multiple running applications are sorted according to the preset logic. The preset logic can be from recent to far or from far to recent. The present invention will sort the running applications according to the start time of the applications. For example, the current time is 10:00, and multiple applications have the following start times, as shown in Table 1:
[0095] Device Name Opening time Property information A 9:58 Split screen B 9:47 Cannot split screen C 9:52 Split screen D 9:33 Split screen
[0096] Table 1
[0097] According to the preset logical sorting from near to far, the running applications are sorted as A(9:58), C(9:52), B(9:47), D(9:33). According to the preset logical sorting from far to near, D(9:33), B(9:47), C(9:52), A(9:58).
[0098] Acquire the attribute information of the running application, wherein the attribute information includes whether the application can be split or not. Since the scope of application and scenario of each application are different, the present invention distinguishes the running applications according to the attribute information. For example, the attribute information of application A, application C and application D is split, and the attribute information of application B is not split.
[0099] According to the order of the running applications, a preset number of split-screen applications are selected and displayed in split-screen. For example, the preset number is 2, and the preset logical order is from near to far, then the four running applications, Application A, Application B, Application C, and Application D, will be selected in order. First, determine whether Application A is a split-screen application. If Application A is a split-screen application, then Application A is selected at this time; then determine whether Application B is a split-screen application. If Application B is a non-split-screen application, then Application B is not selected at this time. Then determine whether Application C is a split-screen application. If Application C is a split-screen application, then Application C is selected. Since the preset number is 2, the number of selected applications has reached 2 at this time, and no application screening or selection will be performed at this time. The selected Application A and Application C are displayed in split-screen.
[0100] In a possible implementation, selecting a preset number of split-screen applications for split-screen display according to the order of the running applications includes:
[0101] Pre-set partition strategy. The partition strategy in the present invention refers to pointing to the area where the application is located when it is displayed in split screen.
[0102] Get the start time of the application that needs to be split screen, and display the application in different areas based on the partition strategy and the start time. The partition strategy in the present invention is achieved based on the start time. For example, the partition strategy can be to display the applications from left to right on the device screen in sequence according to the start time from near to far. For example, the selected application A and application C are displayed in split screen, and the start time of application A is closer than the start time of application C, then application A is displayed on the left side of the device screen, and application B is displayed on the right side of the device screen.
[0103] In a possible implementation, it further includes:
[0104] If the detected angle information reaches the second preset angle information, an adjustment instruction is received. The angle of the second preset angle information is preferably set to be greater than the angle of the first preset angle information. The adjustment instruction is an instruction for the user to adjust the area occupied by each application according to actual needs. The adjustment instruction can be received based on a physical button on the device or a virtual button on the screen, and the present invention does not impose any limitation on this.
[0105] In response to the adjustment instruction, the display area of the application in different regions is adjusted. Figure 3 As shown, the different areas of the areas where different applications are located are adjusted to make the split screen of the device more in line with the needs and requirements of users.
[0106] like Figure 4 As shown, the present invention also includes:
[0107] Step S140: When there are multiple consecutive moments of posture data that meet the screen merging condition, a screen merging request is output. After the user has used the split screen function of the device, the user can use the same or similar method as the split screen operation to switch the device in the split screen state to the device in the non-split screen state.
[0108] The screen-closing condition includes a preset time period and second preset path information and second preset angle information within the preset time period. The second preset path information and second preset angle information may be the same as the first preset path information and first preset angle information.
[0109] In one embodiment, step S140 includes:
[0110] Generate detection path information based on detection position information at multiple consecutive moments;
[0111] If the detection path information is the same as the second preset path information, comparing the detection angle information at multiple consecutive moments with the second preset angle information to obtain a second angle comparison result;
[0112] A screen merging request is output based on the second angle comparison result.
[0113] The first embodiment of step S140 is similar to the first embodiment of step S120, and the present invention will not describe it in detail.
[0114] In another embodiment, step S140 includes:
[0115] If the detection angle information at multiple consecutive moments corresponds to the second preset angle information within the preset time period, generating the detection path information based on the detection position information at multiple consecutive moments;
[0116] Comparing the detected path information with the second preset path information to obtain a path comparison result;
[0117] A screen merging request is output based on the path comparison result.
[0118] Step S150: Combine multiple split-screen applications based on the combined screen request. During combined screen processing, applications in the left area of the device screen can be displayed in full screen, and applications in the right area can be returned to the task manager. The area in the present invention can be presented in the form of a window.
[0119] The technical solution provided by the present invention can not only perform fast screen splitting, but also fast screen merging, and the operation procedures of screen merging and splitting can be the same or similar, which is easy for users to operate and has high practicality.
[0120] The present invention also includes:
[0121] Get all running applications that are not participating in the split screen and whose attribute information indicates that the application can be split, and generate an application candidate list. In the actual use of the device, some applications that can be split may participate in the split screen, while some applications that can be split may not participate in the split screen. Therefore, an application candidate list will be generated at this time to facilitate users to replace the split screen applications as needed.
[0122] Selected information is received, where the selected information includes at least any one application in the selected application candidate list and any one application in the current split screen.
[0123] Replace the application selected in the application candidate list with the application selected in the current split screen. The present invention will replace the application according to the user's selection information, which is convenient and quick. The implementation method can be that the user first selects the application in the candidate list and then selects the application in the split screen. The present invention does not limit the selection method.
[0124] The embodiment of the present invention provides a split screen device, such as Figure 5 As shown, including:
[0125] The detection module is used to detect the posture data of the device at each moment in real time;
[0126] A split-screen request module, used to trigger a split-screen request when there are multiple consecutive moments of posture data that meet the split-screen condition;
[0127] The split-screen processing module is used to perform split-screen processing on multiple applications currently running based on the split-screen request.
[0128] An embodiment of the present invention provides an electronic device, the split screen device comprising: a processor, a memory and a computer program; wherein
[0129] The memory is used to store the computer program, and the memory may also be a flash memory. The computer program is, for example, an application program, a functional module, etc. for implementing the above method.
[0130] The processor is used to execute the computer program stored in the memory to implement each step performed by the device in the above method. For details, please refer to the relevant description in the above method embodiment.
[0131] Optionally, the memory can be independent or integrated with the processor.
[0132] When the memory is a device independent of the processor, the device may further include:
[0133] A bus is used to connect the memory and the processor.
[0134] The present invention also provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided by the various embodiments described above.
[0135] Among them, the readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general or special-purpose computer. For example, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, abbreviated as: ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the readable storage medium can also exist in a communication device as discrete components. The readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0136] The present invention also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of a device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.
[0137] In the embodiments of the above-mentioned devices, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A screen splitting method, characterized in that: include: Real-time detection of the posture data of the device at each moment, wherein the posture data includes detection position information and detection angle information, wherein the detection angle information is the angle change of the device relative to the horizontal plane; When there are multiple consecutive moments of posture data that meet the split-screen condition, a split-screen request is triggered, where the split-screen condition includes a preset time period and first preset path information and first preset angle information within the preset time period; Splitting the screen of multiple applications currently running based on the split-screen request; When there are multiple consecutive moments of posture data that meet the screen merging condition, output a screen merging request; based on the screen merging request, perform screen merging processing on multiple split-screen applications, wherein the screen merging condition includes second preset path information and second preset angle information within the preset time period; The first preset path information and the second preset path information are used to compare with the detection path information to obtain a path comparison result, and the detection path information is generated based on the detection position information at multiple consecutive moments.
2. The screen splitting method according to claim 1, characterized in that: When there are multiple consecutive moments of posture data that meet the split-screen conditions, triggering the split-screen request includes: Generate detection path information based on detection position information at multiple consecutive moments; If the detected path information is the same as the first preset path information, comparing the detected angle information at multiple consecutive moments with the first preset angle information to obtain an angle comparison result; A screen split request is triggered based on the angle comparison result.
3. The screen splitting method according to claim 1, characterized in that: When there are multiple consecutive moments of posture data that meet the split-screen conditions, triggering the split-screen request includes: If the detection angle information at multiple consecutive moments corresponds to the first preset angle information within the preset time period, generating the detection path information based on the detection position information at multiple consecutive moments; Comparing the detected path information with the first preset path information to obtain a path comparison result; A split screen request is triggered based on the path comparison result.
4. The screen splitting method according to claim 1, characterized in that: The split-screen processing of multiple applications currently running based on the split-screen request includes: Get the start time of multiple running applications at the current moment; A preset number of applications from multiple running applications are selected based on the start time and displayed in split-screen mode.
5. The screen splitting method according to claim 4, characterized in that: Selecting a preset number of applications from multiple running applications based on the start time to display them in split screen includes: Sort multiple running applications according to the start time of the running applications according to the preset logic; Acquire attribute information of a running application, wherein the attribute information includes whether the application can be split into two screens or whether the application cannot be split into two screens; A preset number of split-screen applications are selected according to the order of the running applications and displayed in split-screen.
6. The screen splitting method according to claim 5, characterized in that: Selecting a preset number of split-screen applications according to the order of the running applications for split-screen display includes: Pre-set partitioning strategy; The start time of the application that needs to be split screen is obtained, and the application is displayed in different areas based on the partition strategy and the start time.
7. The screen splitting method according to claim 6, characterized in that: Also includes: If the detected angle information reaches the second preset angle information, receiving an adjustment instruction; In response to the adjustment instruction, the display areas of the application in different regions are adjusted.
8. The screen splitting method according to claim 1, characterized in that: When there are multiple consecutive moments of pose data that meet the screen-joining condition, the output screen-joining request includes: Generate detection path information based on detection position information at multiple consecutive moments; If the detection path information is the same as the second preset path information, comparing the detection angle information at multiple consecutive moments with the second preset angle information to obtain a second angle comparison result; A screen merging request is output based on the second angle comparison result.
9. The screen splitting method according to claim 1, characterized in that: When there are multiple consecutive moments of pose data that meet the screen-joining condition, the output screen-joining request includes: If the detection angle information at multiple consecutive moments corresponds to the second preset angle information within the preset time period, generating the detection path information based on the detection position information at multiple consecutive moments; Comparing the detected path information with the second preset path information to obtain a path comparison result; A screen merging request is output based on the path comparison result.
10. The screen splitting method according to claim 5, characterized in that: Also includes: Obtain all running applications that are not participating in the split screen and whose attribute information indicates that the application can be split into two screens to generate an application candidate list; Receive selected information, where the selected information includes at least one selected application in the candidate application list and one selected application in the current split screen; Replace the app selected in the app candidate list with the app currently selected in the split screen.
11. A split screen device, characterized in that: include: A detection module, used for real-time detection of the posture data of the device at each moment, wherein the posture data includes detection position information and detection angle information, wherein the detection angle information is the angle change of the device relative to the horizontal plane; A split-screen request module, used to trigger a split-screen request when there are multiple consecutive moments of posture data that meet the split-screen condition, wherein the split-screen condition includes a preset time period and first preset path information and first preset angle information within the preset time period; A split-screen processing module, used for performing split-screen processing on multiple applications currently running based on the split-screen request; The screen splitting device is further configured to output a screen-joining request when there are multiple consecutive moments of posture data that meet a screen-joining condition; and perform screen-joining processing on multiple split-screen applications based on the screen-joining request, wherein the screen-joining condition includes second preset path information and second preset angle information within the preset time period; The first preset path information and the second preset path information are used to compare with the detection path information to obtain a path comparison result, and the detection path information is generated based on the detection position information at multiple consecutive moments.
12. An electronic device, characterized in that: include: A memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the method according to any one of claims 1 to 10.
