Dual-system-based application operation method and device, electronic device, and storage medium
By displaying the application identifier of the second system in the first system and creating a display window, and by intercepting and converting operation signals, the problem of low efficiency in dual-system application operation is solved, and efficient operation of the second system application is achieved by directly operating it in the first system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN HAOLI INTELLIGENT TECH CO LTD
- Filing Date
- 2021-02-24
- Publication Date
- 2026-06-30
Smart Images

Figure CN112925570B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile communication technology, and in particular to an application operation method, apparatus, electronic device and storage medium based on a dual system. Background Technology
[0002] When installing a dual-boot system, the two operating systems are installed on separate partitions, and the later-installed system will not overwrite the previous one. Furthermore, each individual system has its own partition format, preventing conflicts. Currently, only one system is running, and switching between them is not possible.
[0003] Currently, in a dual-system setup, when using the current system and needing to operate applications on the other system, the video signal source must be switched to the other system to fully display its interface before the corresponding application can be opened. This method essentially overwrites the current system with the other system's operation, resulting in low efficiency for dual-system application operation. Therefore, a method to improve the efficiency of dual-system application operation is urgently needed. Summary of the Invention
[0004] The purpose of this application is to provide an application operation method, device, electronic device and storage medium based on a dual system, so as to improve the application operation efficiency of the dual system.
[0005] To address the aforementioned technical problems, this application provides an application operation method based on a dual-system architecture, configured in an electronic device, wherein the electronic device is configured with a first system and a second system, including:
[0006] The application identifier of the second system is displayed by the first system to obtain the launch signal of the user launching the target application of the second system;
[0007] The second system receives the startup signal to launch the target application and creates a display window corresponding to the target application in the first system.
[0008] The display information generated by the target application is captured and displayed through the display window;
[0009] The operation signal input by the user in the display window is obtained, and the operation signal is converted through the display window to obtain an operation conversion signal;
[0010] The second system parses the operation conversion signal so that the target application performs the corresponding operation in the operation signal.
[0011] To address the aforementioned technical problems, this application provides a dual-system application operation device configured in an electronic device, wherein the electronic device is configured with a first system and a second system, and the dual-system application operation device includes:
[0012] The startup signal acquisition module is used to display the application identifier of the second system through the first system in order to obtain the startup signal of the user launching the target application of the second system;
[0013] The display window creation module is used to receive the startup signal through the second system to launch the target application and create a display window corresponding to the target application in the first system.
[0014] The display information module is used to capture the display information generated by the target application and display the display information through the display window;
[0015] An operation signal conversion module is used to acquire the operation signal input by the user in the display window, and convert the operation signal through the display window to obtain an operation conversion signal;
[0016] The target application operation module is used to parse the operation conversion signal through the second system so that the target application executes the corresponding operation in the operation signal.
[0017] To solve the above-mentioned technical problems, one technical solution adopted by the present invention is to provide an electronic device, including one or more processors; and a memory for storing one or more programs, so that the one or more processors implement the application operation method based on the dual system described in any one of the above-mentioned methods.
[0018] To solve the above technical problems, one technical solution adopted by the present invention is: a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the application operation method based on a dual system as described above.
[0019] This invention provides an application operation method, apparatus, electronic device, and storage medium based on a dual-system architecture. Specifically, this invention displays the application identifier of the second system through a first system to obtain a startup signal from the user to launch a target application in the second system. The second system receives the startup signal to launch the target application and creates a corresponding display window for the target application in the first system. It captures the display information generated by the target application and displays it through the display window, allowing the application in the second system to be operated and displayed within the interface of the first system. Furthermore, it acquires the operation signal input by the user in the display window, converts the operation signal through the display window to obtain an operation conversion signal, and parses the operation conversion signal through the second system to enable the target application to execute the corresponding operation. This achieves the creation of a window for the corresponding application in the second system within the interface of the first system, and the conversion of the acquired operation signal on the first system to operate the corresponding application in the second system. This avoids the need to switch to the second system to operate the corresponding application in the second system, thereby improving the efficiency of dual-system application operation. Attached Figure Description
[0020] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 A flowchart of an implementation method for a dual-system application operation method provided in an embodiment of this application;
[0022] Figure 2 This is a flowchart illustrating an implementation of a sub-process in the application operation method based on a dual system provided in this application embodiment;
[0023] Figure 3 This is another implementation flowchart of a sub-process in the application operation method based on a dual system provided in the embodiments of this application;
[0024] Figure 4 This is another implementation flowchart of a sub-process in the application operation method based on a dual system provided in the embodiments of this application;
[0025] Figure 5 This is another implementation flowchart of a sub-process in the application operation method based on a dual system provided in the embodiments of this application;
[0026] Figure 6 This is another implementation flowchart of a sub-process in the application operation method based on a dual system provided in the embodiments of this application;
[0027] Figure 7 This is a schematic diagram of an application operation device based on a dual-system provided in an embodiment of this application;
[0028] Figure 8 This is a schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0030] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0032] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0033] It should be noted that the application operation method based on dual systems provided in this application embodiment is generally executed by electronic devices.
[0034] Please see Figure 1 , Figure 1 A specific implementation of the application operation method based on the dual system is shown.
[0035] It should be noted that if substantially the same result is obtained, the method of this invention is not based on... Figure 2 Limited to the order of the processes shown, this method includes the following steps:
[0036] S1: Display the application identifier of the second system through the first system to obtain the startup signal of the target application of the second system launched by the user.
[0037] Specifically, this dual-system application operation method is applied to an electronic device, which is equipped with a first system and a second system. The second system has at least one application, and the first and second systems share the display screen and memory of the electronic device. When using the interface of the first system, the display screen of the electronic device displays the interface of the first system; similarly, when using the interface of the second system, the display screen of the electronic device displays the interface of the second system. The solution provided by this application embodiment is that when using the interface of the first system, that is, when the display screen of the electronic device displays the interface of the first system, the relevant application of the second system can be operated in the interface of the first system without switching from the interface of the first system to the interface of the second system.
[0038] In one specific embodiment, the aforementioned electronic device is an all-in-one machine, which includes an Android system motherboard and a Windows system OPS computer. By connecting the Android system motherboard and the Windows system OPS computer to the same electronic device, they are combined into a common electronic device and share a display screen with a touch frame. Thus, the all-in-one machine includes both Android and Windows systems. This solution enables the use of the Android system's operating interface while launching and operating relevant Windows system applications on the display screen without switching to the Windows system's operating interface.
[0039] Specifically, by displaying the application identifier of the second system on the first system, which includes the name and icon of the relevant application in the second system, when the user needs to launch and operate an application in the second system, he will first click on the application identifier of the second system on the display interface of the first system. At this time, the first system will generate a launch signal for the target application in the second system. The electronic device will obtain the launch signal and send it to the second system so that the target application in the second system can be launched subsequently.
[0040] The application identifier of the second system refers to the identifier corresponding to the application of the second system generated on the display interface of the first system. The application identifier of the second system corresponds one-to-one with the application of the second system. By clicking the corresponding application identifier of the second system, the application of the corresponding second system can be launched.
[0041] Please see Figure 2 , Figure 2 A specific implementation prior to step S1 is shown, which includes:
[0042] S11: Establish a communication protocol between the first system and the second system.
[0043] Specifically, since data will be transmitted between the first system and the second system, a communication protocol is established between the first system and the second system.
[0044] A communication protocol, also known as a communication procedure, is an agreement between two communicating parties regarding the control of data transmission. This agreement includes standardized provisions for data format, synchronization methods, transmission speed, transmission steps, error detection and correction methods, and control character definitions. Both communicating parties must adhere to this agreement; it is also called a link control procedure.
[0045] S12: Send the application list information of the second system to the first system.
[0046] Specifically, in order to enable the launch and operation of related applications of the second system from the first system, it is necessary to first send the application list information of the second system to the first system.
[0047] It should be noted that during the boot process of both the first and second systems, the application list information of the second system is sent to the first system. Furthermore, the second system will only boot up after the first system has finished booting up. This is necessary to ensure that the application list information of the second system is sent to the first system.
[0048] S13: When the first system receives the application list information, it parses the application list information to obtain the identifier corresponding to each application in the application list information, which is used as the application identifier of the second system.
[0049] S14: Display the application identifier of each second system through the interface of the first system.
[0050] Specifically, since each application has a corresponding application identifier, when the first system receives the application list information, it parses the application list information to obtain the identifier corresponding to each application, and displays the application identifier of each second system through the interface of the first system.
[0051] Furthermore, the second system can be powered on first, and after the second system is powered on, the first system can be powered on, and the application list information of the first system can be sent to the second system. The application identifiers of the first system can be displayed on the interface of the second system, thereby enabling the relevant applications of the first system to be opened and operated on the interface of the second system.
[0052] In this implementation, a communication protocol is established between the first system and the second system to send the application list information of the second system to the first system. When the first system receives the application list information, it parses the application list information to obtain the identifier corresponding to each application in the application list information, which is used as the application identifier of the second system. The application identifier of the second system is displayed through the interface of the first system, thereby establishing the communication protocol between the first system and the second system and displaying the application identifier of the second system on the interface of the first system, so as to enable the subsequent launch and operation of the corresponding target application.
[0053] S2: Receive the start signal through the second system to start the target application and create a display window corresponding to the target application in the first system.
[0054] Specifically, after receiving the startup signal, the second system parses the signal to obtain the target application it points to, and then starts the target application. When starting the target application, a display window corresponding to the target application is created in the first system based on the application's information.
[0055] Please see Figure 3 , Figure 3 One specific implementation of step S2 is shown, which includes:
[0056] S21: Receive the start signal through the second system to start the target application.
[0057] S22: Generate the interface dimensions corresponding to the target application based on the target application.
[0058] The interface size refers to the size of the interface that needs to be displayed when the target application starts up, and the target application can be fully displayed through this interface size.
[0059] S23: Based on the interface size, create a display window in the first system that is not smaller than the interface size.
[0060] Specifically, the target application is launched in the second system, and its corresponding information, including the application's interface size, is obtained. This interface size is then sent to the first system, and a display window no smaller than the interface size is created in the first system.
[0061] In this embodiment, the second system receives a start signal to start the target application, and generates the interface size corresponding to the target application based on the target application. Based on the interface size, a display window with a size not smaller than the interface size is created in the first system. This enables the relevant applications of the second system to create windows in the interface of the first system, which facilitates subsequent operation of the target application and thus improves the application operation efficiency of the dual systems.
[0062] S3: Capture the display information generated by the target application and display the information through a display window.
[0063] Specifically, when the target application starts, it generates corresponding display information. Since the target application is a related application of the second system, the display information generated by the target application will be displayed first through the window of the second system. However, in order to operate the target application on the first system, an interception command will be set in advance on the second system. This interception command intercepts the display information generated by the target application and parses the display information into video stream data, which is then transmitted to the first system. The first system then parses the data and displays the information through the window created above.
[0064] Display information refers to the interface information that the target application needs to display in the window.
[0065] Please see Figure 4 , Figure 4 One specific implementation of step S3 is shown, which includes:
[0066] S31: Intercept the display information generated by the target application through the second system.
[0067] Specifically, the interception command is used to intercept the display information generated by the target application.
[0068] S32: Use Canvas to parse display information into video stream data.
[0069] The Canvas approach, a new tag added in HTML5, is used to generate images on a webpage in real time and allows manipulation of image content. Essentially, it's a bitmap that can be manipulated using JavaScript. In this embodiment, the Canvas approach is used, with HTML elements containing the image drawn using JavaScript to process display information and convert that information into video stream data.
[0070] S33: Send the video stream data to the first system for parsing to obtain display information, and then display the information through a display window.
[0071] Specifically, the obtained video stream data is transmitted from the second system to the first system, then parsed to obtain the corresponding display information, and then displayed through a display window.
[0072] In this embodiment, the second system intercepts the display information generated by the target application, and then uses Canvas to parse the display information into video stream data. The video stream data is sent to the first system for parsing to obtain display information, and then the display information is displayed through a display window. This allows the target application of the second system to be displayed through the interface of the first system, which is beneficial for operating the target application through the interface of the first system, thereby improving the application operation efficiency of the dual systems.
[0073] S4: Obtain the operation signal input by the user in the display window, and convert the operation signal through the display window to obtain the operation conversion signal.
[0074] Specifically, since the above steps have already launched and displayed the target application that the user needs to activate in the display window of the first system, when the user needs to perform further operations on the target application, the electronic device will obtain the operation signal corresponding to the relevant operation that the user needs to perform, and obtain the coordinate difference between the position information of the display window and the display interface of the second system. Then, by obtaining the coordinate signal of the operation signal, the coordinate signal and the coordinate difference are added together to obtain the operation conversion signal.
[0075] By obtaining the operation switching signal through coordinate signals and coordinate differences, since the position information is already determined, the display window created by the first system can still accurately operate the target application of the second system even after being dragged.
[0076] Please see Figure 5 , Figure 5 One specific implementation of step S4 is shown, which includes:
[0077] S41: Obtain the operation signal input by the user in the window, and obtain the operation coordinate signal corresponding to the operation signal.
[0078] Specifically, since the user inputs operation signals to the target user through the interface of the first system, these operation signals need to be transmitted to the second system so that the second system can implement the operation signals. Therefore, operation coordinate signals corresponding to the operation signals are required.
[0079] Among them, the operation coordinate signal refers to the coordinate information when the user performs an operation on the target user in the display window.
[0080] S42: Obtain the position information of the same preset position of the display interface and display window of the second system respectively.
[0081] It should be noted that the preset position is set according to the actual situation and is not limited here. In one specific embodiment, the preset position is the upper left corner of the display interface and display window.
[0082] S43: Determine the coordinate difference corresponding to the position information of the same preset position of the display interface and display window of the second system.
[0083] S44: Add the operation coordinate signal and the coordinate difference to obtain the operation conversion signal.
[0084] In one specific embodiment, the operation coordinate signal corresponding to the operation signal is obtained as (x1, y1). Then, the position information of the upper left corner of the display interface of the second system and the position information of the upper left corner of the display window are obtained as (x2, y2) and (x3, y3) respectively. The coordinate difference between the position information of the upper left corner of the display interface of the second system and the position information of the upper left corner of the display window is determined as (x2-x3, y2-y3). Then, the coordinate difference and the operation coordinate signal are added together to obtain the operation conversion signal (x2-x3+x1, y2-y3+y1).
[0085] In this embodiment, by acquiring the user's input operation signal in the window and the corresponding operation coordinate signal, the position information of the same preset position of the display interface and the display window of the second system are acquired respectively, and the coordinate difference corresponding to the position information of the same preset position of the display interface and the display window of the second system is determined. Finally, the operation coordinate signal and the coordinate difference are added together to obtain the operation conversion signal, thereby realizing the conversion of the operation signal, which facilitates the operation of the target application of the second system on the first system, thereby improving the application operation efficiency of the dual system.
[0086] S5: The second system parses the operation conversion signal so that the target application can perform the corresponding operation in the operation signal.
[0087] Specifically, since the above steps determine the operation conversion signal corresponding to the operation signal through the location information, the second system parses the operation conversion signal to obtain the corresponding operation information, and then parses and executes the operation information, so that the target application performs the corresponding operation in the operation signal, thereby displaying the target application of the second system on the interface of the first system and enabling the target application to be operated on the interface of the first system.
[0088] In this embodiment, the first system displays the application identifier of the second system to obtain the startup signal of the target application launched by the user in the second system. The second system receives the startup signal to launch the target application and creates a display window corresponding to the target application in the first system. The display information generated by the target application is captured and displayed through the display window, so that the application of the second system can be operated and displayed on the interface of the first system. Then, the operation signal input by the user in the display window is obtained and converted by the display window to obtain the operation conversion signal. The second system parses the operation conversion signal so that the target application executes the corresponding operation in the operation signal. This realizes the creation of the window of the corresponding application of the second system on the interface of the first system, and the operation of the corresponding application of the second system can be performed by converting the obtained operation signal on the first system. This avoids the need to switch to the second system to operate the corresponding application of the second system, thereby improving the application operation efficiency of the dual system.
[0089] Please see Figure 6 , Figure 6 A specific implementation following step S5 is shown, which includes:
[0090] S51: Obtain the user's instruction to close the target application.
[0091] Specifically, when a user needs to close a target application, the electronic device will receive the user's instruction to close the target application.
[0092] S52: Closes the target application on the second system via command and generates a window closing command.
[0093] S53: Close the display window of the first system based on the window close command.
[0094] Specifically, the target application should be closed first via a command, and then the display window should be closed via a generated window close command. If the display window is closed first, and then the target application is closed, the target application will have no window to support it, which can easily lead to errors.
[0095] In this implementation, by obtaining the user's instruction to close the target application, and then closing the target application in the second system through the instruction, a window closing instruction is generated, and the display window of the first system is closed based on the window closing instruction, thereby closing the target application and avoiding errors caused by the target application having no window to carry it.
[0096] Please refer to Figure 7 As a response to the above Figure 1 To implement the method shown, this application provides an embodiment of an application operation device based on a dual-system architecture. This device embodiment is similar to... Figure 1Corresponding to the method embodiments shown, the device can be specifically configured in various electronic devices.
[0097] like Figure 7 As shown, the dual-system application operation device of this embodiment includes: a start signal acquisition module 61, a display window creation module 62, a display information display module 63, an operation signal conversion module 64, and a target application operation module 65, wherein:
[0098] The startup signal acquisition module 61 is used to display the application identifier of the second system through the first system in order to obtain the startup signal of the target application of the user starting the second system.
[0099] The display window creation module 62 is used to receive a startup signal through the second system to start the target application and create a display window corresponding to the target application in the first system.
[0100] The display information module 63 is used to capture the display information generated by the target application and display the display information through a display window;
[0101] The operation signal conversion module 64 is used to acquire the operation signal input by the user in the display window, and convert the operation signal through the display window to obtain the operation conversion signal;
[0102] The target application operation module 65 is used to parse the operation conversion signal through the second system so that the target application can perform the corresponding operation in the operation signal.
[0103] Furthermore, prior to activating the signal acquisition module 61, the electronic device also includes:
[0104] The judgment result acquisition unit is used to traverse the configuration file, determine whether the specified branch exists in the configuration file, and obtain the judgment result;
[0105] The communication protocol establishment module is used to establish a communication protocol between the first system and the second system.
[0106] The application list information sending module is used to send the application list information of the second system to the first system;
[0107] The application list information parsing module is used to parse the application list information when the first system receives the application list information in order to obtain the identifier corresponding to each application in the application list information, which is used as the application identifier of the second system.
[0108] The application identifier display module is used to display the application identifier of each second system through the interface of the first system.
[0109] Furthermore, the display window creation module 62 includes:
[0110] The target application startup unit is used to receive a startup signal through the second system to start the target application;
[0111] The interface size generation unit is used to generate the interface size corresponding to the target application based on the target application.
[0112] The display window generation unit is used to create a display window in the first system that is not smaller than the interface size, based on the interface size.
[0113] Furthermore, the information display module 63 includes:
[0114] The display information generation unit is used to intercept the display information generated by the target application through the second system.
[0115] The display information parsing unit is used to parse display information into video stream data using a Canvas method;
[0116] The display information transfer unit is used to send video stream data to the first system for parsing to obtain display information, and then display the display information through a display window.
[0117] Furthermore, the operation signal conversion module 64 includes:
[0118] The operation signal acquisition unit is used to acquire the operation signal input by the user in the window and to acquire the operation coordinate signal corresponding to the operation signal;
[0119] The location information acquisition unit is used to acquire the location information of the same preset position of the display interface and display window of the second system, respectively.
[0120] The coordinate difference determination unit is used to determine the coordinate difference corresponding to the position information of the same preset position of the display interface and display window of the second system.
[0121] The operation signal conversion unit is used to add the operation coordinate signal and the coordinate difference to obtain the operation conversion signal.
[0122] Furthermore, following the target application operation module 65, the electronic device also includes:
[0123] The instruction acquisition module is used to acquire the user's instruction to close the target application;
[0124] The window close command generation module is used to close the target application in the second system via command and generate a window close command.
[0125] The window closing module is used to close the display window of the first system based on the window closing command.
[0126] To address the aforementioned technical problems, this application also provides an electronic device. Please refer to the following for details. Figure 8 , Figure 8 This is a basic structural block diagram of the electronic device in this embodiment.
[0127] In this embodiment, the electronic device 7 is an all-in-one machine. The all-in-one machine includes a motherboard configured with an Android system and an OPS computer configured with a Windows system. That is, the electronic device includes two sets of memory and a processor. The memory and the processor are interconnected through a system bus. The memory stores a computer program. When the processor executes the computer program, it implements the above-mentioned application operation method based on the dual system.
[0128] It should be noted that the figure only shows an electronic device 7 with three components: memory 71, processor 72, and network interface 73. However, it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Those skilled in the art will understand that the electronic device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0129] The memory 71 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 71 may be an internal storage unit of the electronic device 7, such as the hard disk or memory of the electronic device 7. In other embodiments, the memory 71 may also be an external storage device of the electronic device 7, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 7. Of course, the memory 71 may also include both internal storage units and external storage devices of the electronic device 7. In this embodiment, the memory 71 is typically used to store the operating system and various application software installed on the electronic device 7, such as program code for application operation methods based on dual systems. In addition, the memory 71 may also be used to temporarily store various types of data that have been output or will be output.
[0130] In some embodiments, processor 72 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. Processor 72 is typically used to control the overall operation of electronic device 7. In this embodiment, processor 72 is used to run program code stored in memory 71 or process data, for example, to run the program code of the dual-system-based application operation method described above, to implement various embodiments of the dual-system-based application operation method.
[0131] The network interface 73 may include a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 7 and other electronic devices.
[0132] This application also provides another embodiment, namely, a computer-readable storage medium storing a computer program that can be executed by at least one processor to cause the at least one processor to perform the steps of the dual-system application operation method described above.
[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0134] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.
Claims
1. A dual-system application operation method, configured in an electronic device, wherein the electronic device is configured with a first system and a second system, characterized in that, include: Establish a communication protocol between the first system and the second system; Send the application list information of the second system to the first system; When the first system receives the application list information, it parses the application list information to obtain the identifier corresponding to each application in the application list information, which is used as the application identifier of the second system. The application identifier of each of the second systems is displayed through the interface of the first system; The application identifier of the second system is displayed by the first system to obtain the launch signal of the user launching the target application of the second system; The second system receives the startup signal to launch the target application and creates a display window corresponding to the target application in the first system. The display information generated by the target application is captured and displayed through the display window; Obtain the operation signal input by the user in the window, and obtain the operation coordinate signal corresponding to the operation signal; Obtain the position information of the same preset position of the display interface and the display window of the second system respectively; Determine the coordinate difference corresponding to the position information of the same preset position of the display interface and the display window of the second system; The operation coordinate signal and the coordinate difference are added together to obtain the operation conversion signal; The second system parses the operation conversion signal so that the target application performs the corresponding operation in the operation signal; The step of intercepting the display information generated by the target application and displaying the display information through the display window includes: The second system captures the display information generated by the target application. The display information is parsed into video stream data using a Canvas method; The video stream data is sent to the first system for parsing to obtain the display information, and the display information is displayed through the display window.
2. The application operation method based on a dual system according to claim 1, characterized in that, The step of receiving the startup signal through the second system to launch the target application and creating a display window corresponding to the target application in the first system includes: The second system receives the startup signal to launch the target application. Based on the target application, generate the interface dimensions corresponding to the target application; Based on the interface size, a display window with a size not smaller than the interface size is created in the first system.
3. The application operation method based on a dual system according to any one of claims 1 to 2, characterized in that, After parsing the operation conversion signal through the second system to cause the target application to perform the corresponding operation in the operation signal, the method further includes: Obtain the user's instruction to close the target application; The command closes the target application in the second system and generates a window closing command. The display window of the first system is closed based on the window close command.
4. A dual-system application operation device, configured in an electronic device, wherein the electronic device is configured with a first system and a second system, characterized in that, The dual-system-based application operation device includes: A communication protocol establishment module is used to establish a communication protocol between the first system and the second system; The application list information sending module is used to send the application list information of the second system to the first system; The application list information parsing module is used to parse the application list information when the first system receives the application list information in order to obtain the identifier corresponding to each application in the application list information, which is used as the application identifier of the second system. The application identifier display module is used to display the application identifier of each application in the second system through the interface of the first system; The startup signal acquisition module is used to display the application identifier of the second system through the first system in order to obtain the startup signal of the user launching the target application of the second system; The display window creation module is used to receive the startup signal through the second system to launch the target application and create a display window corresponding to the target application in the first system. The display information module is used to capture the display information generated by the target application and display the display information through the display window; An operation signal acquisition unit is used to acquire the operation signal input by the user in the window, and to acquire the operation coordinate signal corresponding to the operation signal; A location information acquisition unit is used to acquire location information of the same preset position of the display interface and the display window of the second system, respectively. The coordinate difference determination unit is used to determine the coordinate difference between the position information of the display interface and the display window of the second system at the same preset position. An operation signal conversion unit is used to add the operation coordinate signal and the coordinate difference to obtain an operation conversion signal; The target application operation module is used to parse the operation conversion signal through the second system so that the target application executes the corresponding operation in the operation signal; The information display module includes: The display information generation unit is used to intercept the display information generated by the target application through the second system; The display information parsing unit is used to parse the display information into video stream data using a Canvas method; The display information transfer unit is used to send the video stream data to the first system for parsing to obtain the display information, and to display the display information through the display window.
5. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the application operation method based on a dual system as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the application operation method based on a dual system as described in any one of claims 1 to 3.