CN107371222A - Virtual card prohibited method and device - Google Patents

Virtual card prohibited method and device Download PDF

Info

Publication number
CN107371222A
CN107371222A CN201710413916.3A CN201710413916A CN107371222A CN 107371222 A CN107371222 A CN 107371222A CN 201710413916 A CN201710413916 A CN 201710413916A CN 107371222 A CN107371222 A CN 107371222A
Authority
CN
China
Prior art keywords
virtual card
terminal
card
data
enabled
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.)
Granted
Application number
CN201710413916.3A
Other languages
Chinese (zh)
Other versions
CN107371222B (en
Inventor
黄钱红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710413916.3A priority Critical patent/CN107371222B/en
Publication of CN107371222A publication Critical patent/CN107371222A/en
Application granted granted Critical
Publication of CN107371222B publication Critical patent/CN107371222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of virtual card prohibited method and device.This method includes:Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;If the terminal is established the data by the virtual card and connected, close the data connection and disable the virtual card.In the technical scheme, connected if terminal establishes data by virtual card, can disable virtual card while data connection is closed, reduce the stand-by power consumption of terminal, and then improve Consumer's Experience.

Description

Virtual card prohibited method and device
Technical field
This disclosure relates to technical field of electronic equipment, more particularly to a kind of virtual card prohibited method and device.
Background technology
With the development of the communication technology, the technology of entity card virtualization is using more and more extensive.Entity card virtualization technology It is by needing to be stored in data in entity card, storing in mobile terminal, and pass through software program in the terminal The function of pseudo-entity card or the function that entity card is realized by embedded entity the core of the card piece.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of virtual card prohibited method and device. The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of virtual card prohibited method, including:
Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;
If the terminal is established the data by the virtual card and connected, close the data connection and disable the void Intend card.
The technical scheme provided by this disclosed embodiment can include the following benefits:If terminal is established by virtual card Data connect, and can disable virtual card while data connection is closed, reduce the stand-by power consumption of terminal, and then improve Consumer's Experience.
In one embodiment, the disabling virtual card includes:
Discharge the neck resource that the virtual card takes;
Close the protocol stack that the virtual card takes.
The technical scheme provided by this disclosed embodiment can include the following benefits:, can be with when disabling virtual card The neck resource that virtual card takes is discharged, the protocol stack taken before simultaneously closing off by virtual card, reduces the standby work(of terminal Consumption, and then improve Consumer's Experience.
In one embodiment, methods described also includes:
Determine that the terminal currently whether there is the entity card of not enabled;
If the terminal there is currently the entity card of not enabled, the entity card is enabled.
The technical scheme provided by this disclosed embodiment can include the following benefits:After virtual card is disabled, such as There is the entity card of not enabled in fruit terminal, the neck resource for disabling virtual card release and protocol stack can be utilized to enable the entity Card, improves the probability for the treatment of of end entity card, and then improve Consumer's Experience.
In one embodiment, methods described also includes:
If the terminal there is currently no the entity card of not enabled, the agreement that is taken before closing by the virtual card Stack.
The technical scheme provided by this disclosed embodiment can include the following benefits:After virtual card is disabled, such as The entity card of not enabled is not present in fruit terminal, the protocol stack taken before can closing by virtual card, reduces the standby of terminal Power consumption, and then improve Consumer's Experience.
In one embodiment, the protocol stack is modem protocol stacks.
The technical scheme provided by this disclosed embodiment can include the following benefits:After virtual card is disabled, such as The entity card of not enabled is not present in fruit terminal, can close the modem protocol stacks of virtual card occupancy, reduces the standby work(of terminal Consumption, and then improve Consumer's Experience.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of virtual card forbidden device, including:
Acquisition module, for obtaining shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
First determining module, for being instructed in response to the shutoff operation, determine whether the terminal is built by virtual card The vertical data connection;
Processing module, for when the terminal is established the data by the virtual card and connected, closing the data Connect and disable the virtual card.
In one embodiment, the processing module includes:
Submodule is discharged, the neck resource taken for discharging the virtual card;
Submodule is closed, the protocol stack taken for closing the virtual card.
In one embodiment, described device also includes:
Second determining module, for determining that the terminal currently whether there is the entity card of not enabled;
Module is enabled, if there is currently the entity card of not enabled for the terminal, enables the entity card.
In one embodiment, described device also includes:
Closedown module, if there is currently no the entity card of not enabled for the terminal, by the virtual card before closing The protocol stack taken.
In one embodiment, the protocol stack is modem protocol stacks.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of virtual card forbidden device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;
If the terminal is established the data by the virtual card and connected, close the data connection and disable the void Intend card.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 a are the flow charts of the virtual card prohibited method according to an exemplary embodiment.
Fig. 1 b are the flow charts of the virtual card prohibited method according to an exemplary embodiment.
Fig. 1 c are the flow charts of the virtual card prohibited method according to an exemplary embodiment.
Fig. 2 is the flow chart of the virtual card prohibited method according to an exemplary embodiment.
Fig. 3 is the flow chart of the virtual card prohibited method according to an exemplary embodiment.
Fig. 4 a are the structural representations of the virtual card forbidden device according to an exemplary embodiment.
Fig. 4 b are the structural representations of the virtual card forbidden device according to an exemplary embodiment.
Fig. 4 c are the structural representations of the virtual card forbidden device according to an exemplary embodiment.
Fig. 4 d are the structural representations of the virtual card forbidden device according to an exemplary embodiment.
Fig. 5 is the structured flowchart of the virtual card forbidden device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The technical scheme that the embodiment of the present disclosure provides is related to terminal, and the terminal can be mobile phone, tablet personal computer, can intelligently wear Other equipment for being provided with virtual card such as equipment are worn, the embodiment of the present disclosure is not limited this.In correlation technique, set in terminal Virtual card can realize by way of software control and dynamically enable and disable.If user needs to use virtual card to surf the Net, It can select to open the virtual card in the operation interface of virtual card.After terminal indicates unlatching virtual card according to user, Ke Yiwei The virtual card distributes a neck resource and modem (modem) protocol stack to realize the data transfer industry of virtual card Business.In this case, only it is the connection being disconnected between modem protocol stacks and network if user closes data service, should Neck resource and modem protocol stack of the virtual card still in holding state, the i.e. virtual card still occupied terminal so that terminal Stand-by power consumption is larger, and Consumer's Experience is bad.In the technical scheme provided by this disclosed embodiment, if terminal is established by virtual card Data connect, and can disable the virtual card while data connection is closed, reduce the stand-by power consumption of terminal, and then improve Consumer's Experience.
Fig. 1 a are a kind of flow charts of virtual card prohibited method according to an exemplary embodiment, and this method is used for eventually End, the terminal can be mobile phone, tablet personal computer, other equipment for being provided with virtual card such as intelligent wearable device.Such as Fig. 1 a institutes Show, this method comprises the following steps 101 to step 103:
In a step 101, shutoff operation instruction, the data connection that shutoff operation instruction instruction is closed a terminal are obtained.
Example, the operation interface of terminal data connection can be provided with the setting function of terminal, in the operation interface It is provided with the off option of data connection.When user needs to close data connection, the off option can be clicked on, terminal is being examined After measuring this time click, it is determined that receiving the shutoff operation instruction of user's input.
Or when user needs the data connection closed a terminal, closing behaviour can be inputted in other control terminals Instruct, then shutoff operation instruction is transmitted to the terminal of needs closing data connection by the control terminal.
In a step 102, instructed in response to the shutoff operation, determine whether terminal is established data by virtual card and connected.
Example, terminal can indicate to accept current data connection industry after it is determined that getting shutoff operation instruction The protocol stack of business sends the request of turn-off data connection to network, while obtains the information for the data card being connected with the protocol stack. The information of the data card includes the mark that data card is currently connected with the protocol stack, can determine that and works as by the mark of the data card Whether preceding data connection is to be established by virtual card.
In step 103, connected if terminal establishes data by virtual card, close data connection and disable the virtual card.
Example, when disabling the virtual card, can be closed while the neck resource that the virtual card takes is discharged should The protocol stack that virtual card takes.
Or the neck resource of virtual card occupancy can also be discharged and disconnect the association that the virtual card takes with the virtual card The connection between stack is discussed, the function of protocol stack is not closed so that can quickly be enabled when terminal reuses the virtual card virtual Card, the time for waking up protocol stack is saved, improve virtual card enables speed.
In the technical scheme provided by this disclosed embodiment, connected if terminal establishes data by virtual card, should closing Data can disable virtual card while connection, reduce the stand-by power consumption of terminal, and then improve Consumer's Experience.
In one embodiment, as shown in Figure 1 b, method further comprising the steps of 104 and step 105:
At step 104, determine that terminal currently whether there is the entity card of not enabled.
In step 105, if terminal there is currently the entity card of not enabled, the entity card is enabled.
Example, it is assumed that terminal is provided with two necks, after terminal disables virtual card, can detect this respectively It whether there is entity card in two necks, if two necks have entity card, can detect each entity card respectively is No to have registered in a network, if there is unregistered entity card, then the entity card is the entity card of not enabled.In terminal After disabling virtual card, the neck resource for disabling virtual card release and protocol stack can be utilized to enable the entity card, realize the reality Body card it is standby.
In the technical scheme provided by this disclosed embodiment, after virtual card is disabled, if not enabled be present in terminal Entity card, the neck resource for disabling virtual card release and protocol stack can be utilized to enable the entity card, improve end entity card Treat probability, and then improve Consumer's Experience.
In one embodiment, as illustrated in figure 1 c, method also includes step 106:
In step 106, if terminal there is currently no the entity card of not enabled, by the agreement of virtual card occupancy before closing Stack.
Example, the protocol stack is modem protocol stacks.
, can be only disconnected while the neck resource that virtual card takes is discharged when terminal disables virtual card in step 103 Open the connection between the protocol stack that the virtual card and the virtual card take.Now the state machine of the protocol stack is in without card without service State, the neck of terminal can be traveled through in the protocol stack of the state, it is determined that each neck whether there is the entity card of not enabled.
Assuming that terminal is provided with two necks, respectively the first neck and the second neck, the protocol stack is in traversal the After one neck and the second neck, if not detecting the entity card of not enabled, protocol stack is not detected by not enabled to terminal feedback The information of entity card, terminal can close the protocol stack according to the information, caused by avoiding the protocol stack cycle detection entity card Power consumption is excessive;If protocol stack detects that the first neck has the entity card of not enabled, the protocol stack can be with the first neck Entity card establishes connection, and the standby of the entity card is realized using the neck resource and protocol stack that disable virtual card release.
In the technical scheme provided by this disclosed embodiment, after virtual card is disabled, if not enabled is not present in terminal Entity card, before can closing by virtual card take protocol stack, reduce the stand-by power consumption of terminal, and then improve user Experience.
Implementation process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow chart of virtual card prohibited method according to an exemplary embodiment, and executive agent is eventually End, as shown in Fig. 2 comprising the following steps 201 to step 204:
In step 201, shutoff operation instruction is obtained, the data connection that shutoff operation instruction instruction is closed a terminal, is held Row step 202.
In step 202, instructed in response to the shutoff operation, determine whether terminal is established the data by virtual card and connected Connect;If terminal is not established the data by virtual card and connected, step 203 is performed;Connect if terminal establishes the data by virtual card Connect, perform step 204.
In step 203, data connection is closed, this flow terminates.
In step 204, data connection is closed, the neck resource of virtual card occupancy is discharged, closes the virtual card and account for Protocol stack.
Embodiment of the disclosure provides a kind of virtual card prohibited method, is connected if terminal establishes data by virtual card, Virtual card can be disabled while closing data connection, reduces the stand-by power consumption of terminal, and then improve Consumer's Experience.
Fig. 3 is a kind of flow chart of virtual card prohibited method according to an exemplary embodiment, and executive agent is eventually End, as shown in figure 3, comprising the following steps 301 to step 307:
In step 301, shutoff operation instruction is obtained, the data connection that shutoff operation instruction instruction is closed a terminal, is held Row step 302.
In step 302, instructed in response to the shutoff operation, determine whether terminal is established the data by virtual card and connected Connect;If terminal is not established the data by virtual card and connected, step 303 is performed;Connect if terminal establishes the data by virtual card Connect, perform step 304.
In step 303, data connection is closed, this flow terminates.
In step 304, close data connection and disable the virtual card, perform step 305.
Example, terminal can discharge the neck resource of virtual card occupancy when disabling the virtual card, and disconnect the void Intend the connection between the protocol stack that card and the virtual card take.
In step 305, determine that terminal currently whether there is the entity card of not enabled;If terminal there is currently no not enabled Entity card, perform step 306;If terminal there is currently the entity card of not enabled, step 307 is performed.
Within step 306, the protocol stack taken before closing by virtual card, this flow terminate.
In step 307, the entity card of the not enabled is enabled.
Embodiment of the disclosure provides a kind of virtual card prohibited method, is connected if terminal establishes data by virtual card, Virtual card can be disabled while closing data connection, reduces the stand-by power consumption of terminal, and then improve Consumer's Experience.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 4 a are a kind of structural representations of virtual card forbidden device 40 according to an exemplary embodiment, the device 40 can be implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in fig. 4 a, should Virtual card forbidden device 40 includes acquisition module 401, the first determining module 402 and processing module 403.
Wherein, acquisition module 401, for obtaining shutoff operation instruction, what the shutoff operation instruction instruction was closed a terminal Data connect.
First determining module 402, for being instructed in response to the shutoff operation, determine whether the terminal passes through virtual card Establish the data connection.
Processing module 403, for when the terminal is established the data by the virtual card and connected, closing the number According to connecting and disable the virtual card.
In one embodiment, as shown in Figure 4 b, the processing module 403 includes release submodule 4031 and closes submodule Block 4032.
Wherein, submodule 4031 is discharged, the neck resource taken for discharging the virtual card.
Submodule 4032 is closed, the protocol stack taken for closing the virtual card.
In one embodiment, as illustrated in fig. 4 c, described device 40 also includes the second determining module 404 and enables module 405。
Wherein, the second determining module 404, for determining that the terminal currently whether there is the entity card of not enabled.
Module 405 is enabled, if there is currently the entity card of not enabled for the terminal, enables the entity card.
In one embodiment, as shown in figure 4d, described device 40 also includes closedown module 406.
The closedown module 406, it is described before closing if there is currently no the entity card of not enabled for the terminal The protocol stack that virtual card takes.
Example, the protocol stack is modem protocol stacks.
Embodiment of the disclosure provides a kind of virtual card forbidden device, is connected if terminal establishes data by virtual card, The device can disable virtual card while closing data connection, reduce the stand-by power consumption of terminal, and then improve user Experience.
The embodiment of the present disclosure provides a kind of virtual card forbidden device, and the virtual card forbidden device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;
If the terminal is established the data by the virtual card and connected, close the data connection and disable the void Intend card.
In one embodiment, above-mentioned processor is also configured to:Discharge the neck resource that the virtual card takes;Close Close the protocol stack that the virtual card takes.
In one embodiment, above-mentioned processor is also configured to:Determine that the terminal currently whether there is not enabled Entity card;If the terminal there is currently the entity card of not enabled, the entity card is enabled.
In one embodiment, above-mentioned processor is also configured to:If the terminal there is currently no the reality of not enabled Body card, the protocol stack taken before closing by the virtual card.
In one embodiment, the protocol stack is modem modem protocol stacks.
Embodiment of the disclosure provides a kind of virtual card forbidden device, is connected if terminal establishes data by virtual card, The device can disable virtual card while closing data connection, reduce the stand-by power consumption of terminal, and then improve user Experience.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of structured flowchart for virtual card forbidden device 50 according to an exemplary embodiment, the dress Put and be applied to terminal device.For example, device 50 can be mobile phone, and computer, digital broadcast terminal, messaging devices, Game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 50 can include following one or more assemblies:Processing component 502, memory 504, power supply module 506 are more Media component 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and communication component 516。
The integrated operation of the usual control device 50 of processing component 502, such as communicated with display, call, data, camera The operation that operation and record operation are associated.Processing component 502 can carry out execute instruction including one or more processors 520, To complete all or part of step of above-mentioned method.In addition, processing component 502 can include one or more modules, it is easy to Interaction between processing component 502 and other assemblies.For example, processing component 502 can include multi-media module, to facilitate more matchmakers Interaction between body component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 50.These data are shown Example includes the instruction of any application program or method for operating on apparatus 50, contact data, telephone book data, disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 50.Power supply module 506 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 50.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 50 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 50 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 50 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal received can be further stored in memory 504 or via communication component 516 send.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, for providing the state estimation of various aspects for device 50. For example, sensor cluster 514 can detect opening/closed mode of device 50, the relative positioning of component, such as the component For the display and keypad of device 50, sensor cluster 514 can be with the position of 50 1 components of detection means 50 or device Change, the existence or non-existence that user contacts with device 50, the orientation of device 50 or acceleration/deceleration and the temperature change of device 50. Sensor cluster 514 can include proximity transducer, be configured to detect object nearby in no any physical contact Presence.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 50 and other equipment.Device 50 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 50 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 50.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium By device 50 computing device when so that device 50 is able to carry out above-mentioned virtual card prohibited method, and methods described includes:
Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;
If the terminal is established the data by the virtual card and connected, close the data connection and disable the void Intend card.
In one embodiment, the disabling virtual card includes:Discharge the neck resource that the virtual card takes;Close Close the protocol stack that the virtual card takes.
In one embodiment, methods described also includes:Determine that the terminal currently whether there is the entity card of not enabled; If the terminal there is currently the entity card of not enabled, the entity card is enabled.
In one embodiment, methods described also includes:If the terminal there is currently no the entity card of not enabled, close The protocol stack taken before by the virtual card.
In one embodiment, the protocol stack is modem modem protocol stacks.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. virtual card prohibited method, it is characterised in that including:
    Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
    Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;
    If the terminal is established the data by the virtual card and connected, close the data connection and disable described virtual Card.
  2. 2. according to the method for claim 1, it is characterised in that the disabling virtual card includes:
    Discharge the neck resource that the virtual card takes;
    Close the protocol stack that the virtual card takes.
  3. 3. according to the method for claim 1, it is characterised in that methods described also includes:
    Determine that the terminal currently whether there is the entity card of not enabled;
    If the terminal there is currently the entity card of not enabled, the entity card is enabled.
  4. 4. according to the method for claim 3, it is characterised in that methods described also includes:
    If the terminal there is currently no the entity card of not enabled, the protocol stack that is taken before closing by the virtual card.
  5. 5. according to the method for claim 4, it is characterised in that the protocol stack is modem modem protocol stacks.
  6. A kind of 6. virtual card forbidden device, it is characterised in that including:
    Acquisition module, for obtaining shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
    First determining module, for being instructed in response to the shutoff operation, determine whether the terminal by virtual card establishes institute State data connection;
    Processing module, for when the terminal is established the data by the virtual card and connected, closing the data connection And the disabling virtual card.
  7. 7. device according to claim 6, it is characterised in that the processing module includes:
    Submodule is discharged, the neck resource taken for discharging the virtual card;
    Submodule is closed, the protocol stack taken for closing the virtual card.
  8. 8. device according to claim 6, it is characterised in that described device also includes:
    Second determining module, for determining that the terminal currently whether there is the entity card of not enabled;
    Module is enabled, if there is currently the entity card of not enabled for the terminal, enables the entity card.
  9. 9. device according to claim 8, it is characterised in that described device also includes:
    Closedown module, if there is currently no the entity card of not enabled for the terminal, taken before closing by the virtual card The protocol stack.
  10. 10. device according to claim 9, it is characterised in that the protocol stack is modem modem protocol stacks.
  11. A kind of 11. virtual card forbidden device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain shutoff operation instruction, the data connection that the shutoff operation instruction instruction is closed a terminal;
    Instructed in response to the shutoff operation, determine whether the terminal is established the data by virtual card and connected;
    If the terminal is established the data by the virtual card and connected, close the data connection and disable described virtual Card.
  12. 12. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of claim 1 to 5 any one claim methods described is realized during execution.
CN201710413916.3A 2017-06-05 2017-06-05 Virtual card disabling method and device Active CN107371222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710413916.3A CN107371222B (en) 2017-06-05 2017-06-05 Virtual card disabling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710413916.3A CN107371222B (en) 2017-06-05 2017-06-05 Virtual card disabling method and device

Publications (2)

Publication Number Publication Date
CN107371222A true CN107371222A (en) 2017-11-21
CN107371222B CN107371222B (en) 2021-01-05

Family

ID=60305275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710413916.3A Active CN107371222B (en) 2017-06-05 2017-06-05 Virtual card disabling method and device

Country Status (1)

Country Link
CN (1) CN107371222B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109275124A (en) * 2018-08-24 2019-01-25 Tcl移动通信科技(宁波)有限公司 Mobile terminal bluetooth protocol repertory loading processing method, mobile terminal and storage medium
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device
CN111107219A (en) * 2019-11-20 2020-05-05 维沃移动通信有限公司 Control method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1909517A2 (en) * 2000-09-07 2008-04-09 Nokia Corporation Management of portable radio telephones
WO2014071725A1 (en) * 2012-11-09 2014-05-15 华为技术有限公司 Soft sim card activating method and network-joining method and terminal, and network access device
WO2015014151A1 (en) * 2013-07-31 2015-02-05 华为技术有限公司 Method for sharing virtual sim card by multiple terminals, terminals, server, and system
CN106210023A (en) * 2016-07-05 2016-12-07 努比亚技术有限公司 Virtual SIM card synchronization management method and terminal
CN106255226A (en) * 2015-06-10 2016-12-21 中兴通讯股份有限公司 network connection processing method and device
CN106385664A (en) * 2016-09-14 2017-02-08 Tcl通讯(宁波)有限公司 IOT (Internet of Things) intelligent equipment communication method and system based on virtual SIM card
CN106792640A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The communication means of virtual SIM card, mobile terminal and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1909517A2 (en) * 2000-09-07 2008-04-09 Nokia Corporation Management of portable radio telephones
WO2014071725A1 (en) * 2012-11-09 2014-05-15 华为技术有限公司 Soft sim card activating method and network-joining method and terminal, and network access device
WO2015014151A1 (en) * 2013-07-31 2015-02-05 华为技术有限公司 Method for sharing virtual sim card by multiple terminals, terminals, server, and system
CN106255226A (en) * 2015-06-10 2016-12-21 中兴通讯股份有限公司 network connection processing method and device
CN106210023A (en) * 2016-07-05 2016-12-07 努比亚技术有限公司 Virtual SIM card synchronization management method and terminal
CN106385664A (en) * 2016-09-14 2017-02-08 Tcl通讯(宁波)有限公司 IOT (Internet of Things) intelligent equipment communication method and system based on virtual SIM card
CN106792640A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The communication means of virtual SIM card, mobile terminal and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109275124A (en) * 2018-08-24 2019-01-25 Tcl移动通信科技(宁波)有限公司 Mobile terminal bluetooth protocol repertory loading processing method, mobile terminal and storage medium
CN109275124B (en) * 2018-08-24 2021-09-14 Tcl移动通信科技(宁波)有限公司 Mobile terminal Bluetooth protocol stack loading processing method, mobile terminal and storage medium
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device
CN111107219A (en) * 2019-11-20 2020-05-05 维沃移动通信有限公司 Control method and electronic equipment
CN111107219B (en) * 2019-11-20 2021-06-22 维沃移动通信有限公司 Control method and electronic equipment

Also Published As

Publication number Publication date
CN107371222B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN104219388B (en) Sound control method and device
CN105117033B (en) The connection method of external equipment and device
CN104238912B (en) application control method and device
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN104391635A (en) Device and method for unlocking screen
CN109658927A (en) Wake-up processing method, device and the management equipment of smart machine
CN107358435A (en) Public transport method of payment and device
CN106376043A (en) Automatic switching method and device for SIM (Subscriber Identification Module) card
CN104298547A (en) Terminal setting method and device
CN108038034A (en) Electronic equipment adjustment method, adapter, device and storage medium
CN105678133A (en) Terminal unlocking method and device
CN107783715A (en) Using startup method and device
CN107846730A (en) Call transferring method and device
CN107544802A (en) device identification method and device
CN108133180A (en) Fingerprint identification method, device and terminal
CN107371222A (en) Virtual card prohibited method and device
CN107622189A (en) Optimize the method and apparatus of unlocked by fingerprint
CN104461358B (en) Light the method and device of screen
CN107562500A (en) Debugging apparatus, method and apparatus
CN106774802A (en) The reminding method of terminal power, device and terminal
CN104539497B (en) Method for connecting network and device
CN106657647A (en) Incoming call processing method and device and mobile terminal
CN106455002A (en) Wireless search method and device, and terminal
CN104281431B (en) The method and device that audio plays
CN105204712A (en) Method and device for displaying icons of folder

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