CN110505225A - A kind of terminal card-locking method, apparatus and computer readable storage medium - Google Patents

A kind of terminal card-locking method, apparatus and computer readable storage medium Download PDF

Info

Publication number
CN110505225A
CN110505225A CN201910772579.6A CN201910772579A CN110505225A CN 110505225 A CN110505225 A CN 110505225A CN 201910772579 A CN201910772579 A CN 201910772579A CN 110505225 A CN110505225 A CN 110505225A
Authority
CN
China
Prior art keywords
lock card
terminal
card
lock
target terminal
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
CN201910772579.6A
Other languages
Chinese (zh)
Other versions
CN110505225B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910772579.6A priority Critical patent/CN110505225B/en
Publication of CN110505225A publication Critical patent/CN110505225A/en
Application granted granted Critical
Publication of CN110505225B publication Critical patent/CN110505225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

This application provides a kind of terminal card-locking method, apparatus and computer readable storage medium, judge whether to need to carry out lock card operation to target terminal;When determining that target terminal needs to carry out lock card operation, lock card request of data is sent to lock card server;The lock card data that lock card server is responded based on lock card request of data are received, and lock card operation is carried out to target terminal by lock card data.Pass through the implementation of application scheme, when needing to carry out lock card to terminal, the lock card data being stored on lock card server are requested to lock card server, have fully ensured that lock card safety, and lock card is directly carried out for the terminal of different conditions, effectively increase lock card efficiency and accuracy.

Description

A kind of terminal card-locking method, apparatus and computer readable storage medium
Technical field
This application involves electronic technology field more particularly to a kind of terminal card-locking method, apparatus and computer-readable storages Medium.
Background technique
Communication function brings pole to the work and life of terminal user as terminal is most basic and most important function Big convenience.But in practical applications, common carrier is usually sent out with terminal manufacturer to obtain more customer resources Cooperation produces carrier customization terminal, namely before terminal factory by way of locking, guarantees that terminal can only use User identity identification (SIM, the Subscriber Identification Module) card of the operator could normal use.
Currently, terminal manufacturer is when carrying out operator's lock card to terminal, it usually needs first distinguishing terminal is in unlock The SFS subregion of terminal is directly written by lock card tool when in the unlocked state by state or lock card state for lock card data Or NV subregion, and the terminal in lock card state then needs Xian Shuayuan operator software to be unlocked, and then re-writes again Current lock card data.On the one hand, due to being required to carry out state differentiation to terminal every time before carrying out lock card to terminal, thus Lock card efficiency and limited accuracy, on the other hand, due to being that terminal local directly is written in lock card data by lock card tool, from And be easy to be cracked by criminal, lock card safety is lower.
Summary of the invention
The embodiment of the present application provides a kind of terminal card-locking method, apparatus and computer readable storage medium, at least can It solves in the related technology when carrying out operator's lock card to terminal, lock card efficiency and limited accuracy, and lock card safety is lower The problem of.
The embodiment of the present application first aspect provides a kind of terminal card-locking method, comprising:
Judge whether to need to carry out lock card operation to target terminal;
When determining that the target terminal needs to carry out lock card operation, lock card request of data is sent to lock card server;
The lock card data that the lock card server is responded based on the lock card request of data are received, and pass through the lock card Data carry out lock card operation to the target terminal.
The embodiment of the present application second aspect provides a kind of terminal card-locking device, comprising:
Judgment module needs to carry out lock card operation to target terminal for judging whether;
Request module, for sending and locking to lock card server when determining that the target terminal needs to carry out lock card operation Card request of data;
Lock card module, the lock card data responded for receiving the lock card server based on the lock card request of data, And lock card operation is carried out to the target terminal by the lock card data.
The embodiment of the present application third aspect provides a kind of electronic device, comprising: memory, processor and is stored in storage On device and the computer program that can run on a processor, when processor executes computer program, realize that above-mentioned the application is implemented Each step in terminal card-locking method that example first aspect provides.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence when computer program is executed by processor, is realized in terminal card-locking method that above-mentioned the embodiment of the present application first aspect provides Each step.
Therefore terminal card-locking method, apparatus and computer readable storage medium according to provided by application scheme, Judge whether to need to carry out lock card operation to target terminal;When determining that target terminal needs to carry out lock card operation, taken to lock card Business device sends lock card request of data;The lock card data that lock card server is responded based on lock card request of data are received, and pass through lock Card data carry out lock card operation to target terminal.Pass through the implementation of application scheme, when needing to carry out lock card to terminal, Xiang Suo Card server requests the lock card data being stored on lock card server, has fully ensured that lock card safety, and be directed to different shapes The terminal of state directly carries out lock card, effectively increases lock card efficiency and accuracy.
Detailed description of the invention
Fig. 1 is the basic procedure schematic diagram for the terminal card-locking method that the application first embodiment provides;
Fig. 2 is the basic procedure schematic diagram for the terminal factory monitoring method that the application first embodiment provides;
Fig. 3 is the basic procedure schematic diagram for the terminal unlock method that the application first embodiment provides;
Fig. 4 is the refinement flow diagram for the terminal card-locking method that the application second embodiment provides;
Fig. 5 is a kind of program module schematic diagram for terminal card-locking device that the application 3rd embodiment provides;
Fig. 6 is the program module schematic diagram for another terminal card-locking device that the application 3rd embodiment provides;
Fig. 7 is the structural schematic diagram for the electronic device that the application fourth embodiment provides.
Specific embodiment
To enable present invention purpose, feature, advantage more obvious and understandable, below in conjunction with the application Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality Applying example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In order to solve in the related technology when carrying out operator's lock card to terminal, lock card efficiency and limited accuracy, and lock The lower defect of card safety, the application first embodiment provide a kind of terminal card-locking method, are applied to lock card tool, such as scheme 1 is the basic flow chart of terminal card-locking method provided in this embodiment, which includes the following steps:
Step 101 judges whether to need to carry out lock card operation to target terminal.
Specifically, in the present embodiment, it is necessary first to judge whether terminal needs to carry out operator's lock card, run Quotient's lock card is there are two types of situation, and one of which is to carry out first lock card to the terminal for never carrying out lock card in the unlocked state, separately It is a kind of, it is to turn operator to the terminal in lock card state to carry out lock card again.
It should be noted that in the present embodiment, distinguished by way of software version at present in the related technology lock card and Unlocked state namely lock card and software version used by unlocking are different, if terminal lock card, needs to turn operator Lock card again is carried out, Shua Yuan operator software is needed to be purged existing lock card data.However it is different from the relevant technologies It is that the locking and blocking of the present embodiment is adaptable to all software versions, so that whether the present embodiment does not have to distinguishing terminal state Lock card can write direct lock card data even if terminal is in lock card state to cover former lock card data.To terminal card-locking stream Operation logic in journey is optimized, and improves lock card efficiency.
Optionally, judge whether to need to before target terminal progress lock card operation, further includes: obtain the end of target terminal Hold identification information;The operation concordance list for calling the maintenance of lock card server, is inquired corresponding to the terminal identification information of target terminal Operation instruction.
Specifically, terminal manufacturer is configured with lock card server in the present embodiment, then safeguarding on lock card server has The operation concordance list of corresponding relationship including terminal identification information and operation instruction, to can be inquired based on terminal identification information It is used to indicate the operation instruction of action type out.It should be noted that the terminal identification information in the present embodiment is used for terminal Carry out unique identification, may include No. PCBA and/or special project number of terminal, in addition, in further embodiments, be also possible to Lock card server sends the inquiry request for carrying terminal identification information, there is the lock card server request of operation concordance list to maintenance Corresponding query result, to obtain the operation instruction of target terminal.
It is corresponding, in the present embodiment, judge whether to need to carry out the mode of lock card operation then to target terminal are as follows: according to The operation instruction inquired judges whether action type indicated by operation instruction is lock card operation;Wherein, in operation instruction institute When the action type of instruction is that lock card operates, need to carry out lock card operation to target terminal.
Optionally, judge whether to need to before target terminal progress lock card operation, further includes: whether judge target terminal Support locking and blocking;When determining that target terminal supports locking and blocking, execution judges whether to need to carry out lock card to target terminal The step of operation.
Specifically, in the present embodiment, since lock card needs new software version to support, but the software version of possible terminal This is legacy version without supporting locking and blocking, is based on this, in the present embodiment, only executes this reality to the terminal for supporting locking and blocking Apply the terminal card-locking process of example.It should be understood that judging whether terminal supports locking and blocking, the machine of acquisition terminal can be passed through Then type inquires the locking and blocking mark corresponding to type, locking and blocking mark by data that lock card server is safeguarded It is used to indicate whether terminal supports locking and blocking.
Step 102, when determining that target terminal needs to carry out lock card operation, to lock card server send lock card data ask It asks.
Specifically, in the present embodiment, when determining that terminal needs to carry out lock card, since the lock card operation of the present embodiment is suitable Should be in all software versions, thus lock card data are then directly requested to lock card server.It should be understood that the present embodiment Lock card data are stored on lock card server, are only issued in lock card means requests Shi Caihui, be ensure that the safety of lock card data, The lock card operation for avoiding terminal is cracked.
Step 103 receives the lock card data that lock card server is responded based on lock card request of data, and passes through lock card data Lock card operation is carried out to target terminal.
Specifically, in the present embodiment, terminal is written in lock card data by lock card tool, and terminal is according to indicated by lock card data Lock card logic carry out lock card, and lock card data itself are not recorded, so that the present embodiment is after lock card, brush machine Lock card state can not be unlocked, fully ensure that lock card safety.
Optionally, after carrying out lock card operation to target terminal by lock card data, further includes: receive target terminal and exist After executing lock card operation, the lock card result that sends over;The terminal identification information of lock card result and target terminal is closed Connection, is then uploaded to lock card server for the incidence relation of lock card result and terminal identification information.
Specifically, in the present embodiment, terminal can generate lock card as a result, lock card result packet after executing lock card operation Include lock card successful result or lock card failure result, lock card tool after receiving the lock card result, can by lock card result with it is right It answers the terminal identification information of terminal to be associated, the incidence relation is then uploaded into lock card server, so that lock card server Realize the monitoring to terminal.
The flow diagram for being illustrated in figure 2 a kind of terminal factory monitoring method provided in this embodiment is optionally being incited somebody to action The incidence relation of lock card result and terminal identification information is uploaded to after lock card server, and also specifically includes the following steps:
Step 201, the terminal identification information for obtaining terminal to be dispatched from the factory;
Step 202, the incidence relation for calling lock card server to be safeguarded, inquiry correspond to the lock card knot of terminal to be dispatched from the factory Fruit;
Step 203, when lock card result is successfully lock card, output correspond to terminal to be dispatched from the factory allow dispatch from the factory indicate.
Specifically, in practical applications, after not carrying out lock card operation to each terminal, be bound to successfully lock card (such as non-lock card or lock card error), and if common carrier requires the machine of lock card to go out in the case where failed lock card Factory can adversely affect terminal manufacturer, be based on this, require lock card terminal factory before need to terminal whether at Function lock card is monitored.Currently, usually being carried out in the related technology by being manually inserted into SIM card when carrying out factory monitoring Verifying, operation is more troublesome, efficiency is lower.However in the present embodiment, maintenance has terminal iidentification and lock on lock card server The corresponding relationship of card result, to inquire corresponding lock card by terminal iidentification as a result, only to lock card knot before terminal factory Fruit is that the terminal of successfully lock card carries out allowing to dispatch from the factory indicating;It is corresponding, for the terminal of failed lock card, then it can export taboo Only factory instruction.The present embodiment, can be to avoid failed lock card by way of calling the inquiry of lock card server before factory The risk of terminal outflow, carries out factory monitoring relative to artificial plug-in card, largely improves efficiency, safety and standard True property.
Optionally, before being associated the terminal identification information of lock card result and target terminal, further includes: in lock card When being as a result failed lock card, repeat to carry out lock card operation to target terminal, and receive the lock card knot that target terminal sends over Fruit;When the number that lock card result is continuously failed lock card reaches preset frequency threshold value, execute lock card result and target The step of terminal iidentification of terminal is associated.
Specifically, in practical applications, for odjective cause, possible lock card data are not ensured that and can be once written to Function is based on this, in the present embodiment when lock card result is failed lock card, repeats to carry out lock card operation to target terminal, here Re-starting lock card data used by lock card can be lock card data before this, be also possible to the lock card data redefined, And continue to terminal and respond the lock card to come as a result, if lock card result remains failed lock card, continue to repeat this operation, Until termination continues lock card operation, formally not to this when the number accumulation of continuous failed lock card is to preset times threshold value The lock card result of success lock card is associated with terminal iidentification, then reports to server.
The flow diagram for being illustrated in figure 3 a kind of terminal unlock method provided in this embodiment optionally judges whether After needing to carry out lock card operation to target terminal, and also specifically includes the following steps:
Step 301, when determining that target terminal does not need to carry out lock card operation, determine that target terminal is in lock card shape State;
Step 302 sends unlock request of data to lock card server, and receives lock card server and be based on unlock request of data The unlock data responded;
Step 303 is unlocked the target terminal in lock card state by unlock data.
Specifically, in the present embodiment, lock card tool is not limited only to carry out lock card to terminal, and lock card server is not only It is limited to provide lock card related service.And when terminal does not need to carry out lock card operation, then the terminal is determined as lock card terminal, Lock card tool then requests unlock data to lock card server, to be unlocked to the terminal.
It, can lock card attribute to terminal if terminal does not support locking and blocking it should be noted that in practical applications It is obtained, to judge terminal whether lock card according to acquired lock card attribute, however, it is determined that the terminal is that lock card is whole End then equally executes above-mentioned steps 302 to step 303 and carries out terminal unlocking.In addition, it should also be noted that being operated with lock card Similar, after carrying out terminal unlocking, then the unlock of same available terminal feedback is as a result, report to unlock result Lock card server.
Based on the technical solution of above-mentioned the embodiment of the present application, judge whether to need to carry out lock card operation to target terminal;In When determining that target terminal needs to carry out lock card operation, lock card request of data is sent to lock card server;Receive lock card server base Lock card operation is carried out to target terminal in the lock card data that lock card request of data is responded, and by lock card data.Pass through this Shen Please the implementation of scheme request the lock card that is stored on lock card server to lock card server when needing to carry out lock card to terminal Data have fully ensured that lock card safety, and have directly carried out lock card for the terminal of different conditions, effectively increase lock card Efficiency and accuracy.
Method in Fig. 4 is a kind of terminal card-locking method for refinement that the application second embodiment provides, and is applied to lock card Tool, the terminal card-locking method include:
Step 401, the terminal identification information for obtaining target terminal, and the operation concordance list for calling lock card server to safeguard, Inquire operation instruction corresponding to the terminal identification information of target terminal.
Terminal manufacturer is configured with lock card server in the present embodiment, and then safeguarding on lock card server has including terminal The operation concordance list of identification information and the corresponding relationship of operation instruction, to can be inquired based on terminal identification information for referring to Show the operation instruction of action type.
Step 402, according to the operation instruction inquired, judge whether action type indicated by operation instruction is lock card behaviour Make.
When step 403, the action type indicated by operation instruction are that lock card operates, lock card number is sent to lock card server According to request.
In the present embodiment when determining that terminal needs to carry out operator's lock card, lock card data just are requested to lock card server, Since the lock card operation of the present embodiment is adapted to all software versions, thus lock card number is then directly requested to lock card server According to, and whether lock card can write direct lock card data even if terminal is in lock card state to cover without distinguishing terminal state Cover former lock card data.
It should be understood that the lock card data of the present embodiment are stored on lock card server, only in lock card means requests It can just issue, ensure that the safety of lock card data, the lock card operation for avoiding terminal is cracked.
Step 404 receives the lock card data that lock card server is responded based on lock card request of data, and passes through lock card data Lock card operation is carried out to target terminal.
In the present embodiment, terminal, terminal lock card according to indicated by lock card data is written in lock card data by lock card tool Logic carries out lock card, and does not record to lock card data itself, so that the present embodiment, after lock card, brush machine also can not be right Lock card state is unlocked, and has fully ensured that lock card safety.
Step 405 receives target terminal after executing lock card operation, the lock card result fed back.
The terminal identification information of lock card result and target terminal is associated by step 406, then by lock card result and end The incidence relation of end identification information is uploaded to lock card server.
In the present embodiment, terminal is after executing lock card operation, lock card can be generated as a result, lock card result include lock card at Function result or lock card failure result, lock card tool, can be by lock card result and counterpart terminals after receiving the lock card result Terminal identification information is associated, and the incidence relation is then uploaded to lock card server, so that lock card server was realized to end The monitoring at end.
Step 407, the terminal identification information for obtaining terminal to be dispatched from the factory, and the association for calling lock card server to be safeguarded is closed System, inquiry correspond to the lock card result of terminal to be dispatched from the factory.
Step 408, when lock card result is successfully lock card, output correspond to terminal to be dispatched from the factory allow dispatch from the factory indicate.
In the present embodiment, the corresponding relationship for having terminal iidentification Yu lock card result is safeguarded on lock card server, thus Before terminal factory, corresponding lock card is inquired by terminal iidentification as a result, only carrying out to the terminal that lock card result is successfully lock card Allow to dispatch from the factory and indicate;It is corresponding, for the terminal of failed lock card, then it can export and factory is forbidden to indicate.The present embodiment is logical The mode of lock card server inquiry is called before crossing factory, the risk that can be flowed out to avoid the terminal of failed lock card, relative to Artificial plug-in card carries out factory monitoring, largely improves efficiency, safety and accuracy.
It should be understood that the size of the serial number of each step is not meant to the elder generation of step execution sequence in the present embodiment Afterwards, the execution sequence of each step should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present application It is limited at unique.
The embodiment of the present application discloses a kind of terminal card-locking method, when needing to carry out lock card to terminal, to lock card service Device requests the lock card data being stored on lock card server, has fully ensured that lock card safety, and the end for different conditions End directly carries out lock card, lock card efficiency and accuracy is effectively increased, in addition, the lock card knot that will be fed back after terminal card-locking Fruit is uploaded to lock card server after being associated with terminal iidentification, then before terminal factory, inquires lock based on terminal iidentification Card result be successfully lock card when, corresponding output, which allows to dispatch from the factory, to be indicated, it is possible to prevente effectively from the wind of the terminal outflow of failed lock card Danger.
Fig. 5 is a kind of terminal card-locking device that the application 3rd embodiment provides.The terminal card-locking device can be used for realizing Terminal card-locking method in previous embodiment.As shown in figure 5, the terminal card-locking device specifically includes that
Judgment module 501 needs to carry out lock card operation to target terminal for judging whether;
Request module 502, for sending lock card to lock card server when determining that target terminal needs to carry out lock card operation Request of data;
Lock card module 503, the lock card data responded for receiving lock card server based on lock card request of data, and pass through Lock card data carry out lock card operation to target terminal.
It is illustrated in figure 6 another terminal card-locking device provided in this embodiment, in a kind of optional implementation of the present embodiment In mode, terminal card-locking device further include: enquiry module 504, for judging whether to need to carry out lock card behaviour to target terminal Before work, the terminal identification information of target terminal is obtained;The operation concordance list of lock card server maintenance is called, target terminal is inquired Terminal identification information corresponding to operation instruction.Corresponding, judgment module 501 is specifically used for being referred to according to the operation inquired Show judge whether action type indicated by operation instruction is lock card operation;Wherein, the action type indicated by operation instruction When operating for lock card, need to carry out lock card operation to target terminal.
In a kind of optional embodiment of the present embodiment, judgment module 501 is specifically used for judging whether target terminal props up Hold locking and blocking;When determining that target terminal supports locking and blocking, judge whether to need to carry out lock card operation to target terminal.
Please continue to refer to Fig. 6, in a kind of optional embodiment of the present embodiment, terminal card-locking device further include: unlock Module 505 is determining that target terminal do not need to carry out for after judging whether to need to carry out lock card operation to target terminal When lock card operates, determine that target terminal is in lock card state;Unlock request of data is sent to lock card server, and receives lock card The unlock data that server is responded based on unlock request of data;By unlock data to the target terminal in lock card state It is unlocked.
Please continue to refer to Fig. 6, in a kind of optional embodiment of the present embodiment, terminal card-locking device further include: association Module 506 completes lock card behaviour for after carrying out lock card operation to target terminal by lock card data, receiving target terminal Make, the transmitted lock card result to come;The terminal identification information of lock card result and target terminal is associated, then by lock card As a result lock card server is uploaded to the incidence relation of terminal identification information.
Further, in a kind of optional embodiment of the present embodiment, enquiry module 504 is also used to by lock card result After being uploaded to lock card server with the incidence relation of terminal identification information, the terminal identification information of terminal to be dispatched from the factory is obtained;It adjusts The incidence relation safeguarded with lock card server, inquiry correspond to the lock card result of terminal to be dispatched from the factory;It is successfully in lock card result When lock card, output allows instruction of dispatching from the factory corresponding to terminal to be dispatched from the factory.
Please continue to refer to Fig. 6, in a kind of optional embodiment of the present embodiment, terminal card-locking device further include: operation Module 507 for repeating to carry out lock card operation to target terminal when lock card result is failed lock card, and receives target end Hold the lock card result sended over.It is corresponding, preset number threshold is reached in the number that lock card result is continuously failed lock card When value, relating module 506 executes its function of being associated the terminal iidentification of lock card result and target terminal.
It should be noted that the terminal card-locking method in the first and second embodiment can be based on terminal provided in this embodiment Card locking device realizes that those of ordinary skill in the art can be clearly understood that, for convenience and simplicity of description, this implementation The specific work process of terminal card-locking device described in example, can refer to corresponding processes in the foregoing method embodiment, In This is repeated no more.
The terminal card-locking device according to provided by the present embodiment judges whether to need to carry out lock card operation to target terminal; When determining that target terminal needs to carry out lock card operation, lock card request of data is sent to lock card server;Receive lock card server Lock card operation is carried out to target terminal based on the lock card data that lock card request of data is responded, and by lock card data.Pass through this The implementation of application scheme requests the lock being stored on lock card server to lock card server when needing to carry out lock card to terminal Card data have fully ensured that lock card safety, and have directly carried out lock card for the terminal of different conditions, effectively increase lock Card efficiency and accuracy.
Referring to Fig. 7, Fig. 7 is a kind of electronic device that the application fourth embodiment provides.The electronic device can be used for reality Terminal card-locking method in existing previous embodiment.As shown in fig. 7, the electronic device specifically includes that
It memory 701, processor 702, bus 703 and is stored on memory 701 and can be run on processor 702 Computer program, memory 701 and processor 702 are connected by bus 703.It is real when processor 702 executes the computer program Terminal card-locking method in existing previous embodiment.Wherein, the quantity of processor can be one or more.
Memory 701 can be high random access memory body (RAM, Random Access Memory) memory, It can be non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 701 can for storing Program code is executed, processor 702 is coupled with memory 701.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages Medium can be in the electronic device being set in the various embodiments described above, which can be earlier figures 7 Memory in illustrated embodiment.
It is stored with computer program on the computer readable storage medium, which realizes aforementioned reality when being executed by processor Apply the terminal card-locking method in example.Further, the computer can storage medium can also be USB flash disk, mobile hard disk, read-only storage The various media that can store program code such as device (ROM, Read-Only Memory), RAM, magnetic or disk.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple module or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or module It connects, can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized and when sold or used as an independent product in the form of software function module, can To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a readable storage medium storing program for executing, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) execute each embodiment method of the application whole or Part steps.And readable storage medium storing program for executing above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can be with Store the medium of program code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are retouching to terminal card-locking method provided herein, electronic device and computer readable storage medium It states, for those skilled in the art, according to the thought of the embodiment of the present application, can in specific embodiments and applications There is change place, to sum up, the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of terminal card-locking method characterized by comprising
Judge whether to need to carry out lock card operation to target terminal;
When determining that the target terminal needs to carry out lock card operation, lock card request of data is sent to lock card server;
The lock card data that the lock card server is responded based on the lock card request of data are received, and pass through the lock card data Lock card operation is carried out to the target terminal.
2. terminal card-locking method according to claim 1, which is characterized in that it is described judge whether to need to target terminal into Before the operation of row lock card, further includes:
Obtain the terminal identification information of target terminal;
The operation concordance list of lock card server maintenance is called, corresponding to the terminal identification information for inquiring the target terminal Operation instruction;
It is described to judge whether that needing to carry out target terminal lock card operation includes:
According to the operation instruction inquired, judge whether action type indicated by the operation instruction is lock card operation;Wherein, When the action type indicated by the operation instruction is that lock card operates, need to carry out lock card operation to the target terminal.
3. terminal card-locking method according to claim 1, which is characterized in that it is described judge whether to need to target terminal into Before the operation of row lock card, further includes:
Judge whether the target terminal supports locking and blocking;
When determining that the target terminal supports locking and blocking, judge whether to need to carry out lock card behaviour to target terminal described in execution The step of making.
4. terminal card-locking method according to claim 1, which is characterized in that it is described judge whether to need to target terminal into After the operation of row lock card, further includes:
When determining that the target terminal does not need to carry out lock card operation, determine that the target terminal is in lock card state;
Unlock request of data is sent to the lock card server, and receives the lock card server and is based on the unlock request of data The unlock data responded;
The target terminal in the lock card state is unlocked by the unlock data.
5. terminal card-locking method as claimed in any of claims 1 to 4, which is characterized in that described to pass through the lock Card data carry out the target terminal after lock card operation, further includes:
The target terminal is received after executing the lock card operation, the lock card result sended over;
The lock card result and the terminal identification information of the target terminal are associated, then by the lock card result and end The incidence relation of end identification information is uploaded to the lock card server.
6. terminal card-locking method according to claim 5, which is characterized in that described by the lock card result and terminal iidentification The incidence relation of information is uploaded to after the lock card server, further includes:
Obtain the terminal identification information of terminal to be dispatched from the factory;
The incidence relation for calling the lock card server to be safeguarded, inquiry correspond to the lock card knot of the terminal to be dispatched from the factory Fruit;
When the lock card result is successfully lock card, output allows instruction of dispatching from the factory corresponding to the terminal to be dispatched from the factory.
7. terminal card-locking method according to claim 5, which is characterized in that described by the lock card result and the target Before the terminal identification information of terminal is associated, further includes:
When the lock card result is failed lock card, repeat to carry out lock card operation to the target terminal, and receive the mesh The lock card result that mark terminal sends over;
When the number that the lock card result is continuously failed lock card reaches preset frequency threshold value, execute described by the lock The step of card result and the terminal identification information of the target terminal are associated.
8. a kind of terminal card-locking device characterized by comprising
Judgment module needs to carry out lock card operation to target terminal for judging whether;
Request module, for sending lock card number to lock card server when determining that the target terminal needs to carry out lock card operation According to request;
Lock card module, the lock card data responded for receiving the lock card server based on the lock card request of data, and lead to It crosses the lock card data and lock card operation is carried out to the target terminal.
9. a kind of electronic device, comprising: memory, processor and be stored on the memory and can transport on the processor Capable computer program, which is characterized in that when the processor executes the computer program, realize in claim 1 to 7 and appoint Step in the method for anticipating.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, the step in any one the method in claim 1 to 7 is realized.
CN201910772579.6A 2019-08-21 2019-08-21 Terminal card locking method and device and computer readable storage medium Active CN110505225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910772579.6A CN110505225B (en) 2019-08-21 2019-08-21 Terminal card locking method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910772579.6A CN110505225B (en) 2019-08-21 2019-08-21 Terminal card locking method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110505225A true CN110505225A (en) 2019-11-26
CN110505225B CN110505225B (en) 2022-05-17

Family

ID=68588662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910772579.6A Active CN110505225B (en) 2019-08-21 2019-08-21 Terminal card locking method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110505225B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073961A (en) * 2020-09-08 2020-12-11 Oppo广东移动通信有限公司 SIM card state updating method and device, terminal and readable storage medium
CN112738789A (en) * 2020-12-21 2021-04-30 深圳酷派技术有限公司 SIM card locking method and device, storage medium and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070119952A1 (en) * 2005-11-30 2007-05-31 Fujitsu Limited Portable apparatus, storage medium storing program of controlling IC card function lock, and method of controlling IC card function lock
CN101437067A (en) * 2008-12-05 2009-05-20 中兴通讯股份有限公司 Mobile terminal and method for implementing network and card locking
CN101778375A (en) * 2009-12-25 2010-07-14 中兴通讯股份有限公司 Method for managing terminal lock card/lock network, communication system and terminal
CN101800986A (en) * 2010-02-26 2010-08-11 华为终端有限公司 Method and device for realizing network locking and unlocking of terminal
CN102300204A (en) * 2011-08-26 2011-12-28 中兴通讯股份有限公司 Wireless terminal and lockup method and system thereof
CN104469736A (en) * 2014-11-05 2015-03-25 中兴通讯股份有限公司 Data processing method, server and terminal
EP3093802A1 (en) * 2006-12-20 2016-11-16 Lenovo Innovations Limited (Hong Kong) Mobile terminal and control program thereof
CN106211203A (en) * 2015-04-29 2016-12-07 中兴通讯股份有限公司 Lock network data updating method and device
CN106791171A (en) * 2017-01-16 2017-05-31 北京奇虎科技有限公司 A kind of card-locking method of mobile terminal, device and mobile terminal
WO2018076148A1 (en) * 2016-10-25 2018-05-03 深圳市佳润鑫信息技术有限公司 Cracking preventing method for network locking information of terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070119952A1 (en) * 2005-11-30 2007-05-31 Fujitsu Limited Portable apparatus, storage medium storing program of controlling IC card function lock, and method of controlling IC card function lock
EP3093802A1 (en) * 2006-12-20 2016-11-16 Lenovo Innovations Limited (Hong Kong) Mobile terminal and control program thereof
CN101437067A (en) * 2008-12-05 2009-05-20 中兴通讯股份有限公司 Mobile terminal and method for implementing network and card locking
CN101778375A (en) * 2009-12-25 2010-07-14 中兴通讯股份有限公司 Method for managing terminal lock card/lock network, communication system and terminal
CN101800986A (en) * 2010-02-26 2010-08-11 华为终端有限公司 Method and device for realizing network locking and unlocking of terminal
CN102300204A (en) * 2011-08-26 2011-12-28 中兴通讯股份有限公司 Wireless terminal and lockup method and system thereof
CN104469736A (en) * 2014-11-05 2015-03-25 中兴通讯股份有限公司 Data processing method, server and terminal
CN106211203A (en) * 2015-04-29 2016-12-07 中兴通讯股份有限公司 Lock network data updating method and device
WO2018076148A1 (en) * 2016-10-25 2018-05-03 深圳市佳润鑫信息技术有限公司 Cracking preventing method for network locking information of terminal
CN106791171A (en) * 2017-01-16 2017-05-31 北京奇虎科技有限公司 A kind of card-locking method of mobile terminal, device and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073961A (en) * 2020-09-08 2020-12-11 Oppo广东移动通信有限公司 SIM card state updating method and device, terminal and readable storage medium
CN112073961B (en) * 2020-09-08 2023-07-04 Oppo广东移动通信有限公司 SIM card state updating method and device, terminal and readable storage medium
CN112738789A (en) * 2020-12-21 2021-04-30 深圳酷派技术有限公司 SIM card locking method and device, storage medium and electronic equipment
CN112738789B (en) * 2020-12-21 2024-01-05 深圳酷派技术有限公司 SIM card locking method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110505225B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN109151805A (en) ESIM card configuration method and system based on Internet of Things
CN106339222B (en) A kind of service implementing method and device
CN110597531B (en) Distributed module upgrading method and device and storage medium
CN106254144A (en) Fault location platform, Fault Locating Method and device
CN110505225A (en) A kind of terminal card-locking method, apparatus and computer readable storage medium
CN104703741B (en) Welding source management system and management method therefor
CN111124871A (en) Interface test method and device
CN112835808A (en) Interface testing method and device, computer equipment and storage medium
CN113835844A (en) Management method and device of container cluster and cloud computing platform
CN114362983A (en) Firewall policy management method and device, computer equipment and storage medium
CN111142929A (en) Firmware configuration method, device, equipment and medium in equipment production process
CN110347735A (en) The data forwarding of configurationization mends processing method, device and readable storage medium storing program for executing extremely
CN109327499A (en) Management method and device, storage medium, the terminal of business interface
CN106059990A (en) Method of automatically setting protocol in programmable logic controller system
CN109669807A (en) The method of calibration and device of business event, processor, storage medium
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
CN111105277A (en) Block chain state change transaction tracing method and device
CN108920936B (en) Method and device for achieving vmware authentication based on Purley platform
CN110442059A (en) Controlled device expanding method, device and control equipment
CN112905437A (en) Method and device for testing case and storage medium
CN110750327A (en) Virtual network function management method and system, agent device, and storage medium
CN115048158A (en) Process arranging and calling method, system and computer equipment thereof
CN113810379B (en) Exception handling method and multi-service system
CN112637821B (en) Management platform and management method of vehicle communication chip and vehicle communication management system
CN110113181B (en) Node configuration method, node configuration device, computer device, and readable storage medium

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