CN114721717B - Dual-system-based mobile phone management system mdm instruction calling method and device - Google Patents
Dual-system-based mobile phone management system mdm instruction calling method and device Download PDFInfo
- Publication number
- CN114721717B CN114721717B CN202011531200.1A CN202011531200A CN114721717B CN 114721717 B CN114721717 B CN 114721717B CN 202011531200 A CN202011531200 A CN 202011531200A CN 114721717 B CN114721717 B CN 114721717B
- Authority
- CN
- China
- Prior art keywords
- mdm
- instruction
- executed
- determined
- execution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3802—Instruction prefetching
- G06F9/3814—Implementation provisions of instruction buffers, e.g. prefetch buffer; banks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3836—Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application provides a method and a device for invoking mdm instructions of a mobile phone management system based on a dual system, which are used for receiving mdm instructions sent by management center equipment, wherein the first system is a system currently operated by terminal equipment; when the mdm instruction is determined to be required to be executed by the second system, the mdm instruction is put into a cache agent library for caching; when the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, reads the mdm instruction from a cache agent library, and issues the mdm instruction to the second system for execution. By the method provided by the application, no matter which system the terminal equipment runs, the mdm instruction can be ensured to be issued to the terminal equipment and executed, and the success rate of the mdm instruction calling is improved.
Description
Technical Field
The application relates to a double-system technology, in particular to a method and a device for invoking mdm instructions of a mobile phone management system based on a double system.
Background
With the continuous development of mobile terminal devices, the terminal devices gradually become an indispensable part of daily work and life. To facilitate the user's use of the terminal device, a dual system may be configured for the terminal device.
In the prior art, a mobile-device-manager (mdm for short) can be used for carrying out network remote management on terminal equipment; the terminal equipment receives the mdm instruction sent by the mobile phone management system and can send the mdm instruction to the system currently operated by the terminal equipment for execution; if the mdm instruction is not needed to be executed by the currently running system, determining that the mdm instruction is invalid.
However, when the mdm instruction received by the terminal device is not required to be executed by the currently running system, directly determining that the mdm instruction is invalid, so that the system of the terminal device cannot execute the mdm instruction subsequently; and when the mdm instruction can be executed, the mdm instruction is required to be resent by the mobile phone management system, so that the mobile phone management system and the terminal equipment need to perform more signaling interaction, and resource waste is caused.
Disclosure of Invention
The application provides a method and a device for invoking mdm instructions of a mobile phone management system based on a dual system, which are used for solving the problem that the mdm instructions issued to mobile terminal equipment cannot take effect.
In a first aspect, the present application provides a method for invoking mdm instructions of a dual-system-based mobile phone management system, where the method is applied to a terminal device, and the terminal device is configured with a first system and a second system, and the method includes:
receiving mdm instructions sent by management center equipment, wherein the first system is a system in which the terminal equipment operates currently;
when the mdm instruction is determined to be required to be executed by the second system, the mdm instruction is put into a cache agent library for caching;
when the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, reads the mdm instruction from a cache agent library, and issues the mdm instruction to the second system for execution.
Optionally, the mdm instruction includes identification information, where the identification information is used to indicate a system that needs to execute the mdm instruction.
Optionally, before the mdm instruction is put into the cache agent library for caching when it is determined that the mdm instruction needs to be executed by the second system, the method further includes:
and if the identification information is matched with the identification of the second system, determining that the mdm instruction needs to be executed by the second system.
Optionally, after issuing the mdm instruction to the second system for execution, the method further includes:
deleting the mdm instruction from the cache agent library if the mdm instruction is determined to be successfully executed by the second system;
and if the mdm instruction is determined not to be successfully executed by the second system, the mdm instruction is sent to the second system again for execution after the preset time.
Optionally, before determining that the mdm instruction is successfully executed by the second system, deleting the mdm instruction from the cache agent library, the method further includes:
and acquiring execution state information fed back by the second system, wherein the execution state information represents whether the mdm instruction is successfully executed by the second system.
Optionally, the method further comprises:
and when the terminal equipment is determined to be powered off, storing the mdm instruction cached in the caching agent library into a constant agent library.
Optionally, the method further comprises:
when the terminal equipment is determined to be started, the mdm instruction in the constant proxy library is cached in the cache proxy library;
and issuing mdm instructions which are required to be executed by the currently operated system in the cache agent library to the currently operated system for instruction.
Optionally, the method further comprises:
and when the mdm instruction is determined to be required to be executed by the first system, the mdm instruction is issued to the first system for execution.
In a second aspect, the present application provides a dual-system-based mdm instruction calling device of a mobile phone management system, where the device is applied to a terminal device, and the terminal device is configured with a first system and a second system, and the device includes:
the receiving unit is used for receiving the mdm instruction sent by the management center equipment, wherein the first system is a system in which the terminal equipment operates currently;
the first caching unit is used for putting the mdm instruction into a caching agent library for caching when the mdm instruction is determined to be required to be executed by the second system;
and the first execution unit is used for reading the mdm instruction from the cache agent library and issuing the mdm instruction to the second system for execution when the first system and the second system are determined to perform system switching, wherein the second system is a system operated after the system switching.
Optionally, the mdm instruction includes identification information, where the identification information is used to indicate a system that needs to execute the mdm instruction.
Optionally, the apparatus further includes:
and the determining unit is used for determining that the mdm instruction needs to be executed by the second system if the identification information is matched with the identification of the second system before the first caching unit caches the mdm instruction in a cache agent library when determining that the mdm instruction needs to be executed by the second system.
Optionally, the apparatus further includes:
the deleting unit is used for deleting the mdm instruction from the cache agent library if the mdm instruction is determined to be successfully executed by the second system after the first executing unit issues the mdm instruction to the second system for execution;
and the second execution unit is used for sending the mdm instruction to the second system again for execution after the preset time if the mdm instruction is determined not to be successfully executed by the second system.
Optionally, the apparatus further includes:
and the acquisition unit is used for acquiring the execution state information fed back by the second system before the deletion unit deletes the mdm instruction from the cache agent library if the deletion unit determines that the mdm instruction is successfully executed by the second system, wherein the execution state information represents whether the mdm instruction is successfully executed by the second system.
Optionally, the apparatus further includes:
and the storage unit is used for storing the mdm instruction cached in the caching agent library into a constant agent library when the terminal equipment is determined to be powered off.
Optionally, the apparatus further includes:
the second caching unit is used for caching mdm instructions in the constant proxy library into the caching proxy library when the terminal equipment is determined to be started;
and the first issuing unit is used for issuing the mdm instruction which needs to be executed by the currently operated system in the cache agent library to the currently operated system for instruction.
Optionally, the apparatus further includes:
and the second issuing unit is used for issuing the mdm instruction to the first system for execution when the first system is determined to be required to execute the mdm instruction.
In a third aspect, the present application provides a dual-system-based mdm instruction calling device of a mobile phone management system, including: a memory, a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute the mdm instruction calling method of the dual system-based mobile phone management system according to any one of the first aspect according to the executable instruction.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are configured to implement the dual system based handset management system mdm instruction calling method according to any one of the first aspects.
The application provides a method and a device for invoking mdm instructions of a mobile phone management system based on a dual system, which are used for receiving mdm instructions sent by management center equipment, wherein the first system is a system currently operated by terminal equipment; when the mdm instruction is determined to be required to be executed by the second system, the mdm instruction is put into a cache agent library for caching; when the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, reads the mdm instruction from a cache agent library, and issues the mdm instruction to the second system for execution. By the method provided by the application, no matter which system the terminal equipment runs, the mdm instruction can be ensured to be issued to the terminal equipment and executed, and the success rate of the mdm instruction calling is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow chart of a mdm instruction calling method of a mobile phone management system based on a dual system provided by an embodiment of the application;
FIG. 2 is a flowchart of another mdm instruction calling method of a dual-system mobile phone management system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a mdm instruction calling device of a mobile phone management system based on a dual system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another mdm instruction calling device of a dual-system-based mobile phone management system according to an embodiment of the present application;
fig. 5 is a block diagram of mdm instruction calling equipment of a mobile phone management system based on a dual system according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The specific application scene of the application is the mdm instruction calling scene of the mobile terminal equipment, and the mdm is a tool for managing the mobile phone, and the function of the mdm instruction calling scene is that the mobile phone is remotely operated by a network, and the terminal equipment receives the mdm instruction sent by the mobile phone management system and can send the mdm instruction to the system currently operated by the terminal equipment for execution.
In the prior art, the terminal equipment can have A, B two complete systems, namely two systems, two complete drives are established based on the same set of hardware, two complete application layers cannot interact with each other, and only one drive can interact with a chip in the same time node; when the mdm instruction received by the terminal device is not required to be executed by the current running system, the mdm instruction cannot be executed successfully, for example, the current running system is an A system, the received mdm instruction needs to be executed by a B system, at this time, the mdm instruction cannot be executed successfully, and when the mdm instruction is determined to be executable, the mdm instruction needs to be resent by the mobile phone management system, so that the mobile phone management system and the terminal device need to perform more signaling interaction, and resource waste is caused.
The application provides a method and a device for invoking mdm instructions of a mobile phone management system based on a dual system, which aim to solve the technical problems in the prior art.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a mdm instruction calling method of a mobile phone management system based on a dual system according to an embodiment of the present application, as shown in fig. 1, where the method includes:
101. receiving mdm instructions sent by management center equipment, wherein the first system is a system currently operated by terminal equipment.
The execution body of the embodiment is a terminal device, and may specifically be an mdm system in the terminal device.
In one example, a first system and a second system are configured in the terminal device, the first system and the second system are configured with independent and complete drives, the first system and the second system are completely isolated and cannot perform information interaction, the first system and the second system can be switched according to the requirements of a user, and in this embodiment, the first system is a system currently operated by the terminal device.
The mdm instruction command can be issued to the chip through the network or the APK, the management center equipment can be remote management equipment or local equipment, the terminal equipment can receive the mdm instruction sent by the management center equipment, and the terminal equipment performs further operation according to the received mdm instruction.
102. And when determining that the mdm instruction needs to be executed by the second system, placing the mdm instruction into a cache agent library for caching.
In one example, the terminal device may obtain, according to the received mdm instruction, which system the mdm instruction needs to be executed, and when the terminal device determines that the mdm instruction needs to be executed by the second system, it determines that the current running system cannot execute the mdm instruction, that is, determines that the mdm instruction cannot be immediately executed, then puts the mdm instruction into the cache proxy library for caching, so as to avoid resource waste caused by repeated issuing of the mdm instruction by the management center. The cache agent library is used for caching mdm instructions which are not executed, and when the terminal equipment is powered off, the mdm instructions in the cache agent library are deleted.
103. When the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, the mdm instruction is read from the cache agent library, and the mdm instruction is issued to the second system for execution.
In this embodiment, a broadcast receiver is registered in the mdm system of the terminal device, and is configured to receive a broadcast that completes system start, send a notification that completes system start to the mdm system when the terminal device system is successfully switched, and determine that the first system and the second system complete system switching after the receiver receives the broadcast, that is, the system currently operated by the terminal device is the second system, at this time, the mdm system reads the mdm instruction from the cache proxy library, and issues the mdm instruction to the second system for execution.
In this embodiment, the mdm instruction sent by the management center device is received, where the first system is a system currently operated by the terminal device; when determining that the mdm instruction needs to be executed by the second system, putting the mdm instruction into a cache agent library for caching; when the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, the mdm instruction is read from the cache agent library, and the mdm instruction is issued to the second system for execution. By the method provided by the embodiment, no matter what system the terminal equipment is in, the mdm instruction can be ensured to be successfully executed, signaling interaction between the mobile phone management system and the terminal equipment is reduced, and resource waste is reduced.
Fig. 2 is a flowchart of another mdm instruction calling method of a dual-system mobile phone management system according to an embodiment of the present application, as shown in fig. 2, where the method includes:
201. receiving mdm instructions sent by management center equipment, wherein the first system is a system currently operated by terminal equipment.
The execution body of the embodiment is a terminal device, and may specifically be an mdm system in the terminal device.
In one example, the mdm instruction includes identification information, where the identification information is used to indicate a system that needs to execute the mdm instruction. The terminal device can determine by means of the identification information which system the mdm instruction needs to be executed.
In this embodiment, step 201 may refer to step 101 shown in fig. 1, and will not be described again.
202. And when determining that the mdm instruction needs to be executed by the first system, issuing the mdm instruction to the first system for execution.
Illustratively, after step 201, when the terminal device determines that the identification information in the mdm instruction matches the identification of the first system, it determines that the mdm instruction needs to be executed by the first system, and issues the mdm instruction to the first system for execution.
203. If the identification information is matched with the identification of the second system, determining that the mdm instruction needs to be executed by the second system.
Illustratively, after step 201, when the terminal device determines that the identification information in the mdm instruction matches the identification of the second system, it determines that the mdm instruction needs to be executed by the second system, and the terminal device currently operates the system as the first system, the mdm instruction cannot be immediately executed by the second system.
204. And when determining that the mdm instruction needs to be executed by the second system, placing the mdm instruction into a cache agent library for caching.
Illustratively, after step 203, step 204 may refer to step 102 shown in fig. 1, which is not described herein.
205. When the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, the mdm instruction is read from the cache agent library, and the mdm instruction is issued to the second system for execution.
Illustratively, after step 204, step 205 may refer to step 103 of fig. 1, which is not described herein.
206. And acquiring the execution state information fed back by the second system, wherein the execution state information represents whether the mdm instruction is successfully executed by the second system.
For example, after the mdm instruction is issued to the second system for execution, the execution state information of the mdm instruction is fed back, where the execution state information may be a return value after the instruction is executed, and the execution state information indicates whether the mdm instruction is successfully executed by the second system. The terminal device may determine whether the mdm instruction is successfully executed according to the return value.
207. Deleting the mdm instruction from the cache agent library if the mdm instruction is determined to be successfully executed by the second system; if the mdm instruction is not successfully executed by the second system, the mdm instruction is sent to the second system again for execution after the preset time.
Illustratively, after step 206, the terminal device deletes the mdm instruction from the cache agent library according to the obtained execution status information if it is determined that the mdm instruction is successfully executed by the second system; if the terminal device determines that the mdm instruction is not successfully executed by the second system according to the obtained execution state information, the mdm instruction is continuously reserved, and is sent to the second system again to be executed after a preset time, and steps 205 and 206 are repeatedly executed until the mdm instruction is determined to be successfully executed by the second system.
In this embodiment, the following steps may be further included.
And the first step, when the terminal equipment is determined to be powered off, storing the mdm instruction cached in the caching agent library into the constant agent library.
The constant proxy library is used for storing mdm instructions, and when the terminal device is powered off, the terminal device stores the mdm instructions cached in the cache proxy library into the constant proxy library in order to prevent the unexecuted mdm instructions from being deleted because the data is lost after the cache proxy library is powered off. Because the mdm instruction needs a certain time to issue, if the system is switched off when the mdm instruction issues half or the system is shut down when the mdm instruction issues half, the mdm instruction which cannot be completed at this time is saved in the constant proxy library.
Secondly, caching mdm instructions in a constant proxy library into a cache proxy library when the terminal equipment is determined to be started; and issuing mdm instructions which are required to be executed by the currently operated system in the cache agent library to the currently operated system for instruction.
After the terminal equipment starts, the terminal equipment reads the mdm instruction in the constant proxy library and caches the instruction in the cache proxy library, the terminal equipment determines whether the mdm instruction in the cache proxy library needs to be executed by the currently operated system according to the identification information of the mdm instruction and the identification information of the currently operated system, if the identification information of the mdm instruction is matched with the identification information of the currently operated system, the mdm instruction in the cache proxy library is determined to need to be executed by the currently operated system, and then the instruction is issued to the currently operated system to execute the instruction; if the identification information of the mdm instruction is not matched with the identification information of the currently running system, determining that the mdm instruction in the caching agent library does not need to be executed by the currently running system, and continuing to cache the mdm instruction to the caching agent library.
In the embodiment, whether the mdm instruction can be executed by the current running system is determined by comparing the received mdm instruction with the identification information of the current running system, if the mdm instruction cannot be executed by the current running system, the mdm instruction is cached in the cache proxy library to wait for the system to be switched and then executed again, and by setting the constant proxy library, the terminal equipment stores the unexecuted mdm instruction in the constant proxy library when the terminal equipment is shut down, so that the unexecuted mdm instruction can be prevented from being deleted, the mdm instruction can be ensured to be successfully issued to the system, more signaling interaction between the mobile phone management system and the terminal equipment is reduced, and the waste of resources is reduced.
Fig. 3 is a schematic structural diagram of a mdm instruction calling device of a dual-system-based mobile phone management system according to an embodiment of the present application, where the device is applied to a terminal device, and the terminal device is configured with a first system and a second system, as shown in fig. 3, and the device includes:
and the receiving unit 11 is configured to receive the mdm instruction sent by the management center device, where the first system is a system currently operated by the terminal device.
And the first caching unit 12 is used for placing the mdm instruction into the caching agent library for caching when the mdm instruction is determined to need the second system to execute.
The first execution unit 13 is configured to, when determining that the first system and the second system perform system switching, read the mdm instruction from the cache agent library and issue the mdm instruction to the second system for execution, where the second system is a system operated after the system switching.
For example, the present embodiment may refer to the above method embodiment, and the principle and technical effects thereof are similar, and will not be described again.
Fig. 4 is a schematic structural diagram of another mdm instruction calling device of a dual-system-based mobile phone management system according to an embodiment of the present application, where on the basis of the device shown in fig. 3, as shown in fig. 4, the device further includes:
and the determining unit 14 is configured to determine that the mdm instruction needs to be executed by the second system if the identification information matches the identification of the second system before the first caching unit 12 caches the mdm instruction in the cache agent library when determining that the mdm instruction needs to be executed by the second system.
And the deleting unit 15 is configured to delete the mdm instruction from the cache agent library if it is determined that the mdm instruction is successfully executed by the second system after the first executing unit 13 issues the mdm instruction to the second system for execution.
And the second execution unit 16 is configured to, if it is determined that the mdm instruction is not successfully executed by the second system, send the mdm instruction to the second system again for execution after the preset time.
The obtaining unit 17 is configured to obtain, before the deleting unit 15 determines that the mdm instruction is successfully executed by the second system, execution state information fed back by the second system before deleting the mdm instruction from the cache agent library, where the execution state information indicates whether the mdm instruction is successfully executed by the second system.
And the storage unit 18 is used for storing the mdm instruction cached in the caching agent library into the constant agent library when the terminal equipment is determined to be powered off.
And the second caching unit 19 is used for caching mdm instructions in the constant proxy library into the caching proxy library when the terminal equipment is determined to be started.
The first issuing unit 20 is configured to issue an mdm instruction in the cache agent library, which needs to be executed by the currently running system, to the currently running system for instruction.
And the second issuing unit 21 is configured to issue the mdm instruction to the first system for execution when it is determined that the mdm instruction needs the first system to execute.
In one example, the mdm instruction includes identification information, where the identification information is used to indicate a system that needs to execute the mdm instruction.
For example, the present embodiment may refer to the above method embodiment, and the principle and technical effects thereof are similar, and will not be described again.
Fig. 5 is a block diagram of a mdm instruction calling device of a dual-system-based mobile phone management system according to an embodiment of the present application, where, as shown in fig. 5, the device includes: a memory 71, and a processor 72.
Wherein the memory 71 is for storing processor executable instructions. In particular, the executable instructions may comprise program code, including computer-operating instructions. The memory may comprise high-speed RAM memory or may further comprise non-volatile memory, such as at least one disk memory.
The processor 72 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure. Processor 72 may perform the methods provided by any of the embodiments described above.
Alternatively, in a specific implementation, if the memory 71 and the processor 72 are implemented independently, the memory 71 and the processor 72 may be connected to each other and perform communication with each other through a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 71 and the processor 72 are implemented on a single chip, the memory and the processor may perform the same communication through an internal interface.
Another embodiment of the present disclosure also provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are configured to implement a method as in any of the embodiments described above.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (16)
1. The method is applied to terminal equipment, wherein a first system and a second system are configured in the terminal equipment, and the method comprises the following steps:
receiving mdm instructions sent by management center equipment, wherein the first system is a system in which the terminal equipment operates currently;
when the mdm instruction is determined to be required to be executed by the second system, the mdm instruction is put into a cache agent library for caching;
when the first system and the second system are determined to perform system switching, the second system is a system operated after the system switching, reads the mdm instruction from a cache agent library, and issues the mdm instruction to the second system for execution;
the mdm instruction comprises identification information, wherein the identification information is used for indicating a system which needs to execute the mdm instruction.
2. The method of claim 1, wherein upon determining that the mdm instruction requires the second system to execute, prior to placing the mdm instruction into a cache agent library for caching, further comprising:
and if the identification information is matched with the identification of the second system, determining that the mdm instruction needs to be executed by the second system.
3. The method of claim 1, further comprising, after issuing the mdm instruction to the second system for execution:
deleting the mdm instruction from the cache agent library if the mdm instruction is determined to be successfully executed by the second system;
and if the mdm instruction is determined not to be successfully executed by the second system, the mdm instruction is sent to the second system again for execution after the preset time.
4. The method of claim 3, further comprising, prior to deleting the mdm instruction from the cache agent library if it is determined that the mdm instruction was successfully executed by the second system:
and acquiring execution state information fed back by the second system, wherein the execution state information represents whether the mdm instruction is successfully executed by the second system.
5. The method of any one of claims 1-4, further comprising:
and when the terminal equipment is determined to be powered off, storing the mdm instruction cached in the caching agent library into a constant agent library.
6. The method according to claim 5, further comprising:
when the terminal equipment is determined to be started, the mdm instruction in the constant proxy library is cached in the cache proxy library;
and issuing mdm instructions which are required to be executed by the currently operated system in the cache agent library to the currently operated system for instruction.
7. The method of any one of claims 1-4, further comprising:
and when the mdm instruction is determined to be required to be executed by the first system, the mdm instruction is issued to the first system for execution.
8. A dual-system-based mdm instruction calling device for a mobile phone management system, wherein the device is applied to a terminal device, and a first system and a second system are configured in the terminal device, and the device comprises:
the receiving unit is used for receiving the mdm instruction sent by the management center equipment, wherein the first system is a system in which the terminal equipment operates currently;
the first caching unit is used for putting the mdm instruction into a caching agent library for caching when the mdm instruction is determined to be required to be executed by the second system;
the first execution unit is used for reading the mdm instruction from the cache agent library and issuing the mdm instruction to the second system for execution when the first system and the second system are determined to perform system switching, wherein the second system is a system operated after the system switching;
the mdm instruction comprises identification information, wherein the identification information is used for indicating a system which needs to execute the mdm instruction.
9. The apparatus of claim 8, wherein the apparatus further comprises:
and the determining unit is used for determining that the mdm instruction needs to be executed by the second system if the identification information is matched with the identification of the second system before the first caching unit caches the mdm instruction in a cache agent library when determining that the mdm instruction needs to be executed by the second system.
10. The apparatus of claim 8, wherein the apparatus further comprises:
the deleting unit is used for deleting the mdm instruction from the cache agent library if the mdm instruction is determined to be successfully executed by the second system after the first executing unit issues the mdm instruction to the second system for execution;
and the second execution unit is used for sending the mdm instruction to the second system again for execution after the preset time if the mdm instruction is determined not to be successfully executed by the second system.
11. The apparatus of claim 10, wherein the apparatus further comprises:
and the acquisition unit is used for acquiring the execution state information fed back by the second system before the deletion unit deletes the mdm instruction from the cache agent library if the deletion unit determines that the mdm instruction is successfully executed by the second system, wherein the execution state information represents whether the mdm instruction is successfully executed by the second system.
12. The apparatus according to any one of claims 8-11, further comprising:
and the storage unit is used for storing the mdm instruction cached in the caching agent library into a constant agent library when the terminal equipment is determined to be powered off.
13. The apparatus of claim 12, wherein the apparatus further comprises:
the second caching unit is used for caching mdm instructions in the constant proxy library into the caching proxy library when the terminal equipment is determined to be started;
and the first issuing unit is used for issuing the mdm instruction which needs to be executed by the currently operated system in the cache agent library to the currently operated system for instruction.
14. The apparatus according to any one of claims 8-11, further comprising:
and the second issuing unit is used for issuing the mdm instruction to the first system for execution when the first system is determined to be required to execute the mdm instruction.
15. A dual-system-based mdm instruction calling device for a mobile phone management system, the device comprising: a memory, a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute the mdm instruction calling method of the dual system-based handset management system according to any one of claims 1 to 7 according to the executable instruction.
16. A computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and when executed by a processor, the computer executable instructions are configured to implement the dual system based handset management system mdm instruction calling method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011531200.1A CN114721717B (en) | 2020-12-22 | 2020-12-22 | Dual-system-based mobile phone management system mdm instruction calling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011531200.1A CN114721717B (en) | 2020-12-22 | 2020-12-22 | Dual-system-based mobile phone management system mdm instruction calling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114721717A CN114721717A (en) | 2022-07-08 |
CN114721717B true CN114721717B (en) | 2023-09-19 |
Family
ID=82229871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011531200.1A Active CN114721717B (en) | 2020-12-22 | 2020-12-22 | Dual-system-based mobile phone management system mdm instruction calling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114721717B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001092682A (en) * | 1999-09-24 | 2001-04-06 | Fujitsu Ltd | Cache system and duplex system |
CN101533441A (en) * | 2008-05-24 | 2009-09-16 | 威盛电子股份有限公司 | Apparatus for providing secure execution environment and method for executing secure code thereof |
JP2010250584A (en) * | 2009-04-16 | 2010-11-04 | Koyo Electronics Ind Co Ltd | Programmable/logic and rfid controller |
CN104244178A (en) * | 2014-09-01 | 2014-12-24 | 深圳市中兴移动通信有限公司 | Mobile terminal retrieval method and system based on MDM |
CN104657213A (en) * | 2015-02-13 | 2015-05-27 | 深圳酷派技术有限公司 | Intersystem application switching method and terminal |
CN105786607A (en) * | 2016-03-24 | 2016-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Multi-system freezing and awakening method and device |
CN109600800A (en) * | 2017-09-30 | 2019-04-09 | 华为技术有限公司 | Communication means and equipment |
WO2019134181A1 (en) * | 2018-01-05 | 2019-07-11 | Oppo广东移动通信有限公司 | Method and device for radio communication |
CN110023941A (en) * | 2016-12-29 | 2019-07-16 | 华为技术有限公司 | A system-on-chip and method for implementing secure operating system switching |
CN110321224A (en) * | 2019-07-04 | 2019-10-11 | 深圳市康冠技术有限公司 | Terminal memory method for cleaning, device and computer readable storage medium |
CN110515754A (en) * | 2018-05-22 | 2019-11-29 | 深圳云天励飞技术有限公司 | Debugging system and method for neural network processor |
KR20190141900A (en) * | 2018-06-15 | 2019-12-26 | 주식회사 에스원 | Mobile device management control method, access control method using MDM and the system thereof |
-
2020
- 2020-12-22 CN CN202011531200.1A patent/CN114721717B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001092682A (en) * | 1999-09-24 | 2001-04-06 | Fujitsu Ltd | Cache system and duplex system |
CN101533441A (en) * | 2008-05-24 | 2009-09-16 | 威盛电子股份有限公司 | Apparatus for providing secure execution environment and method for executing secure code thereof |
JP2010250584A (en) * | 2009-04-16 | 2010-11-04 | Koyo Electronics Ind Co Ltd | Programmable/logic and rfid controller |
CN104244178A (en) * | 2014-09-01 | 2014-12-24 | 深圳市中兴移动通信有限公司 | Mobile terminal retrieval method and system based on MDM |
CN104657213A (en) * | 2015-02-13 | 2015-05-27 | 深圳酷派技术有限公司 | Intersystem application switching method and terminal |
CN105786607A (en) * | 2016-03-24 | 2016-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Multi-system freezing and awakening method and device |
CN110023941A (en) * | 2016-12-29 | 2019-07-16 | 华为技术有限公司 | A system-on-chip and method for implementing secure operating system switching |
CN109600800A (en) * | 2017-09-30 | 2019-04-09 | 华为技术有限公司 | Communication means and equipment |
WO2019134181A1 (en) * | 2018-01-05 | 2019-07-11 | Oppo广东移动通信有限公司 | Method and device for radio communication |
CN110515754A (en) * | 2018-05-22 | 2019-11-29 | 深圳云天励飞技术有限公司 | Debugging system and method for neural network processor |
KR20190141900A (en) * | 2018-06-15 | 2019-12-26 | 주식회사 에스원 | Mobile device management control method, access control method using MDM and the system thereof |
CN110321224A (en) * | 2019-07-04 | 2019-10-11 | 深圳市康冠技术有限公司 | Terminal memory method for cleaning, device and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
Seo S.Research on System Virtualization using Xen Hypervisor for ARM based secure mobile phones.《eminar Security in Telecommunications》.2010,1-11. * |
陈奎.基于OMAP的双系统示波器软件设计与实现.《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》.2016,(第3期),C042-1995. * |
Also Published As
Publication number | Publication date |
---|---|
CN114721717A (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845816B (en) | Application program updating method, system, computer device and storage medium | |
CN108989432B (en) | User-mode file sending method, user-mode file receiving method and user-mode file receiving and sending device | |
CN115776328B (en) | Satellite signal-based data transmission method, device, computer equipment and medium | |
CN114265788A (en) | A device, method, device and medium for memory management | |
CN116955225A (en) | Data caching method, device, electronic equipment and readable medium | |
CN112822300A (en) | RDMA (remote direct memory Access) -based data transmission method and device and electronic equipment | |
CN107621981A (en) | Resource allocation method and related products | |
US20140056299A1 (en) | Information processing system, relay device, information processing device, and information processing method | |
CN112822299B (en) | RDMA (remote direct memory Access) -based data transmission method and device and electronic equipment | |
WO2020135485A1 (en) | Result acquisition method, apparatus and device | |
CN114721717B (en) | Dual-system-based mobile phone management system mdm instruction calling method and device | |
CN112667371B (en) | Asynchronous task processing method, device, equipment and storage medium | |
CN108762983A (en) | Multi-medium data restoration methods and device | |
WO2021237431A1 (en) | Data processing method and apparatus, processing device, and data storage system | |
CN111913815A (en) | Call request processing method and device, electronic equipment and readable storage medium | |
CN103838682B (en) | The read method of a kind of file directory and equipment | |
CN108021459B (en) | Method and device for sending dotting logs across processes | |
WO2006021841A2 (en) | Efficient synchronisation of smart card data with data stored on an external server | |
CN104346228A (en) | Application program sharing method and terminal | |
CN111049938B (en) | Message notification method and device, electronic equipment and readable storage medium | |
CN109918209B (en) | Method and equipment for communication between threads | |
CN115022167A (en) | Method and system for controlling home gateway service flow | |
CN116266938A (en) | Session processing method, device and system | |
JP2590859B2 (en) | Memory management method for communication processing in information processing equipment | |
CN110139320B (en) | Method, device, medium and terminal for processing service conflict of multi-card communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |