CN112015475B - Application program starting method and device - Google Patents

Application program starting method and device Download PDF

Info

Publication number
CN112015475B
CN112015475B CN201910465397.4A CN201910465397A CN112015475B CN 112015475 B CN112015475 B CN 112015475B CN 201910465397 A CN201910465397 A CN 201910465397A CN 112015475 B CN112015475 B CN 112015475B
Authority
CN
China
Prior art keywords
operating system
application program
system unit
application
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910465397.4A
Other languages
Chinese (zh)
Other versions
CN112015475A (en
Inventor
叶志龙
闫科锋
张华飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910465397.4A priority Critical patent/CN112015475B/en
Priority to PCT/CN2020/083724 priority patent/WO2020238425A1/en
Publication of CN112015475A publication Critical patent/CN112015475A/en
Application granted granted Critical
Publication of CN112015475B publication Critical patent/CN112015475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

The embodiment of the invention provides an application program starting method and device. The first operating system is an operating system which is running by the electronic equipment, at the moment, when a first system unit running the first operating system receives a starting instruction for starting an application program of the second operating system, the starting instruction is sent to a second system unit running the second operating system, the second system unit starts the application program, the second operating system is started first after the first operating system is not required to be quitted, the application program is started in the second operating system, the cross-operating system starting of the application program can be realized through one-key operation of a user, and the speed of the cross-operating system starting of the application program is improved.

Description

Application program starting method and device
Technical Field
The invention relates to the technical field of computers, in particular to an application program starting method and device.
Background
With the maturity and cross-platform of the operating system, more and more electronic devices are pre-installed with the operating system when leaving the factory, and the operating system can support the installation of various application programs, so that various user experiences are brought to users.
Different operating systems fundamentally determine different interaction modes, and different operating systems have respective advantages, but one operating system is difficult to integrate the advantages of all operating systems. If a user wants to have different operation experiences, the user requires two or even more operating systems to exist in one electronic device.
In the current electronic device with multiple operating systems, if a user is using a first operating system, at this time, if the user wants to start an application program of a second operating system, the user must first quit the first operating system, then start the second operating system, and then start the application program under the second operating system. The process of launching applications across operating systems is complex, resulting in slower launch speeds for applications.
Disclosure of Invention
The embodiment of the invention aims to provide an application program starting method and device so as to improve the speed of starting an application program across operating systems. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an application starting method, which is applied to a first system unit in an electronic device, where the electronic device includes multiple system units, each system unit runs a different operating system, and the first system unit is a system unit running a first operating system in the electronic device, and the method includes:
receiving a starting instruction, wherein the starting instruction is generated when a user selects to start an application program of a second operating system when the electronic equipment runs the first operating system, and the starting instruction comprises identification information of the application program;
and sending the starting instruction to a second system unit based on the identification information, wherein the second system unit is a system unit of the electronic equipment for operating the second operating system, so that the second system unit starts the application program according to the identification information.
Optionally, before the receiving the start instruction, the method further includes:
sending a display request message to the second system unit;
receiving a response message replied by the second system unit, wherein the response message comprises icon data of all application programs of the second operating system;
sending the icon data of all the application programs of the second operating system to a display screen so that the display screen displays the icon data of all the application programs of the second operating system in an application interface of the first operating system;
the receiving of the starting instruction comprises:
and receiving a starting instruction generated when a user selects icon data of an application program of the second operating system in an application interface of the first operating system displayed by the electronic equipment.
Optionally, the sending the start instruction to the second system unit based on the identification information includes:
and sending the starting instruction to a second system unit through a data channel based on the identification information.
Optionally, the method further includes:
detecting whether the data channel is abnormal;
and if the data channel is detected to be abnormal, restoring the normal communication of the data channel through signaling interaction between a signaling channel and the second system unit, or sending the starting instruction to the second system unit through the signaling channel based on the identification information.
Optionally, the method further includes:
receiving an application program installation package, wherein the application program installation package comprises the type of an application program;
and when the type of the application program is determined to be the application program of the second operating system, sending the application program installation package to the second system unit so that the second system unit installs the application program installation package.
Optionally, the method further includes:
receiving an uninstalling instruction, wherein the uninstalling instruction comprises the type of an application program to be uninstalled;
when the type of the application program to be uninstalled is determined to be the application program of the second operating system, sending the uninstalling instruction to the second system unit so that the second system unit uninstalls the application program.
In a second aspect, an embodiment of the present invention provides an application starting apparatus, which is applied to a first system unit in an electronic device, where the electronic device includes a plurality of system units, each system unit runs a different operating system, and the first system unit is a system unit running a first operating system in the electronic device, and the apparatus includes:
the receiving module is used for receiving a starting instruction, wherein the starting instruction is generated when a user selects to start an application program of a second operating system when the electronic equipment runs the first operating system, and the starting instruction comprises identification information of the application program;
and the sending module is used for sending the starting instruction to a second system unit based on the identification information, wherein the second system unit is a system unit which runs the second operating system in the electronic equipment, so that the second system unit starts the application program according to the identification information.
Optionally, the sending module is further configured to send a display request message to the second system unit;
the receiving module is further configured to 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;
the sending module is further configured to send the icon data of all the application programs of the second operating system to a display screen, so that the display screen displays the icon data of all the application programs of the second operating system in an application interface of the first operating system;
when the receiving module is configured to receive the start instruction, the receiving module is specifically configured to:
and receiving a starting instruction generated when a user selects icon data of an application program of the second operating system in an application interface of the first operating system displayed by the electronic equipment.
Optionally, the sending module is specifically configured to:
and sending the starting instruction to a second system unit through a data channel based on the identification information.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the data channel is abnormal or not;
the sending module is specifically configured to, if the detection module detects that the data channel is abnormal, recover normal communication of the data channel through signaling interaction between the signaling channel and the second system unit, or send the start instruction to the second system unit through the signaling channel based on the identification information.
Optionally, the receiving module is further configured to receive an application installation package, where the application installation package includes a type of an application;
the sending module is further configured to send the application installation package to the second system unit when it is determined that the type of the application is the application of the second operating system, so that the second system unit installs the application installation package.
Optionally, the receiving module is further configured to receive an uninstalling instruction, where the uninstalling instruction includes a type of the application program to be uninstalled;
the sending module is further configured to send the uninstalling instruction to the second system unit when it is determined that the type of the application program to be uninstalled is the application program of the second operating system, so that the second system unit uninstalls the application program.
In a third aspect, an embodiment of the present invention provides an electronic device, including a plurality of system units and a display screen, where each system unit runs a different operating system;
the display screen is used for displaying an application interface of an operating system and a program interface of an application program;
the system units include a processor and a memory, wherein,
the memory is used for storing a computer program;
the processor is configured to implement the method provided by the first aspect of the embodiment of the present invention when executing the computer program stored in the memory.
In a fourth aspect, the present invention provides a machine-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method provided in the first aspect of the present invention.
According to the application program starting method and device provided by the embodiment of the invention, after a first system unit running a first operating system in electronic equipment receives a starting instruction, the starting instruction is sent to a second system unit running a second operating system based on identification information of an application program in the starting instruction, so that the second system unit starts the application program according to the identification information of the application program. The first operating system is an operating system which is running by the electronic equipment, at the moment, when a first system unit running the first operating system receives a starting instruction for starting an application program of the second operating system, the starting instruction is sent to a second system unit running the second operating system, the second system unit starts the application program, the second operating system is started first after the first operating system is not required to be quitted, the application program is started in the second operating system, the cross-operating system starting of the application program can be realized through one-key operation of a user, and the speed of the cross-operating system starting of the application program is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an application starting method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an interaction device according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an application startup device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system unit in the electronic device according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the speed of starting an application program across operating systems, embodiments of the present invention provide an application program starting method and apparatus, an electronic device, and a machine-readable storage medium. Next, a method for starting an application provided in the embodiment of the present invention is described first.
The execution main body of the application program starting method provided by the embodiment of the present invention may be an electronic device with multiple operating systems, the electronic device includes multiple system units that can run operating systems in different modes, each system unit runs an operating system in one mode (for example, a Windows operating system, an android operating system, a Linux operating system, etc.), and the system unit may be a software unit or a hardware unit, which is not specifically limited herein. The electronic device may be a mobile phone, a personal computer, an interactive device that uses infrared frame or capacitive touch to realize touch, and the like.
Next, a description is given of an application starting method provided in an embodiment of the present invention in an execution process of a first system unit running a first operating system in an electronic device, as shown in fig. 1, where the method includes the following steps.
S101, receiving a starting instruction, wherein the starting instruction is generated when a user selects to start an application program of a second operating system when the electronic equipment runs a first operating system, and the starting instruction comprises identification information of the application program.
The electronic device currently runs the first operating system, and at this time, when a user wants to start an application program of the second operating system, corresponding operations are performed on the electronic device, for example, identification information of the application program of the second operating system is input on the electronic device, icon data of the application program of the second operating system is selectively displayed on an application interface of the first operating system currently displayed on the electronic device, and the like. After the user performs the above operation on the electronic device, a start instruction is generated, where the start instruction includes identification information of an application program that the user wants to start, the identification information is used to indicate uniqueness of the application program, and may be an ID number of the application program, an application type, and the like, and may also include an identification of an operating system to which the application program belongs, and then the start instruction indicates that the user specifically wants to start the application program of that operating system.
Optionally, before executing S101, the application starting method provided in the embodiment of the present invention may further execute the following steps:
the first step is to send a display request message to the second system unit.
And secondly, receiving a response message replied by the second system unit, wherein the response message comprises the icon data of all the application programs of the second operating system.
And thirdly, sending 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 data establishment between the first system unit and the second system unit can be established, after the data connection is established, the first system unit can send a display request message to the second system unit to request the second system unit to feed back information such as application package names, attributes, icons, distributed IDs and the like of all application programs of the second operating system to the first system unit, after the second system unit receives the display request message, a response message can be replied to the first system unit, and the response message at least comprises icon data of all application programs of the second operating system and information such as application package names, attributes, distributed IDs and the like of all application programs. The icon data may include not only an icon of the application program but also an application type of the application program and the like.
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 the display screen controls the icon data of all the application programs of the second operating system to be displayed in the application interface when the application interface of the first operating system is displayed on the display screen. Specifically, the display function of the display screen may be controlled by one operating system, and the first system unit may first send the icon data of all the application programs of the second operating system to the system unit for controlling the display of the display screen, and the system unit controls the display screen to display.
The manner 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 specifically be: all the application programs of the first operating system and all the application programs of the second operating system are respectively displayed in two screens, and a user can select which operating system all the application programs are displayed by sliding the display screens.
Correspondingly, S101 may specifically be: and receiving a starting instruction generated when a user selects icon data of an application program of a second operating system in an application interface of a first operating system displayed by the electronic equipment.
Under the scene that the icon data of all the application programs of the second operating system are displayed in the application interface of the first operating system, a user can select the application programs of the second operating system by clicking the icon data on the display screen.
And S102, sending a starting instruction to a second system unit based on the identification information, wherein the second system unit is a system unit of the electronic equipment running a second operating system, so that the second system unit starts the application program according to the identification information.
After receiving the start instruction, the first system unit may determine, according to the identification information of the application program in the start instruction, which application program is the application program of the operating system, and therefore, the start instruction may be sent to the corresponding system unit, for example, when a user requests to start the application program of the second operating system, the first system unit may send the start instruction to the second system unit running the second operating system. After the second system unit receives the start instruction, because 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 according to the identification information.
When the second system unit starts to run the application program, the second system unit may send a closing instruction to the system unit interacting with the user, the system unit closes the touch permission of the application interface of the first operating system operated by the user, and if the system unit interacting with the user is the second system unit, the second system unit may actively close the touch permission of the application interface of the first operating system operated by the user. Thus, the user can be prevented from operating the first operating system by mistake when operating the application program of the second operating system. At this time, a program interface of the application program of the second operating system is displayed on the display screen of the electronic device.
Correspondingly, after the user closes the application program exiting from the second operating system, the display screen exits from the program interface of the currently displayed application program, the application interface of the first operating system is restored to be displayed, and meanwhile, the system unit interacting with the user restores the touch permission of the user for operating the application interface of the first operating system.
Optionally, S102 may specifically be: and sending the starting instruction to the second system unit through the data channel based on the identification information.
The system units in the electronic device can be connected through the data channel, the first system unit can transmit data with the second system unit through the data channel, and the first system unit can send the starting instruction to the second system unit through the data channel.
The data channel can be a network but not limited to a network, and a hardware network switching chip or a software network switching function exists in the system units to ensure that the connection can be established between the system units.
Optionally, the application program starting method provided in the embodiment of the present invention may further perform the following steps:
step 1, detecting whether a data channel is abnormal.
And 2, if the data channel is detected to be abnormal, restoring the normal communication of the data channel through signaling interaction of the signaling channel and the second system unit, or sending a starting instruction to the second system unit through the signaling channel based on the identification information.
The system units can also detect the transmission state of the data channel in real time, judge whether the data channel is abnormal, and if the data channel is abnormal, the data can not be normally transmitted between the first system unit and the second system unit, so that a signaling channel can be arranged between the system units, and the signaling channel is a physical link, thereby ensuring that the communication is kept smooth after the system units are started. When the data channel is abnormal, the first system unit can quickly recover the normal communication of the data channel through the signaling interaction between the signaling channel and the second system unit; alternatively, the data channel may be replaced by a signaling channel, and the start instruction may be sent to the second system unit directly through the signaling channel.
Optionally, the application program starting method provided in the embodiment of the present invention may further perform: receiving an application program installation package, wherein the application program installation package can comprise the type of an application program; and when the type of the application program is determined to be the application program of the second operating system, sending the application program installation package to the second system unit so that the second system unit installs the application program installation package.
Optionally, the application program starting method provided in the embodiment of the present invention may further perform: receiving an uninstall instruction, wherein the uninstall instruction may include a type of an application to be uninstalled; and when the type of the application program to be uninstalled is determined to be the application program of the second operating system, sending an uninstalling instruction to the second system unit so that the second system unit uninstalls the application program.
The application program can be started across the operating systems, a user can select to install or uninstall the application program of the second operating system when the electronic device runs the first operating system, the first system unit can send the application program installation package or the uninstall instruction to the second system unit after receiving the corresponding application program installation package or uninstall instruction, and the second system unit installs or uninstalls the application program.
By applying the embodiment of the invention, after the first system unit running the first operating system in the electronic equipment receives the starting instruction, the starting instruction is sent to the second system unit running the second operating system based on the identification information of the application program in the starting instruction, so that the second system unit starts the application program according to the identification information of the application program. The first operating system is an operating system which is running by the electronic equipment, at the moment, when a first system unit running the first operating system receives a starting instruction for starting an application program of the second operating system, the starting instruction is sent to a second system unit running the second operating system, the second system unit starts the application program, the second operating system is started first after the first operating system is not required to be quitted, the application program is started in the second operating system, the cross-operating system starting of the application program can be realized through one-key operation of a user, and the speed of the cross-operating system starting of the application program is improved.
For convenience of understanding, the following describes an application starting method provided by the embodiment of the present invention by taking an interactive device with a Windows operating system and an android operating system as an example, and as shown in fig. 2, the interactive device is a schematic structural diagram.
The input interface 201 can trigger two paths of input data to be respectively provided for the Windows system unit 202 and the android system unit 203 to use, and an android operating system running in the android system unit 203 can control the on or off of the two paths 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 displaying, that is, the display screen 204 is controlled by the android operating system running in the android system unit 203, therefore, the android operating system running in the android system unit 203 will be started before the Windows operating system running in the Windows system unit 202, and the Windows system unit 202 is connected with the android system unit 203 through a data channel and a signaling channel except that the Windows system unit 202 transmits a display signal to the android system unit 203.
The Windows system unit 202 and the android system unit 203 both have corresponding monitoring service programs, establish data channels after the system units are started, and monitor the states of the data channels. The signaling channel is a physical link, which can ensure to keep smooth after the system unit is started. If the data channel is abnormal, the connection state can be quickly recovered through the signaling channel; data may be transmitted over a signaling channel instead of a data channel if necessary.
After the data connection between the Windows system unit 202 and the android system unit 203 is established, the Windows system unit 202 requests the android system unit 203 for information such as application package names, attributes, icon data, assigned ID values and the like of all application programs, the android system unit 203 replies the icon data of all application programs of the android operating system to the Windows system unit 202, the Windows system unit 202 sends the displayed information to the android system unit 203 after receiving the icon data, and the android system unit 203 controls to display all application programs of the android operating system in an application interface of the Windows operating system displayed on the display screen 204, including application types, icons and the like of the application programs.
When the user clicks an application icon of the android operating system, the Windows system unit 202 sends the generated start instruction (including identification information of the application) to the android system unit 203, and the android system unit 203 starts the corresponding application.
When the android system unit 203 starts running the application program, the Windows touch permission is closed, and the Windows operating system is prevented from being operated by mistake when the application program of the android operating system is operated. After the user closes the application program exiting the android operating system, the display exits the interface display of the application program, the application interface of the Windows operating system is restored and displayed, and meanwhile, the Windows touch control permission is restored.
In addition, the data path between the Windows system unit 202 and the android system unit 203 is not only used to start the application program of the android operating system, but also used to transmit the installation package and the uninstallation instruction of the android operating system, so as to install and uninstall the application program of the android operating system in the application interface of the Windows operating system.
Corresponding to the foregoing method embodiment, an embodiment of the present invention provides an application starting apparatus, which is applied to a first system unit in an electronic device, where the electronic device includes a plurality of system units, each system unit runs a different operating system, and the first system unit is a system unit running a first operating system in the electronic device, and as shown in fig. 3, the application starting apparatus may include:
a receiving module 310, configured to receive a start instruction, where the start instruction is an instruction generated when a user selects to start an application program of a second operating system when the electronic device runs the first operating system, and the start instruction includes identification information of the application program;
a sending module 320, configured to send the start instruction to a second system unit based on the identification information, where the second system unit is a system unit in the electronic device that runs the second operating system, so that the second system unit starts the application according to the identification information.
Optionally, the sending module 320 may be further configured to send a display request message to the second system unit;
the receiving module 310 may be further configured to 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;
the sending module 320 may be further configured to send the icon data of all the application programs of the second operating system to a display screen, so that the display screen displays the icon data of all the application programs of the second operating system in an application interface of the first operating system;
when the receiving module 310 is configured to receive the start instruction, it may specifically be configured to:
and receiving a starting instruction generated when a user selects icon data of an application program of the second operating system in an application interface of the first operating system displayed by the electronic equipment.
Optionally, the sending module 320 may be specifically configured to:
and sending the starting instruction to a second system unit through a data channel based on the identification information.
Optionally, the apparatus may further include:
the detection module is used for detecting whether the data channel is abnormal or not;
the sending module 320 may be specifically configured to, if the detection module detects that the data channel is abnormal, recover normal communication of the data channel through signaling interaction between the signaling channel and the second system unit, or send the start instruction to the second system unit through the signaling channel based on the identification information.
Optionally, the receiving module 310 may be further configured to receive an application installation package, where the application installation package includes a type of an application;
the sending module 320 may be further configured to send the application installation package to the second system unit when it is determined that the type of the application is the application of the second operating system, so that the second system unit installs the application installation package.
Optionally, the receiving module 310 may be further configured to receive an uninstall instruction, where the uninstall instruction includes a type of the application to be uninstalled;
the sending module 320 may be further configured to send the uninstall instruction to the second system unit when it is determined that the type of the application program to be uninstalled is the application program of the second operating system, so that the second system unit uninstalls the application program.
By applying the embodiment of the invention, after the first system unit running the first operating system in the electronic equipment receives the starting instruction, the starting instruction is sent to the second system unit running the second operating system based on the identification information of the application program in the starting instruction, so that the second system unit starts the application program according to the identification information of the application program. The first operating system is an operating system which is running by the electronic equipment, at the moment, when a first system unit running the first operating system receives a starting instruction for starting an application program of the second operating system, the starting instruction is sent to a second system unit running the second operating system, the second system unit starts the application program, the second operating system is started first after the first operating system is not required to be quitted, the application program is started in the second operating system, the cross-operating system starting of the application program can be realized through one-key operation of a user, and the speed of the cross-operating system starting of the application program is improved.
The embodiment of the invention also provides electronic equipment which comprises a plurality of system units and a display screen, wherein each system unit runs different operating systems.
The display screen is used for displaying an application interface of an operating system and a program interface of an application program;
as shown in fig. 4, each system unit includes a processor 401 and a memory 402, wherein,
the memory 402 for storing a computer program;
the processor 401 is configured to implement all the steps of the application program starting method provided in the embodiment of the present invention when executing the computer program stored in the memory 402.
The memory 402 and the processor 401 may be connected by a wired connection or a wireless connection for data transmission, and the system units may communicate with each other through a wired communication interface or a wireless communication interface.
The Memory may include a RAM (Random Access Memory) or an NVM (Non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In this embodiment, the processor can realize that: after a first system unit running a first operating system in the electronic equipment receives a starting instruction, the starting instruction is sent to a second system unit running a second operating system based on identification information of an application program in the starting instruction, so that the second system unit starts the application program according to the identification information of the application program. The first operating system is an operating system which is running by the electronic equipment, at the moment, when a first system unit running the first operating system receives a starting instruction for starting an application program of the second operating system, the starting instruction is sent to a second system unit running the second operating system, the second system unit starts the application program, the second operating system is started first after the first operating system is not required to be quitted, the application program is started in the second operating system, the cross-operating system starting of the application program can be realized through one-key operation of a user, and the speed of the cross-operating system starting of the application program is improved.
In addition, corresponding to the application program starting method provided in the foregoing embodiment, an embodiment of the present invention provides a machine-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, all the steps of the application program starting method provided in the embodiment of the present invention are implemented.
In this embodiment, the machine-readable storage medium stores a computer program that executes the application program starting method provided in the embodiment of the present invention when executed, and thus can implement: after a first system unit running a first operating system in the electronic equipment receives a starting instruction, the starting instruction is sent to a second system unit running a second operating system based on identification information of an application program in the starting instruction, so that the second system unit starts the application program according to the identification information of the application program. The first operating system is an operating system which is running by the electronic equipment, at the moment, when a first system unit running the first operating system receives a starting instruction for starting an application program of the second operating system, the starting instruction is sent to a second system unit running the second operating system, the second system unit starts the application program, the second operating system is started first after the first operating system is not required to be quitted, the application program is started in the second operating system, the cross-operating system starting of the application program can be realized through one-key operation of a user, and the speed of the cross-operating system starting of the application program is improved.
For the embodiments of the apparatus, the electronic device, and the machine-readable storage medium, since the contents of the methods related thereto are substantially similar to the foregoing method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, and the machine-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. An application program starting method is applied to a first system unit in electronic equipment, the electronic equipment comprises a plurality of system units, each system unit runs different operating systems, and the first system unit is a system unit running a first operating system in the electronic equipment, and the method comprises the following steps:
receiving a starting instruction, wherein the starting instruction is generated when a user selects to start an application program of a second operating system when the electronic equipment runs the first operating system, and the starting instruction comprises identification information of the application program;
based on the identification information, sending the starting instruction to a second system unit, wherein the second system unit is a system unit of the electronic equipment for operating a second operating system, so that the second system unit starts the application program according to the identification information;
when the second system unit starts the application program, the first operating system is in a using state, the second system unit sends a touch permission closing instruction to the first system unit, and the touch permission of a user for operating an application interface of the first operating system is closed;
and after the user closes the application program exiting the second operating system, the display screen exits the program interface of the currently displayed application program, the application interface of the first operating system in use is restored and displayed, and meanwhile, the touch permission of the user for operating the application interface of the first operating system is restored.
2. The method of claim 1, wherein prior to said receiving a boot instruction, the method further comprises:
sending a display request message to the second system unit;
receiving a response message replied by the second system unit, wherein the response message comprises icon data of all application programs of the second operating system;
sending the icon data of all the application programs of the second operating system to a display screen so that the display screen displays the icon data of all the application programs of the second operating system in an application interface of the first operating system;
the receiving of the starting instruction comprises:
and receiving a starting instruction generated when a user selects icon data of an application program of the second operating system in an application interface of the first operating system displayed by the electronic equipment.
3. The method of claim 1, wherein sending the boot instruction to a second system unit based on the identification information comprises:
and sending the starting instruction to a second system unit through a data channel based on the identification information.
4. The method of claim 3, further comprising:
detecting whether the data channel is abnormal;
and if the data channel is detected to be abnormal, restoring the normal communication of the data channel through signaling interaction between a signaling channel and the second system unit, or sending the starting instruction to the second system unit through the signaling channel based on the identification information.
5. The method of claim 1, further comprising:
receiving an application program installation package, wherein the application program installation package comprises the type of an application program;
and when the type of the application program is determined to be the application program of the second operating system, sending the application program installation package to the second system unit so that the second system unit installs the application program installation package.
6. The method of claim 1, further comprising:
receiving an uninstalling instruction, wherein the uninstalling instruction comprises the type of an application program to be uninstalled;
when the type of the application program to be uninstalled is determined to be the application program of the second operating system, sending the uninstalling instruction to the second system unit so that the second system unit uninstalls the application program.
7. An application program starting device, applied to a first system unit in an electronic device, where the electronic device includes a plurality of system units, each system unit runs a different operating system, and the first system unit is a system unit running a first operating system in the electronic device, the device comprising:
the receiving module is used for receiving a starting instruction, wherein the starting instruction is generated when a user selects to start an application program of a second operating system when the electronic equipment runs the first operating system, and the starting instruction comprises identification information of the application program;
a sending module, configured to send the start instruction to a second system unit based on the identification information, where the second system unit is a system unit in the electronic device that runs the second operating system, so that the second system unit starts the application program according to the identification information;
when the second system unit starts the application program, the first operating system is in a using state, the second system unit sends a touch permission closing instruction to the first system unit, and the touch permission of a user for operating an application interface of the first operating system is closed;
and after the user closes the application program exiting the second operating system, the display screen exits the program interface of the currently displayed application program, the application interface of the first operating system in use is restored and displayed, and meanwhile, the touch permission of the user for operating the application interface of the first operating system is restored.
8. The apparatus of claim 7,
the sending module is further configured to send a display request message to the second system unit;
the receiving module is further configured to 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;
the sending module is further configured to send the icon data of all the application programs of the second operating system to a display screen, so that the display screen displays the icon data of all the application programs of the second operating system in an application interface of the first operating system;
when the receiving module is configured to receive the start instruction, the receiving module is specifically configured to:
and receiving a starting instruction generated when a user selects icon data of an application program of the second operating system in an application interface of the first operating system displayed by the electronic equipment.
9. The apparatus of claim 7, wherein the sending module is specifically configured to:
and sending the starting instruction to a second system unit through a data channel based on the identification information.
10. The apparatus of claim 9, further comprising:
the detection module is used for detecting whether the data channel is abnormal or not;
the sending module is specifically configured to, if the detection module detects that the data channel is abnormal, recover normal communication of the data channel through signaling interaction between the signaling channel and the second system unit, or send the start instruction to the second system unit through the signaling channel based on the identification information.
11. The apparatus of claim 7,
the receiving module is further configured to receive an application program installation package, where the application program installation package includes a type of an application program;
the sending module is further configured to send the application installation package to the second system unit when it is determined that the type of the application is the application of the second operating system, so that the second system unit installs the application installation package.
12. The apparatus of claim 7,
the receiving module is further configured to receive an uninstalling instruction, where the uninstalling instruction includes a type of an application program to be uninstalled;
the sending module is further configured to send the uninstalling instruction to the second system unit when it is determined that the type of the application program to be uninstalled is the application program of the second operating system, so that the second system unit uninstalls the application program.
13. An electronic device is characterized by comprising a plurality of system units and a display screen, wherein each system unit runs different operating systems;
the display screen is used for displaying an application interface of an operating system and a program interface of an application program;
the system units include a processor and a memory, wherein,
the memory is used for storing a computer program;
the processor, when executing the computer program stored on the memory, implementing the method of any of claims 1-6.
14. A machine readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
CN201910465397.4A 2019-05-30 2019-05-30 Application program starting method and device Active CN112015475B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910465397.4A CN112015475B (en) 2019-05-30 2019-05-30 Application program starting method and device
PCT/CN2020/083724 WO2020238425A1 (en) 2019-05-30 2020-04-08 Application starting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465397.4A CN112015475B (en) 2019-05-30 2019-05-30 Application program starting method and device

Publications (2)

Publication Number Publication Date
CN112015475A CN112015475A (en) 2020-12-01
CN112015475B true CN112015475B (en) 2021-11-12

Family

ID=73500923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465397.4A Active CN112015475B (en) 2019-05-30 2019-05-30 Application program starting method and device

Country Status (2)

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

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579131A (en) * 2020-12-28 2021-03-30 深圳市鸿合创新信息技术有限责任公司 Application program management method and device for multi-system equipment and electronic equipment
CN113467870B (en) * 2021-06-25 2023-10-03 宁波均联智行科技股份有限公司 APP same-screen display method and system based on dual systems
CN113791829A (en) * 2021-07-20 2021-12-14 广州朗国电子科技股份有限公司 Dual-system electronic whiteboard software mutual starting method and system and electronic whiteboard
CN113656120A (en) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 Interface switching method, device, equipment and storage medium
CN113590072A (en) * 2021-08-11 2021-11-02 深圳市皓丽智能科技有限公司 Split screen display method and device
CN114281555A (en) * 2021-11-08 2022-04-05 北京鲸鲮信息系统技术有限公司 Application state synchronization method and device, electronic equipment and storage medium
CN113986366A (en) * 2021-11-24 2022-01-28 联想(北京)有限公司 Application calling implementation method and device and electronic equipment
CN113849199B (en) * 2021-12-01 2022-03-08 北京鲸鲮信息系统技术有限公司 Method and device for cross-system installation of application, electronic equipment and storage medium
CN114265635A (en) * 2021-12-21 2022-04-01 维沃移动通信有限公司 Application program starting method and device
CN116339873A (en) * 2021-12-23 2023-06-27 Oppo广东移动通信有限公司 Interface display method, device, apparatus, storage medium and program product
CN116360895A (en) * 2021-12-27 2023-06-30 Oppo广东移动通信有限公司 Application starting method, device, equipment and storage medium
CN114785758A (en) * 2022-03-03 2022-07-22 阿里巴巴(中国)有限公司 Application access method and device of cross-operating system
CN115079885B (en) * 2022-06-30 2024-05-03 深圳市康冠商用科技有限公司 System control method and device for double window display, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123511B (en) * 2011-03-18 2013-08-28 中国电信股份有限公司 Mobile network data transmission method and system as well as mobile terminal
CN103309690B (en) * 2012-03-12 2016-08-17 联想(北京)有限公司 Process method and the electronic equipment of data
CN104050020A (en) * 2013-03-15 2014-09-17 宇宙互联有限公司 Electronic device with operating system sharing control function, and system and method
TWI511047B (en) * 2014-05-08 2015-12-01 Pegatron Corp Operating system switching method and dual operating system electronic device using the same
CN105653336A (en) * 2015-12-30 2016-06-08 惠州市德赛西威汽车电子股份有限公司 Method for integrating application under double operating systems
JP6530816B2 (en) * 2016-03-25 2019-06-12 深▲せん▼前海達闥雲端智能科技有限公司Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Application start method and apparatus
CN106155753A (en) * 2016-08-22 2016-11-23 广东欧珀移动通信有限公司 A kind of application program installation method, device and terminal
CN106897152A (en) * 2017-02-27 2017-06-27 北京珠穆朗玛移动通信有限公司 A kind of Multiple system procedure management method and mobile terminal
CN107943606B (en) * 2017-11-22 2023-12-15 博泰车联网科技(上海)股份有限公司 Fault processing method and device under double operating systems, memory and electronic equipment

Also Published As

Publication number Publication date
WO2020238425A1 (en) 2020-12-03
CN112015475A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN112015475B (en) Application program starting method and device
US10893094B2 (en) System and method for appliance detection and app configuration
EP3493059B1 (en) Application data migration method and device
CN107276789B (en) Log uploading method and device and computer readable storage medium
US10127057B2 (en) Method and apparatus for dynamically implementing application function
EP2845091B1 (en) Dynamic user interface customization
RU2605919C2 (en) Method and apparatus for displaying push messages
EP3073379B1 (en) Firmware recovery method, device and terminal
CN104980399B (en) File transmission method, client and proxy server
JP6306731B2 (en) Method, apparatus, and system for pushing an application program, and device
KR20100017023A (en) Image forming apparatus and method for controlling application thereof
US10404568B2 (en) Agent manager for distributed transaction monitoring system
US9384041B2 (en) Information processing system for ending a first program when a second program ends
CN106886331B (en) Data processing method and device of touch terminal and touch terminal
CN106066803B (en) application program operation control method and device
CN103412793A (en) Method, device and system for optimizing system resources
KR20130005738A (en) Method for performing remote control for usb device and system for performing the same
CN111124753A (en) Application program control method, electronic equipment and server
CN103810033A (en) Method and device for detecting starting of application program
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
CN112968929B (en) Server management method and system
CN108255547B (en) Application program control method and device
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN112286414A (en) Information display method and device, electronic equipment and storage medium
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium

Legal Events

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