WO2018112775A1 - Method for operating another operating system, apparatus and electronic device - Google Patents

Method for operating another operating system, apparatus and electronic device Download PDF

Info

Publication number
WO2018112775A1
WO2018112775A1 PCT/CN2016/111219 CN2016111219W WO2018112775A1 WO 2018112775 A1 WO2018112775 A1 WO 2018112775A1 CN 2016111219 W CN2016111219 W CN 2016111219W WO 2018112775 A1 WO2018112775 A1 WO 2018112775A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating system
application
user
background
file
Prior art date
Application number
PCT/CN2016/111219
Other languages
French (fr)
Chinese (zh)
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 深圳前海达闼云端智能科技有限公司
Priority to CN201680002856.XA priority Critical patent/CN107438835A/en
Priority to PCT/CN2016/111219 priority patent/WO2018112775A1/en
Publication of WO2018112775A1 publication Critical patent/WO2018112775A1/en

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
    • G06F9/441Multiboot arrangements, i.e. selecting an operating system to be loaded
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Definitions

  • the present application relates to the field of intelligent terminal technologies of multiple operating systems, and in particular, to a method, device, and electronic device for implementing operations on another operating system.
  • One purpose of embodiments of the present application is to reduce the complexity of the user's operation of other operating systems than the currently running operating system.
  • an embodiment of the present application provides a method for implementing operations on another operating system, including:
  • the application of the operating system running in the background is used.
  • the content performs the corresponding operations.
  • an embodiment of the present application provides an apparatus for implementing operations on another operating system, including:
  • a content determining module configured to determine content selected by the user in the current operating system
  • an execution module configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
  • an embodiment of the present application provides an electronic device, including: a display screen, a memory, one or more processors, and one or more modules;
  • the one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including for performing an implementation as described above for another operation The instructions for each step in the method of system operation.
  • embodiments of the present application provide a computer program product that encodes instructions for performing a process, the method including implementing a method of operating another operating system as described above The instructions in each step.
  • the technical solution provided by the embodiment of the present application can determine the user selected in the current operating system. After the content, further determining whether the preset operating condition is met, and when the preset operating condition is met, performing an operation on the content by using an application of an operating system running in the background, thereby implementing a shortcut to another operating system. Operation, no need to switch operating system, improve the user experience.
  • FIG. 1 shows an implementation of a method for implementing operation of another operating system in the first embodiment of the present application. Schematic diagram of the process
  • FIG. 2 is a schematic structural diagram of an apparatus for implementing operation on another operating system in Embodiment 2 of the present application;
  • Embodiment 3 is a schematic structural diagram of an electronic device in Embodiment 3 of the present application.
  • FIG. 4 is a schematic diagram of a scenario in Embodiment 5 of the present application.
  • FIG. 5 is a schematic diagram of a scenario in Embodiment 6 of the present application.
  • FIG. 6 is a schematic diagram of a scenario in Embodiment 7 of the present application.
  • FIG. 7 is a schematic diagram showing the variation of the floating window in the eighth embodiment of the present application.
  • the embodiments of the present application provide a method, an apparatus, and an electronic device for implementing operations on another operating system, which are described below.
  • FIG. 1 is a schematic flowchart of a method for implementing a method for operating another operating system in the first embodiment of the present application. As shown in the figure, the method for implementing operations on another operating system may include the following steps:
  • Step 101 Determine content selected by a user in a current operating system.
  • Step 102 Perform an operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
  • the embodiment of the present application may include two or more operating systems, and the operating systems may run under the unified management of the virtual manager.
  • the virtual manager can uniformly manage startup, communication, front and back office switching, and the like of all operating systems, and the multiple operating systems can
  • the resources of one physical host are shared in the form of a virtual machine, and the virtual manager Manager provides management functions for the virtual machine.
  • the current operating system can determine the content selected by the user in the current operating system, and then notify the virtual manager (VMM, Virtual Machine Manager), the virtual manager can determine the operation instruction corresponding to the content, and then utilize the application of another operating system. Perform corresponding operations on the content.
  • VMM Virtual Machine Manager
  • two operating systems can be virtualized on the virtualization kernel by virtualization technology, one operating system is used as a personal operating system for running a personal application, and the other operating system is used as an enterprise operating system for Run the enterprise application.
  • the application data security isolation in the two operating systems is realized, and the unified management is performed through the virtual manager.
  • the technical solution provided by the embodiment of the present application can determine the user selected in the current operating system. After the content, further determining whether the preset operating condition is met, and when the preset operating condition is met, performing an operation on the content by using an application of an operating system running in the background, thereby implementing a shortcut to another operating system. Operation improves the user experience.
  • the content selected by the user in the current operating system may be: a character selected by the user in an application of the current operating system, or a file selected by the user in the current operating system.
  • the content selected by the user in the current operating system may be a character selected by the user in an application of the current operating system, a file selected by the user in the current operating system, and the like, where the user is in the current operating system.
  • the characters selected in the application can be single characters or strings, such as: text, numbers, letters, etc., or any combination of two or three of text, numbers, and letters.
  • the preset operating condition may include at least one of the following conditions:
  • Condition 1 The user drags the selected content to the specified location
  • Condition 2 The user triggers a preset button or button combination while selecting the content
  • Condition 3 The user drags the preset button to the specified position while selecting the content.
  • some operating conditions may be preset, for example, the user drags the selected content to the specified location, and the user triggers a preset button or button combination while the content is selected, and the user selects the content at the same time.
  • the preset button can be dragged to a specified position, etc., and other operating conditions can be set by those skilled in the art according to actual needs, which is not limited in this application.
  • the current interface of the application of the current operating system may be preset with a button.
  • the present application implements For example, an application operating system running in the background performs a corresponding operation on the character.
  • the designated position may be a preset area or a position point, for example, a virtual area appears on the display after the selected content, when the user drags the selected content or the preset button or button combination When the virtual area is reached, it can be determined that the preset operating conditions are satisfied.
  • the display screen may be an electronic screen such as a touch screen, or may be a non-touch screen; the attributes such as the color, shape, and size of the floating window may be set according to actual needs, which is not limited in this application.
  • the current interface of the application in the embodiment of the present application may further include a function button, and when the user finishes editing the content in the current interface of the application, the function button may be triggered by dragging the function button to the specified position.
  • the virtual manager can obtain content input or selected by the user at the current interface of the application, and send the content to the application of the operating system running in the background.
  • the method may further include: displaying a floating window in the current operating system;
  • the specific condition may refer to: dragging the selected content to a position where the floating window is located, or
  • the condition three may specifically mean: dragging a preset button to a position where the floating window is located.
  • the position information of the function button and the position information of the floating window on the display screen are intersected, and the coordinate position of the function button is the same as the coordinate position of the floating window on the display screen, or the coordinate position of the function button is in the display.
  • the position range of the floating window on the screen, or the position range of the function button includes the coordinate position of the floating window on the display screen, or the position range of the function button coincides with or intersects with the position range of the floating window on the display screen. Wait.
  • the floating window can be set and displayed on the display screen, and the floating window serves as an interface to the operating system running in the background, when the user drags the content of the current operating system to the
  • the current operating system detects the behavior and can notify the underlying virtual manager that the virtual manager processes the behavior of the user, and then uses the operating system running in the background to perform the corresponding operation.
  • the method for implementing operation on another operating system provided by the embodiment of the present application can implement the corresponding operation by using the floating window as an interface, and the user selected content of the current operating system is executed by using an operating system running in the background, thereby realizing the current operation.
  • the purpose of the operating system for the background operating system shortcut operation improves the user experience.
  • the embodiment of the present application may detect the location information of the file, and when the location information of the file and the location information of the floating window on the display screen intersect, determine that the preset operating condition is met.
  • the current operating system when detecting that the user presses and drags any file to the floating window, the current operating system may determine that the content selected by the user is the file, thereby notifying the virtual manager, by the virtual manager. The operation corresponding to the file is determined, and the file is sent to another operating system for execution.
  • the embodiment of the present application can use the floating window on the display screen as the interface of the operating system running in the background, so that the user can execute the file by using the operating system running in the background after the current operating system selects a certain file.
  • the application that uses the operating system running in the background performs corresponding content on the content. Operation, which can include:
  • the operation is performed on the character using an application of an operating system running in the background.
  • the embodiment of the present application may further determine an operation control of the current interface of the application, for example, calling a phone application.
  • the operation control of the current interface may be a call trigger button
  • an operation control of the current interface of the instant messaging application may be a message button
  • an operation control of the WeChat/QQ application publishing friend circle interface is a publishing button
  • Weibo The operation controls of the interface for publishing, forwarding, and the like of the application are respectively a release button, a forwarding button, and the like.
  • the application of the current operating system may be a calling application
  • the character is a user identifier of the target user
  • the operation control may be a trigger button for making a call
  • the application of the operating system running in the background is used.
  • the performing the operation on the character by the program may include: initiating a call request to the target user according to the user identifier by using a dialing phone application of an operating system running in the background.
  • the embodiment of the present application may further determine that the operation control of the current interface (assumed to be a dialing interface) of the calling application is an outgoing call button. Then you can be sure that the user wants to make a call.
  • the manager of the virtual manager may further obtain the phone number input by the user in the dialing interface, send the phone number to another operating system, and invoke the background operation.
  • the operating system's call-to-call application dials the phone number, thereby enabling the call to be made by the operating system running in the background in the current operating system.
  • the user After the user who dials the phone enters the phone number to be dialed, the user can press and hold the function button and drag the function button to the location of the floating window, and the current operating system can determine the content selected by the user.
  • the current operating system can determine the content selected by the user.
  • the phone number can then be sent to the dial-up application of the operating system running in the background.
  • the user identifier of the target user may be the mobile phone number of the target user.
  • the user identifier of the target user may be a unique identifier of each user in the application for making a call, for example, a mobile phone number, an instant number, a signal code, etc., according to different applications for making a call, User IDs can also be different.
  • the application of the current operating system may be an instant messaging application; the character may be a message to be sent; the operation control may be a message sending button; and the application pair of the operating system running in the background
  • the performing the operation by the character may include: determining a destination user corresponding to the message to be sent, and sending the to-be-sent message to the destination user by using an instant messaging application of an operating system running in the background.
  • the embodiment of the present application may acquire content input or selected by the user on the current interface of the application, and determine a destination user corresponding to the content; The application of the operating system running in the background is sent to the destination user.
  • the embodiment of the present application may obtain the short message content input by the user and the number of the destination user to be sent, and the short message content and the destination user. The number sent to the background operation The system starts a short message sending and receiving program of the operating system running in the background to send the short message content to the destination user.
  • the embodiment of the present application may determine that the operation control is a message sending button, and further determine a destination user corresponding to the instant message input by the user, and the virtual manager
  • the instant message and the identifier of the destination user are sent to an operating system running in the background, and a corresponding instant message program (eg, QQ, WeChat, Fetion, etc.) of the operating system running in the background is started to send the instant message to the destination. user.
  • a corresponding instant message program eg, QQ, WeChat, Fetion, etc.
  • the determining the destination user corresponding to the message to be sent may be determined according to the identifier of the destination user, where the identifier of the destination user may be a mobile phone number, a QQ number, a micro signal, a fly signal, and the like.
  • the communication program is used to identify unique identifiers for different users.
  • the application that performs the corresponding operation on the content by using the operating system running in the background may include:
  • the file is executed by an application corresponding to the file type in the operating system running in the background.
  • the file may be a picture, a song, a video, a text file, etc., and may further be divided for different types of files.
  • the image file may be divided into a picture in the form of bmp, jpeg, png, etc.
  • the text file is further Can be divided into txt, word, and so on.
  • the operation instruction of the user can be determined by the correspondence between the determined file type and the preset file type and operation.
  • the file is another file of the unrecognized type, and the unidentified file corresponding to the preset operation is a copy, it may be determined that the user's operation request is to copy the unidentified file to another operating system.
  • the file in the embodiment of the present application may also be an application class file, such as an installation file of an application, an update file of an application, etc., when receiving an installation file of the application, may determine that the operation instruction of the user is The application is installed in an operating system running in the background, and when receiving the update file of the application, it may be determined that the operation instruction of the user is to update and upgrade the application in the operating system running in the background.
  • an application class file such as an installation file of an application, an update file of an application, etc.
  • the virtual manager manager may determine, according to the file type, an operating system running in the background.
  • An application corresponding to the file type executes the file by using an application corresponding to the file type in an operating system running in the background.
  • the application corresponding to the file type may be determined according to a preset correspondence, or an application capable of identifying and/or processing the file type may be determined according to the file type.
  • the corresponding relationship list may be preset, and the file of the same type may be mapped and mapped with an application running an operating system running in the background of the type, or the operating system running in the background may be automatically identified and matched according to the file type. Identify and process applications of the file type.
  • the file may be an audio file
  • the application corresponding to the file type in the operating system that is determined to run in the background may be: determining an application for playing an audio file in the operating system running in the background.
  • the executing the file by using an application corresponding to the file type in the operating system running in the background may be: playing the audio file by using an application for playing an audio file in an operating system running in the background.
  • the audio file may be played by a music player provided by the operating system running in the background, or may be installed by the background operating system, or may be used to play audio files.
  • QQ music and other music players play.
  • the playing screen of the audio may not be displayed on the display interface of the current operating system.
  • the executing, by using an application corresponding to the file type in an operating system running in the background, the file may include:
  • the file is stored to the specified directory using a data storage application of an operating system running in the background.
  • the user can drag a file to the floating window on the display screen, and the current operating system notifies the virtual manager that the file type of the file is recognized by the virtual manager, and needs to be executed when the file type is a preset relationship table.
  • the virtual manager Manager determines a specified directory of the operating system in which the file type is running in the background, and stores the file. To the specified directory.
  • the embodiment of the present application may further set a naming rule in advance, and modify the name of the file to a name of a preset format, so as to facilitate subsequent user search, identification, or system extraction.
  • the embodiment of the present application can quickly copy files in the current system to an operating system running in the background, which greatly improves the user experience.
  • the floating window may include a plurality of floating window identifiers
  • the operating system running in the background Before the system application performs the corresponding operations on the content, the method may further include:
  • the application of the operating system running in the background performs a corresponding operation on the content, and specifically, the corresponding operation is performed on the content by using an application of the selected operating system running in the background.
  • the operating system selected from the plurality of operating systems running in the background according to the floating window identifier is an operating system preset to be corresponding to the floating window identifier.
  • the floating window when multiple operating systems run in the background in the electronic device, the floating window may be multiple, and the floating windows may identify different operating systems according to different positions, colors, shapes, etc., when the user wants to When a running system running in the background performs a shortcut operation, simply select the corresponding identifier to perform the corresponding behavior.
  • the embodiment of the present application can implement a shortcut operation between multiple operating systems, and does not require the user to perform system switching, which is simple to implement and improves the user experience.
  • an apparatus for implementing operation on another operating system is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the method for implementing operation on another operating system, the devices are Implementation can refer to the implementation of the method, and the repetition will not be repeated.
  • FIG. 2 is a schematic structural diagram of an apparatus for implementing operation on another operating system in Embodiment 2 of the present application.
  • the apparatus for implementing operation on another operating system may include:
  • a content determining module 201 configured to determine content selected by a user in a current operating system
  • the executing module 202 is configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
  • the apparatus for implementing operation on another operating system may determine, by the content determining module, content selected by the user in the current operating system, and then the execution module satisfies the preset.
  • the operating conditions of the operating system running in the background perform corresponding operations on the content, thereby realizing the purpose of performing corresponding operations by using an operating system running in the background after the current operating system determines the content to be operated, without user switching.
  • the operating system can be operated quickly on another operating system, improving the user experience.
  • the content determination module may be configured to determine a character selected by the user in an application of the current operating system, or to determine a file selected by the user at the current operating system.
  • the execution module may be configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the following preset operating conditions are met:
  • Condition 1 The user drags the selected content to the specified location
  • Condition 2 The user triggers a preset button or button combination while selecting the content
  • Condition 3 The user drags the preset button to the specified position while selecting the content.
  • the apparatus may further include:
  • a display module configured to display a floating window in the current operating system when the preset operating condition includes condition one or condition three;
  • the execution module may be specifically configured to: when the user drags the selected content to the location of the floating window, or when the user drags the preset button to the location of the floating window while selecting the content, the background operation is performed.
  • the application of the operating system performs a corresponding operation on the content.
  • the execution module may include:
  • control determining unit configured to determine an operation control of a current interface of the application of the current operating system when determining a character selected by the user in an application of the current operating system
  • a first operation determining unit configured to determine an operation corresponding to the character according to the operation control
  • a first execution unit configured to perform the operation on the character by using an application of an operating system running in the background.
  • the content determining module may be configured to determine a user identifier of a target user selected by a user in a calling phone application of a current operating system; the control determining unit may be used to Determining, by the current operating system, a trigger button for making a call to the current interface of the call application; the first operation determining unit may be configured to determine, according to the trigger button of the call, to make a call; the first execution unit may use A call application that utilizes an operating system running in the background initiates a call request to the target user based on the user identification.
  • the content determining module may be specifically configured to determine a mobile phone number of a target user selected by the user in an application of the current operating system.
  • the content determining module may be configured to determine a to-be-sent message selected by a user in an instant messaging application of a current operating system;
  • the control determining unit may be configured to determine a current interface of an instant messaging application of the current operating system a message sending button;
  • the first operation determining unit may be configured to determine, according to the message sending button, an operation instruction as a sending message;
  • the first executing unit may be configured to determine a destination user corresponding to the message to be sent, using a background
  • the instant messaging application of the operating operating system sends the to-be-sent message to the destination user.
  • the execution module may include:
  • a file determining unit configured to determine a file type of the file when determining a file selected by the current operating system by the user
  • a second operation determining unit configured to determine an operation corresponding to the file according to the file type and a corresponding relationship between the file type and the operation;
  • a program determining unit configured to determine an application corresponding to the file type in an operating system running in the background
  • a second execution unit configured to execute the file by using an application corresponding to the file type in the operating system running in the background.
  • the program determining unit may be configured to determine an application for playing an audio file in an operating system running in the background when determining that the file type of the file is an audio file; the second execution unit may be configured to utilize Playing the audio text in the operating system running in the background The application of the piece plays the audio file.
  • the second execution unit may be further configured to determine a specified directory of the operating system in which the file type runs in the background, and store the file to the specified directory.
  • the floating window may include a plurality of floating window identifiers, and the device may further include:
  • a system determining module configured to select one of a plurality of operating systems running in the background according to the floating window identifier before performing an operation on the content by an application of an operating system running in the background;
  • the execution module may be specifically configured to perform a corresponding operation on the content by using an application of the selected background running operating system.
  • an embodiment of the present application further provides an electronic device, which will be described below.
  • the electronic device may include: a display screen 301, a memory 302, one or more processors 303, and one or more modules. ;
  • the one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including operations for performing the above-described implementations on another operating system The instructions for each step in the method.
  • the electronic device may be a mobile phone, a pad, a tablet computer, a personal computer PC, an intelligent robot, or the like.
  • the display screen can be used to display a graphical user interface, and the display screen can be a touch touch screen or a non-touch screen.
  • the user can connect through a mouse.
  • the device performs corresponding clicking, dragging, and dragging other files to the floating window.
  • the electronic device provided by the embodiment of the present application may further determine an operation instruction corresponding to the content after determining the content selected by the current operating system, and then execute the content by using an application of an operating system running in the background.
  • the corresponding operation realizes the fast operation of the current operating system to another operating system, and does not need to switch the operating system, thereby improving the user experience.
  • the embodiment of the present application further provides a computer program product for use in combination with an electronic device including a display, which will be described below.
  • the computer program product provided by the embodiment of the present application encodes an instruction for executing a process, and the process includes the foregoing method for implementing operation on another operating system.
  • the computer program product can be used in conjunction with an electronic device including a display.
  • FIG. 4 is a schematic diagram of a scenario in the fifth embodiment of the present application.
  • the electronic device may be a mobile phone, and a current interface of the display screen of the electronic device is a short message editing interface.
  • a floating window may be preset on the touch screen, the floating window being managed by a virtual manager of the electronic device, the virtual manager managing all virtual machines, and each operating system exists as a virtual machine on the mobile phone It is assumed that the mobile phone includes a company operating system and a personal operating system.
  • the virtual manager After the virtual manager detects the pressing behavior of the user, it is determined whether the application is running in the foreground, and the operation control of the current interface of the short message receiving and receiving application is determined after the mobile phone is sent and received in the foreground, and the short message is sent in the embodiment of the present application.
  • the operation control of the editing interface is a short message sending button, and the user's operation request is determined according to the short message sending button to send a short message.
  • the virtual manager obtains the short message content input by the user on the current short message editing interface, and the mobile phone number of the short message recipient, and sends the short message content and the mobile phone number of the short message recipient to the personal operating system to start the personal operating system.
  • the short message receiving and sending application sends the short message content to the mobile phone number of the short message recipient.
  • the embodiment of the present application can achieve the purpose of sending the short message content in the name of the operating system running in the background through the floating window on the display screen after the current operating system edits the short message, that is, the mobile phone number corresponding to the company operating system is 136** ******, the personal mobile phone number corresponding to the personal operating system is 131********, then the embodiment of the present application can be quickly implemented in the case that the current operating system is the company operating system.
  • FIG. 5 is a schematic diagram of a scenario in the sixth embodiment of the present application. As shown in the figure, the current interface of the mobile phone is a telephone dialing interface.
  • the virtual manager After the current operating system detects that the user drags the dialing function button to the floating window, the virtual manager is notified, and the virtual manager obtains the mobile phone number input by the user on the current dialing interface (for example: 139******11) After that, send the mobile phone number (for example: 139******11) to the public
  • the operating system, the application for starting the call of the company's operating system, and using the call application of the company's operating system to call out the mobile phone number can realize the purpose of making a call to the customer by the mobile phone number assigned by the company, You can avoid making a private phone number to call for privacy and you can make a quick call without switching the system.
  • the embodiment of the present application can achieve the purpose of dialing the mobile phone number in the name of another operating system through the floating window on the display screen after the current operating system inputs the mobile phone number.
  • FIG. 6 is a schematic diagram of a scenario in the seventh embodiment of the present application.
  • the electronic device may be a terminal such as a tablet pad.
  • the user wants to play music in the second operating system.
  • the user can select the audio file to be played (for example, tree read.mp3), and drag the audio file to the Floating window (indicated by a gray circle in the figure);
  • the current operating system detects the behavior of the user dragging the file to the floating window, and notifies the virtual manager.
  • the virtual manager determines that the file type of the file is an audio file
  • the operation request of the user may be determined according to the operation corresponding to the preset audio file. To play the audio file.
  • the virtual manager may send the audio file to the second operating system, and start an audio playing application in the second operating system to play the audio file.
  • the virtual manager may determine, according to the preset list, that the audio playing application of the second operating system plays the audio file, or randomly select an audio playing that can play the audio file from the second operating system. Application, this application does not limit this.
  • the embodiment of the present application can achieve the purpose of dragging an audio file by the current operating system through the floating window on the display screen to play the audio file with the audio playing software of another operating system.
  • FIG. 7 is a schematic diagram showing changes of the floating window in the eighth embodiment of the present application. As shown in the figure, when the terminal or the electronic device has more than two operating systems except the current operating system, the user may select the pair. Which operating system performs shortcut operations.
  • the floating window on the display screen is a gray circle indicating the shortcut operation interface of the second operating system, and the center of the circle may have a system change button (as shown in the figure) "The circle of words.”
  • the user may first click the system change button of the floating window to convert the shortcut operation interface into the shortcut operation interface of the third operating system.
  • the floating window can represent different operating systems by changing the shape, etc., as shown in the figure, the shortcut operation interface of the third operating system is identified by a diamond shape;
  • the user can drag the file to be copied to the floating window; the virtual manager detects the user behavior, and copies the file to the third operating system through pipeline, shared memory, and the like. In the specified directory.
  • the floating window can be any shape and color, and can be set by a person skilled in the art according to requirements.
  • the operating system of the floating window identifier can also be identified by other means, such as: text, edge color, padding. Color, etc., this application does not limit this.
  • the embodiment of the present application may be configured to determine, according to the identifier, the another operating system selected by the user when multiple operating systems exist, thereby implementing a shortcut operation on the current operating system to another operating system.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for operating another operating system, an apparatus and an electronic device, the method comprising: determining content selected by a user in a current operating system (101); when a pre-set operation condition is met, using an application program of an operating system, which runs in the background, to execute a corresponding operation on said content (102). The technical solution provided by using the present method allows for an operation to be carried out quickly on another operating system, thereby improving user experience.

Description

实现对另一操作系统操作的方法、装置及电子设备Method, device and electronic device for realizing operation of another operating system 技术领域Technical field
本申请涉及多操作系统的智能终端技术领域,特别涉及一种实现对另一操作系统操作的方法、装置及电子设备。The present application relates to the field of intelligent terminal technologies of multiple operating systems, and in particular, to a method, device, and electronic device for implementing operations on another operating system.
背景技术Background technique
随着智能终端功能的日益丰富,其用途已逐渐从个人娱乐发展到移动办公、移动金融支付等诸多领域。为进一步满足用户不同业务的需求,多操作系统(简称多系统)应运而生,通过虚拟化技术可以实现一台智能终端运行多个操作系统的用户需求,给用户更好的体验。通过多系统的设计将两种不同的业务完全隔离,多个业务间无法访问对方的数据,以确保安全性。With the increasing functionality of smart terminals, their use has gradually evolved from personal entertainment to mobile office and mobile financial payment. In order to further meet the needs of different services of users, multiple operating systems (referred to as multi-systems) have emerged as the times require. Through virtualization technology, users of one intelligent terminal running multiple operating systems can be realized, giving users a better experience. Through the design of multiple systems, two different services are completely isolated, and multiple services cannot access each other's data to ensure security.
目前,用户处于当前操作系统,想要对另一操作系统进行某项操作时,通常需要先将当前操作系统切换至另一操作系统,然后在切换后的操作系统的界面进行所要进行的操作。Currently, when a user is in the current operating system and wants to perform an operation on another operating system, it is usually necessary to switch the current operating system to another operating system, and then perform the operations to be performed on the interface of the switched operating system.
现有技术不足在于:The disadvantages of the prior art are:
当用户想要对另一操作系统进行操作时步骤繁琐,导致用户体验不佳。When the user wants to operate on another operating system, the steps are cumbersome, resulting in a poor user experience.
发明内容Summary of the invention
本申请实施例的一个目的在于降低用户对当前运行的操作系统之外的其他操作系统的操作的复杂程度。One purpose of embodiments of the present application is to reduce the complexity of the user's operation of other operating systems than the currently running operating system.
第一个方面,本申请实施例提供了一种实现对另一操作系统操作的方法,包括:In a first aspect, an embodiment of the present application provides a method for implementing operations on another operating system, including:
确定用户在当前操作系统中选定的内容;Determine what content the user has selected in the current operating system;
在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所 述内容执行相应的操作。When the preset operating conditions are met, the application of the operating system running in the background is used. The content performs the corresponding operations.
第二个方面,本申请实施例提供了一种实现对另一操作系统操作的装置,包括:In a second aspect, an embodiment of the present application provides an apparatus for implementing operations on another operating system, including:
内容确定模块,用于确定用户在当前操作系统中选定的内容;a content determining module, configured to determine content selected by the user in the current operating system;
执行模块,用于在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。And an execution module, configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
第三个方面,本申请实施例提供了一种电子设备,包括:显示屏、存储器、一个或多个处理器、以及一个或多个模块;In a third aspect, an embodiment of the present application provides an electronic device, including: a display screen, a memory, one or more processors, and one or more modules;
所述一个或多个模块被存储于所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行如上所述的实现对另一操作系统操作的方法中各个步骤的指令。The one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including for performing an implementation as described above for another operation The instructions for each step in the method of system operation.
第四个方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品对用于执行一种过程的指令进行编码,所述过程包括如上所述实现对另一操作系统操作的方法中各个步骤的指令。In a fourth aspect, embodiments of the present application provide a computer program product that encodes instructions for performing a process, the method including implementing a method of operating another operating system as described above The instructions in each step.
有益效果如下:The benefits are as follows:
现有技术中,当用户想要对另一操作系统进行操作时步骤繁琐、导致用户体验不佳的问题,由于本申请实施例所提供的技术方案可以在确定用户在当前操作系统中选定的内容之后,进一步判断是否满足预设的操作条件,在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作,从而实现了对另一操作系统的快捷操作,无需切换操作系统,提升了用户体验。In the prior art, when the user wants to operate the other operating system, the steps are cumbersome and the user experience is not good. The technical solution provided by the embodiment of the present application can determine the user selected in the current operating system. After the content, further determining whether the preset operating condition is met, and when the preset operating condition is met, performing an operation on the content by using an application of an operating system running in the background, thereby implementing a shortcut to another operating system. Operation, no need to switch operating system, improve the user experience.
附图说明DRAWINGS
下面将参照附图描述本申请的具体实施例,其中:Specific embodiments of the present application will be described below with reference to the accompanying drawings, in which:
图1示出了本申请实施例一中实现对另一操作系统操作的方法实施的 流程示意图;FIG. 1 shows an implementation of a method for implementing operation of another operating system in the first embodiment of the present application. Schematic diagram of the process;
图2示出了本申请实施例二中实现对另一操作系统操作的装置的结构示意图;2 is a schematic structural diagram of an apparatus for implementing operation on another operating system in Embodiment 2 of the present application;
图3示出了本申请实施例三中电子设备的结构示意图;3 is a schematic structural diagram of an electronic device in Embodiment 3 of the present application;
图4示出了本申请实施例五中场景示意图;FIG. 4 is a schematic diagram of a scenario in Embodiment 5 of the present application;
图5示出了本申请实施例六中场景示意图;FIG. 5 is a schematic diagram of a scenario in Embodiment 6 of the present application;
图6示出了本申请实施例七中场景示意图;FIG. 6 is a schematic diagram of a scenario in Embodiment 7 of the present application;
图7示出了本申请实施例八中浮窗的变化示意图。FIG. 7 is a schematic diagram showing the variation of the floating window in the eighth embodiment of the present application.
具体实施方式detailed description
为了使本申请的技术方案及优点更加清楚明白,以下结合附图对本申请的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本申请的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。The exemplary embodiments of the present application are further described in detail below with reference to the accompanying drawings, in which the embodiments described are only a part of the embodiments of the present application, but not all embodiments. An exhaustive example. And in the case of no conflict, the features in the embodiments and the embodiments in the description can be combined with each other.
针对现有技术的不足,本申请实施例提出了一种实现对另一操作系统操作的方法、装置及电子设备,下面进行说明。In view of the deficiencies of the prior art, the embodiments of the present application provide a method, an apparatus, and an electronic device for implementing operations on another operating system, which are described below.
实施例一、 Embodiment 1
图1示出了本申请实施例一中实现对另一操作系统操作的方法实施的流程示意图,如图所示,所述实现对另一操作系统操作的方法可以包括如下步骤:FIG. 1 is a schematic flowchart of a method for implementing a method for operating another operating system in the first embodiment of the present application. As shown in the figure, the method for implementing operations on another operating system may include the following steps:
步骤101、确定用户在当前操作系统中选定的内容;Step 101: Determine content selected by a user in a current operating system.
步骤102、在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。Step 102: Perform an operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
具体实施时,本申请实施例可以包括两个或两个以上的操作系统,这些操作系统可以在虚拟管理器的统一管理下运行。虚拟管理器可以统一管理所有操作系统的启动、通信、前后台切换等等,所述多个操作系统可以 以虚拟机的形式共享一个物理主机的资源,所述虚拟管理器Manager提供对虚拟机的管理功能。当前操作系统可以确定用户在当前操作系统选定的内容,然后通知虚拟管理器(VMM,Virtual Machine Manager),虚拟管理器可以确定所述内容对应的操作指令,然后利用另一操作系统的应用程序对所述内容执行相应的操作。In an embodiment, the embodiment of the present application may include two or more operating systems, and the operating systems may run under the unified management of the virtual manager. The virtual manager can uniformly manage startup, communication, front and back office switching, and the like of all operating systems, and the multiple operating systems can The resources of one physical host are shared in the form of a virtual machine, and the virtual manager Manager provides management functions for the virtual machine. The current operating system can determine the content selected by the user in the current operating system, and then notify the virtual manager (VMM, Virtual Machine Manager), the virtual manager can determine the operation instruction corresponding to the content, and then utilize the application of another operating system. Perform corresponding operations on the content.
具体的,可以通过虚拟化技术在虚拟化Kernel(内核)上虚拟出两个操作系统,其中一个操作系统作为个人操作系统,用于运行个人应用程序,另一个操作系统作为企业操作系统,用于运行企业应用程序。通过将个人应用程序与企业应用程序分别运行于不同的操作系统,实现两个操作系统中应用程序数据安全隔离,通过虚拟管理器进行统一管理。Specifically, two operating systems can be virtualized on the virtualization kernel by virtualization technology, one operating system is used as a personal operating system for running a personal application, and the other operating system is used as an enterprise operating system for Run the enterprise application. By running the personal application and the enterprise application separately on different operating systems, the application data security isolation in the two operating systems is realized, and the unified management is performed through the virtual manager.
现有技术中,当用户想要对另一操作系统进行操作时步骤繁琐、导致用户体验不佳的问题,由于本申请实施例所提供的技术方案可以在确定用户在当前操作系统中选定的内容之后,进一步判断是否满足预设的操作条件,在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作,从而实现了对另一操作系统的快捷操作,提升了用户体验。In the prior art, when the user wants to operate the other operating system, the steps are cumbersome and the user experience is not good. The technical solution provided by the embodiment of the present application can determine the user selected in the current operating system. After the content, further determining whether the preset operating condition is met, and when the preset operating condition is met, performing an operation on the content by using an application of an operating system running in the background, thereby implementing a shortcut to another operating system. Operation improves the user experience.
实施中,所述用户在当前操作系统选定的内容可以为:用户在当前操作系统的应用程序中选定的字符,或者,用户在当前操作系统选定的文件。In an implementation, the content selected by the user in the current operating system may be: a character selected by the user in an application of the current operating system, or a file selected by the user in the current operating system.
具体实施时,所述用户在当前操作系统选定的内容可以为用户在当前操作系统的应用程序中选定的字符、用户在当前操作系统选定的文件等,所述用户在当前操作系统的应用程序中选定的字符可以为单个字符、也可以为字符串,例如:文字、数字、字母等,或者文字、数字、字母中其中两种或三种的任意组合。In a specific implementation, the content selected by the user in the current operating system may be a character selected by the user in an application of the current operating system, a file selected by the user in the current operating system, and the like, where the user is in the current operating system. The characters selected in the application can be single characters or strings, such as: text, numbers, letters, etc., or any combination of two or three of text, numbers, and letters.
实施中,所述预设的操作条件可以包括如下条件中的至少一种:In implementation, the preset operating condition may include at least one of the following conditions:
条件一:用户将选定的内容拖拽到指定位置; Condition 1: The user drags the selected content to the specified location;
条件二:用户在选定内容的同时触发了预设的按键或者按键组合;Condition 2: The user triggers a preset button or button combination while selecting the content;
条件三:用户在选定内容的同时将预设的按键拖拽到指定位置。Condition 3: The user drags the preset button to the specified position while selecting the content.
具体实施时,可以预先设置一些操作条件,例如:用户将选定的内容拖拽到指定位置、用户在选定内容的同时触发了预设的按键或者按键组合、用户在选定内容的同时将预设的按键拖拽到指定位置等等,本领域技术人员还可以根据实际需要设置其他的操作条件,本申请对此不作限制。In the specific implementation, some operating conditions may be preset, for example, the user drags the selected content to the specified location, and the user triggers a preset button or button combination while the content is selected, and the user selects the content at the same time. The preset button can be dragged to a specified position, etc., and other operating conditions can be set by those skilled in the art according to actual needs, which is not limited in this application.
具体的,当前操作系统的应用程序的当前界面可以预先设置有按键,当用户在当前操作系统的应用程序的当前界面选中字符并将所述当前界面的按键拖拽到指定位置时,本申请实施例利用后台运行的操作系统的应用程序对所述字符执行相应的操作。Specifically, the current interface of the application of the current operating system may be preset with a button. When the user selects a character in the current interface of the application of the current operating system and drags the button of the current interface to a specified location, the present application implements For example, an application operating system running in the background performs a corresponding operation on the character.
其中,指定位置可以为预先设定好的一块区域或者一个位置点,例如:在选定内容后在显示屏上出现一个虚拟区域,当用户将选定的内容或预设的按键或按键组合拖至该虚拟区域时,即可确定为满足了预设的操作条件。The designated position may be a preset area or a position point, for example, a virtual area appears on the display after the selected content, when the user drags the selected content or the preset button or button combination When the virtual area is reached, it can be determined that the preset operating conditions are satisfied.
具体实施时,所述显示屏可以为触摸屏等电子屏幕,也可以为非触摸屏;所述浮窗的颜色、形状、大小等属性可以根据实际需要进行设置,本申请对此不做限制。In a specific implementation, the display screen may be an electronic screen such as a touch screen, or may be a non-touch screen; the attributes such as the color, shape, and size of the floating window may be set according to actual needs, which is not limited in this application.
本申请实施例中所述应用程序的当前界面还可以包括功能按键,当用户在所述应用程序的当前界面编辑内容完成时,可以通过将所述功能按键拖至所述指定位置上,从而触发后续操作。虚拟管理器可以获取用户在所述应用程序当前界面输入或选定的内容,将所述内容发送至后台运行的操作系统的所述应用程序执行。The current interface of the application in the embodiment of the present application may further include a function button, and when the user finishes editing the content in the current interface of the application, the function button may be triggered by dragging the function button to the specified position. Follow-up actions. The virtual manager can obtain content input or selected by the user at the current interface of the application, and send the content to the application of the operating system running in the background.
实施中,预设的操作条件包括条件一或条件三时,所述方法还可以包括:在当前操作系统中显示浮窗;In an implementation, when the preset operating condition includes condition one or condition three, the method may further include: displaying a floating window in the current operating system;
所述条件一具体可以是指:将选定的内容拖拽至浮窗所在的位置,或者, The specific condition may refer to: dragging the selected content to a position where the floating window is located, or
所述条件三具体可以是指:将预设的按键拖拽至浮窗所在的位置。The condition three may specifically mean: dragging a preset button to a position where the floating window is located.
具体实施时,可以通过确定浮窗在显示屏上的位置与用户所拖动的功能按键的目的位置来判断是否满足预设的操作条件。当功能按键的位置信息与显示屏上浮窗的位置信息有交集时,则判断为满足预设的操作条件。In a specific implementation, it may be determined whether the preset operating condition is met by determining the position of the floating window on the display screen and the destination position of the function button dragged by the user. When the position information of the function button and the position information of the floating window on the display screen intersect, it is determined that the preset operation condition is satisfied.
所述功能按键的位置信息与显示屏上浮窗的位置信息有交集,包括:所述功能按键的坐标位置与显示屏上浮窗的坐标位置相同,或者,所述功能按键的坐标位置在所述显示屏上浮窗的位置范围内,或者,所述功能按键的位置范围包含所述显示屏上浮窗的坐标位置,或者,所述功能按键的位置范围与所述显示屏上浮窗的位置范围重合或相交等。The position information of the function button and the position information of the floating window on the display screen are intersected, and the coordinate position of the function button is the same as the coordinate position of the floating window on the display screen, or the coordinate position of the function button is in the display. The position range of the floating window on the screen, or the position range of the function button includes the coordinate position of the floating window on the display screen, or the position range of the function button coincides with or intersects with the position range of the floating window on the display screen. Wait.
在任意一个操作系统面向用户运行时,显示屏上均可以设置并显示有所述浮窗,所述浮窗作为通往后台运行的操作系统的接口,当用户将当前操作系统的内容拖至该浮窗上的时候,当前操作系统检测到该行为,并可以通知底层虚拟管理器,由虚拟管理器对用户的该行为进行处理,随即利用后台运行的操作系统执行相应的操作。When any operating system is running for the user, the floating window can be set and displayed on the display screen, and the floating window serves as an interface to the operating system running in the background, when the user drags the content of the current operating system to the When the window is floating, the current operating system detects the behavior and can notify the underlying virtual manager that the virtual manager processes the behavior of the user, and then uses the operating system running in the background to perform the corresponding operation.
由于本申请实施例所提供的实现对另一操作系统操作的方法,可以通过浮窗作为接口,将当前操作系统的用户选定内容利用后台运行的操作系统执行相应的操作,从而实现了在当前操作系统对后台操作系统快捷操作的目的,提升了用户体验。The method for implementing operation on another operating system provided by the embodiment of the present application can implement the corresponding operation by using the floating window as an interface, and the user selected content of the current operating system is executed by using an operating system running in the background, thereby realizing the current operation. The purpose of the operating system for the background operating system shortcut operation improves the user experience.
当用户在当前操作系统选中文件时,本申请实施例可以检测所述文件的位置信息,在所述文件的位置信息与显示屏上浮窗的位置信息有交集时,确定满足预设的操作条件。When the user selects a file in the current operating system, the embodiment of the present application may detect the location information of the file, and when the location information of the file and the location information of the floating window on the display screen intersect, determine that the preset operating condition is met.
具体实施时,当检测到用户按住、拖动任一文件至所述浮窗上时,当前操作系统即可确定用户选定的内容为所述文件,从而通知虚拟管理器,由虚拟管理器确定该文件对应的操作,将所述文件发送至另一操作系统执行。 In a specific implementation, when detecting that the user presses and drags any file to the floating window, the current operating system may determine that the content selected by the user is the file, thereby notifying the virtual manager, by the virtual manager. The operation corresponding to the file is determined, and the file is sent to another operating system for execution.
本申请实施例可以通过显示屏上的浮窗作为后台运行的操作系统的接口,实现用户在当前操作系统选定某个文件后,利用后台运行的操作系统执行所述文件的目的。The embodiment of the present application can use the floating window on the display screen as the interface of the operating system running in the background, so that the user can execute the file by using the operating system running in the background after the current operating system selects a certain file.
实施中,在所述用户在当前操作系统中选定的内容为用户在当前操作系统的应用程序中选定的字符时,所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作,可以包括:In an implementation, when the content selected by the user in the current operating system is a character selected by the user in an application of the current operating system, the application that uses the operating system running in the background performs corresponding content on the content. Operation, which can include:
确定所述当前操作系统的应用程序当前界面的操作控件;Determining an operation control of a current interface of an application of the current operating system;
根据所述操作控件确定所述字符对应的操作;Determining an operation corresponding to the character according to the operation control;
利用后台运行的操作系统的应用程序对所述字符执行所述操作。The operation is performed on the character using an application of an operating system running in the background.
具体实施时,本申请实施例在确定用户在当前操作系统的应用程序中选定某个字符或字符串时,可以进一步确定所述应用程序的当前界面的操作控件,例如:拨打电话应用程序的当前界面的操作控件可以为拨打电话触发按钮、即时消息应用程序的当前界面的操作控件可以为发送消息按钮,又如:微信/QQ应用程序的发布朋友圈界面的操作控件为发布按钮,微博应用程序的发布、转发等界面的操作控件分别为发布按钮、转发按钮等。In a specific implementation, when determining that a user selects a certain character or a character string in an application of the current operating system, the embodiment of the present application may further determine an operation control of the current interface of the application, for example, calling a phone application. The operation control of the current interface may be a call trigger button, an operation control of the current interface of the instant messaging application may be a message button, and an operation control of the WeChat/QQ application publishing friend circle interface is a publishing button, Weibo The operation controls of the interface for publishing, forwarding, and the like of the application are respectively a release button, a forwarding button, and the like.
实施中,所述当前操作系统的应用程序可以为拨打电话应用程序,所述字符为目标用户的用户标识,所述操作控件可以为拨打电话的触发按钮;所述利用后台运行的操作系统的应用程序对所述字符执行所述操作,可以包括:利用后台运行的操作系统的拨打电话应用程序根据所述用户标识向所述目标用户发起呼叫请求。In an implementation, the application of the current operating system may be a calling application, the character is a user identifier of the target user, the operation control may be a trigger button for making a call; and the application of the operating system running in the background is used. The performing the operation on the character by the program may include: initiating a call request to the target user according to the user identifier by using a dialing phone application of an operating system running in the background.
具体实施时,如果当前系统前台运行的是接打电话的应用程序,那么本申请实施例可以进一步确定该接打电话的应用程序的当前界面(假设为拨号界面)的操作控件为呼出电话按键,那么则可以确定用户想要拨打电话。此时,虚拟管理器的Manager可以进一步获取所述拨号界面中用户输入的电话号码,将所述电话号码发送至另一操作系统,调用所述后台运行 的操作系统的接打电话的应用程序,拨打该电话号码,从而实现了在当前操作系统以后台运行的操作系统拨打电话的目的。In the specific implementation, if the current system is running an application that is called, the embodiment of the present application may further determine that the operation control of the current interface (assumed to be a dialing interface) of the calling application is an outgoing call button. Then you can be sure that the user wants to make a call. At this time, the manager of the virtual manager may further obtain the phone number input by the user in the dialing interface, send the phone number to another operating system, and invoke the background operation. The operating system's call-to-call application dials the phone number, thereby enabling the call to be made by the operating system running in the background in the current operating system.
用户可以在拨打电话的应用程序输入所要拨打的电话号码之后,长按所述功能按键、并将所述功能按键拖至所述浮窗所在位置上,当前操作系统即可确定用户选定的内容,获取用户在所述拨打电话的应用程序的当前界面输入的电话号码,并将其发送至虚拟管理器,虚拟管理器可以确定用户的操作指令为利用后台运行的操作系统拨打这一电话号码,随即可以将所述电话号码发送至后台运行的操作系统的所述拨打电话的应用程序拨号。After the user who dials the phone enters the phone number to be dialed, the user can press and hold the function button and drag the function button to the location of the floating window, and the current operating system can determine the content selected by the user. Obtaining a phone number input by the user on the current interface of the application for making the call, and sending the phone number to the virtual manager, and the virtual manager may determine that the user's operation instruction is to dial the phone number by using an operating system running in the background. The phone number can then be sent to the dial-up application of the operating system running in the background.
实施中,所述目标用户的用户标识可以为所述目标用户的手机号码。In an implementation, the user identifier of the target user may be the mobile phone number of the target user.
具体实施时,所述目标用户的用户标识可以为拨打电话的应用程序中每个用户的唯一标识符,例如:手机号码、即时通号码、有信号码等,根据不同的拨打电话的应用程序,用户标识也可以不同。In a specific implementation, the user identifier of the target user may be a unique identifier of each user in the application for making a call, for example, a mobile phone number, an instant number, a signal code, etc., according to different applications for making a call, User IDs can also be different.
实施中,所述当前操作系统的应用程序可以为即时通信应用程序;所述字符可以为待发送的消息;所述操作控件可以为消息发送按钮;所述利用后台运行的操作系统的应用程序对所述字符执行所述操作,可以包括:确定所述待发送的消息对应的目的用户,利用后台运行的操作系统的即时通信应用程序将所述待发送的消息发送至所述目的用户。In an implementation, the application of the current operating system may be an instant messaging application; the character may be a message to be sent; the operation control may be a message sending button; and the application pair of the operating system running in the background The performing the operation by the character may include: determining a destination user corresponding to the message to be sent, and sending the to-be-sent message to the destination user by using an instant messaging application of an operating system running in the background.
具体实施时,本申请实施例可以在满足预设的操作条件之后,获取用户在所述应用程序当前界面输入或选定的内容,并确定所述内容对应的目的用户;从而可以将该内容通过后台运行的操作系统的所述应用程序发送给所述目的用户。In a specific implementation, after the preset operating conditions are met, the embodiment of the present application may acquire content input or selected by the user on the current interface of the application, and determine a destination user corresponding to the content; The application of the operating system running in the background is sent to the destination user.
具体的,如果当前应用程序为短信收发程序,本申请实施例在确定所述操作控件为消息发送按钮时,可以获取用户输入的短信内容以及待发送的目的用户的号码,将短信内容和目的用户的号码发送至后台运行的操作 系统,启动所述后台运行的操作系统的短信收发程序发送所述短信内容至所述目的用户。Specifically, if the current application is a short message sending and receiving program, when determining that the operation control is a message sending button, the embodiment of the present application may obtain the short message content input by the user and the number of the destination user to be sent, and the short message content and the destination user. The number sent to the background operation The system starts a short message sending and receiving program of the operating system running in the background to send the short message content to the destination user.
具体的,如果当前应用程序为QQ、微信、飞信等即时消息程序,本申请实施例可以确定所述操作控件为消息发送按钮时,进一步确定用户输入的即时消息对应的目的用户,虚拟管理器将所述即时消息和目的用户的标识发送至后台运行的操作系统,启动所述后台运行的操作系统的相应的即时消息程序(例如:QQ、微信、飞信等)发送所述即时消息至所述目的用户。Specifically, if the current application is an instant messaging program such as QQ, WeChat, or Fetion, the embodiment of the present application may determine that the operation control is a message sending button, and further determine a destination user corresponding to the instant message input by the user, and the virtual manager The instant message and the identifier of the destination user are sent to an operating system running in the background, and a corresponding instant message program (eg, QQ, WeChat, Fetion, etc.) of the operating system running in the background is started to send the instant message to the destination. user.
具体实施时,所述确定所述待发送的消息对应的目的用户,可以根据所述目的用户的标识确定,所述目的用户的标识可以为手机号码、QQ号码、微信号、飞信号等各个消息通信程序用于标识不同用户的唯一标识符。In a specific implementation, the determining the destination user corresponding to the message to be sent may be determined according to the identifier of the destination user, where the identifier of the destination user may be a mobile phone number, a QQ number, a micro signal, a fly signal, and the like. The communication program is used to identify unique identifiers for different users.
实施中,在所述用户在当前操作系统选定的内容为用户在当前操作系统选定的文件时,所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作,可以包括:In an implementation, when the content that is selected by the user in the current operating system is the file selected by the user in the current operating system, the application that performs the corresponding operation on the content by using the operating system running in the background may include:
确定所述文件的文件类型;Determining the file type of the file;
根据所述文件类型确定对所述文件执行的操作;Determining an operation performed on the file according to the file type;
确定后台运行的操作系统中与所述文件类型对应的应用程序;Determining an application corresponding to the file type in an operating system running in the background;
利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件。The file is executed by an application corresponding to the file type in the operating system running in the background.
具体实施时,所述文件可以为图片、歌曲、视频、文本文件等,对于不同类型的文件还可以继续划分,例如,图片文件又可以分为bmp、jpeg、png等格式的图片,文本文件又可以分为txt、word等。In a specific implementation, the file may be a picture, a song, a video, a text file, etc., and may further be divided for different types of files. For example, the image file may be divided into a picture in the form of bmp, jpeg, png, etc., and the text file is further Can be divided into txt, word, and so on.
本申请实施例通过将确定出的文件类型与预先设置的文件类型与操作的对应关系,即可确定用户的操作指令。In the embodiment of the present application, the operation instruction of the user can be determined by the correspondence between the determined file type and the preset file type and operation.
例如:假设文件为歌曲,预先设置的歌曲文件对应操作为播放,那么 可以确定用户的操作请求为播放该歌曲;For example: suppose the file is a song, and the preset song file corresponds to the operation, then It can be determined that the user's operation request is to play the song;
又如,假设文件为未能识别类型的其他文件,预先设置的无法识别的文件对应操作为拷贝,那么可以确定用户的操作请求为将该未识别类型的文件拷贝至另一操作系统。For another example, if the file is another file of the unrecognized type, and the unidentified file corresponding to the preset operation is a copy, it may be determined that the user's operation request is to copy the unidentified file to another operating system.
除此之外,本申请实施例中所述文件还可以为应用类文件,例如应用程序的安装文件、应用程序的更新文件等,在接收到应用程序的安装文件时可以确定用户的操作指令为在后台运行的操作系统中安装所述应用程序,在接收到应用程序的更新文件时可以确定用户的操作指令为对所述后台运行的操作系统中对该应用程序进行更新、升级操作。In addition, the file in the embodiment of the present application may also be an application class file, such as an installation file of an application, an update file of an application, etc., when receiving an installation file of the application, may determine that the operation instruction of the user is The application is installed in an operating system running in the background, and when receiving the update file of the application, it may be determined that the operation instruction of the user is to update and upgrade the application in the operating system running in the background.
本领域技术人员还可以根据文件的其他类型设置其他对应的操作,本申请对此不作限制。A person skilled in the art can also set other corresponding operations according to other types of files, which is not limited in this application.
具体实施时,在根据所述文件类型以及预先设置的文件类型与操作的对应关系,确定所述用户的操作指令之后,虚拟管理器Manager可以根据所述文件类型确定后台运行的操作系统中与所述文件类型对应的应用程序,利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件。In a specific implementation, after determining the operation instruction of the user according to the file type and the corresponding relationship between the file type and the operation, the virtual manager manager may determine, according to the file type, an operating system running in the background. An application corresponding to the file type executes the file by using an application corresponding to the file type in an operating system running in the background.
所述与文件类型对应的应用程序可以根据预先设置的对应关系确定,也可以根据所述文件类型确定能够识别和/或处理所述文件类型的应用程序。例如:可以预先设置对应关系列表,将同一类型的文件与执行该类型的后台运行的操作系统的应用程序进行对应、映射,也可以根据文件类型自动识别、匹配所述后台运行的操作系统中能够识别、处理所述文件类型的应用程序。The application corresponding to the file type may be determined according to a preset correspondence, or an application capable of identifying and/or processing the file type may be determined according to the file type. For example, the corresponding relationship list may be preset, and the file of the same type may be mapped and mapped with an application running an operating system running in the background of the type, or the operating system running in the background may be automatically identified and matched according to the file type. Identify and process applications of the file type.
实施中,所述文件可以为音频文件,所述确定后台运行的操作系统中与所述文件类型对应的应用程序具体可以为:确定所述后台运行的操作系统中用于播放音频文件的应用程序; In an implementation, the file may be an audio file, and the application corresponding to the file type in the operating system that is determined to run in the background may be: determining an application for playing an audio file in the operating system running in the background. ;
所述利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件具体可以为:利用所述后台运行的操作系统中用于播放音频文件的应用程序播放所述音频文件。The executing the file by using an application corresponding to the file type in the operating system running in the background may be: playing the audio file by using an application for playing an audio file in an operating system running in the background. .
具体实施时,对于音频文件,可以由预先设置的所述后台运行的操作系统自带的音乐播放器播放,也可以由所述后台运行的操作系统上已经安装的能够播放音频文件的虾米音乐或QQ音乐等音乐播放器播放。In a specific implementation, the audio file may be played by a music player provided by the operating system running in the background, or may be installed by the background operating system, or may be used to play audio files. QQ music and other music players play.
具体实施时,为避免影响用户对当前操作系统的操作、使用,在利用后台运行的操作系统的媒体播放应用程序播放所述音频文件时,在当前操作系统的显示界面可以不显示音频的播放画面。In a specific implementation, in order to avoid affecting the operation and use of the current operating system by the user, when the audio file is played by the media playing application of the operating system running in the background, the playing screen of the audio may not be displayed on the display interface of the current operating system. .
实施中,所述利用后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件,可以包括:In an implementation, the executing, by using an application corresponding to the file type in an operating system running in the background, the file may include:
确定所述文件类型在所述后台运行的操作系统的指定目录;Determining a specified directory of the operating system in which the file type is running in the background;
利用后台运行的操作系统的数据存储应用程序将所述文件存储至所述指定目录。The file is stored to the specified directory using a data storage application of an operating system running in the background.
具体实施时,用户可以拖动一文件至显示屏上的浮窗,当前操作系统通知虚拟管理器,由虚拟管理器识别该文件的文件类型,当所述文件类型为预设关系表中需要执行保存的文件时、或者所述文件类型为未知文件、或者所述文件类型只能执行保存操作时,虚拟管理器Manager确定所述文件类型在后台运行的操作系统的指定目录,将所述文件存储至所述指定目录中。During the specific implementation, the user can drag a file to the floating window on the display screen, and the current operating system notifies the virtual manager that the file type of the file is recognized by the virtual manager, and needs to be executed when the file type is a preset relationship table. When the file is saved, or the file type is an unknown file, or the file type can only perform a save operation, the virtual manager Manager determines a specified directory of the operating system in which the file type is running in the background, and stores the file. To the specified directory.
进一步地,本申请实施例还可以预先设置命名规则,将所述文件的名称修改为预设格式的名称,便于后续用户查找、识别或系统提取。Further, the embodiment of the present application may further set a naming rule in advance, and modify the name of the file to a name of a preset format, so as to facilitate subsequent user search, identification, or system extraction.
本申请实施例通过上述方案可以快速的将当前系统中的文件拷贝至后台运行的操作系统,极大的提高了用户体验。Through the foregoing solution, the embodiment of the present application can quickly copy files in the current system to an operating system running in the background, which greatly improves the user experience.
实施中,所述浮窗可以包括多个浮窗标识,在利用后台运行的操作系 统的应用程序对所述内容执行相应的操作之前,进一步可以包括:In an implementation, the floating window may include a plurality of floating window identifiers, and the operating system running in the background Before the system application performs the corresponding operations on the content, the method may further include:
根据所述浮窗标识从后台运行的多个操作系统中选定其中一个;Selecting one of a plurality of operating systems running in the background according to the floating window identifier;
所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作,具体可以为:利用所述选定的后台运行的操作系统的应用程序对所述内容执行相应的操作。The application of the operating system running in the background performs a corresponding operation on the content, and specifically, the corresponding operation is performed on the content by using an application of the selected operating system running in the background.
其中,所述根据所述浮窗标识从后台运行的多个操作系统中选定的操作系统为预先设置为与所述浮窗标识对应的操作系统。The operating system selected from the plurality of operating systems running in the background according to the floating window identifier is an operating system preset to be corresponding to the floating window identifier.
具体实施时,当电子设备中后台运行多个操作系统时,所述浮窗可以为多个,这些浮窗可以根据不同的位置、颜色、形状等标识不同的操作系统,当用户想要对某一后台运行的操作系统进行快捷操作时,只需选定相应的标识执行相应的行为即可。In a specific implementation, when multiple operating systems run in the background in the electronic device, the floating window may be multiple, and the floating windows may identify different operating systems according to different positions, colors, shapes, etc., when the user wants to When a running system running in the background performs a shortcut operation, simply select the corresponding identifier to perform the corresponding behavior.
本申请实施例可以实现多个操作系统之间的快捷操作,无需用户进行系统的切换,实现简便、提升了用户体验。The embodiment of the present application can implement a shortcut operation between multiple operating systems, and does not require the user to perform system switching, which is simple to implement and improves the user experience.
实施例二、 Embodiment 2
基于同一发明构思,本申请实施例中还提供了一种实现对另一操作系统操作的装置,由于这些设备解决问题的原理与一种实现对另一操作系统操作的方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an apparatus for implementing operation on another operating system is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the method for implementing operation on another operating system, the devices are Implementation can refer to the implementation of the method, and the repetition will not be repeated.
图2示出了本申请实施例二中实现对另一操作系统操作的装置的结构示意图,如图所示,所述实现对另一操作系统操作的装置可以包括:2 is a schematic structural diagram of an apparatus for implementing operation on another operating system in Embodiment 2 of the present application. As shown in the figure, the apparatus for implementing operation on another operating system may include:
内容确定模块201,用于确定用户在当前操作系统中选定的内容;a content determining module 201, configured to determine content selected by a user in a current operating system;
执行模块202,用于在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。The executing module 202 is configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
本申请实施例所提供的实现对另一操作系统操作的装置,可以由内容确定模块确定用户在当前操作系统选定的内容,再由执行模块在满足预设 的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作,从而实现在当前操作系统确定要操作的内容后利用后台运行的操作系统执行相应操作的目的,无需用户切换操作系统即可对另一操作系统快捷操作,提升了用户体验。The apparatus for implementing operation on another operating system provided by the embodiment of the present application may determine, by the content determining module, content selected by the user in the current operating system, and then the execution module satisfies the preset. The operating conditions of the operating system running in the background perform corresponding operations on the content, thereby realizing the purpose of performing corresponding operations by using an operating system running in the background after the current operating system determines the content to be operated, without user switching. The operating system can be operated quickly on another operating system, improving the user experience.
实施中,所述内容确定模块可以用于确定用户在当前操作系统的应用程序中选定的字符,或者,确定用户在当前操作系统选定的文件。In implementation, the content determination module may be configured to determine a character selected by the user in an application of the current operating system, or to determine a file selected by the user at the current operating system.
实施中,所述执行模块可以用于在满足以下预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作:In an implementation, the execution module may be configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the following preset operating conditions are met:
条件一:用户将选定的内容拖拽到指定位置;Condition 1: The user drags the selected content to the specified location;
条件二:用户在选定内容的同时触发了预设的按键或者按键组合;Condition 2: The user triggers a preset button or button combination while selecting the content;
条件三:用户在选定内容的同时将预设的按键拖拽到指定位置。Condition 3: The user drags the preset button to the specified position while selecting the content.
实施中,所述装置可以进一步包括:In an implementation, the apparatus may further include:
显示模块,用于在所述预设的操作条件包括条件一或条件三时,在当前操作系统中显示浮窗;a display module, configured to display a floating window in the current operating system when the preset operating condition includes condition one or condition three;
所述执行模块具体可以用于在用户将选定的内容拖拽至浮窗所在位置,或者,用户在选定内容的同时将预设的按键拖拽至浮窗所在位置时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。The execution module may be specifically configured to: when the user drags the selected content to the location of the floating window, or when the user drags the preset button to the location of the floating window while selecting the content, the background operation is performed. The application of the operating system performs a corresponding operation on the content.
实施中,所述执行模块,可以包括:In an implementation, the execution module may include:
控件确定单元,用于在确定用户在当前操作系统的应用程序中选定的字符时,确定当前操作系统的所述应用程序当前界面的操作控件;a control determining unit, configured to determine an operation control of a current interface of the application of the current operating system when determining a character selected by the user in an application of the current operating system;
第一操作确定单元,用于根据所述操作控件确定所述字符对应的操作;a first operation determining unit, configured to determine an operation corresponding to the character according to the operation control;
第一执行单元,用于利用后台运行的操作系统的应用程序对所述字符执行所述操作。And a first execution unit, configured to perform the operation on the character by using an application of an operating system running in the background.
实施中,所述内容确定模块可以用于确定用户在当前操作系统的拨打电话应用程序中选定的目标用户的用户标识;所述控件确定单元可以用于 确定当前操作系统的拨打电话应用程序当前界面的拨打电话的触发按钮;所述第一操作确定单元可以用于根据所述拨打电话的触发按钮确定操作为拨打电话;所述第一执行单元可以用于利用后台运行的操作系统的拨打电话应用程序根据所述用户标识向所述目标用户发起呼叫请求。In an implementation, the content determining module may be configured to determine a user identifier of a target user selected by a user in a calling phone application of a current operating system; the control determining unit may be used to Determining, by the current operating system, a trigger button for making a call to the current interface of the call application; the first operation determining unit may be configured to determine, according to the trigger button of the call, to make a call; the first execution unit may use A call application that utilizes an operating system running in the background initiates a call request to the target user based on the user identification.
实施中,所述内容确定模块具体可以用于确定用户在当前操作系统的应用程序中选定的目标用户的手机号码。In an implementation, the content determining module may be specifically configured to determine a mobile phone number of a target user selected by the user in an application of the current operating system.
实施中,所述内容确定模块可以用于确定用户在当前操作系统的即时通信应用程序中选定的待发送消息;所述控件确定单元可以用于确定当前操作系统的即时通信应用程序当前界面的消息发送按钮;所述第一操作确定单元可以用于根据所述消息发送按钮确定操作指令为发送消息;所述第一执行单元可以用于确定所述待发送的消息对应的目的用户,利用后台运行的操作系统的即时通信应用程序将所述待发送消息发送至所述目的用户。In an implementation, the content determining module may be configured to determine a to-be-sent message selected by a user in an instant messaging application of a current operating system; the control determining unit may be configured to determine a current interface of an instant messaging application of the current operating system a message sending button; the first operation determining unit may be configured to determine, according to the message sending button, an operation instruction as a sending message; the first executing unit may be configured to determine a destination user corresponding to the message to be sent, using a background The instant messaging application of the operating operating system sends the to-be-sent message to the destination user.
实施中,所述执行模块,可以包括:In an implementation, the execution module may include:
文件确定单元,用于在确定用户在当前操作系统选定的文件时,确定所述文件的文件类型;a file determining unit, configured to determine a file type of the file when determining a file selected by the current operating system by the user;
第二操作确定单元,用于根据所述文件类型以及预先设置的文件类型与操作的对应关系,确定所述文件对应的操作;a second operation determining unit, configured to determine an operation corresponding to the file according to the file type and a corresponding relationship between the file type and the operation;
程序确定单元,用于确定后台运行的操作系统中与所述文件类型对应的应用程序;a program determining unit, configured to determine an application corresponding to the file type in an operating system running in the background;
第二执行单元,用于利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件。And a second execution unit, configured to execute the file by using an application corresponding to the file type in the operating system running in the background.
实施中,所述程序确定单元可以用于在确定所述文件的文件类型为音频文件时,确定后台运行的操作系统中用于播放音频文件的应用程序;所述第二执行单元可以用于利用所述后台运行的操作系统中用于播放音频文 件的应用程序播放所述音频文件。In an implementation, the program determining unit may be configured to determine an application for playing an audio file in an operating system running in the background when determining that the file type of the file is an audio file; the second execution unit may be configured to utilize Playing the audio text in the operating system running in the background The application of the piece plays the audio file.
实施中,所述第二执行单元还可以用于确定所述文件类型在所述后台运行的操作系统的指定目录,将所述文件存储至所述指定目录。In an implementation, the second execution unit may be further configured to determine a specified directory of the operating system in which the file type runs in the background, and store the file to the specified directory.
实施中,所述浮窗可以包括多个浮窗标识,所述装置进一步可以包括:In an implementation, the floating window may include a plurality of floating window identifiers, and the device may further include:
系统确定模块,用于在利用后台运行的操作系统的应用程序对所述内容执行相应的操作之前,根据所述浮窗标识从后台运行的多个操作系统中选定其中一个;a system determining module, configured to select one of a plurality of operating systems running in the background according to the floating window identifier before performing an operation on the content by an application of an operating system running in the background;
所述执行模块具体可以用于利用所述选定的后台运行的操作系统的应用程序对所述内容执行相应的操作。The execution module may be specifically configured to perform a corresponding operation on the content by using an application of the selected background running operating system.
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本申请时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For convenience of description, the various parts of the above described devices are described in terms of functions divided into various modules or units. Of course, the functions of each module or unit may be implemented in the same software or hardware in the implementation of the present application.
实施例三、 Embodiment 3
基于同一发明构思,本申请实施例还提供了一种电子设备,下面进行说明。Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which will be described below.
图3示出了本申请实施例三中电子设备的结构示意图,如图所示,所述电子设备可以包括:显示屏301、存储器302、一个或多个处理器303、以及一个或多个模块;3 is a schematic structural diagram of an electronic device in Embodiment 3 of the present application. As shown, the electronic device may include: a display screen 301, a memory 302, one or more processors 303, and one or more modules. ;
所述一个或多个模块被存储于所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行上述实现对另一操作系统操作的方法中各个步骤的指令。The one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including operations for performing the above-described implementations on another operating system The instructions for each step in the method.
具体实施时,所述电子设备可以为手机、pad、平板电脑、个人计算机PC、智能机器人等产品。In a specific implementation, the electronic device may be a mobile phone, a pad, a tablet computer, a personal computer PC, an intelligent robot, or the like.
所述显示屏可以用于显示图形用户界面,所述显示屏具体可以为触摸Touch屏幕、也可以为非触摸屏,对于非触摸屏幕,用户可以通过鼠标等连 接设备对所述浮窗进行相应的点击、拖动、将其他文件拖至该浮窗等行为。The display screen can be used to display a graphical user interface, and the display screen can be a touch touch screen or a non-touch screen. For a non-touch screen, the user can connect through a mouse. The device performs corresponding clicking, dragging, and dragging other files to the floating window.
由于本申请实施例所提供的电子设备,可以在确定用户在当前操作系统选定的内容之后,进一步确定所述内容对应的操作指令,再利用后台运行的操作系统的应用程序对所述内容执行相应的操作,从而实现了在当前操作系统对另一操作系统的快捷操作,无需切换操作系统,提升了用户体验。The electronic device provided by the embodiment of the present application may further determine an operation instruction corresponding to the content after determining the content selected by the current operating system, and then execute the content by using an application of an operating system running in the background. The corresponding operation realizes the fast operation of the current operating system to another operating system, and does not need to switch the operating system, thereby improving the user experience.
实施例四、Embodiment 4
基于同一发明构思,本申请实施例还提供了一种与包括显示器的电子设备结合使用的计算机程序产品,下面进行说明。Based on the same inventive concept, the embodiment of the present application further provides a computer program product for use in combination with an electronic device including a display, which will be described below.
本申请实施例所提供的计算机程序产品,对用于执行一种过程的指令进行编码,所述过程包括上述实现对另一操作系统操作的方法。The computer program product provided by the embodiment of the present application encodes an instruction for executing a process, and the process includes the foregoing method for implementing operation on another operating system.
具体实施时,所述计算机程序产品可以与包括显示器的电子设备结合使用。In particular implementations, the computer program product can be used in conjunction with an electronic device including a display.
为了便于本申请的实施,下面以实例进行说明。In order to facilitate the implementation of the present application, the following description will be made by way of example.
实施例五、Embodiment 5
图4示出了本申请实施例五中场景示意图,如图所示,所述电子设备可以为手机,所述电子设备的显示屏的当前界面为短信编辑界面。FIG. 4 is a schematic diagram of a scenario in the fifth embodiment of the present application. As shown in the figure, the electronic device may be a mobile phone, and a current interface of the display screen of the electronic device is a short message editing interface.
在触摸屏上可以预先设置有一个浮窗,所述浮窗由所述电子设备的虚拟管理器管理,所述虚拟管理器管理所有的虚拟机,每个操作系统作为一个虚拟机存在于所述手机中,假设所述手机包括公司操作系统和个人操作系统。A floating window may be preset on the touch screen, the floating window being managed by a virtual manager of the electronic device, the virtual manager managing all virtual machines, and each operating system exists as a virtual machine on the mobile phone It is assumed that the mobile phone includes a company operating system and a personal operating system.
假设当前操作系统为公司操作系统,所述手机的另一操作系统为个人操作系统。Assuming that the current operating system is a corporate operating system, another operating system of the mobile phone is a personal operating system.
当用户编辑完一条短信(例如:“你到家了吗?”),想要以个人操作系统发送该短信时,可以长按手机显示屏上的浮窗(例如图5中的灰色圆圈); When the user edits a text message (for example: "Are you at home?"), you want to use the personal operating system to send the message, you can long press the floating window on the phone display (such as the gray circle in Figure 5);
虚拟管理器检测到该用户的按压行为后,确定前台是否运行有应用程序,确定手机前台运行有短信收发应用程序后,确定该短信收发应用程序的当前界面的操作控件,本申请实施例中短信编辑界面的操作控件为短信发送按钮,根据短信发送按钮确定用户的操作请求为发送短信。After the virtual manager detects the pressing behavior of the user, it is determined whether the application is running in the foreground, and the operation control of the current interface of the short message receiving and receiving application is determined after the mobile phone is sent and received in the foreground, and the short message is sent in the embodiment of the present application. The operation control of the editing interface is a short message sending button, and the user's operation request is determined according to the short message sending button to send a short message.
此时,虚拟管理器获取用户在当前短信编辑界面输入的短信内容,以及短信收件人的手机号码,将短信内容和短信收件人的手机号码发送至个人操作系统,启动所述个人操作系统的短信收发应用程序,将所述短信内容发送至所述短信收件人的手机号码。At this time, the virtual manager obtains the short message content input by the user on the current short message editing interface, and the mobile phone number of the short message recipient, and sends the short message content and the mobile phone number of the short message recipient to the personal operating system to start the personal operating system. The short message receiving and sending application sends the short message content to the mobile phone number of the short message recipient.
本申请实施例可以实现在当前操作系统编辑完短信通过显示屏上的浮窗以后台运行的操作系统的名义发送所述短信内容的目的,即,假设公司操作系统对应的手机号码为136********,个人操作系统对应的个人手机号码为131********,那么本申请实施例即可在当前操作系统为公司操作系统的情况下,快捷的实现以131********个人手机号码发送短信给朋友或家人。The embodiment of the present application can achieve the purpose of sending the short message content in the name of the operating system running in the background through the floating window on the display screen after the current operating system edits the short message, that is, the mobile phone number corresponding to the company operating system is 136** ******, the personal mobile phone number corresponding to the personal operating system is 131********, then the embodiment of the present application can be quickly implemented in the case that the current operating system is the company operating system. ********Send a text message to a friend or family member.
实施例六、 Embodiment 6
图5示出了本申请实施例六中场景示意图,如图所示,依然以手机为例,所述手机当前界面为电话拨号界面。FIG. 5 is a schematic diagram of a scenario in the sixth embodiment of the present application. As shown in the figure, the current interface of the mobile phone is a telephone dialing interface.
假设当前操作系统为个人操作系统,所述手机的另一操作系统为公司操作系统。Assuming that the current operating system is a personal operating system, another operating system of the mobile phone is a corporate operating system.
当用户输入所要拨打客户的号码(例如:139******11),想要以公司号码拨打客户电话时,可以将拨号界面的功能按键(图中以菱形图标表示)拖至浮窗(图中以灰色圆圈表示)上;When the user enters the number of the customer to be dialed (for example: 139******11) and wants to make a customer call with the company number, you can drag the function button of the dialing interface (indicated by a diamond icon) to the floating window. (indicated by a gray circle in the figure);
当前操作系统检测到用户将拨号功能按键拖至浮窗的行为后,通知虚拟管理器,虚拟管理器在获取到用户在当前拨号界面输入的手机号码(例如:139******11)后,将所述手机号码(例如:139******11)发送至公 司操作系统,启动公司操作系统的接打电话的应用程序,利用公司操作系统的接打电话的应用程序呼出所述手机号码,即可实现以公司分配的手机号码给客户拨打电话的目的,既可以避免以私人手机号码拨打泄露隐私又可以在不切换系统的情况下快捷拨打电话。After the current operating system detects that the user drags the dialing function button to the floating window, the virtual manager is notified, and the virtual manager obtains the mobile phone number input by the user on the current dialing interface (for example: 139******11) After that, send the mobile phone number (for example: 139******11) to the public The operating system, the application for starting the call of the company's operating system, and using the call application of the company's operating system to call out the mobile phone number, can realize the purpose of making a call to the customer by the mobile phone number assigned by the company, You can avoid making a private phone number to call for privacy and you can make a quick call without switching the system.
本申请实施例可以实现在当前操作系统输入手机号码后通过显示屏上的浮窗以另一操作系统的名义拨打所述手机号码的目的。The embodiment of the present application can achieve the purpose of dialing the mobile phone number in the name of another operating system through the floating window on the display screen after the current operating system inputs the mobile phone number.
实施例七、Example VII.
图6示出了本申请实施例七中场景示意图,如图所示,所述电子设备可以为平板电脑pad等终端。FIG. 6 is a schematic diagram of a scenario in the seventh embodiment of the present application. As shown in the figure, the electronic device may be a terminal such as a tablet pad.
假设当前操作系统为第一操作系统,用户想要以第二操作系统播放音乐,此时,用户可以选中所要播放的音频文件(例如:树读.mp3),将所述音频文件拖至所述浮窗(图中以灰色圆圈表示)上;Assuming that the current operating system is the first operating system, the user wants to play music in the second operating system. At this time, the user can select the audio file to be played (for example, tree read.mp3), and drag the audio file to the Floating window (indicated by a gray circle in the figure);
当前操作系统检测到用户将文件拖至浮窗的行为后通知虚拟管理器,虚拟管理器确定所述文件的文件类型为音频文件时,可以根据预先设置的音频文件对应的操作确定用户的操作请求为播放所述音频文件。The current operating system detects the behavior of the user dragging the file to the floating window, and notifies the virtual manager. When the virtual manager determines that the file type of the file is an audio file, the operation request of the user may be determined according to the operation corresponding to the preset audio file. To play the audio file.
此时,虚拟管理器可以将所述音频文件发送至所述第二操作系统,启动所述第二操作系统中的音频播放应用程序播放所述音频文件。At this time, the virtual manager may send the audio file to the second operating system, and start an audio playing application in the second operating system to play the audio file.
具体实施时,虚拟管理器可以根据预先设置的列表确定第二操作系统的音频播放应用程序播放所述音频文件,也可以从所述第二操作系统中随机挑选能够播放所述音频文件的音频播放应用程序,本申请对此不作限制。In a specific implementation, the virtual manager may determine, according to the preset list, that the audio playing application of the second operating system plays the audio file, or randomly select an audio playing that can play the audio file from the second operating system. Application, this application does not limit this.
本申请实施例可以实现在当前操作系统拖动一个音频文件通过显示屏上的浮窗以另一操作系统的音频播放软件播放所述音频文件的目的。The embodiment of the present application can achieve the purpose of dragging an audio file by the current operating system through the floating window on the display screen to play the audio file with the audio playing software of another operating system.
实施例八、Example VIII.
图7示出了本申请实施例八中浮窗的变化示意图,如图所示,当终端或电子设备除当前操作系统还存在2个以上操作系统时,用户可以选择对 哪个操作系统进行快捷操作。FIG. 7 is a schematic diagram showing changes of the floating window in the eighth embodiment of the present application. As shown in the figure, when the terminal or the electronic device has more than two operating systems except the current operating system, the user may select the pair. Which operating system performs shortcut operations.
假设当前操作系统为第一操作系统,显示屏上的浮窗为灰色圆圈表示第二操作系统的快捷操作接口,所述圆圈的中心可以有系统变换按钮(如图中所示的内含“变”字的圆圈)。Assuming that the current operating system is the first operating system, the floating window on the display screen is a gray circle indicating the shortcut operation interface of the second operating system, and the center of the circle may have a system change button (as shown in the figure) "The circle of words."
当用户想要在当前第一操作系统下,将某个文件拷贝至第三操作系统时,用户可以先点击浮窗的系统变换按钮,将快捷操作接口变换为第三操作系统的快捷操作接口,所述浮窗可以通过改变形状等方式表示不同的操作系统,如图所示,第三操作系统的快捷操作接口以菱形标识;When the user wants to copy a file to the third operating system under the current first operating system, the user may first click the system change button of the floating window to convert the shortcut operation interface into the shortcut operation interface of the third operating system. The floating window can represent different operating systems by changing the shape, etc., as shown in the figure, the shortcut operation interface of the third operating system is identified by a diamond shape;
在变换系统快捷操作接口之后,用户即可将所要拷贝的文件拖至所述浮窗上;虚拟管理器检测到该用户行为,将所述文件通过管道、共享内存等方式拷贝到第三操作系统的指定目录中。After the system shortcut operation interface is changed, the user can drag the file to be copied to the floating window; the virtual manager detects the user behavior, and copies the file to the third operating system through pipeline, shared memory, and the like. In the specified directory.
具体实施时,所述浮窗可以为任意形状、颜色,本领域技术人员可以根据需要进行设置,所述浮窗标识不同的操作系统也可以通过其他方式来标识,例如:文字、边缘颜色、填充颜色等,本申请对此不做限制。In a specific implementation, the floating window can be any shape and color, and can be set by a person skilled in the art according to requirements. The operating system of the floating window identifier can also be identified by other means, such as: text, edge color, padding. Color, etc., this application does not limit this.
本申请实施例可以实现当存在多个操作系统时,根据标识确定用户选择的所述另一操作系统,从而实现在当前操作系统对另一操作系统的快捷操作。The embodiment of the present application may be configured to determine, according to the identifier, the another operating system selected by the user when multiple operating systems exist, thereby implementing a shortcut operation on the current operating system to another operating system.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流 程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It should be understood that the flow can be implemented by computer program instructions Each of the processes and/or blocks in the flowcharts and/or block diagrams, and combinations of the flows and/or blocks in the flowcharts and/or block diagrams. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。 While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and

Claims (24)

  1. 一种实现对另一操作系统操作的方法,其特征在于,包括:A method of implementing operations on another operating system, comprising:
    确定用户在当前操作系统中选定的内容;Determine what content the user has selected in the current operating system;
    在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。When the preset operating conditions are met, the corresponding operation is performed on the content by the application of the operating system running in the background.
  2. 如权利要求1所述的方法,其特征在于,所述用户在当前操作系统选定的内容为:用户在当前操作系统的应用程序中选定的字符,或者,用户在当前操作系统选定的文件。The method according to claim 1, wherein the content selected by the user in the current operating system is: a character selected by the user in an application of the current operating system, or a user selected in the current operating system. file.
  3. 如权利要求1所述的方法,其特征在于,所述预设的操作条件包括如下条件中的至少一种:The method of claim 1 wherein said predetermined operating condition comprises at least one of the following:
    条件一:用户将选定的内容拖拽到指定位置;Condition 1: The user drags the selected content to the specified location;
    条件二:用户在选定内容的同时触发了预设的按键或者按键组合;Condition 2: The user triggers a preset button or button combination while selecting the content;
    条件三:用户在选定内容的同时将预设的按键拖拽到指定位置。Condition 3: The user drags the preset button to the specified position while selecting the content.
  4. 如权利要求3所述的方法,其特征在于,预设的操作条件包括条件一或条件三时,所述方法还包括:在当前操作系统中显示浮窗;The method of claim 3, wherein the predetermined operating condition comprises condition one or condition three, the method further comprising: displaying a floating window in the current operating system;
    所述条件一具体是指:将选定的内容拖拽至浮窗所在的位置,或者,The condition one specifically refers to: dragging the selected content to the location where the floating window is located, or,
    所述条件三具体是指:将预设的按键拖拽至浮窗所在的位置。The condition three specifically refers to: dragging a preset button to a position where the floating window is located.
  5. 如权利要求2所述的方法,其特征在于,在所述用户在当前操作系统中选定的内容为用户在当前操作系统的应用程序中选定的字符时,所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作,包括:The method of claim 2, wherein the operating system running in the background is used when the content selected by the user in the current operating system is a character selected by the user in an application of the current operating system. The application performs the corresponding operations on the content, including:
    确定所述当前操作系统的应用程序当前界面的操作控件;Determining an operation control of a current interface of an application of the current operating system;
    根据所述操作控件确定所述字符对应的操作;Determining an operation corresponding to the character according to the operation control;
    利用后台运行的操作系统的应用程序对所述字符执行所述操作。The operation is performed on the character using an application of an operating system running in the background.
  6. 如权利要求5所述的方法,其特征在于,所述当前操作系统的应用程序为拨打电话应用程序,所述字符为目标用户的用户标识,所述操作控 件为拨打电话的触发按钮;所述利用后台运行的操作系统的应用程序对所述字符执行所述操作,包括:利用后台运行的操作系统的拨打电话应用程序根据所述用户标识向所述目标用户发起呼叫请求。The method according to claim 5, wherein the application of the current operating system is a calling application, the character is a user identifier of the target user, and the operation is controlled. The triggering button for making a call; the performing, by the application of the operating system running in the background, performing the operation on the character, including: using a calling application of an operating system running in the background to the target according to the user identifier The user initiates a call request.
  7. 如权利要求5所述的方法,其特征在于,所述当前操作系统的应用程序为即时通信应用程序;所述字符为待发送的消息;所述操作控件为消息发送按钮;所述利用后台运行的操作系统的应用程序对所述字符执行所述操作,包括:确定所述待发送的消息对应的目的用户,利用后台运行的操作系统的即时通信应用程序将所述待发送的消息发送至所述目的用户。The method according to claim 5, wherein the application of the current operating system is an instant messaging application; the character is a message to be sent; the operation control is a message sending button; The operating system application performs the operation on the character, including: determining a destination user corresponding to the message to be sent, and transmitting, by using an instant messaging application of an operating system running in the background, the message to be sent to the Describe the user.
  8. 如权利要求2所述的方法,其特征在于,在所述用户在当前操作系统选定的内容为用户在当前操作系统选定的文件时,所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作,包括:The method according to claim 2, wherein, when the content selected by the user in the current operating system is a file selected by the user in the current operating system, the application program of the operating system running in the background is used. The content performs the corresponding operations, including:
    确定所述文件的文件类型;Determining the file type of the file;
    根据所述文件类型确定对所述文件执行的操作;Determining an operation performed on the file according to the file type;
    确定后台运行的操作系统中与所述文件类型对应的应用程序;Determining an application corresponding to the file type in an operating system running in the background;
    利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件。The file is executed by an application corresponding to the file type in the operating system running in the background.
  9. 如权利要求8所述的方法,其特征在于,所述文件为音频文件,所述确定后台运行的操作系统中与所述文件类型对应的应用程序具体为:确定所述后台运行的操作系统中用于播放音频文件的应用程序;The method of claim 8, wherein the file is an audio file, and the application corresponding to the file type in the operating system that is determined to run in the background is specifically: determining an operating system running in the background. An application for playing audio files;
    所述利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件具体为:利用所述后台运行的操作系统中用于播放音频文件的应用程序播放所述音频文件。The executing the file by using an application corresponding to the file type in the operating system running in the background is specifically: playing the audio file by using an application for playing an audio file in an operating system running in the background.
  10. 如权利要求8所述的方法,其特征在于,所述利用后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件,包括:The method according to claim 8, wherein the executing the file by using an application corresponding to the file type in an operating system running in the background comprises:
    确定所述文件类型在所述后台运行的操作系统的指定目录; Determining a specified directory of the operating system in which the file type is running in the background;
    利用后台运行的操作系统的数据存储应用程序将所述文件存储至所述指定目录。The file is stored to the specified directory using a data storage application of an operating system running in the background.
  11. 如权利要求4所述的方法,其特征在于,所述浮窗包括多个浮窗标识,在利用后台运行的操作系统的应用程序对所述内容执行相应的操作之前,进一步包括:根据所述浮窗标识从后台运行的多个操作系统中选定其中一个;The method of claim 4, wherein the floating window comprises a plurality of floating window identifiers, and before performing an operation on the content by an application of an operating system running in the background, further comprising: The floating window identifier selects one of a plurality of operating systems running in the background;
    所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作,具体为:利用所述选定的后台运行的操作系统的应用程序对所述内容执行相应的操作。The application that uses the operating system running in the background performs a corresponding operation on the content, specifically: performing an operation on the content by using an application of the selected operating system running in the background.
  12. 一种实现对另一操作系统操作的装置,其特征在于,包括:An apparatus for implementing operation on another operating system, comprising:
    内容确定模块,用于确定用户在当前操作系统中选定的内容;a content determining module, configured to determine content selected by the user in the current operating system;
    执行模块,用于在满足预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。And an execution module, configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the preset operating condition is met.
  13. 如权利要求12所述的装置,其特征在于,所述内容确定模块用于确定用户在当前操作系统的应用程序中选定的字符,或者,确定用户在当前操作系统选定的文件。The apparatus of claim 12, wherein the content determining module is operative to determine a character selected by the user in an application of the current operating system or to determine a file selected by the user at the current operating system.
  14. 如权利要求12所述的装置,其特征在于,所述执行模块用于在满足以下预设的操作条件时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作:The apparatus according to claim 12, wherein the execution module is configured to perform a corresponding operation on the content by using an application of an operating system running in the background when the following preset operating conditions are met:
    条件一:用户将选定的内容拖拽到指定位置;Condition 1: The user drags the selected content to the specified location;
    条件二:用户在选定内容的同时触发了预设的按键或者按键组合;Condition 2: The user triggers a preset button or button combination while selecting the content;
    条件三:用户在选定内容的同时将预设的按键拖拽到指定位置。Condition 3: The user drags the preset button to the specified position while selecting the content.
  15. 如权利要求14所述的装置,其特征在于,进一步包括:显示模块,用于在所述预设的操作条件包括条件一或条件三时,在当前操作系统中显示浮窗; The device according to claim 14, further comprising: a display module, configured to display a floating window in the current operating system when the preset operating condition includes condition one or condition three;
    所述执行模块具体用于在用户将选定的内容拖拽至浮窗所在位置,或者,用户在选定内容的同时将预设的按键拖拽至浮窗所在位置时,利用后台运行的操作系统的应用程序对所述内容执行相应的操作。The execution module is specifically configured to: when the user drags the selected content to the location of the floating window, or when the user drags the preset button to the location of the floating window while selecting the content, the operation running in the background is utilized. The application of the system performs the corresponding operations on the content.
  16. 如权利要求15所述的装置,其特征在于,所述执行模块包括:The apparatus of claim 15, wherein the execution module comprises:
    控件确定单元,用于在确定用户在当前操作系统的应用程序中选定的字符时,确定当前操作系统的所述应用程序当前界面的操作控件;a control determining unit, configured to determine an operation control of a current interface of the application of the current operating system when determining a character selected by the user in an application of the current operating system;
    第一操作确定单元,用于根据所述操作控件确定所述字符对应的操作;a first operation determining unit, configured to determine an operation corresponding to the character according to the operation control;
    第一执行单元,用于利用后台运行的操作系统的应用程序对所述字符执行所述操作。And a first execution unit, configured to perform the operation on the character by using an application of an operating system running in the background.
  17. 如权利要求16所述的装置,其特征在于,所述内容确定模块用于确定用户在当前操作系统的拨打电话应用程序中选定的目标用户的用户标识;所述控件确定单元用于确定当前操作系统的拨打电话应用程序当前界面的拨打电话的触发按钮;所述第一操作确定单元用于根据所述拨打电话的触发按钮确定操作为拨打电话;所述第一执行单元用于利用后台运行的操作系统的拨打电话应用程序根据所述用户标识向所述目标用户发起呼叫请求。The device according to claim 16, wherein the content determining module is configured to determine a user identifier of a target user selected by a user in a call application of a current operating system; the control determining unit is configured to determine a current a trigger button for dialing a call of the current interface of the operating system of the operating system; the first operation determining unit is configured to determine, according to the trigger button of the dialing call, an operation to make a call; the first execution unit is configured to use the background operation The calling application of the operating system initiates a call request to the target user based on the user identification.
  18. 如权利要求16所述的装置,其特征在于,所述内容确定模块用于确定用户在当前操作系统的即时通信应用程序中选定的待发送消息;所述控件确定单元用于确定当前操作系统的即时通信应用程序当前界面的消息发送按钮;所述第一操作确定单元用于根据所述消息发送按钮确定操作为发送消息;所述第一执行单元用于确定所述待发送的消息对应的目的用户,利用后台运行的操作系统的即时通信应用程序将所述待发送消息发送至所述目的用户。The apparatus according to claim 16, wherein said content determining module is configured to determine a message to be sent selected by a user in an instant messaging application of a current operating system; said control determining unit is operative to determine a current operating system a message sending button of the current interface of the instant messaging application; the first operation determining unit is configured to determine, according to the message sending button, an operation as a sending message; the first executing unit is configured to determine a message corresponding to the message to be sent The destination user sends the to-be-sent message to the destination user by using an instant messaging application of an operating system running in the background.
  19. 如权利要求13所述的装置,其特征在于,所述执行模块包括:The apparatus of claim 13 wherein said execution module comprises:
    文件确定单元,用于在确定用户在当前操作系统选定的文件时,确定 所述文件的文件类型;a file determining unit, configured to determine when the user selects a file selected by the current operating system The file type of the file;
    第二操作确定单元,用于根据所述文件类型确定所述文件对应的操作;a second operation determining unit, configured to determine an operation corresponding to the file according to the file type;
    程序确定单元,用于确定后台运行的操作系统中与所述文件类型对应的应用程序;a program determining unit, configured to determine an application corresponding to the file type in an operating system running in the background;
    第二执行单元,用于利用所述后台运行的操作系统中与所述文件类型对应的应用程序执行所述文件。And a second execution unit, configured to execute the file by using an application corresponding to the file type in the operating system running in the background.
  20. 如权利要求19所述的装置,其特征在于,所述程序确定单元用于在确定所述文件的文件类型为音频文件时,确定后台运行的操作系统中用于播放音频文件的应用程序;所述第二执行单元用于利用所述后台运行的操作系统中用于播放音频文件的应用程序播放所述音频文件。The device according to claim 19, wherein the program determining unit is configured to determine an application for playing an audio file in an operating system running in the background when determining that the file type of the file is an audio file; The second execution unit is configured to play the audio file by using an application for playing an audio file in the operating system running in the background.
  21. 如权利要求19所述的装置,其特征在于,所述第二执行单元还用于确定所述文件类型在所述后台运行的操作系统的指定目录,将所述文件存储至所述指定目录。The apparatus according to claim 19, wherein said second execution unit is further configured to determine a specified directory of an operating system in which said file type is running in said background, and storing said file in said specified directory.
  22. 如权利要求15所述的装置,其特征在于,所述浮窗包括多个浮窗标识,所述装置进一步包括:The device of claim 15 wherein said floating window comprises a plurality of floating window identifiers, said device further comprising:
    系统确定模块,用于在所述利用后台运行的操作系统的应用程序对所述内容执行相应的操作之前,根据所述浮窗标识从后台运行的多个操作系统中选定其中一个;a system determining module, configured to select one of a plurality of operating systems running in the background according to the floating window identifier before the application of the operating system running in the background performs a corresponding operation on the content;
    所述执行模块具体用于利用所述选定的后台运行的操作系统的应用程序对所述内容执行相应的操作。The execution module is specifically configured to perform a corresponding operation on the content by using an application of the selected operating system running in the background.
  23. 一种电子设备,其特征在于,包括:显示屏、存储器、一个或多个处理器、以及一个或多个模块;An electronic device, comprising: a display screen, a memory, one or more processors, and one or more modules;
    所述一个或多个模块被存储于所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行如权利要求1至11任一所述方法中各个步骤的指令。 The one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising for performing any of claims 1 to 11 The instructions for each step in the method.
  24. 一种计算机程序产品,其特征在于,所述计算机程序产品对用于执行一种过程的指令进行编码,所述过程包括根据权利要求1至11中任一所述的方法。 A computer program product, characterized in that the computer program product encodes instructions for performing a process, the process comprising a method according to any one of claims 1 to 11.
PCT/CN2016/111219 2016-12-21 2016-12-21 Method for operating another operating system, apparatus and electronic device WO2018112775A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680002856.XA CN107438835A (en) 2016-12-21 2016-12-21 Realize the method, apparatus and electronic equipment to the operation of another operating system
PCT/CN2016/111219 WO2018112775A1 (en) 2016-12-21 2016-12-21 Method for operating another operating system, apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/111219 WO2018112775A1 (en) 2016-12-21 2016-12-21 Method for operating another operating system, apparatus and electronic device

Publications (1)

Publication Number Publication Date
WO2018112775A1 true WO2018112775A1 (en) 2018-06-28

Family

ID=60459087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111219 WO2018112775A1 (en) 2016-12-21 2016-12-21 Method for operating another operating system, apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN107438835A (en)
WO (1) WO2018112775A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023000601A1 (en) * 2021-07-23 2023-01-26 北京鸿合爱学教育科技有限公司 Interface switching method and apparatus, and device and computer-readable storage medium
WO2023005784A1 (en) * 2021-07-30 2023-02-02 华为技术有限公司 Method for cross-system transmission of target object, and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271078A (en) * 2018-09-17 2019-01-25 深圳市泰衡诺科技有限公司 Content share method, terminal device and storage medium
CN110086103A (en) * 2019-05-27 2019-08-02 国网江苏省电力有限公司徐州供电分公司 The operational method of power distribution room robot
CN112948003B (en) * 2019-11-26 2022-07-29 成都鼎桥通信技术有限公司 Method and equipment for switching operating systems of dual-android terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104081394A (en) * 2012-02-03 2014-10-01 苹果公司 Sharing services
CN104199791A (en) * 2014-08-15 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal and dual-system file transfer method and device thereof
CN104507181A (en) * 2014-12-12 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100211769A1 (en) * 2009-02-19 2010-08-19 Subramonian Shankar Concurrent Execution of a Smartphone Operating System and a Desktop Operating System
CN102043677B (en) * 2009-10-22 2013-01-16 系微股份有限公司 Parallel processing method for dual-operation system
US8682962B2 (en) * 2010-12-24 2014-03-25 Levono (Singapore) Pte. Ltd. Systems and methods for communicating and switching between components in a hybrid computing environment
US9778938B2 (en) * 2013-09-30 2017-10-03 Hewlett-Packard Development Company, L.P. Selecting operating systems based on a computing device mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104081394A (en) * 2012-02-03 2014-10-01 苹果公司 Sharing services
CN104199791A (en) * 2014-08-15 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal and dual-system file transfer method and device thereof
CN104507181A (en) * 2014-12-12 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023000601A1 (en) * 2021-07-23 2023-01-26 北京鸿合爱学教育科技有限公司 Interface switching method and apparatus, and device and computer-readable storage medium
WO2023005784A1 (en) * 2021-07-30 2023-02-02 华为技术有限公司 Method for cross-system transmission of target object, and device

Also Published As

Publication number Publication date
CN107438835A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
WO2018112775A1 (en) Method for operating another operating system, apparatus and electronic device
TWI528264B (en) Electronic device, synchronization method thereof and computer program product
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
US20170024226A1 (en) Information processing method and electronic device
WO2013159536A1 (en) Touch screen terminal object processing method and touch screen terminal
WO2013075667A1 (en) Operating, generating and starting method and device thereof for application
WO2019000933A1 (en) Information display method and apparatus, and computer-readable storage medium
WO2017185346A1 (en) Operating method for application group, and terminal
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
WO2019047728A1 (en) Method for opening shortcut function, device, mobile terminal, and storage medium
WO2022076049A1 (en) Systems and methods for providing tab previews via an operating system user interface
CN106484547A (en) A kind of management method, device and terminal for opening application more
WO2018040547A1 (en) Method and device for creating group
WO2016109944A1 (en) Method for presenting information on lock screen interface, information processing apparatus, portable electronic device and graphical user interface on portable electronic device
CN107026933A (en) A kind of information management method, device and intelligent terminal for opening application more
CN106484479A (en) A kind of management method, device and intelligent terminal for opening application more
CN109271211A (en) Method, apparatus of attending to anything else, equipment and the medium of application program
CN109922098A (en) A kind of content share method, device and the device for content share
TWI734670B (en) Information card processing method and device
WO2022156602A1 (en) Display method, display apparatus, and electronic device
WO2016145707A1 (en) Method and device for adding homepage in smart terminal
CN106484514B (en) Multi-open application operation management method and device and intelligent terminal
CN104657125A (en) Information processing method and electronic device
CN106445670B (en) A kind of data managing method, device and mobile terminal for opening application more
WO2018112772A1 (en) Method and apparatus for operating another operating system and electronic device

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: 16924642

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205 DATED 18/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16924642

Country of ref document: EP

Kind code of ref document: A1