CN111027039A - Working mode switching method, working mode switching device and storage medium - Google Patents

Working mode switching method, working mode switching device and storage medium Download PDF

Info

Publication number
CN111027039A
CN111027039A CN201911222573.8A CN201911222573A CN111027039A CN 111027039 A CN111027039 A CN 111027039A CN 201911222573 A CN201911222573 A CN 201911222573A CN 111027039 A CN111027039 A CN 111027039A
Authority
CN
China
Prior art keywords
identification information
virtual card
card module
working mode
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
CN201911222573.8A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911222573.8A priority Critical patent/CN111027039A/en
Publication of CN111027039A publication Critical patent/CN111027039A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards
    • G06F21/35User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2125Just-in-time application of countermeasures, e.g., on-the-fly decryption, just-in-time obfuscation or de-obfuscation

Abstract

The disclosure relates to a working mode switching method, a working mode switching device and a storage medium. The working mode switching method is applied to a terminal, the terminal is provided with two or more working modes and a virtual card module, and the method comprises the following steps: monitoring a virtual card module of the terminal; determining that first identification information in the virtual card module is changed into second identification information, wherein the first identification information corresponds to a first working mode, and the second identification information corresponds to a second working mode; and switching the first working mode into a second working mode. By the aid of the method and the device, automatic switching of the working modes can be realized, and the switching efficiency of the working modes is improved.

Description

Working mode switching method, working mode switching device and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for switching a working mode and a storage medium.
Background
Because the requirements of users on the performance and the safety of the mobile terminal are higher and higher, the users can set two or more working modes in the operating system according to different application scenes, and switch between the two or more working modes according to actual requirements.
Currently, when working modes are switched according to different application scenes, a user needs to manually switch the working modes.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method for switching an operating mode, an apparatus for switching an operating mode, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for switching operating modes, which is applied to a terminal, where the terminal is provided with two or more operating modes and a virtual card module, and the method for switching operating modes includes: monitoring a virtual card module of the terminal; determining that first identification information in the virtual card module is changed into second identification information, wherein the first identification information corresponds to a first working mode, and the second identification information corresponds to a second working mode; and switching the first working mode into a second working mode.
In an example, after the first operating mode is switched to the second operating mode, the operating mode switching method further includes: and determining that the second identification information in the virtual card module is changed into the first identification information, and switching the second working mode into the first working mode.
In one example, the method for switching the operating mode further includes: monitoring the virtual card module in real time through a resident process; when the virtual card module is monitored to acquire the first identification information, switching the first working mode into a second working mode; or when the virtual card module is monitored to acquire the second identification information, the second working mode is switched to the first working mode.
In an example, the virtual card module includes an identification write sector, and the first identification information or the second identification information is written to the identification write sector by the identification write sector.
In an example, the virtual card module further includes a key storage sector, and a key is stored in the key storage sector, and the key is used to verify validity of the virtual card module, and when the virtual card module is legal, the identification information is written into the virtual card module.
In an example, the virtual card further includes a time stamp writing sector in which time stamp information is stored, the time stamp information characterizing a time at which the identification information is written.
The working mode switching method further comprises the following steps: and reporting the timestamp information to a specified server when the identification information written in the virtual card module is confirmed to be changed.
According to a second aspect of the embodiments of the present disclosure, there is provided a working mode switching device applied to a terminal, the terminal being provided with two or more working modes and a virtual card module, the working mode switching device including: a monitoring unit configured to monitor a virtual card module of a terminal; the determining unit is configured to determine that first identification information in the virtual card module is changed into second identification information, wherein the first identification information corresponds to a first working mode, and the second identification information corresponds to a second working mode; a switching unit configured to switch the first operation mode to a second operation mode.
In an example, the determining unit is further configured to: after the first working mode is switched to a second working mode, determining that second identification information in the virtual card module is changed into first identification information; the switching unit is further configured to: and switching the second working mode to the first working mode.
In an example, the listening unit is further configured to: monitoring the virtual card module in real time through a resident process; when the virtual card module is monitored to acquire the first identification information, switching the first working mode into a second working mode; or when the virtual card module is monitored to acquire the second identification information, the second working mode is switched to the first working mode.
In an example, the virtual card module includes an identification write sector, and the first identification information or the second identification information is written to the identification write sector by the identification write sector.
In an example, the virtual card module further includes a key storage sector, and a key is stored in the key storage sector, and the key is used for verifying validity of the virtual card module, and when the virtual card module is legal, the identification information is written into the identification writing sector.
In an example, the virtual card module further includes a time stamp writing sector in which time stamp information is stored, the time stamp information characterizing a time at which the identification information is written.
In one example, the operation mode switching device further includes: and the reporting unit is configured to report the timestamp information to the specified server when the identification information written in the identification writing sector is changed.
According to a third aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the method of operating mode switching in the foregoing first aspect or any one of the examples of the first aspect.
According to a fourth aspect of the present disclosure, there is provided an operation mode switching apparatus including: a memory configured to store instructions. And a processor configured to invoke instructions to perform the method of switching operating modes in the foregoing first aspect or any example of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: and monitoring a virtual card module of the terminal, and switching a first working mode corresponding to the first identifier into a second working mode corresponding to the second identifier when the first identifier information in the virtual card module is determined to be changed into the second identifier information. Thus, automatic switching of the working modes can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of operating mode switching according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of operating mode switching according to an example embodiment.
Fig. 3 is a flow chart illustrating a method of operating mode switching according to an example embodiment.
Fig. 4 is a flow chart illustrating a method of operating mode switching according to an example embodiment.
Fig. 5 is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical solution of the exemplary embodiment of the present disclosure may be applied to a terminal provided with a plurality of operation modes. In the exemplary embodiments described below, a terminal is sometimes also referred to as an intelligent terminal device, where the terminal may be a Mobile terminal, and may also be referred to as a User Equipment (UE), a Mobile Station (MS), and the like. A terminal is a device that provides voice and/or data connection to a user, or a chip disposed in the device, such as a handheld device, a vehicle-mounted device, etc. having a wireless connection function. Examples of terminals may include, for example: the Mobile terminal comprises a Mobile phone, a tablet computer, a notebook computer, a palm computer, Mobile Internet Devices (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in remote operation, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home and the like.
Currently, when working modes are switched according to different application scenes, a user needs to manually switch the working modes.
And the working mode is manually switched, so that on one hand, the operation is not convenient enough. On the other hand, if the working mode to be switched is private or has high requirement on safety, the risk that the user cannot switch the working mode in time exists.
For example, the terminal is customized with two working modes, wherein one working mode is a life mode for daily life, and the other working mode is a working mode for work. The internet and life entertainment related applications can be normally accessed in the life mode, and only the private network with high security is allowed to be accessed and only the work related applications are allowed to be used in the work mode.
When a user needs to enter an area with high confidentiality requirements, the life mode set on the terminal needs to be manually switched to the working mode. The living space is manually switched to the working mode, on one hand, the operation is not convenient enough, on the other hand, the risk that the terminal can be switched to the living space in the area with high confidentiality requirement exists, and once the terminal is switched to the living space in the area with high confidentiality requirement, great hidden danger exists for the safety of the working mode with high confidentiality requirement.
In view of this, the present disclosure provides a method for switching operating modes, in which each operating mode has identification information corresponding to each operating mode, and the operating mode is switched according to a change of the identification information.
In one embodiment, the operating mode may be switched to the operating mode corresponding to the switched identifier by monitoring the virtual card module of the terminal and determining that the identifier in the virtual card module changes.
Fig. 1 is a flowchart illustrating an operating mode switching method according to an exemplary embodiment, where, as shown in fig. 1, the operating mode switching method is applied to a terminal, the terminal is provided with two or more operating modes and a virtual card module, and the operating mode switching method includes the following steps.
In step S11, the virtual card module of the terminal is listened to.
The virtual card module referred to in the present disclosure may have functions of being read, modified, and erased. For example, the virtual card module may be a module of an M1 type card. Still further, the virtual card module may be a Near Field Communication (NFC) virtual card module.
In step S12, it is determined that the first identification information in the virtual card module changes into the second identification information, where the first identification information corresponds to the first operating mode and the second identification information corresponds to the second operating mode.
In the present disclosure, the identification information may represent identification information corresponding to the operating mode, and of course, the identification information may also include information such as a user number bound to the virtual card module. In the present disclosure, the identification information corresponding to the first operation mode is referred to as first identification information, and the second identification information corresponding to the second operation mode is referred to as second identification information, in order to distinguish from different identification information. In order to distinguish the different operation modes, the different operation modes are respectively expressed as a first operation mode and a second operation mode.
In step S13, the first operation mode is switched to the second operation mode.
In the exemplary embodiment of the present disclosure, by monitoring the virtual card module of the terminal and confirming that the identification information written in the virtual card module changes, it is determined that the working mode needs to be switched, and the current working mode is automatically switched to the working mode corresponding to the changed identification information. Namely, the current first working mode is switched to the second working mode.
Further, the terminal switches the second working mode to the first working mode when determining that the second identification information in the virtual card module is changed into the first identification information in the second working mode.
It is understood that the operation mode in the present disclosure may include a plurality of operation modes, and the identification information corresponding to the operation mode is correspondingly provided in a plurality. The present disclosure is not limited thereto. Further, the first and second operation modes in the present disclosure are merely examples, and do not serve as a basis for limiting the present disclosure.
In the exemplary embodiment of the disclosure, by monitoring the virtual card module of the terminal and determining that the identification information in the virtual card module changes, it may be determined that the current working mode needs to be switched, and the current working mode is automatically switched to the working mode corresponding to the changed identification information, so that the efficiency of switching the working mode is improved, and by automatically switching the working mode, potential safety hazards caused by untimely manual switching of a user or manual random switching of the working mode are avoided.
Fig. 2 is a flowchart illustrating an operating mode switching method according to an exemplary embodiment, where as shown in fig. 2, the operating mode switching method is applied to a terminal, the terminal is provided with two or more operating modes and a virtual card module, and the operating mode switching method includes the following steps.
In step S21, the virtual card module is monitored in real time by the resident process.
In the exemplary embodiment of the present disclosure, in order to prevent the risk of omission when the operation mode is switched, it may be monitored in real time by a specific application program installed in the terminal whether the identification information is written in the identification writing sector or not, based on the specific application program.
Specifically, the designated application program is set as a resident process in the operating system of the terminal, and whether the virtual card module is written with the identification information is monitored in real time through the designated application program, namely the resident process.
In step S22, when it is monitored that the virtual card module acquires the first identification information, it is determined that the first identification information in the virtual card module is changed into the second identification information.
In one embodiment, the virtual card module is monitored in real time through the resident process, and when it is monitored that the virtual card module is written with the first identification information, that is, the virtual card module acquires the first identification information, the first working mode is switched to the second working mode.
Further, the terminal monitors the virtual card module in real time through the resident process in the second working mode, and switches the second working mode to the first working mode when it is monitored that the virtual card module is written with the second identification information, that is, the virtual card module acquires the second identification information.
In step S23, the first operation mode is switched to the second operation mode.
In the exemplary embodiment of the present disclosure, the risk that the working mode cannot be switched in time can be avoided by monitoring whether the identification information is written into the virtual card module in real time through the resident process.
Fig. 3 is a flowchart illustrating an operating mode switching method according to an exemplary embodiment, where as shown in fig. 3, the operating mode switching method is applied to a terminal, the terminal is provided with two or more operating modes and a virtual card module, and the operating mode switching method includes the following steps.
In step S31, the identity of the virtual card module of the listening terminal is written into the sector, and the first identity information or the second identity information is written into the identity write sector through the identity write sector.
The virtual card module in the present disclosure may include a plurality of sectors that can be read and written. The plurality of read-write capable sectors may include an identification write sector. The identification write sector is used for writing identification information.
And, the virtual card module can also include a key storage sector, in which a key is stored, the key is used for verifying the validity of the virtual card module, and when the virtual card module is legal, the key writes identification information into the identification write sector. In this case, the identification information and the key may be written on a plurality of segments of one sector by designating one sector among a plurality of readable and writable sectors in the virtual card module.
And, the virtual card module may further include a time stamp writing sector in which time stamp information is stored, and when the identification information is written in the identification writing sector, time representing that the identification information is written, that is, time stamp information is written in the sector. In this case, the identification information, the key, and the time stamp information may be written in a plurality of segments of one sector.
In addition, in order to know the situation of the user switching the working mode in real time, when the identification information written in the identification writing sector is confirmed to be changed, the time stamp information can be reported to the appointed server.
In step S32, it is determined that the first identification information identifying the written sector changes into the second identification information, where the first identification information corresponds to the first operating mode and the second identification information corresponds to the second operating mode.
In one embodiment, the monitoring terminal writes an identifier of a virtual card module into a sector, and determines that first identifier information in the identifier-written sector changes into second identifier information.
In step S33, the first operation mode is switched to the second operation mode.
In the exemplary embodiment of the disclosure, the sector is written by monitoring the identifier, and when it is determined that the identifier information written in the identifier writing sector changes, it is determined that the current working mode needs to be switched, and the current working mode is automatically switched to the working mode corresponding to the changed identifier information, thereby improving the efficiency of switching the working mode, and by automatically switching the working mode, potential safety hazards caused by untimely manual switching of a user or manual random switching of the working mode are avoided.
In practical application, in the embodiment of the present disclosure, the identifier information corresponding to the working mode may be triggered to change by interaction between the virtual card module installed in the terminal and the virtual card module control device, so as to trigger the switching of the working mode. The virtual card module control device can be, for example, an entrance guard, a public transport card reader, a parking charging system and the like. It is to be understood that the virtual card module referred to in the following embodiments of the present disclosure may be a virtual card module applied to the gate, and may of course be a virtual card module applied to other virtual card module control apparatuses.
The present disclosure will be described in detail below with reference to an example in which a virtual card module control device is used as an access gate and identification information is written in an identification write sector of a virtual card module.
Fig. 4 is a flowchart illustrating a method for switching operating modes by interaction between a virtual card module and a door lock in a terminal according to an exemplary embodiment. As shown in fig. 4, the operation mode switching method includes the following steps.
In step S41, when the card swiping behavior is detected, the card swiping behavior is verified to be legitimate.
In an exemplary embodiment of the present disclosure, in order to guarantee the access control, when the access control detects a card swiping behavior through the access control reading head, the validity of the card swiping behavior needs to be verified.
Specifically, when the virtual card module is close to the entrance guard, the entrance guard reading head checks whether the current card swiping behavior is legal or not according to the key of the swiped card by acquiring the key of the swiped card. And when the card swiping is legal, the entrance guard writes the identification information into the identification writing sector of the card swiping through the entrance guard reading head. Wherein, different identifications correspond to different working modes.
In step S42, identification information is written in the identification writing sector of the virtual card module, wherein different identifications correspond to different operating modes.
In this disclosure, the identification information may be information that numbers the access control in advance and represents information corresponding to the operating mode.
For example, the identification information corresponding to the first operating mode is number 1, the identification information corresponding to the second operating mode is number 2, and the identification information of the currently-swiped entrance guard is number 2. When the entrance guard reading head verifies that the current card swiping behavior is legal, the entrance guard reading head writes the identification information 2 of the entrance guard into the identification written sector of the card swiped.
In addition, in order to more accurately grasp the time point of switching the working mode, when the card swiping is determined to be legal, the entrance guard writes the identification information into the identification writing sector of the card swiping through the entrance guard reading head, and simultaneously writes the time of writing the identification information, namely the time stamp information of the identification information into the time stamp writing sector of the virtual card module, thereby accurately grasping the time point of switching the working mode.
In step S43, the virtual card module of the terminal is monitored, and it is determined that the first identification information in the virtual card module changes into the second identification information, where the first identification information corresponds to the first operating mode and the second identification information corresponds to the second operating mode.
In step S44, the first operation mode is switched to the second operation mode.
In the exemplary embodiment of the disclosure, when the door access detects a card swiping behavior, the legitimacy of the card swiping behavior is verified through the door access reading head, after the verification is passed, the identification information is written into the sector of the swiped card, the identification information is written into the sector by responding to the identification, and when the identification information written into the sector is confirmed to be changed, the current working mode can be determined to be required to be switched, and the current working mode is automatically switched to the working mode corresponding to the changed identification information, so that the efficiency of switching the working mode is improved, and the working mode is automatically switched, thereby avoiding the untimely manual switching of a user or potential safety hazard caused by the manual random switching of the working mode.
Based on the same inventive concept, the disclosure also provides a working mode switching device.
Fig. 5 is a block diagram 500 illustrating an operating mode switching apparatus according to an exemplary embodiment. Referring to fig. 5, the operation mode switching apparatus is applied to a terminal provided with two or more operation modes and a virtual card module, and includes: a monitoring unit 501 configured to monitor a virtual card module of a terminal; a determining unit 502 configured to determine that first identification information in the virtual card module changes into second identification information, wherein the first identification information corresponds to a first working mode, and the second identification information corresponds to a second working mode; a switching unit 503 configured to switch the first operation mode to the second operation mode.
In an example, the determining unit 502 is further configured to: after the first working mode is switched to a second working mode, determining that second identification information in the virtual card module is changed into first identification information; the switching unit 503 is further configured to: and switching the second working mode to the first working mode.
In an example, the listening unit 501 is further configured to: monitoring the virtual card module in real time through a resident process;
when the virtual card module is monitored to acquire the first identification information, switching the first working mode into a second working mode; or when the virtual card module is monitored to acquire the second identification information, the second working mode is switched to the first working mode.
In an example, the virtual card module includes an identification write sector, and the first identification information or the second identification information is written to the identification write sector by the identification write sector.
In an example, the virtual card module further includes a key storage sector, and a key is stored in the key storage sector, and the key is used for verifying validity of the virtual card module, and when the virtual card module is legal, the identification information is written into the identification writing sector.
In an example, the virtual card module further includes a time stamp writing sector in which time stamp information is stored, the time stamp information characterizing a time at which the identification information is written.
In one example, the operation mode switching device further includes: a reporting unit 504, configured to report the timestamp information to the designated server when it is confirmed that the identification information written in the identification writing sector changes.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an apparatus 600 for operating mode switching in accordance with an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is further understood that the use of "a plurality" in this disclosure means two or more, as other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A method for switching working modes is applied to a terminal, the terminal is provided with two or more working modes and a virtual card module, and the method comprises the following steps:
monitoring a virtual card module of the terminal;
determining that first identification information in the virtual card module is changed into second identification information, wherein the first identification information corresponds to a first working mode, and the second identification information corresponds to a second working mode;
and switching the first working mode into a second working mode.
2. The method of claim 1, wherein after switching the first operating mode to the second operating mode, the method further comprises:
and determining that the second identification information in the virtual card module is changed into the first identification information, and switching the second working mode into the first working mode.
3. The method of claim 2, further comprising:
monitoring the virtual card module in real time through a resident process;
when the virtual card module is monitored to acquire the first identification information, switching the first working mode to a second working mode; alternatively, the first and second electrodes may be,
and when the virtual card module is monitored to acquire the second identification information, switching the second working mode to the first working mode.
4. The method according to claim 1, wherein the virtual card module includes an identification write sector by which the first identification information or the second identification information is written to the identification write sector.
5. The method according to claim 4, wherein the virtual card module further comprises a key storage sector, and the key storage sector stores therein a key, the key being used to verify the validity of the virtual card module, and when the virtual card module is valid, writing identification information to the identification write sector.
6. The method according to claim 4, wherein the virtual card further comprises a time stamp writing sector in which time stamp information is stored, the time stamp information characterizing a time at which the identification information is written.
7. The method of claim 6, further comprising:
and reporting the timestamp information to a designated server when the identification information written in the identification writing sector is confirmed to be changed.
8. The utility model provides a mode switching device which characterized in that is applied to the terminal, the terminal is provided with two or more than two mode of operation to and virtual card module, the device includes:
a monitoring unit configured to monitor a virtual card module of the terminal;
a determining unit configured to determine that first identification information in the virtual card module changes into second identification information, wherein the first identification information corresponds to a first working mode, and the second identification information corresponds to a second working mode;
a switching unit configured to switch the first operation mode to a second operation mode.
9. The apparatus of claim 8, wherein the determination unit is further configured to:
after the first working mode is switched to a second working mode, determining that second identification information in the virtual card module is changed into first identification information;
the switching unit is further configured to:
and switching the second working mode into the first working mode.
10. The apparatus of claim 9, wherein the listening unit is further configured to:
monitoring the virtual card module in real time through a resident process;
when the virtual card module is monitored to acquire the first identification information, switching the first working mode to a second working mode; alternatively, the first and second electrodes may be,
and when the virtual card module is monitored to acquire the second identification information, switching the second working mode to the first working mode.
11. The apparatus of claim 8, wherein the virtual card module includes an identification write sector, and wherein the first identification information or the second identification information is written to the identification write sector through the identification write sector.
12. The apparatus according to claim 11, wherein the virtual card module further comprises a key storage sector, and the key storage sector stores therein a key, the key being used to verify validity of the virtual card module, and when the virtual card module is valid, writing identification information to the identification write sector.
13. The apparatus of claim 11, wherein the virtual card module further comprises a time stamp write sector in which time stamp information is stored, the time stamp information characterizing a time at which the identification information is written.
14. The apparatus of claim 13, further comprising:
and the reporting unit is configured to report the timestamp information to a specified server when the identification information written in the identification writing sector is confirmed to change.
15. An operation mode switching apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the method of operating mode switching of any of claims 1-7.
16. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the operating mode switching method of any one of claims 1-7.
CN201911222573.8A 2019-12-03 2019-12-03 Working mode switching method, working mode switching device and storage medium Pending CN111027039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911222573.8A CN111027039A (en) 2019-12-03 2019-12-03 Working mode switching method, working mode switching device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911222573.8A CN111027039A (en) 2019-12-03 2019-12-03 Working mode switching method, working mode switching device and storage medium

Publications (1)

Publication Number Publication Date
CN111027039A true CN111027039A (en) 2020-04-17

Family

ID=70204143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911222573.8A Pending CN111027039A (en) 2019-12-03 2019-12-03 Working mode switching method, working mode switching device and storage medium

Country Status (1)

Country Link
CN (1) CN111027039A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650525A (en) * 2020-12-30 2021-04-13 京信网络系统股份有限公司 Method, device, equipment and storage medium for switching working modes of repeater

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180176A (en) * 2017-07-05 2017-09-19 上海京颐科技股份有限公司 The control system and its operating system switching method of portable mobile termianl, medium
CN108307463A (en) * 2018-01-30 2018-07-20 江苏信源达科技有限公司 mode switching method, system and access control system
US10292039B2 (en) * 2017-01-27 2019-05-14 Celitech Inc. Systems and methods for enhanced mobile data roaming and connectivity

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10292039B2 (en) * 2017-01-27 2019-05-14 Celitech Inc. Systems and methods for enhanced mobile data roaming and connectivity
CN107180176A (en) * 2017-07-05 2017-09-19 上海京颐科技股份有限公司 The control system and its operating system switching method of portable mobile termianl, medium
CN108307463A (en) * 2018-01-30 2018-07-20 江苏信源达科技有限公司 mode switching method, system and access control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650525A (en) * 2020-12-30 2021-04-13 京信网络系统股份有限公司 Method, device, equipment and storage medium for switching working modes of repeater

Similar Documents

Publication Publication Date Title
EP3099063A1 (en) Video communication method and apparatus
CN106547663B (en) Key management method and device
CN107315609B (en) Switching method and device of card simulation function
EP3817416A1 (en) Method and device for switching nfc card
CN105653323A (en) Application program management method and device
CN105160239A (en) Application program access restriction method and apparatus
CN104793846A (en) Displaying method and device for interface of application program
CN105388453A (en) Method and device for positioning intelligent device
CN107491681B (en) Fingerprint information processing method and device
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN109117874A (en) Operation behavior prediction technique and device
CN105095717A (en) Processing method and processing device of exception event, and electronic equipment
CN105224171A (en) icon display method, device and terminal
CN105282295A (en) Candidate contact recommendation method and device
CN105426210A (en) Method and device for upgrading system
CN107945552A (en) Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp
CN105677215A (en) Application control method and apparatus
CN105653903A (en) Application program authority management method and device
EP3817414A1 (en) Method and device for configuring a nfc smart card
CN111027039A (en) Working mode switching method, working mode switching device and storage medium
CN106062762B (en) Using encryption method and device
CN105957011B (en) Image processing method and device
CN108665265B (en) Virtual card display method and device
CN111225111A (en) Function control method, function control device, and storage medium
CN106412481A (en) Prompt method and device, and terminals based on VoLTE video call

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417