CN113094101A - Control method and device of dual-domain system, electronic equipment and storage medium - Google Patents

Control method and device of dual-domain system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113094101A
CN113094101A CN201911315568.1A CN201911315568A CN113094101A CN 113094101 A CN113094101 A CN 113094101A CN 201911315568 A CN201911315568 A CN 201911315568A CN 113094101 A CN113094101 A CN 113094101A
Authority
CN
China
Prior art keywords
state
function
positioning
domain
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911315568.1A
Other languages
Chinese (zh)
Inventor
董杰
蒋兴
廖红卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TD Tech Chengdu Co Ltd
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201911315568.1A priority Critical patent/CN113094101A/en
Publication of CN113094101A publication Critical patent/CN113094101A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

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)
  • Telephone Function (AREA)

Abstract

The application provides a control method, a control device, electronic equipment and a storage medium of a dual-domain system, wherein the method comprises the following steps: if the first system is switched to the second system, determining the switching state of the last function of the second system, wherein the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switching state of the function of the switched system depends on the switching state of the function of the system before switching; the on-off state of the current function of the second system is set to the on-off state of the last function. The control method provided by the application can realize independent control of the on-off state of the functions in the dual-domain system, is not influenced by the on-off state of the functions of the system before switching, and can improve user experience.

Description

Control method and device of dual-domain system, electronic equipment and storage medium
Technical Field
The present application relates to the field of dual-domain systems, and in particular, to a method and an apparatus for controlling a dual-domain system, an electronic device, and a storage medium.
Background
Modern science and technology develops rapidly, information security is very important, and many users are equipped with two terminal devices in order to ensure that information is not leaked, wherein one terminal device is specially used for work and the other terminal device is specially used for life. In order to solve the problem that a user needs to be equipped with two terminal devices, the Android for work concept is provided, and the user can switch a living domain and a working domain on one terminal device, namely in the terminal device, the user has two independent spaces, one space is specially used for living, the other space is specially used for working, and high-safety standard protection safety measures are provided for both living information and working information of the user.
In the prior art, the GPS switch states of a life domain and a working domain in a terminal device are shared and cannot be independently controlled. That is, if the switching state of the GPS corresponding to the life domain is off when the life domain is supposed to be switched to the work domain, the switching state of the GPS is still off after the life domain is switched to the work domain, and the GPS needs to be manually turned on by the user, which results in low user experience.
Disclosure of Invention
The application provides a control method and device for a dual-domain system, an electronic device and a storage medium, which can realize independent control of the on-off state of the functions in the dual-domain system, are not affected by the on-off state of the functions of the system before switching, and can improve user experience.
A first aspect of the present application provides a control method for a dual-domain system, including:
if the system is switched from a first system to a second system, determining the switching state of the last function of the second system, wherein the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switching state of the function of the switched system depends on the switching state of the function of the system before the switching;
setting the on-off state of the current function of the second system to the on-off state of the last function.
Optionally, the first system is a living domain system, the second system is a working domain system, and the method further includes:
and if the current system is the second system and the second system has the releasing authority, releasing the dependency relationship.
Optionally, the method further includes: and if the second system has the mark of the summary file space, determining that the second system has the releasing authority.
Optionally, the function is a positioning function, and the removing the dependency relationship includes: reading a database of the first system, and acquiring a positioning switch value of the first system, wherein the positioning switch value is used for representing the switch state of a positioning function;
writing the positioning switch value to a database of the second system.
Optionally, after the releasing the dependency relationship, the method further includes: and if a modification request is received, modifying the value of the positioning switch in the database of the second system, wherein the modification request is used for requesting to modify the value of the positioning switch of the second system.
Optionally, after the modifying the value of the positioning switch in the database of the second system, the method further includes: and displaying the switch state of the positioning function corresponding to the modified positioning switch value of the second system.
Optionally, the method further includes: and inquiring the on-off state of the positioning function of the current system, and if the on-off state of the positioning function of the current system is the off state, stopping reporting the positioning information.
A second aspect of the present application provides a control apparatus of a dual domain system, comprising:
the processing module is configured to determine, if switching from a first system to a second system, an on-off state of a last function of the second system, and set the on-off state of a current function of the second system to the on-off state of the last function, where the first system and the second system have no dependency relationship, and the dependency relationship indicates that, when switching between the first system and the second system, an on-off state of a function of a switched system depends on an on-off state of a function of a system before switching.
Optionally, the processing module is further configured to, if the current system is the second system and the second system has a release authority, release the dependency relationship.
Optionally, if the second system has a flag indicating a profile space, the processing module is further configured to determine that the second system has a release right.
Optionally, the function is a positioning function.
The processing module is specifically configured to read a database of the first system, obtain a positioning switch value of the first system, and write the positioning switch value into a database of the second system, where the positioning switch value is used to represent a switch state of a positioning function.
Optionally, the processing module is further configured to modify the value of the positioning switch in the database of the second system when the transceiver module receives a modification request, where the modification request is used to request modification of the value of the positioning switch of the second system.
And the display module is used for displaying the on-off state of the positioning function corresponding to the modified positioning switch value of the second system.
Optionally, the processing module is further configured to query an on-off state of the positioning function of the current system, and stop reporting the positioning information if the on-off state of the positioning function of the current system is an off state.
A third aspect of the present application provides an electronic device comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the control method of the dual-domain system.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the control method of the above-mentioned dual-domain system.
The application provides a control method, a control device, electronic equipment and a storage medium of a dual-domain system, wherein the method comprises the following steps: if the first system is switched to the second system, determining the switching state of the last function of the second system, wherein the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switching state of the function of the switched system depends on the switching state of the function of the system before switching; the on-off state of the current function of the second system is set to the on-off state of the last function. The control method provided by the application can realize independent control of the on-off state of the functions in the dual-domain system.
Drawings
Fig. 1 is a first interface schematic diagram of a terminal device in the prior art;
fig. 2 is a second interface schematic diagram of a terminal device in the prior art;
fig. 3 is a third schematic interface diagram of a terminal device in the prior art;
fig. 4 is a first flowchart illustrating a control method of the dual-domain system provided in the present application;
fig. 5 is a second flowchart illustrating a control method of the dual-domain system provided in the present application;
fig. 6 is a schematic diagram illustrating an interface change of a terminal device provided in the present application;
fig. 7 is a schematic structural diagram of a control device of a dual-domain system provided in the present application;
fig. 8 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the embodiments of the present application, and it is obvious that the described embodiments are some but not all of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to more clearly illustrate the control method of the dual-domain system provided in the present application, the following description will be made of the dual-domain system and the control method of the dual-domain system in the related art.
Google proposed the concept of creating different domains (also called spaces, systems) in one terminal device, namely Android for work. For example, the smart phone is basically used as a living domain (living space, living domain system) of a user, and there is a great demand on enterprises to perform security management and isolation of living data and working data on the smart phone of a company. Accordingly, the user can reestablish a work domain (work space, work domain system), and the work domain data and the life domain data can be isolated through the sandbox.
Correspondingly, fig. 1 is a first interface schematic diagram of a terminal device in the prior art. As shown in fig. 1, a life domain and a work domain in the prior art may share the same desktop, and application programs corresponding to the life domain and the work domain may be displayed on the desktop. To distinguish the applications corresponding to the two domains, an identification (e.g., an image identification similar to a "folder") may be made in the lower right corner of the application corresponding to the created work domain. It should be understood that the terminal device in fig. 1 can switch between the living domain and the working domain, but the interface of the terminal device is shared.
The safety characteristic enhancement is carried out on the basis of Google, the working domain and the living domain are made into independent desktops, and when the terminal equipment is switched between the working domain and the living domain, the desktop of the terminal equipment is also switched between the desktop of the working domain and the desktop of the living domain.
Fig. 2 is a second interface schematic diagram of a terminal device in the prior art, and fig. 3 is a third interface schematic diagram of a terminal device in the prior art. As shown in fig. 2, the desktop corresponding to the terminal device is switched to the working domain, and only the application program corresponding to the working domain is displayed on the interface; correspondingly, fig. 3 shows a desktop corresponding to the terminal device when the terminal device is switched to the life domain, and only the application program corresponding to the life domain is displayed on the interface.
However, in the above two prior arts, the states of the function switches of the work domain and the life domain are shared, that is, when the terminal device switches between the work domain and the life domain, the on-off state of the function of the system after switching depends on the on-off state of the function of the system before switching, that is, is the same as the on-off state of the function before switching.
For example, the on-off state of the function of the work domain before switching is an "off" state, when the terminal device switches to the living domain, the on-off state of the function of the living domain after switching is an "off" state, and if the user needs the function service, the on-off state of the function needs to be manually set to an "on" state.
For example, the switch state of the function of the living domain before switching is "on", and when the terminal device switches to the working domain, the switch state of the function of the living domain after switching is "off", and if the user wants to complete the work as much as possible to prevent the interference of the network information and needs to set the switch state of the function to the "off", the switch state of the function also needs to be manually set to the "off" state. It should be understood that the above functions may refer to a Positioning function (e.g., Global Positioning System, GPS), a switching function of a cellular network, an automatic brightness adjustment, and the like.
The reason why the above-described problems occur is that a new domain (e.g., a work domain or a life domain) created in the related art does not have a function of independently controlling the on-off state of the function of its own domain, and can depend only on the on-off state of the function of a native domain (non-created domain), that is, the on-off state of the function between the domains of the terminal device in the related art has a dependency relationship. It should be understood that the first system and the second system are adopted to represent the life domain and the work domain, respectively, in the following embodiments.
In order to solve the above problem, the present application provides a method for controlling a dual-domain system, in which a function of independently controlling the on/off state of a function of a system is established for a second system (a system without a function of independently controlling the on/off state of a function of its own domain) by releasing the on/off state of the functions of a first system and the second system, so that each system in a terminal device can control the on/off state of the function of its own system, thereby improving user experience.
The main body of the control method for executing the dual-domain system in the present application is a terminal device, which may include, but is not limited to, a mobile terminal device or a fixed terminal device. The mobile terminal devices include, but are not limited to, a mobile phone, a Personal Digital Assistant (PDA), a tablet computer, a portable device (e.g., a portable computer, a pocket computer, or a handheld computer), and the like. Fixed terminal devices include, but are not limited to, desktop computers and the like.
The following describes a control method of the dual-domain system provided in the present application with reference to specific embodiments. It is to be understood that several of the embodiments described below may be combined with each other. Fig. 4 is a first flowchart illustrating a control method of the dual-domain system provided in the present application. As shown in fig. 4, the method for controlling a dual-domain system provided in this embodiment may include:
s401, if the first system is switched to the second system, the switch state of the last function of the second system is determined, the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switch state of the function of the switched system depends on the switch state of the function of the system before switching.
In this embodiment, the first system and the second system have no dependency relationship, specifically, the switch states of the functions of the first system and the second system have no dependency relationship. When the dependency relationship representation terminal device switches between the first system and the second system, the switch state of the switched system function depends on the switch state of the system function before switching, that is, the switch state of the switched function is the same as the switch state of the switched function. However, the first system and the second system in this embodiment have no dependency relationship, which means that when the terminal device switches between the first system and the second system, the switch state of the switched function does not depend on the switch state of the function before switching, that is, the switch state of the switched function is not related to the switch state of the function before switching.
The functions in this embodiment may refer to a Positioning function (e.g., Global Positioning System, GPS), a switching function of a cellular network, and an automatic brightness adjustment function. For example, if the function is a positioning function, the on-off state of the function is the on-off state of the positioning function, i.e. whether the positioning function is in an on-state or an off-state.
Compared with the prior art, in the embodiment, the dependency relationship between the switch states of the functions of the first system and the second system can be released, so that the first system and the second system can control the switch states of the respective functions, and further, the first system and the second system have no dependency relationship. Specifically, a specific manner how to release the dependency relationship between the switch states of the functions of the first system and the second system in the present embodiment can be described in the following embodiments.
In the case of switching from the first system to the second system, in view of the fact that the on-off state of the function of the second system does not depend on the on-off state of the function of the first system, the present embodiment can acquire the on-off state of the last function of the second system, that is, the on-off state of the second system at the last time of switching from the second system to the first system.
Illustratively, the switch state of the GPS of the second system is an on state, and when the terminal device switches from the second system to the first system, the switch state of the GPS of the first system is an off state. At this time, the terminal device is switched from the first system to the second system, and the last GPS on-off state of the second system is the on state.
S402, setting the switch state of the current function of the second system to the switch state of the last function.
In this embodiment, after the terminal device is switched to the second system, the current on-off state of the function of the second system may be set to the previous on-off state of the function according to the previous on-off state of the function of the second system, that is, the current on-off state of the function of the second system is the same as the previous on-off state of the function of the second system.
For example, the switch state of the GPS of the second system may be set to the on state.
Optionally, the function in this embodiment may be a positioning function, and the terminal device may query an on-off state of the positioning function of the current system, and stop reporting the positioning information if the on-off state of the positioning function of the current system is an off state.
In this embodiment, the terminal device is switched from the first system to the second system, and then the current system of the terminal device is the second system. Correspondingly, if the on-off state of the positioning function of the second system is the off state, the reporting of the positioning information is stopped.
Optionally, the terminal device may further query the on-off state of the GPS of the first system and the on-off state of the GPS of the second system, and if it is determined that the on-off state of the GPS of the first system and the on-off state of the GPS of the second system are both in an off state, the target component is controlled to be turned off, and the target component is used to control the on-off state of the GPS of the terminal device.
For example, the manner of controlling the target component to be turned on or off in the present embodiment may be as shown in table one below:
watch 1
Figure BDA0002325743710000071
Figure BDA0002325743710000081
The control method of the dual-domain system provided by the embodiment comprises the following steps: if the first system is switched to the second system, determining the switching state of the last function of the second system, wherein the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switching state of the function of the switched system depends on the switching state of the function of the system before switching; the on-off state of the current function of the second system is set to the on-off state of the last function. According to the control method, the on-off state of the functions of the first system and the second system is released, and the function of independently controlling the on-off state of the functions of the systems is established for the second system, so that each system in the terminal equipment can control the on-off state of the functions of the respective system, the influence of the on-off state of the functions of the systems before switching is avoided, and the user experience can be improved.
The following further describes the control method of the dual-domain system provided by the present application with reference to fig. 5, and fig. 5 is a second flowchart of the control method of the dual-domain system provided by the present application. As shown in fig. 5, the method for controlling a dual-domain system provided in this embodiment may include:
s501, if the current system is a second system and the second system has the releasing authority, releasing the dependency relationship.
It should be understood that the first system in this embodiment is a living domain system, and the second system is a working domain system. The first system is a native system, and the second system is a user-created system. The manner how to create the second system is not specifically described in this embodiment, and specific reference may be made to the related description of the prior art.
The second system created does not have a function of independently controlling the on/off state of its own function, and needs to be controlled depending on the on/off state of the function of the first system. Specifically, the reason why the second system does not have a function of independently controlling the on-off state of its own function is that the control of the function of the second system is bound to the database of the first system, and the database of the second system does not have a control of the function.
Specifically, taking the positioning function such as the GPS function as an example, the reason why the second system does not have a function of independently controlling the on/off state of its own function is that the control of the function of the second system is bound to the database of the first system, and the database of the first system stores a GPS switch value (positioning switch value) for representing the on/off state of the positioning function. The reason why the database of the second system does not have a function is that the database of the second system does not store the GPS switch value, and cannot control the switch state of the GPS of the second system.
In this embodiment, if the current system is the second system (for example, the system with the GPS switch value not stored in the database), and the second system has the release authority, the dependency relationship between the first system and the second system is released.
Optionally, the terminal device determines that the second system has the permission to be removed according to the FLAG of the second system, and if the second system has the FLAG of the profile space (e.g., FLAG _ TD _ profile space), it determines that the second system has the permission to be removed. It should be appreciated that the profile space markup can be marked at the time the second system is created.
Specifically, in this embodiment, the specific way of releasing the dependency relationship between the first system and the second system may be: and reading the database of the first system, acquiring the positioning switch value of the first system, and writing the positioning switch value into the database of the second system, so that the second system has the function of independently controlling the on-off state of the positioning function.
It should be understood that S501 is an action performed before S502, and is not an action to be performed each time the terminal device performs a handover.
S502, if the first system is switched to the second system, the switch state of the last function of the second system is determined, the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switch state of the function of the switched system depends on the switch state of the function of the system before switching.
S503, setting the switch state of the current function of the second system to the switch state of the last function.
It should be understood that the implementation in S502-S503 in this embodiment may refer to the relevant descriptions in S401 and S402 in the above embodiments.
S504, if a modification request is received, modifying the positioning switch value in the database of the second system, wherein the modification request is used for requesting to modify the positioning switch value of the second system.
In this embodiment, after the terminal device is switched to the second system, if a user needs to modify the on-off state of the positioning function of the second system, a modification request may be input to the terminal device. Wherein the modification request is for requesting modification of the positioning switch value of the second system.
Exemplarily, fig. 6 is a schematic view of an interface change of a terminal device provided in the present application. It should be understood that the current system of the terminal device is the second system. As shown in the interface 601, an identifier of a positioning function, an identifier of a cellular network, an identifier of a ring, an identifier of a flight mode, and the like are displayed on the interface 601. Illustratively, the positioning function of the interface 601 is in an off state, the corresponding identifier of the positioning function on the interface 601 is not shaded, if the user clicks the identifier of the positioning function, a modification request is triggered to be input to the terminal device, where the modification request is used to request to modify the positioning switch value in the database of the second system, specifically, to modify the positioning switch value in the database of the second system to a value corresponding to the off state.
And S505, displaying the switch state of the positioning function corresponding to the modified positioning switch value of the second system.
In this embodiment, after the terminal device modifies the positioning switch value in the database of the second system, the on-off state of the positioning function corresponding to the modified positioning switch value of the second system may also be displayed.
Illustratively, after the terminal device modifies the value of the positioning switch in the database of the second system to a value corresponding to the off state, the interface 601 jumps to the interface 602, and the identifier of the positioning function on the interface 602 is shaded to indicate that the positioning function is in the on state.
In this embodiment, if the current system is the second system and the second system has the release authority, the dependency relationship between the first system and the second system is released, so that the first system and the second system can independently control the on-off state of the function, and the on-off state of the function is not affected by the on-off state of the function of the system before switching.
Fig. 7 is a schematic structural diagram of a control device of a dual-domain system provided in the present application. As shown in fig. 7, the control apparatus 700 of the dual domain system includes: a processing module 701, a transceiver module 702 and a display module 703.
The processing module 701 is configured to determine, if switching from the first system to the second system, an on-off state of a last function of the second system, and set the on-off state of a current function of the second system to the on-off state of the last function, where the first system and the second system have no dependency relationship, and the dependency relationship represents that, when switching between the first system and the second system, the on-off state of the function of the system after switching depends on the on-off state of the function of the system before switching.
Optionally, the processing module 701 is further configured to, if the current system is a second system and the second system has a release authority, release the dependency relationship.
Optionally, if the second system has a flag of the profile space, the processing module 701 is further configured to determine that the second system has a release right.
Optionally, the function is a positioning function.
The processing module 701 is specifically configured to read a database of a first system, obtain a positioning switch value of the first system, and write the positioning switch value into a database of a second system, where the positioning switch value is used to represent a switch state of a positioning function.
Optionally, the processing module 701 is further configured to modify the positioning switch value in the database of the second system when the transceiver module 702 receives a modification request, where the modification request is used to request to modify the positioning switch value of the second system.
And a display module 703, configured to display the switch state of the positioning function corresponding to the modified positioning switch value of the second system.
Optionally, the processing module 701 is further configured to query an on-off state of the positioning function of the current system, and stop reporting the positioning information if the on-off state of the positioning function of the current system is an off state.
The principle and technical effect of the control apparatus of the dual-domain system provided in this embodiment are similar to those of the control method of the dual-domain system, and are not described herein again.
Fig. 8 is a schematic structural diagram of an electronic device provided in the present application. The electronic device may be, for example, a terminal device, such as a smartphone, a tablet, a computer, or the like. As shown in fig. 8, the electronic device 800 includes: a memory 801 and at least one processor 802.
A memory 801 for storing program instructions.
The processor 802 is configured to implement the control method of the dual-domain system in this embodiment when the program instructions are executed, and specific implementation principles may be referred to the foregoing embodiments, which are not described herein again.
The electronic device 800 may also include an input/output interface 803.
The input/output interface 803 may include a separate output interface and input interface, or may be an integrated interface that integrates input and output. The output interface is used for outputting data, the input interface is used for acquiring input data, the output data is a general name output in the method embodiment, and the input data is a general name input in the method embodiment.
The present application further provides a readable storage medium, in which an execution instruction is stored, and when the execution instruction is executed by at least one processor of the electronic device, the computer execution instruction, when executed by the processor, implements the control method of the dual-domain system in the above embodiments.
The present application also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the electronic device may read the execution instruction from the readable storage medium, and the execution of the execution instruction by the at least one processor causes the electronic device to implement the control method of the dual domain system provided by the various embodiments described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the above-mentioned embodiment of the control device of the dual-domain system, it should be understood that the Processing module may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for controlling a dual domain system, comprising:
if the system is switched from a first system to a second system, determining the switching state of the last function of the second system, wherein the first system and the second system have no dependency relationship, and the dependency relationship represents that when the first system and the second system are switched, the switching state of the function of the switched system depends on the switching state of the function of the system before the switching;
setting the on-off state of the current function of the second system to the on-off state of the last function.
2. The method of claim 1, wherein the first system is a living domain system and the second system is a work domain system, the method further comprising:
and if the current system is the second system and the second system has the releasing authority, releasing the dependency relationship.
3. The method of claim 2, further comprising:
and if the second system has the mark of the summary file space, determining that the second system has the releasing authority.
4. The method according to claim 2 or 3, wherein the function is a positioning function, and wherein the releasing the dependency comprises:
reading a database of the first system, and acquiring a positioning switch value of the first system, wherein the positioning switch value is used for representing the switch state of a positioning function;
writing the positioning switch value to a database of the second system.
5. The method of claim 4, wherein after said releasing said dependency relationship, further comprising:
and if a modification request is received, modifying the value of the positioning switch in the database of the second system, wherein the modification request is used for requesting to modify the value of the positioning switch of the second system.
6. The method of claim 5, wherein after modifying the positioning switch value in the database of the second system, further comprising:
and displaying the switch state of the positioning function corresponding to the modified positioning switch value of the second system.
7. The method of claim 5, further comprising:
and inquiring the on-off state of the positioning function of the current system, and if the on-off state of the positioning function of the current system is the off state, stopping reporting the positioning information.
8. A control apparatus of a dual domain system, comprising:
the processing module is configured to determine, if switching from a first system to a second system, an on-off state of a last function of the second system, and set the on-off state of a current function of the second system to the on-off state of the last function, where the first system and the second system have no dependency relationship, and the dependency relationship indicates that, when switching between the first system and the second system, an on-off state of a function of a switched system depends on an on-off state of a function of a system before switching.
9. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the electronic device to perform the method of any of claims 1-7.
10. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-7.
CN201911315568.1A 2019-12-19 2019-12-19 Control method and device of dual-domain system, electronic equipment and storage medium Pending CN113094101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911315568.1A CN113094101A (en) 2019-12-19 2019-12-19 Control method and device of dual-domain system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911315568.1A CN113094101A (en) 2019-12-19 2019-12-19 Control method and device of dual-domain system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113094101A true CN113094101A (en) 2021-07-09

Family

ID=76662719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911315568.1A Pending CN113094101A (en) 2019-12-19 2019-12-19 Control method and device of dual-domain system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113094101A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416173A (en) * 2022-03-28 2022-04-29 荣耀终端有限公司 Version switching method and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782861A (en) * 2009-12-24 2010-07-21 华为终端有限公司 Management method and device of operation systems in embedded system
CN103309737A (en) * 2012-03-07 2013-09-18 联想(北京)有限公司 Method and device for switching operating system
CN104657213A (en) * 2015-02-13 2015-05-27 深圳酷派技术有限公司 Intersystem application switching method and terminal
CN105205065A (en) * 2014-06-16 2015-12-30 中国移动通信集团公司 Implementation method for multi-version application and terminal
CN105338249A (en) * 2015-11-24 2016-02-17 努比亚技术有限公司 Independent camera system-based shooting method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782861A (en) * 2009-12-24 2010-07-21 华为终端有限公司 Management method and device of operation systems in embedded system
CN103309737A (en) * 2012-03-07 2013-09-18 联想(北京)有限公司 Method and device for switching operating system
CN105205065A (en) * 2014-06-16 2015-12-30 中国移动通信集团公司 Implementation method for multi-version application and terminal
CN104657213A (en) * 2015-02-13 2015-05-27 深圳酷派技术有限公司 Intersystem application switching method and terminal
CN105338249A (en) * 2015-11-24 2016-02-17 努比亚技术有限公司 Independent camera system-based shooting method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416173A (en) * 2022-03-28 2022-04-29 荣耀终端有限公司 Version switching method and terminal equipment

Similar Documents

Publication Publication Date Title
US11321452B2 (en) Execution environment virtualization method and apparatus and virtual execution environment access method and apparatus
US9239934B2 (en) Mobile computing system for providing high-security execution environment
CN107480554B (en) Authority management method, authority management device and intelligent terminal
CN101448018A (en) Interprocess communication method and device thereof
CN114281484B (en) Data transmission method, device, equipment and storage medium
US10768944B2 (en) Method and system for customizing desktop launcher of mobile terminal
US20210026376A1 (en) Remote synchronization method, apparatus, and system
CN103793256A (en) Method for management of memory cards, and electronic device
CN114329406A (en) Resource processing method, device and equipment
CN105940375A (en) Dynamic reassignment for multi-operating system devices
KR20150080430A (en) Method for displaying a content through either a head mounted display device or a display device, corresponding head mounted display device and computer program product
CN113094101A (en) Control method and device of dual-domain system, electronic equipment and storage medium
KR20190056523A (en) System and method for synchronizing display of virtual reality content
CN109147054B (en) Setting method and device of 3D model orientation of AR, storage medium and terminal
CN107437036B (en) Role-based access control method, device and system
US8726101B2 (en) Apparatus and method for tracing memory access information
JP2017537385A (en) Access control based on operation expiration date data
US20150067873A1 (en) Information processing device and method for limiting function
US20150293679A1 (en) Method and Device for Controlling Switching of Virtual Navigation Bar
EP3309657A1 (en) Role-based provision of virtual reality environment
CA3157242A1 (en) Capability management method and computer device
CN106775230B (en) Application freezing method and device and terminal
CN112051944B (en) Method and device for mutually switching personal space and working space on android device
CN113901032A (en) Data migration method and device
CN106991336B (en) File management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210709

RJ01 Rejection of invention patent application after publication