CN108804943A - Document control method, apparatus and storage medium - Google Patents

Document control method, apparatus and storage medium Download PDF

Info

Publication number
CN108804943A
CN108804943A CN201810559107.8A CN201810559107A CN108804943A CN 108804943 A CN108804943 A CN 108804943A CN 201810559107 A CN201810559107 A CN 201810559107A CN 108804943 A CN108804943 A CN 108804943A
Authority
CN
China
Prior art keywords
file
control information
pending
information
usim
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
CN201810559107.8A
Other languages
Chinese (zh)
Other versions
CN108804943B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810559107.8A priority Critical patent/CN108804943B/en
Publication of CN108804943A publication Critical patent/CN108804943A/en
Application granted granted Critical
Publication of CN108804943B publication Critical patent/CN108804943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems

Abstract

A kind of document control method, apparatus of the application offer and storage medium, wherein this method is applied to USIM, and this method includes:The file control command that receiving terminal apparatus is sent, according to this document control command, determine pending file identification and the corresponding file control information of pending file identification, when this document control information does not meet the corresponding preset control information of the pending file identification in USIM, the first response message is fed back to terminal device, which, which is used to indicate, does not allow pending file corresponding to pending file identification to operate.The technical solution avoids the control Problem-Error being likely to occur to file management using existing access control mechanisms, ensure that the normal use of usim card.

Description

Document control method, apparatus and storage medium
Technical field
This application involves mobile communication technology field more particularly to a kind of document control method, apparatus and storage mediums.
Background technology
The file system of Universal Subscriber Identity Module (universal subscriber identity module, USIM) It is the important component of usim card, major function is tissue, all data of storage and management in memory, and construction is each Kind file structure, realizes quickly and easily locating file.When user operates the file in USIM file system, in order to Data in safeguard file system are normal and safety, and the file to each type is needed to take access control, i.e. only specific weights The user of limit can just operate file, and before the procedure, it is also necessary to be authenticated to the access right of file.
Currently, common file operation includes reading and writing, activation, deactivation, file operation permission be divided into ALW, NEV, PIN, ADM etc., expression allows, does not allow respectively, PIN permissions allow, ADM permissions allow.It, can be to not by access control mechanisms The permission of different range is authorized in same file operation, and the user for grasping specified permission can carry out file the behaviour of particular range Make, to realize the mesh for ensureing that certain significant datas and file such as are not read or changed easily at the operations to a certain extent 's.
However, above-mentioned access control mechanisms are only applicable to the file pipe with the information such as file operation permission and account permission Reason, if also there is the file of other operating rights using its control, it is possible that the problem of control mistake, leads to usim card It can not normal use.
Invention content
A kind of document control method, apparatus of the application offer and storage medium, may be due to existing access control with solution In mechanism occur control mistake and cause usim card can not normal use the problem of.
The application first aspect provides a kind of document control method, is applied to Universal Subscriber Identity Module USIM, the side Method includes:
The file control command that receiving terminal apparatus is sent;
According to the file control command, determine that pending file identification and the pending file identification are corresponding File control information;
The corresponding default control of the pending file identification in the file control information does not meet the USIM When information, the first response message is fed back to the terminal device, first response message, which is used to indicate, not to be allowed to wait for described The corresponding pending file of processing file identification is operated.
In the embodiment of the application, described according to the file control command, pending file identification is determined And after the corresponding file control information of the pending file identification, the method further includes:
Obtain the info class of the pending file identification and the file control information in the file control information Type;
According to the pending file identification and the preset control information, judge whether the pending file belongs to institute State the permission operation file in preset control information;
The pending file identification in the file control information does not meet the USIM is corresponding default When controlling information, the first response message is fed back to the terminal device, including:
When the pending file is not belonging to the permission operation file, first sound is fed back to the terminal device Answer information.
It is described according to the pending file identification and default control letter in above-described embodiment of the application Breath, judges whether the pending file belongs to after the permission operation file in the preset control information, the method is also Including:
When the pending file belongs to permission operation file, the information type of the file control information is obtained;
Judge whether the information type of the file control information belongs to the information type that the preset control information allows;
The pending file identification in the file control information does not meet the USIM is corresponding default When controlling information, the first response message is fed back to the terminal device, including:
When the information type of the file control information is not belonging to the information type that the preset control information allows, to The terminal device feeds back first response message.
In above-described embodiment of the application, whether belong to institute in the information type for judging the file control information After the information type for stating preset control information permission, the method further includes:
Belong to permission operation file in the pending file, and the information type of the file control information belongs to described When the information type that preset control information allows, waited for according to the file control information is corresponding to the pending file identification It handles file and executes corresponding operation;
The second response message is fed back to the terminal device, second response message, which is used to indicate, to be allowed to wait locating to described The corresponding pending file of reason file identification is operated.
In another embodiment of the application, it is described in the file control information does not meet the USIM described in wait for When handling the corresponding preset control information of file identification, the first response message is fed back to the terminal device, including:
Partial information in the file control information does not meet the pending file identification pair in the USIM When the preset control information answered, first response message is fed back to the terminal device, first response message is specifically used Suggest changing the file control information in instruction;
All information in the file control information do not meet the pending file identification in the USIM When corresponding preset control information, first response message is fed back to the terminal device, first response message is specific It is used to indicate and forbids operating the corresponding pending file of the pending file identification.
In any of the above-described embodiment of the application, it is corresponding default that at least one file identification is stored in the USIM Control information.
The application second aspect provides a kind of file control device, is applied to Universal Subscriber Identity Module USIM, the dress Set including:Receiving module, processing module and sending module;
The receiving module, the file control command sent for receiving terminal apparatus;
The processing module, for according to the file control command, determining pending file identification and described waiting for The corresponding file control information of file identification is handled, and judges whether the file control information meets the institute in the USIM State the corresponding preset control information of pending file identification;
The sending module, for the pending files-designated in not meeting the USIM in the file control information When knowing corresponding preset control information, the first response message is fed back to the terminal device, first response message is for referring to Showing does not allow to operate the corresponding pending file of the pending file identification.
In above-described embodiment of the application, the processing module is additionally operable to, according to the file control command, determine Go out after pending file identification and the corresponding file control information of the pending file identification, according to the pending text Part identifies, and obtains the corresponding preset control information of the pending file identification, according to the pending file identification and described Preset control information, judges whether the pending file belongs to the permission operation file in the preset control information;
The sending module, for the pending files-designated in not meeting the USIM in the file control information When knowing corresponding preset control information, the first response message is fed back to the terminal device, specially:
The sending module, specifically for when the pending file is not belonging to the permission operation file, to described Terminal device feeds back first response message.
In above-described embodiment of the application, the processing module, be additionally operable to according to the pending file identification and The preset control information, judge the pending file whether belong to the permission operation file in the preset control information it Afterwards, and when the pending file belongs to permission operation file, judge whether the information type of the file control information belongs to In the information type that the preset control information allows;
The sending module, for the pending files-designated in not meeting the USIM in the file control information When knowing corresponding preset control information, the first response message is fed back to the terminal device, specially:
The sending module is believed specifically for being not belonging to the default control in the information type of the file control information When ceasing the information type allowed, first response message is fed back to the terminal device.
In above-described embodiment of the application, the processing module is additionally operable in the letter for judging the file control information Whether breath type belongs to after the information type that the preset control information allows, and belonging in the pending file allows to operate File, and when the information type of the file control information belongs to the information type that the preset control information allows, according to institute It states file control information pending file corresponding to the pending file identification and executes corresponding operation;
The sending module is additionally operable to feed back the second response message to the terminal device, and second response message is used Allow to operate the corresponding pending file of the pending file identification in instruction.
In another embodiment of the application, the sending module is described for not met in the file control information When the corresponding preset control information of the pending file identification in USIM, to terminal device feedback the first response letter Breath, specially:
The sending module is not met specifically for the partial information in the file control information in the USIM When the corresponding preset control information of the pending file identification, first response message, institute are fed back to the terminal device It states the first response message and is specifically used for the instruction suggestion modification file control information, and in the file control information When all information do not meet the corresponding preset control information of the pending file identification in the USIM, to the terminal Equipment feeds back first response message, and first response message is specifically used for instruction and forbids to the pending file identification Corresponding pending file is operated.
In any of the above-described embodiment of the application, it is corresponding default that at least one file identification is stored in the USIM Control information.
The application third aspect provides a kind of storage medium, is stored thereon with computer program, described program is by processor The method as described in above-mentioned first aspect and each embodiment of first aspect is realized when execution.
Document control method, apparatus provided by the embodiments of the present application and storage medium are sent by receiving terminal apparatus File control command, and according to this document control command, determine pending file identification and pending file identification pair The file control information answered, and the corresponding default control of pending file identification in this document control information does not meet USIM When information, the first response message is fed back to terminal device, pending text corresponding to pending file identification is not allowed with instruction Part is operated.The technical solution believes the corresponding document control of pending file identification according to the preset control information in USIM Breath carries out validity judgement, and does not allow the first sound of operation to terminal device feedback instruction when not meeting preset control information Information is answered, the control Problem-Error being likely to occur to file management using existing access control mechanisms is avoided, ensure that USIM The normal use of card.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram of file control system provided by the embodiments of the present application;
Fig. 2 is the flow diagram of document control embodiment of the method one provided by the embodiments of the present application;
Fig. 3 is the flow diagram of document control embodiment of the method two provided by the embodiments of the present application;
Fig. 4 is the flow diagram of document control embodiment of the method three provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of file control device embodiment provided by the embodiments of the present application.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Universal Subscriber Identity Module (universal subscriber identity module, USIM) is General Mobile The user identity used in communication system (universal mobile telecommunications system, UMTS) network The continuity and progress of identification module (subscriber identification module, SIM) card, for storing user identity Information and personal data ensure the safety of access to mobile network service, can utilize necessary function and data, are accessed in user User's identification is carried out when 3G network services and user authorizes, and realizes that 3G network can be identified for that and identify the requirement of user's application.Phase For SIM card, usim card is no longer to build in single telecommunications application platform, but will become Universal Integrated Circuit Card One of a variety of applications being resident on (universal integrated circuit card, UICC).UICC is a general intelligence Energy card platform, unified base layer support is provided for its upper layer application, in addition to USIM, UICC is upper can also to be resident bank, ticketing service Etc. other applications of IC cards, it is truly realized the separation of carrying platform and application.
The file system of USIM is the important component of USIM, and major function is that tissue, storage and management are storing All data in device construct various file structures, realize quickly and easily locating file.The file system of USIM is with tree-like File logical structure establish, file type mainly include master file, private file, application dedicated file and constituent instruments, File system mainly provides establishment file, select file, deletes the operations such as file, reading and writing of files.Constituent instruments are storage data Fundamental type relevant operation can be carried out to file by file system there are several different file structures, and work as user When being operated to file, in order to which the data of safeguards system are normal and necessary safety, it is necessary to be adopted to the file of each type Access control is taken, i.e., only the user of specified permission can operate file, before operation file, need to file Access right is authenticated.
Currently, common file operation includes reading and writing, activation, deactivation etc., and file operation permission be divided into ALW, NEV, PIN, ADM etc., respectively indicate allow, do not allow, personal identification number (personal identification number, PIN) Permission allows, administrator (administrators, ADM) permission allows.It, can be to different texts by access control mechanisms Part, which operates, authorizes the permission of different range, and the user for grasping specified permission can carry out file the operation of particular range, and its His user then cannot carry out specific operation to file, realize that certain need significant data to be protected and file can not be light with this Operations are easily read out or are changed etc., ensure a degree of reliability and safety.
Above-mentioned access control mechanisms can realize the management to file operation to a certain extent, in addition to allowing and not allowing In addition, other manner is realized by the way that whether limitation user grasps PIN and ADM, and for more complicated file access Logic then compare and be difficult to realize.For example, if necessary to carry out operating writing-file to a special file, under normal circumstances, by It can be written in the content of the particularity of this document, most of type, and certain types of content is not allow write-in, Thus about operating writing-file can not only by whether have aforesaid operations permission controlled, it is also necessary to according in write-in The type of appearance is controlled, thus, above-mentioned write operation can not be realized by current accessed controlling mechanism.
Optionally, for example, forbidding public land mobile network (the public land of access for being stored in USIM Mobile network, PLMN) corresponding constituent instruments, which provided for the public by government or operator that it is ratified Land mobile business purpose and the network established and managed, thus, it is generally the case that the corresponding constituent instruments of the PLMN can It is updated with allowing terminal to be written according to network insertion situation, but what Home PLMN or equivalent PLMN or operator's wish accessed The content of PLMN etc. is to be written to constituent instruments, if write-in can cause the obstacle of terminal access to mobile network. Since terminal can not know the control information of different files, thus it is likely to the problem for control mistake occur.
In view of the above-mentioned problems, the embodiment of the present application proposes a kind of data control method, device and storage medium, for On the basis of current file access control mechanisms, the type of type and write-in content to pending file judges, to realize According to the method that the type of the type of pending file and write-in content controls pending file, avoid because in file Hold the problem for being arbitrarily modified and occurring control mistake, which increase the abilities of file access control, meet more various more rich Scene demand.In the following, the technical solution of the application is described in detail by specific embodiment.
It should be noted that these specific embodiments can be combined with each other below, for same or analogous concept Or process may repeat no more in certain embodiments.
The document control method that the following each embodiments of the application provide, is applicable in file control system.Fig. 1 is this Shen Please embodiment provide a kind of file control system structural schematic diagram.As shown in Figure 1, this document control system may include to A few terminal device 11 and the usim card 12 being arranged in the terminal device 11.Fig. 1 schematically illustrates a terminal and sets Standby 11 and the usim card 12 that is arranged in the terminal device 11.
Optionally, in the file control system of embodiment shown in Fig. 1, as shown in Figure 1, being provided with end in terminal device 11 Document management module 111 is held, USIM document management modules 121 and USIM File Control Modules 122 are provided in usim card 12, it should It is provided with document handling unit 1221 and database 1222 again in USIM File Control Modules 122, the database 1222 is for depositing Store up the corresponding preset control information of pending file identification.
As shown in Figure 1, the embodiment of the present application controls asking for mistake to solve to be susceptible in existing access control method Topic, increases corresponding USIM File Control Modules 122, with existing USIM document management modules 121 in existing usim card It matches, for usim card when receiving the file control command of terminal device transmission, the basis first of USIM document management modules 121 should File control command determines pending file identification and the corresponding file control information of pending file identification, then USIM File Control Modules 122 control information according to this document and obtain preset control information from database 1222, and according to this Preset control information carries out validity judgement to file control information, while will determine that result is provided to USIM document management modules 121, and then generate response message and return to terminal device.In addition, when judging result is to allow operation, according to above-mentioned file control Information processed executes corresponding operation to pending file.
Fig. 2 is the flow diagram of document control embodiment of the method one provided by the embodiments of the present application.This document controlling party Method is applied to the USIM in terminal device, as shown in Fig. 2, this document control method, may include steps of:
Step 21:The file control command that receiving terminal apparatus is sent.
In the embodiment of the present application, when terminal device needs to operate the pending file in USIM, the terminal Equipment sends file control command to USIM.Correspondingly, this document control command that USIM receiving terminal apparatus is sent, this document Control command is used to indicate pending file identification and the corresponding file control of pending file identification that terminal device wants operation Information processed.
Step 22:According to above-mentioned file control command, pending file identification and pending file identification pair are determined The file control information answered.
Optionally, the file control command of terminal device transmission is received in USIM, parses this document control command, it can be with Determine the pending file identification and specific file control information that terminal device to be operated, thus, USIM can be according to waiting for Processing file identification determines pending file, and according to the corresponding preset control information of pending file identification to pending text Part identifies corresponding file control information and carries out feasibility judgement.
Specifically, in conjunction with shown in above-mentioned Fig. 1, USIM document management modules 121 receive the file of the transmission of terminal device 11 Control command, and according to this document control command, determine pending file identification and the corresponding text of pending file identification Part controls information, is then interacted with USIM File Control Modules 122, i.e., this document control information is forwarded to USIM files Control module 122, to judge whether this document control information meets the preset control information in database.
Step 23:The corresponding preset control information of pending file identification in this document control information does not meet USIM When, the first response message is fed back to terminal device, which, which is used to indicate, does not allow to pending file identification pair The pending file answered is operated.
Optionally, the corresponding preset control information of at least one file identification is stored in USIM.Thus, in the application reality It applies in example, can determine the corresponding preset control information of pending file identification according to the pending file identification determined, And then judge whether this document control information meets the preset control information in USIM, and do not met in this document control information When the corresponding preset control information of pending file identification in USIM, by feeding back the first response message to terminal device, with Inform that the terminal device USIM does not allow pending file corresponding to pending file identification to operate.
Document control method provided by the embodiments of the present application, the file control command sent by receiving terminal apparatus, with And according to this document control command, determine pending file identification and the corresponding document control letter of pending file identification Breath, and when this document control information does not meet the corresponding preset control information of the pending file identification in USIM, to terminal Equipment feeds back the first response message, does not allow pending file corresponding to pending file identification to operate with instruction.It should Technical solution carries out legitimacy according to the preset control information in USIM to the corresponding file control information of pending file identification Judge, and do not allow the first response message of operation to terminal device feedback instruction when not meeting preset control information, avoids The control Problem-Error being likely to occur to file management using existing access control mechanisms ensure that the normal of usim card makes With.
Further, on the basis of the above embodiments, Fig. 3 is implemented for document control method provided by the embodiments of the present application The flow diagram of example two.As shown in figure 3, (according to above-mentioned file control command, determining pending file in above-mentioned steps 22 Mark and the corresponding file control information of pending file identification) after, this document control method can also include following step Suddenly:
Step 31:According to pending file identification, the corresponding preset control information of pending file identification is obtained.
Optionally, the file control command of terminal device transmission is received in USIM, parsing this document controls information, obtains The information type of the pending file identification and this document control information that are carried in this document control information, and then according to pending File identification can determine pending file, and the information type that information can be controlled according to this document determines whether to treat Processing file is operated accordingly.
In the embodiment of the present application, the corresponding preset control information of each file identification is stored in USIM, optionally, this is pre- If control information can be stored in the database of USIM.Thus, when USIM determines pending text according to file control command After part mark, the corresponding preset control information of pending file identification can be obtained by inquiring database.
Step 32:According to pending file identification and above-mentioned preset control information, judge whether pending file belongs to pre- If controlling the permission operation file in information;If it is not, step 33 is executed, if so, executing step 34.
Optionally, since certain special files in USIM do not allow to be operated, thus, it waits locating when USIM is got When managing file identification and the corresponding preset control information of pending file identification, judge whether pending file belongs to default control Permission operation file in information just needs further to sentence only when pending file belongs to the permission operation file of USIM Whether the disconnected corresponding information type of file control information meets the corresponding information type of preset control information.Thus, when pending When file is not belonging to preset control information corresponding permission operation file, then step 33 can be executed, otherwise, execute following steps 34。
Optionally, above-mentioned steps 31 and step 32 can be located at after step 22, for determining pending files-designated After knowing file control information corresponding with pending file identification, further judge whether pending file belongs to permitting for definition Perhaps operation file, file control information information type whether belong to the information type etc. of permission.
Step 33:The first response message is fed back to terminal device.
In embodiments herein, when 32 judge that pending file is not belonging to preset control information through the above steps When corresponding permission operation file, then can the first response message directly be fed back to terminal device, to inform terminal device USIM In the corresponding pending file of pending file identification do not allow to be operated.
Step 34:Judge whether the information type of file control information belongs to the information type of preset control information permission; If so, step 35 is executed, if it is not, executing step 33.
In the embodiment of the present application, when USIM judges that the corresponding pending file of pending file identification belongs to default control When the corresponding permission operation file of information processed, in order to further ensure the correctness of operation, usim card also needs to judge above-mentioned text Whether the information type of part control information belongs to the information type of preset control information permission, if so, just can be to pending text Part executes corresponding operation, otherwise, does not still allow to operate pending file, can not to avoid there is pending file The problem of using.
Specifically, when the information type of file control information is not belonging to the information type of preset control information permission, then Above-mentioned steps 33 are executed, i.e., the first response message are fed back to terminal device, to inform the above-mentioned file control information of terminal device Information type is not belonging to the information type of preset control information permission, and USIM is also not allow to operate pending file 's.
Step 35:Corresponding behaviour is executed according to file control information pending file corresponding to pending file identification Make.
Optionally, by the judgement of above-mentioned steps 31 to step 34, belong to permission operation file in pending file, and on State file control information information type belong to preset control information permission information type when, at this point, USIM can direct root Corresponding operation is executed according to above-mentioned file control information pending file corresponding to pending file identification.
Step 36:The second response message is fed back to above-mentioned terminal device, which, which is used to indicate, allows to treat The corresponding pending file of processing file identification is operated.
Optionally, determine that the corresponding pending file of pending file identification belongs to according to preset control information in USIM Allow operation file, and the information type of file control information belong to preset control information permission information type when, USIM exists While executing corresponding operation according to above-mentioned file control information pending file corresponding to pending file identification, may be used also Directly to feed back the second response message to terminal device, to inform that terminal device USIM allows to operate pending file.
Document control method provided by the embodiments of the present application is believed by obtaining the corresponding default control of pending file identification Breath, and then judge whether pending file belongs to the permission operation file in preset control information, and judge that document control is believed Whether the information type of breath belongs to the information type of preset control information permission, and preset control information is not belonging in pending file In permission operation file or file control information information type be not belonging to preset control information permission information type when, to Terminal device feed back the first response message to indicate not allow pending file corresponding to pending file identification to operate, Belonging in pending file allows the information type of operation file and file control information to belong to the letter that preset control information allows When ceasing type, corresponding operation can be executed according to file control information pending file corresponding to pending file identification, And the second response message is fed back to terminal device, allow pending file corresponding to pending file identification to carry out with instruction Operation.The technical solution judges file control information not only according to the file type of pending file, also according to file The information type of control information judged, is avoided terminal device and is directly carried out the mistake that is likely to occur of operation to USIM and asks Topic, ensure that usim card can be used normally, improves user experience.
Optionally, based on any of the above embodiments, Fig. 4 is that document control method provided by the embodiments of the present application is real Apply the flow diagram of example three.As shown in figure 4, above-mentioned steps 23 are (pending in this document control information does not meet USIM When the corresponding preset control information of file identification, the first response message is fed back to terminal device) it could alternatively be following steps:
Step 41:It is corresponding pre- that partial information in file control information does not meet the pending file identification in USIM If control information, the first response message is fed back to terminal device, first response message is specifically used for instruction and suggests modification The file control information.
Optionally, in the embodiment of the present application, USIM can judge all information in file control information, The information type that pending file is not belonging to permission operation file or file control information in preset control information is not belonging to When the information type that preset control information allows, it may further determine whether not being inconsistent for the partial information in file control information The corresponding preset control information of pending file identification in USIM is closed, if so, being specifically used for instruction to terminal device feedback It is recommended that the first response message of the above-mentioned file control information of modification.
Optionally, can include the information for suggesting modification in first response message, it is generally the case that it is recommended that the letter of modification Breath is that original controls the part for meeting preset control information that can retain in information.
Step 42:It is corresponding that all information in file control information do not meet the pending file identification in USIM When preset control information, the first response message is fed back to terminal device, which is specifically used for instruction and forbids treating The corresponding pending file of processing file identification is operated.
Optionally, in the embodiment of the present application, determine that pending file is not belonging to permitting in preset control information in USIM Perhaps when the information type of operation file or file control information is not belonging to the information type of preset control information permission, Er Qiewen All information in part control information do not meet the corresponding preset control information of pending file identification in USIM, show not Whether by modifying to file control information, USIM does not allow to operate pending file, thus, above-mentioned first sound Answering information to be specifically used for instruction forbids pending file corresponding to pending file identification to operate.
Document control method provided by the embodiments of the present application, the partial information in file control information are not met in USIM Pending file identification corresponding preset control information when, be specifically used for instruction to terminal device feedback and suggest modification file control First response message of information processed, and all information in file control information do not meet the pending files-designated in USIM When knowing corresponding preset control information, it is specifically used for instruction to terminal device feedback and forbids wait for corresponding to pending file identification The first response message that processing file is operated.The technical solution can meet more various, abundanter scene, into one Step enhances the reliability of file and safety in USIM.
Following is the application device embodiment, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 5 is the structural schematic diagram of file control device embodiment provided by the embodiments of the present application.This document control device Applied to Universal Subscriber Identity Module USIM.As shown in figure 5, this document control device may include:Receiving module 51, processing mould Block 52 and sending module 53.
Wherein, the receiving module 51, the file control command sent for receiving terminal apparatus;
The processing module 52, for according to above-mentioned file control command, determining pending file identification and described waiting for The corresponding file control information of file identification is handled, and judges whether the file control information meets the institute in the USIM State the corresponding preset control information of pending file identification;
The sending module 53, for the pending files-designated in not meeting the USIM in the file control information When knowing corresponding preset control information, the first response message is fed back to the terminal device, first response message is for referring to Showing does not allow to operate the corresponding pending file of the pending file identification.
Optionally, in the embodiment of the application, the processing module 52 is additionally operable to order according to the document control It enables, after determining pending file identification and the corresponding file control information of the pending file identification, according to described Pending file identification obtains the corresponding preset control information of the pending file identification, according to the pending files-designated Knowledge and the preset control information, judging whether the pending file belongs in the preset control information allows operation text Part;
The sending module 53, for the pending file in not meeting the USIM in the file control information When identifying corresponding preset control information, the first response message is fed back to the terminal device, specially:
The sending module 53, specifically for when the pending file is not belonging to the permission operation file, to institute It states terminal device and feeds back first response message.
Optionally, in embodiments herein, the processing module 52 is additionally operable to according to the pending files-designated Knowledge and the preset control information, judging whether the pending file belongs in the preset control information allows operation text After part, and when the pending file belongs to permission operation file, judge that the information type of the file control information is The no information type for belonging to the preset control information and allowing;
The sending module 53, for the pending file in not meeting the USIM in the file control information When identifying corresponding preset control information, the first response message is fed back to the terminal device, specially:
The sending module 53, specifically for being not belonging to the default control in the information type of the file control information When the information type that information allows, first response message is fed back to the terminal device.
Optionally, whether above-mentioned processing module 52 is additionally operable to belong in the information type for judging the file control information After the information type that the preset control information allows, belong to permission operation file, and the text in the pending file When the information type of part control information belongs to the information type that the preset control information allows, according to the file control information Pending file corresponding to the pending file identification executes corresponding operation;
The sending module 53 is additionally operable to feed back the second response message, second response message to the terminal device Being used to indicate allows to operate the corresponding pending file of the pending file identification.
Optionally, in another embodiment of the application, the sending module 53, for the file control information not When meeting the corresponding preset control information of the pending file identification in the USIM, to terminal device feedback first Response message, specially:
The sending module 53 is not met specifically for the partial information in the file control information in the USIM The pending file identification corresponding preset control information when, feed back first response message to the terminal device, First response message is specifically used for instruction and suggests changing the file control information, and in the file control information All information when not meeting the corresponding preset control information of the pending file identification in the USIM, to the end End equipment feeds back first response message, and first response message is specifically used for instruction and forbids to the pending files-designated Know corresponding pending file to be operated.
Optionally, the corresponding preset control information of at least one file identification is stored in the USIM.
File control device provided in this embodiment can be used for executing the implementation of embodiment of the method shown in Fig. 2-Fig. 4, Specific implementation is similar with technique effect, and which is not described herein again.
The embodiment of the present application also provides a kind of storage medium, is stored thereon with computer program, described program is by processor The method such as above-mentioned Fig. 2 to embodiment illustrated in fig. 4 is realized when execution.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent Pipe is described in detail the application with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (13)

1. a kind of document control method, which is characterized in that it is applied to Universal Subscriber Identity Module USIM, the method includes:
The file control command that receiving terminal apparatus is sent;
According to the file control command, pending file identification and the corresponding file of the pending file identification are determined Control information;
The corresponding preset control information of the pending file identification in the file control information does not meet the USIM When, the first response message is fed back to the terminal device, first response message, which is used to indicate, not to be allowed to described pending The corresponding pending file of file identification is operated.
2. according to the method described in claim 1, it is characterized in that, determining to wait for according to the file control command described After handling file identification and the corresponding file control information of the pending file identification, the method further includes:
According to the pending file identification, the corresponding preset control information of the pending file identification is obtained;
According to the pending file identification and the preset control information, judge whether the pending file belongs to described pre- If controlling the permission operation file in information;
The corresponding default control of the pending file identification in the file control information does not meet the USIM When information, the first response message is fed back to the terminal device, including:
When the pending file is not belonging to the permission operation file, to terminal device feedback the first response letter Breath.
3. according to the method described in claim 2, it is characterized in that, described according to the pending file identification and described pre- If controlling information, judge whether the pending file belongs to after the permission operation file in the preset control information, institute The method of stating further includes:
When the pending file belongs to permission operation file, the information type of the file control information is obtained;
Judge whether the information type of the file control information belongs to the information type that the preset control information allows;
The corresponding default control of the pending file identification in the file control information does not meet the USIM When information, the first response message is fed back to the terminal device, including:
When the information type of the file control information is not belonging to the information type that the preset control information allows, to described Terminal device feeds back first response message.
4. according to the method described in claim 3, it is characterized in that, in the information type for judging the file control information Whether belong to after the information type that the preset control information allows, the method further includes:
Belong to permission operation file in the pending file, and the information type of the file control information belongs to described default It is corresponding pending to the pending file identification according to the file control information when controlling the information type that information allows File executes corresponding operation;
The second response message is fed back to the terminal device, second response message, which is used to indicate, to be allowed to the pending text Part identifies corresponding pending file and is operated.
5. according to the method described in claim 1, it is characterized in that, described do not meet the USIM in the file control information In the pending file identification corresponding preset control information when, feed back the first response message, packet to the terminal device It includes:
It is corresponding that partial information in the file control information does not meet the pending file identification in the USIM When preset control information, first response message is fed back to the terminal device, first response message is specifically used for referring to Show that the file control information is changed in suggestion;
All information in the file control information do not meet the pending file identification in the USIM and correspond to Preset control information when, feed back first response message to the terminal device, first response message is specifically used for Instruction is forbidden operating the corresponding pending file of the pending file identification.
6. according to claim 1-5 any one of them methods, which is characterized in that be stored at least one file in the USIM Identify corresponding preset control information.
7. a kind of file control device, which is characterized in that be applied to Universal Subscriber Identity Module USIM, described device includes:It connects Receive module, processing module and sending module;
The receiving module, the file control command sent for receiving terminal apparatus;
The processing module, for according to the file control command, determining pending file identification and described pending The corresponding file control information of file identification, and judge whether the file control information meets in the USIM described wait for Handle the corresponding preset control information of file identification;
The sending module, for the pending file identification pair in not meeting the USIM in the file control information When the preset control information answered, the first response message is fed back to the terminal device, first response message is used to indicate not Allow to operate the corresponding pending file of the pending file identification.
8. device according to claim 7, which is characterized in that
The processing module is additionally operable to according to the file control command, determining pending file identification and described waiting for After handling the corresponding file control information of file identification, according to the pending file identification, the pending file is obtained Corresponding preset control information is identified, according to the pending file identification and the preset control information, waits locating described in judgement Whether reason file belongs to the permission operation file in the preset control information;
The sending module, for the pending file identification pair in not meeting the USIM in the file control information When the preset control information answered, the first response message is fed back to the terminal device, specially:
The sending module, specifically for when the pending file is not belonging to the permission operation file, to the terminal Equipment feeds back first response message.
9. device according to claim 8, which is characterized in that
The processing module is additionally operable to, according to the pending file identification and the preset control information, wait for described in judgement Whether processing file belongs to after the permission operation file in the preset control information, and belongs to fair in the pending file Perhaps when operation file, judge whether the information type of the file control information belongs to the information that the preset control information allows Type;
The sending module, for the pending file identification pair in not meeting the USIM in the file control information When the preset control information answered, the first response message is fed back to the terminal device, specially:
The sending module is permitted specifically for being not belonging to the preset control information in the information type of the file control information When information type perhaps, first response message is fed back to the terminal device.
10. device according to claim 9, which is characterized in that
The processing module is additionally operable to whether belong to the default control letter in the information type for judging the file control information After ceasing the information type allowed, belong to permission operation file, and the letter of the file control information in the pending file When breath type belongs to the information type that the preset control information allows, according to the file control information to the pending text The corresponding pending file of part mark executes corresponding operation;
The sending module is additionally operable to feed back the second response message to the terminal device, and second response message is for referring to Showing allows to operate the corresponding pending file of the pending file identification.
11. device according to claim 7, which is characterized in that
The sending module, for the pending file identification pair in not meeting the USIM in the file control information When the preset control information answered, the first response message is fed back to the terminal device, specially:
The sending module, do not meet in the USIM specifically for the partial information in the file control information described in When the corresponding preset control information of pending file identification, first response message is fed back to the terminal device, described the One response message is specifically used for instruction and suggests changing the file control information, and all in the file control information When information does not meet the corresponding preset control information of the pending file identification in the USIM, to the terminal device First response message is fed back, first response message is specifically used for instruction and forbids corresponding to the pending file identification Pending file operated.
12. according to claim 7-11 any one of them devices, which is characterized in that be stored at least one text in the USIM Part identifies corresponding preset control information.
13. a kind of storage medium, is stored thereon with computer program, which is characterized in that real when described program is executed by processor Now such as the claims 1-6 any one of them methods.
CN201810559107.8A 2018-06-01 2018-06-01 File control method, device and storage medium Active CN108804943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810559107.8A CN108804943B (en) 2018-06-01 2018-06-01 File control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810559107.8A CN108804943B (en) 2018-06-01 2018-06-01 File control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108804943A true CN108804943A (en) 2018-11-13
CN108804943B CN108804943B (en) 2020-11-10

Family

ID=64090013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810559107.8A Active CN108804943B (en) 2018-06-01 2018-06-01 File control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108804943B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143613A1 (en) * 2005-12-21 2007-06-21 Nokia Corporation Prioritized network access for wireless access networks
CN101583204A (en) * 2009-06-03 2009-11-18 中兴通讯股份有限公司 Method and system for realizing managing universal combined circuit card multiple application files
CN104573571A (en) * 2015-02-04 2015-04-29 郑州信大捷安信息技术股份有限公司 Method for generating security file system of smart card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143613A1 (en) * 2005-12-21 2007-06-21 Nokia Corporation Prioritized network access for wireless access networks
CN101583204A (en) * 2009-06-03 2009-11-18 中兴通讯股份有限公司 Method and system for realizing managing universal combined circuit card multiple application files
CN104573571A (en) * 2015-02-04 2015-04-29 郑州信大捷安信息技术股份有限公司 Method for generating security file system of smart card

Also Published As

Publication number Publication date
CN108804943B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
US10749963B2 (en) Method and apparatus for controlling internet of things devices
US8494486B2 (en) System and method for securely managing data stored on mobile devices, such as enterprise mobility data
CN105165069B (en) Access method, Wi-Fi Hotspot equipment and the user equipment of Wi-Fi Hotspot equipment
CN101661442B (en) Data card information protection method and device
JP2001134721A (en) Access control system for file on memory card
US20190342753A1 (en) Device configuration method, apparatus and system
CN107077555A (en) Configured using the strategy setting of signal
CN105119966A (en) Official account management method and device
CN107567072A (en) A kind of WIFI hot spot information amending method and device
US20130332727A1 (en) Access token event virtualization
CN110351111A (en) A kind of subscription processing method, network node and customer data base
CN107465650A (en) A kind of access control method and device
US11778539B2 (en) Role-based access control system
CN103778379B (en) Application in management equipment performs and data access
EP3188462B1 (en) Information transmission and processing method and device
CN107172223A (en) A kind of sharing method and shared system based on communication terminal and remote server
CN110175439A (en) User management method, device, equipment and computer readable storage medium
CN107846676A (en) Safety communicating method and system based on network section security architecture
CN108737371A (en) Hive data access control methods, server and computer storage media
CN106658463A (en) Operating system login method, device and terminal
CN107786486A (en) The Activiation method and device of operating system
CN108494749A (en) Method, apparatus, equipment and the computer readable storage medium of IP address disabling
CN105636012A (en) Writing card method, smart card, and writing card platform and system
CN108804943A (en) Document control method, apparatus and storage medium
CN106453200A (en) Data service accessing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant