WO2020238425A1 - 一种应用程序启动方法及装置 - Google Patents

一种应用程序启动方法及装置 Download PDF

Info

Publication number
WO2020238425A1
WO2020238425A1 PCT/CN2020/083724 CN2020083724W WO2020238425A1 WO 2020238425 A1 WO2020238425 A1 WO 2020238425A1 CN 2020083724 W CN2020083724 W CN 2020083724W WO 2020238425 A1 WO2020238425 A1 WO 2020238425A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating system
application
system unit
application program
instruction
Prior art date
Application number
PCT/CN2020/083724
Other languages
English (en)
French (fr)
Inventor
叶志龙
闫科锋
张华飞
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2020238425A1 publication Critical patent/WO2020238425A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • This application relates to the field of computer technology, in particular to a method and device for starting an application program.
  • the operating system can support the installation of various applications and bring users a variety of experience. .
  • Different operating systems fundamentally determine different ways of interaction. Different operating systems have their own advantages, and it is difficult for one operating system to integrate the advantages of all operating systems. If a user wants to have a different operating experience, it requires an electronic device to install two or more operating systems.
  • the purpose of the embodiments of the present application is to provide a method and device for starting an application program to improve the speed of starting an application program across operating systems.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides an application startup method, which is applied to a first system unit in an electronic device.
  • the electronic device includes multiple system units. Each system unit runs a different operating system.
  • the first system unit is A system unit running a first operating system in an electronic device, and the method includes:
  • startup instruction is an instruction generated when an application program of the second operating system is selected to start when the electronic device is running the first operating system, and the startup instruction includes identification information of the application program
  • the startup instruction is sent to the second system unit, where the second system unit is a system unit running a second operating system in the electronic device, so that the second system unit starts the application program according to the identification information.
  • the method before the step of receiving the start instruction, the method further includes:
  • the steps of receiving the start instruction include:
  • the step of sending the startup instruction to the second system unit includes:
  • the start instruction is sent to the second system unit through the data channel.
  • the method further includes:
  • the signaling interaction with the second system unit through the signaling channel is used to restore normal communication of the data channel, or based on the identification information, the start instruction is sent to the second system unit through the signaling channel.
  • the method further includes:
  • the application program installation package is sent to the second system unit, so that the second system unit installs the application program installation package.
  • the method further includes:
  • an uninstall instruction is sent to the second system unit, so that the second system unit uninstalls the application program.
  • an embodiment of the present application provides an application startup device, which is applied to a first system unit in an electronic device.
  • the electronic device includes multiple system units, and each system unit runs a different operating system.
  • the first system unit is A system unit running a first operating system in an electronic device, the device includes:
  • the receiving module is configured to receive a startup instruction, where the startup instruction is an instruction generated when an application program of the second operating system is selected to start when the electronic device is running the first operating system, and the startup instruction includes identification information of the application program;
  • the sending module is used to send the startup instruction to the second system unit based on the identification information, where the second system unit is the system unit running the second operating system in the electronic device, so that the second system unit starts the application according to the identification information program.
  • the sending module is also used to send a display request message to the second system unit;
  • the receiving module is further configured to receive a response message replies from the second system unit, where the response message includes icon data of all application programs of the second operating system;
  • the sending module is also used to send the icon data of all the application programs of the second operating system to the display screen, so that the display screen displays the icon data of all the application programs of the second operating system in the application interface of the first operating system;
  • the receiving module is specifically used to:
  • the sending module is specifically used for:
  • the start instruction is sent to the second system unit through the data channel.
  • the device further includes:
  • Detection module used to detect whether the data channel is abnormal
  • the sending module is specifically used to if the detection module detects an abnormality in the data channel, it will interact with the second system unit through the signaling channel to restore normal communication on the data channel, or, based on the identification information, through the signaling channel, it will start The instruction is sent to the second system unit.
  • the receiving module is also used to receive an application program installation package, where the application program installation package includes the type of the application program;
  • the sending module is also used to send the application installation package to the second system unit when the type of the application is determined to be the application of the second operating system, so that the second system unit installs the application installation package.
  • the receiving module is also used to receive an uninstall instruction, where the uninstall instruction includes the type of the application program to be uninstalled;
  • the sending module is further configured to send an uninstall instruction to the second system unit when it is determined that the type of the application to be uninstalled is an application of the second operating system, so that the second system unit uninstalls the application.
  • an embodiment of the present application provides an electronic device including multiple system units and a display screen, and each system unit runs a different operating system;
  • the display screen is used to display the application interface of the operating system and the program interface of the application;
  • Each system unit includes a processor and a memory, among which,
  • Memory used to store computer programs
  • the processor is configured to implement the method provided in the first aspect of the embodiment of the present application when executing the computer program stored in the memory.
  • an embodiment of the present application provides a machine-readable storage medium, and a computer program is stored in the machine-readable storage medium.
  • the computer program is executed by a processor, the method provided in the first aspect of the embodiment of the present application is implemented.
  • an embodiment of the present application provides an application program for execution at runtime: the method provided in the first aspect of the embodiment of the present application.
  • the first system unit running the first operating system in the electronic device receives the startup instruction, it sends the startup instruction to the operating system based on the identification information of the application in the startup instruction.
  • the second system unit of the second operating system enables the second system unit to start the application program according to the identification information of the application program.
  • the first operating system is the operating system that the electronic device is running.
  • the first system unit running the first operating system receives a start instruction to start the application of the second operating system, it sends the start instruction to run the second operation
  • the second system unit of the system the application program is started by the second system unit, there is no need to exit the first operating system and then start the second operating system first, and then start the application in the second operating system, the user can operate with one-click Realize cross-operating system startup application program, improve the speed of cross-operating system startup application program.
  • FIG. 1 is a schematic flowchart of an application startup method according to an embodiment of this application
  • FIG. 2 is a schematic flowchart of an application startup method according to another embodiment of this application.
  • FIG. 3 is a schematic structural diagram of an interactive device according to an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of an application program launching device according to an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the application.
  • Fig. 6 is a schematic structural diagram of a system unit in an electronic device according to an embodiment of the application.
  • embodiments of the present application provide an application launching method, device, electronic equipment, and machine-readable storage medium.
  • the application startup method provided by the embodiment of this application will be introduced.
  • the execution subject of the application startup method provided by the embodiments of the present application may be an electronic device with multiple operating systems.
  • the electronic device includes multiple system units that can run operating systems in different modes, and each system unit runs in one mode.
  • Operating system for example, Windows operating system, Android operating system, Linux operating system, etc.
  • the system unit may be a software unit or a hardware unit, and no specific limitation is made here.
  • the electronic device can be a mobile phone, a personal computer, an interactive device that uses infrared frames or capacitive touch to achieve touch, etc.
  • an application startup method provided by an embodiment of the present application will be introduced with the execution process of the first system unit running the first operating system in the above electronic device. As shown in FIG. 1, the method includes the following steps.
  • S101 Receive a startup instruction, where the startup instruction is an instruction generated when an application program of a second operating system is selected to start when an electronic device runs a first operating system, and the startup instruction includes identification information of the application program.
  • the electronic device is currently running the first operating system.
  • the user wants to start the application of the second operating system, he will perform corresponding operations on the electronic device, for example, input the application of the second operating system on the electronic device.
  • the identification information of the second operating system is selected and displayed on the application interface of the first operating system currently displayed by the electronic device, and the like.
  • a startup instruction is generated.
  • the startup instruction includes the identification information of the application that the user wants to start.
  • the identification information is used to indicate the uniqueness of the application, and can be the ID number of the application,
  • the application type, etc. may also include the identification of the operating system to which the application belongs, and the start instruction specifies the application of which operating system the user wants to start.
  • S102 based on the identification information, send a startup instruction to a second system unit, where the second system unit is a system unit running a second operating system in the electronic device, so that the second system unit starts the application program according to the identification information.
  • the first system unit After receiving the startup instruction, the first system unit can determine which operating system the application is based on the identification information of the application in the startup instruction. Therefore, the startup instruction can be sent to the corresponding system unit, for example, When the user requests to start the application program of the second operating system, the first system unit sends the start instruction to the second system unit running the second operating system. After the second system unit receives the start instruction, since the actual storage address of the application program is the second system unit, the second system unit can directly select the corresponding application program to start based on the identification information.
  • the first system unit running the first operating system in the electronic device sends the startup instruction to the second system unit running the second operating system based on the identification information of the application in the startup instruction , So that the second system unit starts the application according to the identification information of the application.
  • the first operating system is the operating system that the electronic device is running.
  • the first system unit running the first operating system receives a start instruction to start the application of the second operating system, it sends the start instruction to run the second operation
  • the second system unit of the system the application program is started by the second system unit, there is no need to exit the first operating system and then start the second operating system first, and then start the application in the second operating system, the user can operate with one-click Realize cross-operating system startup application program, improve the speed of cross-operating system startup application program.
  • the second system unit can send a shutdown instruction to the system unit interacting with the user, and the system unit closes the user's touch authority to operate the application interface of the first operating system. If interacting with the user The system unit of is the second system unit itself, then the second system unit can actively close the user's touch authority to operate the application interface of the first operating system. In this way, it is possible to prevent the user from operating the first operating system by mistake when operating the application program of the second operating system. At this time, the program interface of the application program of the second operating system is displayed on the display screen of the electronic device.
  • the display screen will exit the program interface of the currently displayed application program, resume displaying the application interface of the first operating system, and the system unit interacting with the user will resume user operations.
  • the touch permission of the application interface of the first operating system is the case where the user closes the application program that exits the second operating system.
  • S102 may specifically be: based on the identification information, sending the startup instruction to the second system unit through the data channel.
  • the system units in the electronic equipment can be connected through a data channel.
  • the first system unit can transmit data to the second system unit through the data channel, and the first system unit can send the start instruction to the second system unit through the data channel. .
  • the data channel can be a network but is not limited to a network.
  • the embodiment of the present application also provides an application startup method. As shown in FIG. 2, the method may include the following steps.
  • S202 Receive a response message returned by the second system unit, where the response message includes icon data of all application programs of the second operating system.
  • S203 Send the icon data of all the application programs of the second operating system to the display screen, so that the display screen displays the icon data of all the application programs of the second operating system in the application interface of the first operating system.
  • Data establishment can be established between the first system unit and the second system unit.
  • the first system unit will send a display request message to the second system unit, requesting the second system unit to transfer all of the second operating system
  • the application package name, attribute, icon, assigned ID and other information of the application are fed back to the first system unit.
  • the second system unit will reply to the first system unit with a response message.
  • the message includes at least the icon data of all applications of the second operating system, and may also include information such as application package names, attributes, and assigned IDs of all applications.
  • the icon data may include not only the icon of the application program, but also the application type of the application program.
  • the first system unit After receiving the response message, the first system unit sends the icon data of all the application programs of the second operating system to the display screen, so that when the display screen displays the application interface of the first operating system, it controls the display in the application interface Icon data of all applications of the second operating system.
  • the display function of the display screen can be controlled by a certain operating system, and the first system unit can first send the icon data of all application programs of the second operating system to the system unit for controlling the display of the display screen.
  • the system unit controls the display screen to display.
  • the method of displaying the icon data of all the application programs of the second operating system on the application interface of the first operating system may be specifically: displaying all the applications of the first operating system and all the applications of the second operating system in two screens. You can choose to display all applications of which operating system by sliding the display.
  • S204 Receive a startup instruction generated when the icon data of the application program of the second operating system is selected in the application interface of the first operating system displayed on the electronic device.
  • the user can select the application of the second operating system by clicking the icon data on the display screen.
  • S205 Based on the identification information, send a startup instruction to a second system unit, where the second system unit is a system unit running a second operating system in the electronic device, so that the second system unit starts the application program according to the identification information.
  • the second system unit is a system unit running a second operating system in the electronic device, so that the second system unit starts the application program according to the identification information.
  • the first system unit running the first operating system in the electronic device sends the startup instruction to the second system unit running the second operating system based on the identification information of the application in the startup instruction , So that the second system unit starts the application according to the identification information of the application.
  • the first operating system is the operating system that the electronic device is running.
  • the first system unit running the first operating system receives a start instruction to start the application of the second operating system, it sends the start instruction to run the second operation
  • the second system unit of the system the application program is started by the second system unit, there is no need to exit the first operating system and then start the second operating system first, and then start the application in the second operating system, the user can operate with one-click Realize cross-operating system startup application program, improve the speed of cross-operating system startup application program.
  • the application interface of the first operating system adds the display of the icon data of all applications of the second operating system. The user can click on the icon data on the display screen to implement the application of the second operating system under the first operating system. The choice of the program, without switching the operating system.
  • the application startup method provided in the embodiment of the present application may further perform the following steps:
  • the first step is to detect whether the data channel is abnormal.
  • the signaling interaction with the second system unit through the signaling channel is used to restore the normal communication of the data channel, or based on the identification information, the start instruction is sent to the first through the signaling channel.
  • the system unit can also detect the transmission status of the data channel in real time to determine whether the data channel is abnormal. If the data channel is abnormal, the data cannot be normally transmitted between the first system unit and the second system unit. Therefore, it can be set between each system unit
  • the signaling channel which is a physical link, can ensure that the communication remains unblocked after the system unit is started.
  • the first system unit can exchange signaling with the second system unit through the signaling channel to quickly restore the normal communication of the data channel; or, the signaling channel can be used instead of the data channel to directly pass the signaling channel Send the start instruction to the second system unit.
  • the application startup method provided by the embodiment of the present application can also be executed: receiving an application installation package, where the application installation package may include the type of the application; when determining the type of the application When the application program of the second operating system is used, the application program installation package is sent to the second system unit, so that the second system unit installs the application program installation package.
  • the application startup method provided by the embodiment of the present application can also be executed: receiving an uninstall instruction, where the uninstall instruction may include the type of the application to be uninstalled; when determining the type of the application to be uninstalled When the application program of the second operating system is used, the uninstall instruction is sent to the second system unit, so that the second system unit uninstalls the application program.
  • the user can also choose to install or uninstall the application program of the second operating system when the electronic device is running the first operating system.
  • the first system unit receives the corresponding application installation package or After the uninstall instruction, the application installation package or uninstall instruction can be sent to the second system unit, and the second system unit installs or uninstalls the application.
  • FIG. 3 it is a schematic structural diagram of the interactive device.
  • the input interface 301 can trigger two channels of input data to be used by the Windows system unit 302 and the Android system unit 303 respectively, and the Android operating system running in the Android system unit 303 can control the on or off of the two channels of input data.
  • the application interface of the Windows operating system is displayed on the screen as a window of the Android operating system.
  • the Android operating system is responsible for display, that is, the display screen 304 is controlled by the Android operating system running in the Android system unit 303. Therefore, the Android operating system running in the Android system unit 303 will be started before the Windows operating system running in the Windows system unit 302.
  • the Windows system unit 202 is also connected to the Android system unit 303 through a data channel and a signaling channel.
  • Both the Windows system unit 302 and the Android system unit 303 have corresponding monitoring service programs, which establish a data channel after the system unit is started, and monitor the status of the data channel.
  • the signaling channel is a physical link, which can ensure that it remains unblocked after the system unit is started. If the data channel is abnormal, the connection state can be quickly restored through the signaling channel; when necessary, the signaling channel can be used to replace the data channel to transmit data.
  • the Windows system unit 302 After the data connection between the Windows system unit 302 and the Android system unit 303 is established, the Windows system unit 302 will request the Android system unit 303 for the application package names, attributes, icon data, and assigned ID values of all applications. The system unit 303 replies to the Windows system unit 302 the icon data of all applications of the Android operating system. After receiving the icon data, the Windows system unit 302 sends the displayed information to the Android system unit 303, which is controlled by the Android system unit 303.
  • the display screen 304 displays all the application programs of the Android operating system in the application interface of the Windows operating system, including application types and icons of the application programs.
  • the Windows system unit 302 sends the generated startup instruction (including the identification information of the application) to the Android system unit 303, and the Android system unit 303 starts the corresponding application.
  • the Android system unit 303 When the Android system unit 303 starts to run the application program, it closes the Windows touch permission to prevent the Windows operating system from being operated by mistake when operating the application program of the Android operating system. After the user closes the application program that exits the Android operating system, the display exits the application interface display, restores the display of the Windows operating system application interface, and restores the Windows touch permission.
  • the data path between the Windows system unit 302 and the Android system unit 303 is not only used to start the application of the Android operating system, but also can be used to transmit the installation package and uninstall instructions of the Android operating system, which is implemented in the application interface of the Windows operating system Install and uninstall Android operating system applications.
  • the embodiment of the present application provides an application program startup device, which is applied to a first system unit in an electronic device.
  • the electronic device includes multiple system units, and each system unit runs a different operating system.
  • the system unit is a system unit running a first operating system in an electronic device.
  • the application program starting device may include:
  • the receiving module 410 is configured to receive a startup instruction, where the startup instruction is an instruction generated when an application program of the second operating system is selected to start when the electronic device is running the first operating system, and the startup instruction includes identification information of the application program;
  • the sending module 420 is configured to send the startup instruction to the second system unit based on the identification information, where the second system unit is a system unit running a second operating system in the electronic device, so that the second system unit can start up according to the identification information application.
  • the sending module 420 may also be used to send a display request message to the second system unit;
  • the receiving module 410 may also be used to receive a response message replies from the second system unit, where the response message includes icon data of all application programs of the second operating system;
  • the sending module 420 can also be used to send icon data of all applications of the second operating system to the display screen, so that the display screen displays the icon data of all applications of the second operating system in the application interface of the first operating system ;
  • the receiving module 410 When the receiving module 410 is used to receive a start instruction, it may be specifically used to:
  • the sending module 420 can be specifically used for:
  • the start instruction is sent to the second system unit through the data channel.
  • the device may also include:
  • the detection module is used to detect whether the data channel is abnormal
  • the sending module 420 can be specifically used to, if the detection module detects an abnormality in the data channel, interact with the second system unit through the signaling channel to restore normal communication on the data channel, or, based on the identification information, through the signaling channel, Send the start instruction to the second system unit.
  • the receiving module 410 may also be used to receive an application program installation package, where the application program installation package includes the type of the application program;
  • the sending module 420 may also be used to send the application installation package to the second system unit when it is determined that the type of the application is an application of the second operating system, so that the second system unit installs the application installation package.
  • the receiving module 410 may also be used to receive an uninstall instruction, where the uninstall instruction includes the type of the application to be uninstalled;
  • the sending module 420 may also be used to send an uninstall instruction to the second system unit when it is determined that the type of the application to be uninstalled is an application of the second operating system, so that the second system unit uninstalls the application.
  • the first system unit running the first operating system in the electronic device sends the startup instruction to the second system unit running the second operating system based on the identification information of the application in the startup instruction , So that the second system unit starts the application according to the identification information of the application.
  • the first operating system is the operating system that the electronic device is running.
  • the first system unit running the first operating system receives a start instruction to start the application of the second operating system, it sends the start instruction to run the second operation
  • the second system unit of the system the application program is started by the second system unit, there is no need to exit the first operating system and then start the second operating system first, and then start the application in the second operating system, the user can operate with one-click Realize cross-operating system startup application program, improve the speed of cross-operating system startup application program.
  • the embodiment of the present application also provides an electronic device, as shown in FIG. 5, including a plurality of system units 510 and a display screen 520, and each system unit 510 runs a different operating system.
  • the display screen 520 is used to display the application interface of the operating system and the program interface of the application program.
  • each system unit includes a processor 511 and a memory 512, among which,
  • the memory 512 is used to store computer programs
  • the processor 511 is configured to implement all steps of the application startup method provided in the embodiment of the present application when executing the computer program stored on the memory 512.
  • the memory 512 and the processor 511 may perform data transmission through a wired connection or a wireless connection, and each system unit may communicate through a wired communication interface or a wireless communication interface.
  • the foregoing memory may include RAM (Random Access Memory, random access memory), and may also include NVM (Non-volatile Memory, non-volatile memory), such as at least one disk memory.
  • NVM Non-volatile Memory, non-volatile memory
  • the memory may also be at least one storage device located far away from the foregoing processor.
  • the above-mentioned processor may be a general-purpose processor, including CPU (Central Processing Unit), NP (Network Processor, network processor), etc.; it may also be DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor, network processor
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array, field programmable gate array
  • other programmable logic devices discrete gates or transistor logic devices, discrete hardware components.
  • the processor reads the machine executable instructions stored in the memory and runs the machine executable instructions to achieve: after the first system unit running the first operating system in the electronic device receives the startup instruction, Based on the identification information of the application program in the startup instruction, the startup instruction is sent to the second system unit running the second operating system, so that the second system unit starts the application program according to the identification information of the application program.
  • the first operating system is the operating system that the electronic device is running.
  • the first system unit running the first operating system receives a start instruction to start the application of the second operating system, it sends the start instruction to run the second operation
  • the second system unit of the system the application program is started by the second system unit, there is no need to exit the first operating system and then start the second operating system first, and then start the application in the second operating system.
  • the user can operate with one-click Realize cross-operating system startup application program, improve the speed of cross-operating system startup application program.
  • the embodiment of the present application provides a machine-readable storage medium in which a computer program is stored, and the computer program is executed by a processor. All the steps of the application startup method provided by the embodiments of the present application are realized at the time.
  • the machine-readable storage medium stores a computer program that executes the application startup method provided in the embodiment of this application at runtime, so it can be realized that: the first system unit running the first operating system in the electronic device receives After the startup instruction, based on the identification information of the application in the startup instruction, the startup instruction is sent to the second system unit running the second operating system, so that the second system unit starts the application according to the identification information of the application.
  • the first operating system is the operating system that the electronic device is running.
  • the first system unit running the first operating system receives a start instruction to start the application of the second operating system, it sends the start instruction to run the second operation
  • the second system unit of the system the application program is started by the second system unit, there is no need to exit the first operating system and then start the second operating system first, and then start the application in the second operating system.
  • the user can operate with one-click Realize cross-operating system startup application program, improve the speed of cross-operating system startup application program.
  • the embodiment of the present application also provides an application program for executing at runtime: all the steps of the application startup method provided in the embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

一种应用程序启动方法及装置,电子设备中运行第一操作系统的第一系统单元接收到启动指令,基于启动指令中应用程序的标识信息,将启动指令发送至运行第二操作系统的第二系统单元,第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。

Description

一种应用程序启动方法及装置
本申请要求于2019年05月30日提交中国专利局、申请号为201910465397.4发明名称为“一种应用程序启动方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种应用程序启动方法及装置。
背景技术
随着操作系统的成熟与跨平台化,目前有越来越多的电子设备在出厂时预装了操作系统,操作系统可以支持各种应用程序的安装,带给用户各式各样的使用体验。
不同的操作系统从根本上决定了不同的交互方式,不同操作系统具备各自的优点,而一个操作系统很难做到集成所有操作系统的优势。用户若想有不同的操作体验,则要求一个电子设备安装两个甚至多个操作系统。
在当前的安装有多操作系统的电子设备中,如果用户正在使用第一操作系统,此时若用户想要启动第二操作系统的应用程序,则必须先退出第一操作系统,然后启动第二操作系统,再在第二操作系统下启动应用程序。跨操作系统启动应用程序的过程复杂,导致应用程序的启动速度较慢。
发明内容
本申请实施例的目的在于提供一种应用程序启动方法及装置,以提高跨操作系统启动应用程序的速度。具体技术方案如下:
第一方面,本申请实施例提供了一种应用程序启动方法,应用于电子设备中的第一系统单元,电子设备包括多个系统单元,各系统单元运行不同的操作系统,第一系统单元为电子设备中运行第一操作系统的系统单元,该方法包括:
接收启动指令,其中,启动指令为在电子设备运行第一操作系统时,选择启动第二操作系统的应用程序时生成的指令,启动指令包括应用程序的标识信息;
基于标识信息,将启动指令发送至第二系统单元,其中,第二系统单元为电子设备中运行第二操作系统的系统单元,以使第二系统单元根据标识信息,启动应用程序。
可选的,在接收启动指令的步骤之前,该方法还包括:
向第二系统单元发送展示请求报文;
接收第二系统单元回复的响应报文,其中,响应报文包括第二操作系统的所有应用程序的图标数据;
将第二操作系统的所有应用程序的图标数据发送至显示屏,以使显示屏在第一操作系统的应用界面中,显示第二操作系统所有应用程序的图标数据;
接收启动指令的步骤,包括:
接收在电子设备显示的第一操作系统的应用界面中,选择第二操作系统的应用程序的图标数据时生成的启动指令。
可选的,基于标识信息,将启动指令发送至第二系统单元的步骤,包括:
基于标识信息,通过数据通道,将启动指令发送至第二系统单元。
可选的,该方法还包括:
检测数据通道是否异常;
若检测到数据通道异常,则通过信令通道与第二系统单元的信令交互,恢复数据通道的正常通信,或者,基于标识信息,通过信令通道,将启动指令发送至第二系统单元。
可选的,该方法还包括:
接收应用程序安装包,其中,应用程序安装包中包括应用程序的类型;
在确定应用程序的类型为第二操作系统的应用程序时,将应用程序安装包发送至第二系统单元,以使第二系统单元安装应用程序安装包。
可选的,该方法还包括:
接收卸载指令,其中,卸载指令包括待卸载的应用程序的类型;
在确定待卸载的应用程序的类型为第二操作系统的应用程序时,将卸载指令发送至第二系统单元,以使第二系统单元卸载应用程序。
第二方面,本申请实施例提供了一种应用程序启动装置,应用于电子设备中的第一系统单元,电子设备包括多个系统单元,各系统单元运行不同的操作系统,第一系统单元为电子设备中运行第一操作系统的系统单元,该装置包括:
接收模块,用于接收启动指令,其中,启动指令为在电子设备运行第一操作系统时,选择启动第二操作系统的应用程序时生成的指令,启动指令包括应用程序的标识信息;
发送模块,用于基于标识信息,将启动指令发送至第二系统单元,其中,第二系统单元为电子设备中运行第二操作系统的系统单元,以使第二系统单元根据标识信息,启动应用程序。
可选的,发送模块,还用于向第二系统单元发送展示请求报文;
接收模块,还用于接收第二系统单元回复的响应报文,其中,响应报文包括第二操作系统的所有应用程序的图标数据;
发送模块,还用于将第二操作系统的所有应用程序的图标数据发送至显示屏,以使显示屏在第一操作系统的应用界面中,显示第二操作系统所有应用程序的图标数据;
接收模块在用于接收启动指令时,具体用于:
接收在电子设备显示的第一操作系统的应用界面中,选择第二操作系统的应用程序的图标数据时生成的启动指令。
可选的,发送模块,具体用于:
基于标识信息,通过数据通道,将启动指令发送至第二系统单元。
可选的,该装置还包括:
检测模块,用于检测数据通道是否异常;
发送模块,具体用于若检测模块检测到数据通道异常,则通过信令通道 与第二系统单元的信令交互,恢复数据通道的正常通信,或者,基于标识信息,通过信令通道,将启动指令发送至第二系统单元。
可选的,接收模块,还用于接收应用程序安装包,其中,应用程序安装包中包括应用程序的类型;
发送模块,还用于在确定应用程序的类型为第二操作系统的应用程序时,将应用程序安装包发送至第二系统单元,以使第二系统单元安装应用程序安装包。
可选的,接收模块,还用于接收卸载指令,其中,卸载指令包括待卸载的应用程序的类型;
发送模块,还用于在确定待卸载的应用程序的类型为第二操作系统的应用程序时,将卸载指令发送至第二系统单元,以使第二系统单元卸载应用程序。
第三方面,本申请实施例提供了一种电子设备,包括多个系统单元及显示屏,各系统单元运行不同的操作系统;
显示屏,用于显示操作系统的应用界面及应用程序的程序界面;
各系统单元包括处理器和存储器,其中,
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的计算机程序时,实现本申请实施例第一方面所提供的方法。
第四方面,本申请实施例提供了一种机器可读存储介质,机器可读存储介质内存储有计算机程序,计算机程序被处理器执行时实现本申请实施例第一方面所提供的方法。
第五方面,本申请实施例提供了一种应用程序,用于在运行时执行:本申请实施例第一方面所提供的方法。
本申请实施例提供的一种应用程序启动方法及装置,电子设备中运行第一操作系统的第一系统单元接收到启动指令后,基于启动指令中应用程序的 标识信息,将启动指令发送至运行第二操作系统的第二系统单元,使得第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一实施例的应用程序启动方法的流程示意图;
图2为本申请另一实施例的应用程序启动方法的流程示意图;
图3为本申请实施例的交互设备的结构示意图;
图4为本申请实施例的应用程序启动装置的结构示意图;
图5为本申请实施例的电子设备的结构示意图;
图6为本申请实施例的电子设备中系统单元的结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了提高跨操作系统启动应用程序的速度,本申请实施例提供了一种应用程序启动方法、装置、电子设备及机器可读存储介质。下面,首先对本申 请实施例所提供的应用程序启动方法进行介绍。
本申请实施例所提供的应用程序启动方法的执行主体可以为具备多操作系统的电子设备,电子设备中包括可以运行不同模式的操作系统的多个系统单元,每个系统单元运行一种模式的操作系统(例如Windows操作系统、安卓操作系统、Linux操作系统等),系统单元可以为软件单元或者硬件单元,这里不做具体的限定。电子设备可以为手机、个人计算机、利用红外框或电容触控等实现触控的交互设备等。
下面,以上述电子设备中运行第一操作系统的第一系统单元的执行过程,对本申请实施例所提供的一种应用程序启动方法进行介绍,如图1所示,该方法包括如下步骤。
S101,接收启动指令,其中,启动指令为在电子设备运行第一操作系统时,选择启动第二操作系统的应用程序时生成的指令,启动指令包括应用程序的标识信息。
电子设备当前运行的是第一操作系统,此时,用户想要启动第二操作系统的应用程序,则会在电子设备上进行相应的操作,例如在电子设备上输入第二操作系统的应用程序的标识信息、在电子设备当前显示的第一操作系统的应用界面上选择显示的第二操作系统的应用程序的图标数据等。用户在电子设备上进行上述操作后,会生成一个启动指令,该启动指令包括用户想要启动的应用程序的标识信息,标识信息用于表明应用程序的唯一性,可以为应用程序的ID号、应用类型等,还可以包括应用程序所属操作系统的标识,则启动指令指明了用户具体想要启动那个操作系统的应用程序。
S102,基于标识信息,将启动指令发送至第二系统单元,其中,第二系统单元为电子设备中运行第二操作系统的系统单元,以使第二系统单元根据标识信息,启动应用程序。
第一系统单元在接收到启动指令之后,根据启动指令中应用程序的标识信息,可以确定出该应用程序是哪个操作系统的应用程序,因此,可以将启动指令发送至相应的系统单元,例如,用户请求启动第二操作系统的应用程序,则第一系统单元会将启动指令发送至运行第二操作系统的第二系统单元。 第二系统单元在收到启动指令后,由于应用程序实际的存储地址为第二系统单元,则第二系统单元可以直接根据标识信息,选择相应的应用程序进行启动。
应用本申请实施例,电子设备中运行第一操作系统的第一系统单元接收到启动指令后,基于启动指令中应用程序的标识信息,将启动指令发送至运行第二操作系统的第二系统单元,使得第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。
在第二系统单元启动运行应用程序时,第二系统单元可以发送关闭指令至和用户交互的系统单元,由该系统单元关闭用户操作第一操作系统的应用界面的触控权限,如果和用户交互的系统单元为第二系统单元自身,则第二系统单元可以主动关闭用户操作第一操作系统的应用界面的触控权限。这样,可以防止用户在操作第二操作系统的应用程序时,误操作第一操作系统。此时,在电子设备的显示屏上显示第二操作系统的应用程序的程序界面。
相应的,在用户关闭退出第二操作系统的应用程序之后,显示屏会退出当前显示的应用程序的程序界面,恢复显示第一操作系统的应用界面,同时和用户交互的系统单元会恢复用户操作第一操作系统的应用界面的触控权限。
在本申请实施例的一种实现方式中,S102具体可以为:基于标识信息,通过数据通道,将启动指令发送至第二系统单元。
电子设备中的各系统单元之间可以通过数据通道相连,第一系统单元可以通过数据通道与第二系统单元传输数据,则第一系统单元可以通过数据通道,将启动指令发送至第二系统单元。
数据通道可以是网络但不仅限于网络,系统单元中存在硬件网络交换芯片或者软件网络交换功能,保证系统单元之间可以建立连接。
基于图1所示实施例,本申请实施例还提供了一种应用程序启动方法,如图2所示,该方法可以包括如下步骤。
S201,向第二系统单元发送展示请求报文。
S202,接收第二系统单元回复的响应报文,其中,响应报文包括第二操作系统的所有应用程序的图标数据。
S203,将第二操作系统的所有应用程序的图标数据发送至显示屏,以使显示屏在第一操作系统的应用界面中,显示第二操作系统所有应用程序的图标数据。
第一系统单元和第二系统单元之间可以建立数据建立,在建立数据连接之后,第一系统单元会向第二系统单元发送展示请求报文,请求第二系统单元将第二操作系统的所有应用程序的应用包名、属性、图标、分配的ID等信息反馈给第一系统单元,第二系统单元在收到展示请求报文后,会给第一系统单元回复一个响应报文,该响应报文至少包括第二操作系统的所有应用程序的图标数据,还可以包括所有应用程序的应用包名、属性、分配的ID等信息。图标数据不仅可以包括应用程序的图标,还可以包括应用程序的应用类型等。
第一系统单元在收到响应报文后,将第二操作系统的所有应用程序的图标数据发送至显示屏,这样,显示屏在显示第一操作系统的应用界面时,控制在应用界面中显示第二操作系统所有应用程序的图标数据。具体的,显示屏的显示功能可以由某一个操作系统控制实现,则第一系统单元首先可以将第二操作系统的所有应用程序的图标数据发送至用于控制显示屏显示的系统单元,由该系统单元控制显示屏进行显示。
在第一操作系统的应用界面显示第二操作系统所有应用程序的图标数据的方式,具体可以为:分两屏分别显示第一操作系统的所有应用程序和第二操作系统的所有应用程序,用户可以通过滑动显示屏来选择显示哪个操作系统的所有应用程序。
S204,接收在电子设备显示的第一操作系统的应用界面中,选择第二操作系统的应用程序的图标数据时生成的启动指令。
在第一操作系统的应用界面中显示第二操作系统所有应用程序的图标数据的场景下,用户可以通过在显示屏上点击图标数据,实现对第二操作系统的应用程序的选择。
S205,基于标识信息,将启动指令发送至第二系统单元,其中,第二系统单元为电子设备中运行第二操作系统的系统单元,以使第二系统单元根据标识信息,启动应用程序。
应用本申请实施例,电子设备中运行第一操作系统的第一系统单元接收到启动指令后,基于启动指令中应用程序的标识信息,将启动指令发送至运行第二操作系统的第二系统单元,使得第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。并且,在第一操作系统的应用界面增加对第二操作系统所有应用程序的图标数据的显示,用户可以通过在显示屏上点击图标数据,实现在第一操作系统下对第二操作系统的应用程序的选择,无需切换操作系统。
基于图1和图2所示实施例,在一种实现方式中,本申请实施例所提供的应用程序启动方法还可以执行如下步骤:
第一步,检测数据通道是否异常。
第二步,若检测到数据通道异常,则通过信令通道与第二系统单元的信令交互,恢复数据通道的正常通信,或者,基于标识信息,通过信令通道,将启动指令发送至第二系统单元。
系统单元还可以实时检测数据通道的传输状态,判断数据通道是否异常,如果数据通道异常,第一系统单元和第二系统单元之间则无法正常传输数据,因此,可以在各系统单元之间设置信令通道,信令通道是物理链路,可以保 证在系统单元启动后保持通信畅通。在数据通道发生异常时,第一系统单元可以通过信令通道与第二系统单元的信令交互,快速恢复数据通道的正常通信;或者,可以利用信令通道代替数据通道,直接通过信令通道将启动指令发送至第二系统单元。
在另一种实现方式中,本申请实施例所提供的应用程序启动方法还可以执行:接收应用程序安装包,其中,应用程序安装包中可以包括应用程序的类型;在确定应用程序的类型为第二操作系统的应用程序时,将应用程序安装包发送至第二系统单元,以使第二系统单元安装应用程序安装包。
再一种实现方式中,本申请实施例所提供的应用程序启动方法还可以执行:接收卸载指令,其中,卸载指令可以包括待卸载的应用程序的类型;在确定待卸载的应用程序的类型为第二操作系统的应用程序时,将卸载指令发送至第二系统单元,以使第二系统单元卸载该应用程序。
应用程序不仅可以实现跨操作系统启动,用户还可以在电子设备运行第一操作系统时,选择安装或者卸载第二操作系统的应用程序,第一系统单元在接收到相应的应用程序安装包户或者卸载指令之后,可以将应用程序安装包或者卸载指令发送至第二系统单元,由第二系统单元进行应用程序的安装或者卸载。
为了便于理解,下面以具备Windows操作系统和安卓操作系统的交互设备为例,对本申请实施例所提供的应用程序启动方法进行介绍,如图3所示,为该交互设备的结构示意图。
输入接口301可以触发两路输入数据分别提供Windows系统单元302和安卓系统单元303使用,安卓系统单元303中运行的安卓操作系统可以控制这两路输入数据的开或关。Windows操作系统的应用界面作为安卓操作系统的一个窗口显示在屏幕上。
安卓操作系统负责显示,即显示屏304由安卓系统单元303中运行的安卓操作系统控制,因此,安卓系统单元303中运行的安卓操作系统会先于Windows系统单元302中运行的Windows操作系统启动,Windows系统单元302除了要把 显示信号传输给安卓系统单元303以外,Windows系统单元202还通过数据通道和信令通道跟安卓系统单元303相连。
Windows系统单元302和安卓系统单元303都有相应的监听服务程序,在系统单元启动后建立数据通道,并监听数据通道的状态。信令通道是物理链路,可以保证在系统单元启动后保持畅通。如果数据通道发生异常,可以通过信令通道快速恢复连接状态;必要时可以通过信令通道代替数据通道传输数据。
Windows系统单元302和安卓系统单元303之间的数据连接建立完成以后,Windows系统单元302会向安卓系统单元303请求所有应用程序的应用包名、属性、图标数据及分配的ID值等信息,安卓系统单元303向Windows系统单元302回复安卓操作系统的所有应用程序的图标数据,Windows系统单元302在收到这些图标数据后,将显示的信息发送至安卓系统单元303,由安卓系统单元303控制在显示屏304上显示Windows操作系统的应用界面中显示安卓操作系统的所有应用程序,包括应用程序的应用类型、图标等。
在用户点击安卓操作系统的应用程序图标时,Windows系统单元302将生成的启动指令(包括应用程序的标识信息)发送至安卓系统单元303,由安卓系统单元303启动相应的应用程序。
安卓系统单元303启动运行应用程序时,关闭Windows触控权限,防止在操作安卓操作系统的应用程序时,误操作Windows操作系统。在用户关闭退出安卓操作系统的应用程序后,显示器退出应用程序的界面显示,恢复显示Windows操作系统的应用界面,同时恢复Windows触控权限。
另外,Windows系统单元302和安卓系统单元303之间的数据通路不仅用来启动安卓操作系统的应用程序,还可以用来传输安卓操作系统的安装包和卸载指令,在Windows操作系统的应用界面实现安装和卸载安卓操作系统的应用程序。
相应于上述方法实施例,本申请实施例提供了一种应用程序启动装置,应用于电子设备中的第一系统单元,电子设备包括多个系统单元,各系统单元运行不同的操作系统,第一系统单元为电子设备中运行第一操作系统的系 统单元,如图4所示,该应用程序启动装置可以包括:
接收模块410,用于接收启动指令,其中,启动指令为在电子设备运行第一操作系统时,选择启动第二操作系统的应用程序时生成的指令,启动指令包括应用程序的标识信息;
发送模块420,用于基于标识信息,将启动指令发送至第二系统单元,其中,第二系统单元为电子设备中运行第二操作系统的系统单元,以使第二系统单元根据标识信息,启动应用程序。
可选的,发送模块420,还可以用于向第二系统单元发送展示请求报文;
接收模块410,还可以用于接收第二系统单元回复的响应报文,其中,响应报文包括第二操作系统的所有应用程序的图标数据;
发送模块420,还可以用于将第二操作系统的所有应用程序的图标数据发送至显示屏,以使显示屏在第一操作系统的应用界面中,显示第二操作系统所有应用程序的图标数据;
接收模块410在用于接收启动指令时,具体可以用于:
接收在电子设备显示的第一操作系统的应用界面中,选择第二操作系统的应用程序的图标数据时生成的启动指令。
可选的,发送模块420,具体可以用于:
基于标识信息,通过数据通道,将启动指令发送至第二系统单元。
可选的,该装置还可以包括:
检测模块,用于检测所述数据通道是否异常;
发送模块420,具体可以用于若检测模块检测到数据通道异常,则通过信令通道与第二系统单元的信令交互,恢复数据通道的正常通信,或者,基于标识信息,通过信令通道,将启动指令发送至第二系统单元。
可选的,接收模块410,还可以用于接收应用程序安装包,其中,应用程序安装包中包括应用程序的类型;
发送模块420,还可以用于在确定应用程序的类型为第二操作系统的应用 程序时,将应用程序安装包发送至第二系统单元,以使第二系统单元安装应用程序安装包。
可选的,接收模块410,还可以用于接收卸载指令,其中,卸载指令包括待卸载的应用程序的类型;
发送模块420,还可以用于在确定待卸载的应用程序的类型为第二操作系统的应用程序时,将卸载指令发送至第二系统单元,以使第二系统单元卸载应用程序。
应用本申请实施例,电子设备中运行第一操作系统的第一系统单元接收到启动指令后,基于启动指令中应用程序的标识信息,将启动指令发送至运行第二操作系统的第二系统单元,使得第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。
本申请实施例还提供了一种电子设备,如图5所示,包括多个系统单元510及显示屏520,各系统单元510运行不同的操作系统。
显示屏520,用于显示操作系统的应用界面及应用程序的程序界面。
如图6所示,各系统单元包括处理器511和存储器512,其中,
存储器512,用于存放计算机程序;
处理器511,用于执行存储器512上所存放的计算机程序时,实现本申请实施例提供的应用程序启动方法的所有步骤。
存储器512与处理器511之间可以通过有线连接或者无线连接的方式进行数据传输,并且各系统单元之间可以通过有线通信接口或者无线通信接口进行通信。
上述存储器可以包括RAM(Random Access Memory,随机存取存储器),也可以包括NVM(Non-volatile Memory,非易失性存储器),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述处理器可以是通用处理器,包括CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processor,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
本实施例中,处理器通过读取存储器中存储的机器可执行指令,并通过运行该机器可执行指令,能够实现:电子设备中运行第一操作系统的第一系统单元接收到启动指令后,基于启动指令中应用程序的标识信息,将启动指令发送至运行第二操作系统的第二系统单元,使得第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。
另外,相应于上述实施例所提供的应用程序启动方法,本申请实施例提供了一种机器可读存储介质,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例提供的应用程序启动方法的所有步骤。
本实施例中,机器可读存储介质存储有在运行时执行本申请实施例所提供的应用程序启动方法的计算机程序,因此能够实现:电子设备中运行第一操作系统的第一系统单元接收到启动指令后,基于启动指令中应用程序的标识信息,将启动指令发送至运行第二操作系统的第二系统单元,使得第二系统单元根据应用程序的标识信息,启动该应用程序。第一操作系统为电子设备正在运行的操作系统,此时,运行第一操作系统的第一系统单元接收到启 动第二操作系统的应用程序的启动指令时,将启动指令发送至运行第二操作系统的第二系统单元,由第二系统单元启动应用程序,不需要退出第一操作系统后先启动第二操作系统,再在第二操作系统中启动应用程序,用户一键式的操作即可实现跨操作系统启动应用程序,提高了跨操作系统启动应用程序的速度。
本申请实施例还提供了一种应用程序,用于在运行时执行:本申请实施例提供的应用程序启动方法的所有步骤。
对于装置、电子设备、机器可读存储介质以及应用程序实施例而言,由于其所涉及的方法内容基本相似于前述的方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、电子设备、机器可读存储介质以及应用程序实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (15)

  1. 一种应用程序启动方法,其特征在于,应用于电子设备中的第一系统单元,所述电子设备包括多个系统单元,各系统单元运行不同的操作系统,所述第一系统单元为所述电子设备中运行第一操作系统的系统单元,所述方法包括:
    接收启动指令,所述启动指令为在所述电子设备运行所述第一操作系统时,选择启动第二操作系统的应用程序时生成的指令,所述启动指令包括所述应用程序的标识信息;
    基于所述标识信息,将所述启动指令发送至第二系统单元,所述第二系统单元为所述电子设备中运行所述第二操作系统的系统单元,以使所述第二系统单元根据所述标识信息,启动所述应用程序。
  2. 根据权利要求1所述的方法,其特征在于,在所述接收启动指令之前,所述方法还包括:
    向所述第二系统单元发送展示请求报文;
    接收所述第二系统单元回复的响应报文,所述响应报文包括所述第二操作系统的所有应用程序的图标数据;
    将所述第二操作系统的所有应用程序的图标数据发送至显示屏,以使所述显示屏在所述第一操作系统的应用界面中,显示所述第二操作系统所有应用程序的图标数据;
    所述接收启动指令,包括:
    接收在所述电子设备显示的所述第一操作系统的应用界面中,选择所述第二操作系统的应用程序的图标数据时生成的启动指令。
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述标识信息,将所述启动指令发送至第二系统单元,包括:
    基于所述标识信息,通过数据通道,将所述启动指令发送至第二系统单元。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    检测所述数据通道是否异常;
    若检测到所述数据通道异常,则通过信令通道与所述第二系统单元的信令交互,恢复所述数据通道的正常通信,或者,基于所述标识信息,通过所述信令通道,将所述启动指令发送至所述第二系统单元。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收应用程序安装包,所述应用程序安装包中包括应用程序的类型;
    在确定所述应用程序的类型为所述第二操作系统的应用程序时,将所述应用程序安装包发送至所述第二系统单元,以使所述第二系统单元安装所述应用程序安装包。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收卸载指令,所述卸载指令包括待卸载的应用程序的类型;
    在确定所述待卸载的应用程序的类型为所述第二操作系统的应用程序时,将所述卸载指令发送至所述第二系统单元,以使所述第二系统单元卸载所述应用程序。
  7. 一种应用程序启动装置,其特征在于,应用于电子设备中的第一系统单元,所述电子设备包括多个系统单元,各系统单元运行不同的操作系统,所述第一系统单元为所述电子设备中运行第一操作系统的系统单元,所述装置包括:
    接收模块,用于接收启动指令,所述启动指令为在所述电子设备运行所述第一操作系统时,选择启动第二操作系统的应用程序时生成的指令,所述启动指令包括所述应用程序的标识信息;
    发送模块,用于基于所述标识信息,将所述启动指令发送至第二系统单元,所述第二系统单元为所述电子设备中运行所述第二操作系统的系统单元,以使所述第二系统单元根据所述标识信息,启动所述应用程序。
  8. 根据权利要求7所述的装置,其特征在于,
    所述发送模块,还用于向所述第二系统单元发送展示请求报文;
    所述接收模块,还用于接收所述第二系统单元回复的响应报文,所述响应报文包括所述第二操作系统的所有应用程序的图标数据;
    所述发送模块,还用于将所述第二操作系统的所有应用程序的图标数据发送至显示屏,以使所述显示屏在所述第一操作系统的应用界面中,显示所述第二操作系统所有应用程序的图标数据;
    所述接收模块在用于所述接收启动指令时,具体用于:
    接收在所述电子设备显示的所述第一操作系统的应用界面中,选择所述第二操作系统的应用程序的图标数据时生成的启动指令。
  9. 根据权利要求7所述的装置,其特征在于,所述发送模块,具体用于:
    基于所述标识信息,通过数据通道,将所述启动指令发送至第二系统单元。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    检测模块,用于检测所述数据通道是否异常;
    所述发送模块,具体用于若所述检测模块检测到所述数据通道异常,则通过信令通道与所述第二系统单元的信令交互,恢复所述数据通道的正常通信,或者,基于所述标识信息,通过所述信令通道,将所述启动指令发送至所述第二系统单元。
  11. 根据权利要求7所述的装置,其特征在于,
    所述接收模块,还用于接收应用程序安装包,所述应用程序安装包中包括应用程序的类型;
    所述发送模块,还用于在确定所述应用程序的类型为所述第二操作系统的应用程序时,将所述应用程序安装包发送至所述第二系统单元,以使所述第二系统单元安装所述应用程序安装包。
  12. 根据权利要求7所述的装置,其特征在于,
    所述接收模块,还用于接收卸载指令,所述卸载指令包括待卸载的应用程序的类型;
    所述发送模块,还用于在确定所述待卸载的应用程序的类型为所述第二操作系统的应用程序时,将所述卸载指令发送至所述第二系统单元,以使所述第二系统单元卸载所述应用程序。
  13. 一种电子设备,其特征在于,包括多个系统单元及显示屏,各系统单元运行不同的操作系统;
    所述显示屏,用于显示操作系统的应用界面及应用程序的程序界面;
    所述各系统单元包括处理器和存储器,其中,
    所述存储器,用于存放计算机程序;
    所述处理器,用于执行所述存储器上所存放的计算机程序时,实现权利要求1-6任一项所述的方法。
  14. 一种机器可读存储介质,其特征在于,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-6任一项所述的方法。
  15. 一种应用程序,其特征在于,用于在运行时执行:权利要求1-6任一项所述的方法。
PCT/CN2020/083724 2019-05-30 2020-04-08 一种应用程序启动方法及装置 WO2020238425A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910465397.4 2019-05-30
CN201910465397.4A CN112015475B (zh) 2019-05-30 2019-05-30 一种应用程序启动方法及装置

Publications (1)

Publication Number Publication Date
WO2020238425A1 true WO2020238425A1 (zh) 2020-12-03

Family

ID=73500923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/083724 WO2020238425A1 (zh) 2019-05-30 2020-04-08 一种应用程序启动方法及装置

Country Status (2)

Country Link
CN (1) CN112015475B (zh)
WO (1) WO2020238425A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579131A (zh) * 2020-12-28 2021-03-30 深圳市鸿合创新信息技术有限责任公司 多系统设备的应用程序管理方法、装置和电子设备
CN113467870A (zh) * 2021-06-25 2021-10-01 宁波均联智行科技股份有限公司 基于双系统的app同屏显示方法及系统
CN113590072A (zh) * 2021-08-11 2021-11-02 深圳市皓丽智能科技有限公司 一种分屏显示方法及其设备
CN113986366A (zh) * 2021-11-24 2022-01-28 联想(北京)有限公司 应用调用实现方法、装置及电子设备
CN115079885A (zh) * 2022-06-30 2022-09-20 深圳市康冠商用科技有限公司 双窗口显示的系统操控方法、装置、电子设备及存储介质
WO2023000601A1 (zh) * 2021-07-23 2023-01-26 北京鸿合爱学教育科技有限公司 界面切换方法、装置、设备及计算机可读存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113791829A (zh) * 2021-07-20 2021-12-14 广州朗国电子科技股份有限公司 双系统电子白板软件互启动方法、系统及电子白板
CN114281555A (zh) * 2021-11-08 2022-04-05 北京鲸鲮信息系统技术有限公司 应用状态同步方法、装置、电子设备和存储介质
CN113849199B (zh) * 2021-12-01 2022-03-08 北京鲸鲮信息系统技术有限公司 跨系统安装应用的方法、装置、电子设备及存储介质
CN114265635A (zh) * 2021-12-21 2022-04-01 维沃移动通信有限公司 应用程序启动方法及装置
CN116339873A (zh) * 2021-12-23 2023-06-27 Oppo广东移动通信有限公司 界面显示方法、装置、设备、存储介质及程序产品
CN116360895A (zh) * 2021-12-27 2023-06-30 Oppo广东移动通信有限公司 应用启动方法、装置、设备及存储介质
CN114785758A (zh) * 2022-03-03 2022-07-22 阿里巴巴(中国)有限公司 一种跨操作系统的应用访问方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309690A (zh) * 2012-03-12 2013-09-18 联想(北京)有限公司 处理数据的方法和电子设备
US20150324209A1 (en) * 2014-05-08 2015-11-12 Pegatron Corporation Operating System Switching Method and Dual-Operating System Electronic Device Using the Same
CN105653336A (zh) * 2015-12-30 2016-06-08 惠州市德赛西威汽车电子股份有限公司 双操作系统下整合应用的方法
CN106155753A (zh) * 2016-08-22 2016-11-23 广东欧珀移动通信有限公司 一种应用程序安装方法、装置和终端
CN107077577A (zh) * 2016-03-25 2017-08-18 深圳前海达闼云端智能科技有限公司 一种应用程序启动方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123511B (zh) * 2011-03-18 2013-08-28 中国电信股份有限公司 移动网络数据传输方法、系统及移动终端
CN104050020A (zh) * 2013-03-15 2014-09-17 宇宙互联有限公司 具有操作系统共享控制功能的电子装置、系统及方法
CN106897152A (zh) * 2017-02-27 2017-06-27 北京珠穆朗玛移动通信有限公司 一种多系统应用程序管理方法及移动终端
CN107943606B (zh) * 2017-11-22 2023-12-15 博泰车联网科技(上海)股份有限公司 双操作系统下的故障处理方法及装置、存储器及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309690A (zh) * 2012-03-12 2013-09-18 联想(北京)有限公司 处理数据的方法和电子设备
US20150324209A1 (en) * 2014-05-08 2015-11-12 Pegatron Corporation Operating System Switching Method and Dual-Operating System Electronic Device Using the Same
CN105653336A (zh) * 2015-12-30 2016-06-08 惠州市德赛西威汽车电子股份有限公司 双操作系统下整合应用的方法
CN107077577A (zh) * 2016-03-25 2017-08-18 深圳前海达闼云端智能科技有限公司 一种应用程序启动方法及装置
CN106155753A (zh) * 2016-08-22 2016-11-23 广东欧珀移动通信有限公司 一种应用程序安装方法、装置和终端

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579131A (zh) * 2020-12-28 2021-03-30 深圳市鸿合创新信息技术有限责任公司 多系统设备的应用程序管理方法、装置和电子设备
CN113467870A (zh) * 2021-06-25 2021-10-01 宁波均联智行科技股份有限公司 基于双系统的app同屏显示方法及系统
CN113467870B (zh) * 2021-06-25 2023-10-03 宁波均联智行科技股份有限公司 基于双系统的app同屏显示方法及系统
WO2023000601A1 (zh) * 2021-07-23 2023-01-26 北京鸿合爱学教育科技有限公司 界面切换方法、装置、设备及计算机可读存储介质
CN113590072A (zh) * 2021-08-11 2021-11-02 深圳市皓丽智能科技有限公司 一种分屏显示方法及其设备
CN113986366A (zh) * 2021-11-24 2022-01-28 联想(北京)有限公司 应用调用实现方法、装置及电子设备
CN115079885A (zh) * 2022-06-30 2022-09-20 深圳市康冠商用科技有限公司 双窗口显示的系统操控方法、装置、电子设备及存储介质
CN115079885B (zh) * 2022-06-30 2024-05-03 深圳市康冠商用科技有限公司 双窗口显示的系统操控方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN112015475A (zh) 2020-12-01
CN112015475B (zh) 2021-11-12

Similar Documents

Publication Publication Date Title
WO2020238425A1 (zh) 一种应用程序启动方法及装置
EP3610403B1 (en) Isolated container event monitoring
US10127057B2 (en) Method and apparatus for dynamically implementing application function
EP3493059B1 (en) Application data migration method and device
US9092627B2 (en) Apparatus and method for providing security information in virtual environment
US10452469B2 (en) Server performance correction using remote server actions
JP6306731B2 (ja) アプリケーションプログラムをプッシュするための方法、装置、およびシステム、ならびにデバイス
US9118686B2 (en) Per process networking capabilities
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN109857506B (zh) 引导信息的实现方法、装置、电子设备和存储介质
US20150113423A1 (en) System and method to configure a field device
US9384041B2 (en) Information processing system for ending a first program when a second program ends
CN106027631B (zh) 一种数据传输方法及装置
CN112068880A (zh) 导引页面的生成和控制方法、以及生成和控制装置
CN110708366A (zh) 一种插件进程的管理方法及相关方法和相关装置
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
CN111866557B (zh) 大屏显示设备的配置方法、装置、存储介质以及电子设备
CN112968929B (zh) 一种服务器管理方法和系统
US10637827B2 (en) Security network system and data processing method therefor
KR101223981B1 (ko) 안전한 애플리케이션 실행을 위한 가상화 장치, 서버 및 방법
CN112163193A (zh) 一种广播注册控制方法、装置、设备及介质
US9454381B2 (en) Method for controlling registration of input device in input handler instance, terminal and storage device
US20160210033A1 (en) Remote Support of a Device
KR20190071530A (ko) 패킷 전송을 제어하는 서버 및 방법
KR102368160B1 (ko) 크립토재킹을 탐지하는 단말기 및 그의 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20815166

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20815166

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20815166

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.09.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20815166

Country of ref document: EP

Kind code of ref document: A1