Specific implementation mode
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The every other embodiment that technical staff is obtained without creative efforts should all belong to the application protection
Range.
The embodiment of the present application provides a kind of information desensitization method, and this method is applied to the corresponding information desensitization of operation system
Device can desensitize to the sensitive information involved by the corresponding type of service of each function module in operation system, lead to
Various businesses type for operation system.Specifically, in the embodiment of the present application, information desensitizes device as independently of business system
The device being separately provided except system.
Fig. 1 be information desensitization method provided by the embodiments of the present application first method flow chart, method shown in FIG. 1,
Including at least following steps:
Step 102, the desensitization request that operation system is sent is received;Wherein, it is carried in desensitization request and needs the field that desensitized
With the target service type belonging to field to be desensitized.
Can receive operation system specifically, receiving the desensitization request that operation system is sent in above-mentioned steps 102
The desensitization request that any one function module is sent.In general, function module different in operation system is different for handling
Type of service, for example, the member registration module of operation system, the business for handling member registration type;Operation system is stepped on
Module is recorded, the business of type is logged in for handling user member.
In a specific embodiment, above-mentioned field to be desensitized generally comprises two parts content, before field to be desensitized
Half part is used to describe the type of the field, for example, cell-phone number, Email Accounts, password etc., which, which is mainly used for searching, waits for
The corresponding desensitization rule of the field that desensitizes;The latter half of field to be desensitized is the specific field to desensitize, for example, the portion
It can be that specific phone number etc. uses the desensitization found after finding desensitization rule by first half to divide content
Rule carries out desensitization process to the specific field in the part.
For ease of understanding, following to illustrate citing.
For example, the field to be desensitized carried in desensitization request can be:" cell-phone number:18958186671 " or " mailbox:
Abcdefg@126.com " etc..
Above-mentioned target service type can be the residing type of service handled of any one function module in operation system.
Step 104, according to target service type and field to be desensitized, the corresponding desensitization rule of field to be desensitized is searched.
Wherein, in the embodiment of the present application, desensitization rule corresponding with field to be desensitized is searched, actually searches and waits for
The corresponding desensitization rule of field type in the field that desensitizes.For example, it may be searching phone number, the corresponding desensitization of Email Accounts
Rule.
Specifically, in the embodiment of the present application, above-mentioned steps 104 are searched according to target service type and field to be desensitized
The corresponding desensitization rule of field to be desensitized, specifically comprises the following steps:
According to target service type and field to be desensitized, pair regular with desensitization from type of service, the sensitive field of foundation
In should being related to, the corresponding desensitization rule of field to be desensitized under target service type is searched.
In a specific embodiment, the sensitive field in above-mentioned correspondence can be the type of sensitive field,
For example, phone number, Email Accounts etc., can not include specific sensitive content.
In the embodiment of the present application, pair of type of service, sensitive field and desensitization rule is stored in information desensitization device
It should be related to, after information desensitization device receives the desensitization request of operation system transmission, what is carried during which is asked waits taking off
Quick field and target service type are matched with above-mentioned correspondence, are searched and be whether there is in above-mentioned correspondence and wait desensitizing
The sensitive field and type of service of field and target service type matching, and if it exists, then by the sensitivity field and type of service
The corresponding desensitization rule of field to be desensitized that corresponding desensitization rule is determined as under target type.
Due to, there may be multiple function modules in an operation system, each function module handles different business,
Each type of service corresponds to the sensitive field in need to desensitize, and different service types may have identical sensitive words
Section, and for the same sensitive field, corresponding desensitization rule may be different under different types of service.Therefore, exist
In the embodiment of the present application, when establishing the correspondence of sensitive field and desensitization rule, by the service class belonging to sensitive field
Type is taken into account, that is, what is established is that type of service, sensitive field and the correspondence of the regular three of desensitization therefore can be unique
Determine field to be desensitized corresponding desensitization rule so that the standard that the corresponding desensitization of field desensitize determined is regular
True property is higher.
For the ease of when being desensitized into row information using method provided by the embodiments of the present application, it may be determined that go out word to be desensitized
The corresponding desensitization rule of section, therefore, before executing above-mentioned steps 102, method provided by the embodiments of the present application further includes establishing
The correspondence of type of service, sensitive field and desensitization rule.
Specifically, the above-mentioned correspondence for establishing type of service, sensitive field and desensitization rule, specifically includes following step
Suddenly:
Determine the corresponding sensitive field identification of each type of service of operation system, and each sensitive field is corresponding de-
Quick rule;Establish the correspondence of above-mentioned type of service, above-mentioned sensitive field and above-mentioned desensitization rule.
Specifically, being directed to some operation system, possessed all business in the operation system can be determined first
Type, then, it is determined that the sensitive field corresponding to each type of service, for example, it may be phone number, Email Accounts, password
Deng;Finally determine the corresponding desensitization rule of each sensitive field;Then above-mentioned type of service is established, sensitive field is advised with desensitization
Correspondence then.
In a specific embodiment, the correspondence of type of service, sensitive field and desensitization rule can be with table
Form indicate, as shown in table 1.Table 1 shows the type of service established in the embodiment of the present application, sensitive field and desensitization rule
Correspondence a kind of possible form.
In table 1, the corresponding type of service of each sensitive field is marked out.Wherein, " mobile_no " in above-mentioned table 1
What is indicated is " phone number ", rule 1 can be used to take off any phone number under member registration type of service
It is quick.What " email " in table 1 was indicated is " Email Accounts ", all may be used for any Email Accounts under member registration type of service
To use rule 4 to desensitize.In addition, above-mentioned table 1 is exemplary illustration, type of service, sensitive field and desensitization rule
Particular content be not limited thereto.
Table 1
Type of service |
Sensitive field |
Desensitization rule |
Member registration |
mobile_no |
Rule 1 |
Member logs in |
mobile_no |
Rule 2 |
Member logs in |
email |
Rule 3 |
Member registration |
email |
Rule 4 |
In addition to this, the correspondence of the type of service of foundation, sensitive field and desensitization rule can also be shown in table 2
Form.Specifically, in table 2, it can be classified to each sensitive field according to type of service, then only need to mark one
The corresponding type of service of class sensitivity field.
If, can be with after receiving the desensitization request of operation system transmission using the form of correspondence shown in table 2
The target service type is matched with above-mentioned correspondence first, finds out the service class with target service type matching
Type, then, the field to be desensitized in asking desensitization are matched with each sensitive field under the type of service, are found out
The sensitive field to match with field to be desensitized determines desensitization corresponding with the sensitive field that field to be desensitized matches rule
For the corresponding desensitization rule of field to be desensitized under target service type.
Table 2
In addition, in a specific embodiment, multiple tables can also be established, a kind of service class is stored in a table
The correspondence of sensitive field and desensitization rule under type, it is then possible to which the mark using type of service carries out each table
Name.In this way after information desensitization device receives the desensitization request of operation system transmission, in being asked first according to the desensitization
Then target service type search searches the field pair to be desensitized in this table again to the corresponding table of target service type
The desensitization rule answered.
Alternatively, in another specific implementation mode, multiple tables can also be established, there are one quick for a table storage
Feel field desensitization rule corresponding under each type of service, sensitive field then may be used, each table is ordered
Name.In this way, after information desensitization device receives the desensitization request of operation system transmission, first look for and field phase to be desensitized
The corresponding table of matched sensitivity field, then, then to search the corresponding desensitization of target service type in this table regular.
The above-mentioned several possible realization sides for only listing type of service, sensitive field and the correspondence of desensitization rule
Formula, certainly, the specific implementation of the correspondence are not limited thereto, and the embodiment of the present application will not enumerate.
Step 106, desensitization field is treated using above-mentioned desensitization rule to desensitize.
In the embodiment of the present application, if finding the corresponding desensitization rule of field to be desensitized, then desensitization rule is used
Desensitization field is treated to desensitize.
Specifically, in the embodiment of the present application, each desensitization rule is indicated using regular expression;
Correspondingly, in step 106, treat desensitization field using desensitization rule and desensitize, including:
Regular expression is parsed, determines the meaning represented by the regular expression;The meaning obtained according to parsing
Desensitization field is treated to desensitize.
In the embodiment of the present application, the canonical can be determined according to the meaning represented by each symbol in regular expression
Meaning represented by expression formula.
Scheme provided by the embodiments of the present application for ease of understanding, it is following to illustrate citing.For example, implementing in the application
In example, the correspondence such as table 3 of a kind of specific type of service, sensitive field and desensitization rule that are stored in information desensitization device
It is shown.
Table 3
Type of service |
Sensitive field |
Desensitization rule |
Member registration |
mobile_no |
[0-9]{1}[*]{9}[0-9]{1} |
Member logs in |
email |
[0-9][a-z]{1}*{9}[0-9][a-z]{1} |
When the type of service carried in the desensitization request that information desensitization device receives operation system transmission is that " member notes
Volume ", the field to be desensitized carried are " mobile_no:It, can be with according to the correspondence in above-mentioned table 1 when " 18958186671 "
It determines under " member registration " type, the corresponding desensitization rule of phone number is " [0-9] { 1 } [*] { 9 } [0-9] { 1 } ", because
This, after being desensitized to above-mentioned phone number using the desensitization rule, obtained field is " 1*********1 ";When information is de-
Quick device receives the word to be desensitized that the type of service carried in the desensitization request that operation system is sent is " member's login ", carrying
Segment identification is " email:Abcdefg@126.com, according to the correspondence in above-mentioned table 1, it may be determined that go out in " member's login "
Under type, the corresponding desensitization rule of Email Accounts is " [0-9] [a-z] { 1 } * { 9 } [0-9] [a-z] { 1 } ", therefore, de- using this
After quick rule desensitizes to above-mentioned Email Accounts, obtained field is " a*************m ".
Certainly, above-mentioned table 3 and to be illustrated according to table 3 be exemplary illustration, is not constituted to the embodiment of the present application
It limits.
In the embodiment of the present application, it after information desensitization device, which treats desensitization field, to be desensitized, is sent to operation system
Field after desensitization process.
In addition, in the embodiment of the present application, if by above-mentioned steps 104, it is corresponding de- not find field to be desensitized
Quick rule, then information desensitize device to operation system send prompt message;Wherein, for prompting, there is no wait taking off the prompt message
The corresponding desensitization rule of quick field.
If specifically, not finding the corresponding desensitization of field to be desensitized under target service type in above-mentioned correspondence
Rule, then information desensitization device is to operation system transmission prompt message, and the prompt message is for prompting business system current right
There is no the corresponding desensitization of field desensitize under target service type is regular in should being related to.
After operation system receives the prompt message that information desensitization device is sent, checks whether and be sent to information desensitization dress
Whether the target service type or field to be desensitized set are wrong.
Specifically, in the embodiment of the present application, can be carried in the desensitization request that information desensitization device receives there are one
Field to be desensitized can also carry multiple fields to be desensitized, the field that the embodiment of the present application carries in not asking desensitization
Quantity be defined.
In addition, in the embodiment of the present application, when some or multiple types of service exist and newly increase under operation system
When sensitive field, then the correspondence to the type of service, sensitive field and desensitization rule that are stored in information desensitization device is needed
It is updated, therefore, method provided by the embodiments of the present application further includes:
Obtain the sensitive field newly increased;It determines the type of service belonging to the sensitive field newly increased and newly increases quick
Feel the corresponding desensitization rule of field;Type of service belonging to the sensitive field newly increased, the sensitive field newly increased and
Desensitization rule corresponding to the sensitive field newly increased, updates above-mentioned correspondence.
In the embodiment of the present application, since information desensitization device is independently of the device except operation system, the information is de-
Quick device can desensitize to the information in entire operation system, therefore, avoid each function mould in operation system
One desensitization device for being directed to the function module is set, in this way, when there is the sensitive field newly increased, it is only necessary to letter under block
It is primary to cease sensor update, avoids each function module corresponding desensitization device of the update with the new field,
It realizes and easily and efficiently information desensitization device is updated.
Information desensitization method provided by the embodiments of the present application for ease of understanding, it is following will be using field to be desensitized as member registration
Information desensitization method provided by the embodiments of the present application is introduced by specific embodiment for phone number under type of service.Fig. 2
For the second method flow chart of information desensitization method provided by the embodiments of the present application, method shown in Fig. 2 includes at least as follows
Step:
Step 202, the desensitization request that operation system is sent is received, is carried in desensitization request and needs desensitized field and meeting
Member's registration service identification.
Wherein, above-mentioned member registration service identification can be the title of the type of service, such as:" member registration " or
" registration " etc.;Above-mentioned field to be desensitized includes the type of field and particular content to be desensitized.In this embodiment, above-mentioned field
Type be phone number, particular content to be desensitized is 11 phone numbers to desensitize.
Step 204, in the correspondence for searching the type of service pre-established, sensitive field and desensitization rule, if deposit
The corresponding desensitization rule of phone number under member registration type of service;If in the presence of executing step 206, otherwise, executing step
212。
Step 206, the corresponding desensitization rule of phone number to be desensitized is obtained.
Wherein, above-mentioned desensitization rule is indicated using regular expression.
Step 208, the phone number for treating desensitization using above-mentioned desensitization rule desensitizes.
Step 210, the field after desensitization process is sent to operation system.
Step 212, prompt message is sent to operation system, which is not present cell-phone number to be desensitized for prompting
The corresponding desensitization rule of code.
Information desensitization method provided by the embodiments of the present application, can be to arriving involved in each type of service under operation system
Sensitive field desensitize;Also, it carries to need to be desensitized in the desensitization request that the operation system that receives is sent and field and wait for
The field that desensitizes is to affiliated target service type, the target service type in this way belonging to field to be desensitized and its, Ke Yiwei
One determines the corresponding desensitization rule of field to be desensitized so that the accuracy higher of desensitization.
Corresponding to information desensitization method provided by the embodiments of the present application, it is based on identical thinking, the embodiment of the present application also carries
A kind of information desensitization device, the information desensitization method for executing above-described embodiment offer, Fig. 3 has been supplied to show that the application is implemented
The module composition schematic diagram for the information desensitization device that example provides, device shown in Fig. 3, including:
Receiving module 301, the desensitization request for receiving operation system transmission;Wherein, it carries and needs in desensitization request
Target service type belonging to the field that desensitizes and field to be desensitized;Above- mentioned information desensitization device is corresponding with the operation system;
Searching module 302, for according to above-mentioned target service type and field to be desensitized, it is corresponding to search field to be desensitized
Desensitization rule;
Desensitize module 303, and desensitization process is carried out for treating desensitization field using above-mentioned desensitization rule.
Optionally, above-mentioned searching module 302, is specifically used for:
According to above-mentioned target service type and above-mentioned field to be desensitized, from the type of service, sensitive field and desensitization of foundation
In the correspondence of rule, the corresponding desensitization rule of field to be desensitized under target service type is searched.
Optionally, device provided by the embodiments of the present application further includes:
First determining module, for determining the corresponding sensitive field of each type of service under operation system, and it is each
The corresponding desensitization rule of sensitive field;
Module is established, the correspondence for establishing type of service, sensitive field and desensitization rule.
Optionally, device provided by the embodiments of the present application further includes:
Acquisition module, for obtaining the sensitive field newly increased;
Second determining module, the sensitive words for determining the type of service belonging to the sensitive field newly increased and newly increasing
The corresponding desensitization rule of section;
Update module, for belonging to the sensitive field newly increased, the sensitive field that newly increases type of service and
Desensitization rule corresponding to the sensitive field newly increased, updates the correspondence.
Optionally, device provided by the embodiments of the present application further includes:
If first sending module carries for not finding the corresponding desensitization rule of field to be desensitized to operation system transmission
Show information;Wherein, there is no the corresponding desensitization rules of field to be desensitized for prompting for above-mentioned prompt message.
Optionally, above-mentioned desensitization rule is indicated using regular expression;
Correspondingly, above-mentioned desensitization module 303, is specifically used for:
Above-mentioned regular expression is parsed, determines the meaning represented by regular expression;Contain according to what parsing obtained
Justice treats desensitization field and desensitizes.
Optionally, device provided by the embodiments of the present application further includes:
Second sending module, for sending the field after desensitization process to operation system.
Information desensitization device provided by the embodiments of the present application, it is de- to may be implemented information in Fig. 1, Fig. 2 corresponding method embodiment
The specific implementation process of each process, step achieved by quick method, modules can refer to above method embodiment, here
It repeats no more.
Information desensitization device provided by the embodiments of the present application, can be to arriving involved in each type of service under operation system
Sensitive field desensitize;Also, it carries to need to be desensitized in the desensitization request that the operation system that receives is sent and field and wait for
The field that desensitizes is to affiliated target service type, the target service type in this way belonging to field to be desensitized and its, Ke Yiwei
One determines the corresponding desensitization rule of field to be desensitized so that the accuracy higher of desensitization.
Based on information desensitization method provided by the embodiments of the present application, the embodiment of the present application also provides a kind of desensitizations of information to be
System, Fig. 4 is the structural schematic diagram of information provided by the embodiments of the present application desensitization system, specific real for system shown in Fig. 4
The specific implementation procedure of existing principle, modules and composition can refer to information desensitization method provided by the embodiments of the present application, specifically
Realization process repeats no more.Information desensitization system shown in Fig. 4, including:Operation system 401 and information desensitization device 402;
Wherein, above-mentioned operation system 401, for sending desensitization request to information desensitization device 402;Wherein, which asks
It asks and carries need to be desensitized field and the target service type belonging to field to be desensitized;
Above- mentioned information desensitization device 402, is asked, and according to above-mentioned target service type and wait for for receiving above-mentioned desensitization
Desensitize field, searches the corresponding desensitization rule of field to be desensitized;And it treats desensitization field using the desensitization rule and carries out at desensitization
Reason.
Optionally, above- mentioned information desensitization device 402, is specifically used for:
According to above-mentioned target service type and field to be desensitized, from the type of service, sensitive field and desensitization rule of foundation
Correspondence in, the corresponding desensitization of field desensitize searched under target service type is regular.
Optionally, above- mentioned information desensitization device 402, is additionally operable to:
Determine the corresponding sensitive field of each type of service under operation system, and the corresponding desensitization of each sensitive field
Rule;Establish the correspondence of above-mentioned type of service, sensitive field and desensitization rule.
Optionally, above- mentioned information desensitization device 402, is additionally operable to:
Obtain the sensitive field newly increased;It determines the type of service belonging to the sensitive field newly increased and newly increases quick
Feel the corresponding desensitization rule of field;Type of service belonging to the sensitive field newly increased, the sensitive field newly increased and
The corresponding desensitization rule of sensitive field newly increased, updates above-mentioned correspondence.
Optionally, above- mentioned information desensitization device 402, is additionally operable to:
If not finding the corresponding desensitization rule of field to be desensitized, prompt message is sent to operation system;Wherein, above-mentioned to carry
Show information for prompt that there is no the corresponding desensitizations of field to be desensitized is regular.
Optionally, above-mentioned desensitization rule is indicated using regular expression;
The device 402 correspondingly, above- mentioned information desensitizes, is specifically used for:
Above-mentioned regular expression is parsed, determines the meaning represented by regular expression;Contain according to what parsing obtained
Justice treats desensitization field and desensitizes.
Optionally, above- mentioned information desensitization device 402, is additionally operable to:
The field after desensitization process is sent to operation system 401.
Information desensitization system provided by the embodiments of the present application for ease of understanding, it is following that combining information is desensitized into system to this Shen
Please embodiment provide information desensitization method illustrate.
Fig. 5 shows the third method flow diagram of information desensitization method provided by the embodiments of the present application, this method application
In information desensitize system, by information desensitization system operation system and information desensitization device interaction complete.Side shown in fig. 5
Method includes at least following steps:
Step 502, terminal device sends registration request to operation system, and user information is carried in the registration request.
Specifically, in step 502, user terminal terminal device carries out member registration in a certain operation system, and fills in
User information, and user information carrying is sent to operation system in the registration request.
Wherein, above-mentioned terminal device can be mobile phone, tablet computer, computer etc..
Step 504, operation system determines the field to be desensitized in above-mentioned user information.
Step 506, operation system sends desensitization request to information desensitization device, is carried in desensitization request and needs the word that desensitized
Section and member registration service identification.
Step 508, after information desensitization device receives the desensitization request that operation system is sent, search whether that there are member's notes
The corresponding desensitization rule of field to be desensitized under volume business;If in the presence of executing step 510, otherwise, executing step 514.
Step 510, information desensitization device treats desensitization field using the desensitization rule and desensitizes.
Step 512, the field obtained after desensitization process is sent to operation system by information desensitization device.
Step 514, information desensitizes device to operation system transmission prompt message, and for prompting, there is no wait for the prompt message
The corresponding desensitization rule of the field that desensitizes.
Information desensitization system provided by the embodiments of the present application, can be to arriving involved in each type of service under operation system
Sensitive field desensitize;Also, it carries to need to be desensitized in the desensitization request that the operation system that receives is sent and field and wait for
The field that desensitizes is to affiliated target service type, the target service type in this way belonging to field to be desensitized and its, Ke Yiwei
One determines the corresponding desensitization rule of field to be desensitized so that the accuracy higher of desensitization;
In addition, in the embodiment of the present application, device is desensitized in operation system using the information independently of operation system
Field to be desensitized desensitizes, and information desensitization device can desensitize to the information in entire operation system, therefore, avoid
One desensitization device for being directed to the function module is set under each function module in operation system, in this way, new when have
When increased sensitivity field, it is only necessary to be updated once to information sensing device, avoiding update has the new field
The corresponding desensitization device of each function module is realized and is easily and efficiently updated to information desensitization device.
Further, above-mentioned Fig. 1 is based on to method shown in Fig. 2, and the embodiment of the present application also provides a kind of desensitizations of information
Equipment, as shown in Figure 6.
Information desensitization equipment can generate bigger difference because configuration or performance are different, may include one or one with
On processor 601 and memory 602, one or more storage application programs or number can be stored in memory 602
According to.Wherein, memory 602 can be of short duration storage or persistent storage.The application program for being stored in memory 602 may include one
A or more than one module (diagram is not shown), each module may include the series of computation machine in desensitizing equipment to information can
It executes instruction.Further, processor 601 could be provided as communicating with memory 602, executes and deposits in information desensitization equipment
Series of computation machine executable instruction in reservoir 602.Information desensitization equipment can also include one or more power supplys
603, one or more wired or wireless network interfaces 604, one or more input/output interfaces 605, one or
More than one keyboard 606 etc..
In a specific embodiment, information desensitization equipment includes memory and one or more journey
Sequence, either more than one program is stored in memory and one or more than one program may include one for one of them
Or more than one module, and each module may include the series of computation machine executable instruction in desensitizing equipment to information, and
Be configured to by one either more than one processor execute this or more than one program include by carry out it is following based on
Calculation machine executable instruction:
Receive the desensitization request that operation system is sent;Wherein, it carries to need to be desensitized in desensitization request and field and waits desensitizing
Target service type belonging to field;
According to target service type and field to be desensitized, the corresponding desensitization rule of field to be desensitized is searched;
Desensitization field, which is treated, using above-mentioned desensitization rule carries out desensitization process.
Optionally, when executed, according to target service type and field to be desensitized, lookup waits for computer executable instructions
The corresponding desensitization rule of the field that desensitizes, including:
According to target service type and field to be desensitized, pair regular with desensitization from type of service, the sensitive field of foundation
In should being related to, the corresponding desensitization rule of field to be desensitized under target service type is searched.
Optionally, computer executable instructions when executed, before receiving the desensitization request that operation system is sent, also wrap
It includes:
Determine the corresponding sensitive field of each type of service under operation system, and the corresponding desensitization of each sensitive field
Rule;
Establish the correspondence of type of service, sensitive field and desensitization rule.
Optionally, computer executable instructions when executed, further include:
Obtain the sensitive field newly increased;
Determine the type of service belonging to the sensitive field newly increased and the corresponding desensitization rule of the sensitive field newly increased;
Type of service belonging to the sensitive field newly increased, the sensitive field newly increased and the sensitive words newly increased
Desensitization rule corresponding to section, updates above-mentioned correspondence.
Optionally, computer executable instructions when executed, further include:
If not finding the corresponding desensitization rule of field to be desensitized, prompt message is sent to operation system;Wherein, the prompt
There is no the corresponding desensitization rules of field to be desensitized for prompting for information.
Optionally, when executed, desensitization rule is indicated computer executable instructions using regular expression;
Desensitization field, which is treated, using the desensitization rule carries out desensitization process, including:
Regular expression is parsed, determines the meaning represented by regular expression;
The meaning obtained according to parsing treats desensitization field and desensitizes.
Optionally, computer executable instructions when executed, are treated desensitization field using desensitization rule and are carried out at desensitization
After reason, further include:
The field after desensitization process is sent to operation system.
Information desensitization equipment provided by the embodiments of the present application, can be to arriving involved in each type of service under operation system
Sensitive field desensitize;Also, it carries to need to be desensitized in the desensitization request that the operation system that receives is sent and field and wait for
The field that desensitizes is to affiliated target service type, the target service type in this way belonging to field to be desensitized and its, Ke Yiwei
One determines the corresponding desensitization rule of field to be desensitized so that the accuracy higher of desensitization.
Further, it is based on above-mentioned Fig. 1 to method shown in Fig. 2, the embodiment of the present application also provides a kind of storage medium,
For storing computer executable instructions, in a kind of specific embodiment, which can be USB flash disk, CD, hard disk etc.,
The computer executable instructions of storage medium storage can realize following below scheme when being executed by processor:
Receive the desensitization request that operation system is sent;Wherein, it carries to need to be desensitized in desensitization request and field and waits desensitizing
Target service type belonging to field;
According to target service type and field to be desensitized, the corresponding desensitization rule of field to be desensitized is searched;
Desensitization field, which is treated, using above-mentioned desensitization rule carries out desensitization process.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, according to target service
Type and field to be desensitized search the corresponding desensitization rule of field to be desensitized, including:
According to target service type and field to be desensitized, pair regular with desensitization from type of service, the sensitive field of foundation
In should being related to, the corresponding desensitization rule of field to be desensitized under target service type is searched.
Optionally, the computer executable instructions of storage medium storage receive operation system when being executed by processor
Before the desensitization request of transmission, further include:
Determine the corresponding sensitive field of each type of service under operation system, and the corresponding desensitization of each sensitive field
Rule;
Establish the correspondence of type of service, sensitive field and desensitization rule.
Optionally, the computer executable instructions of storage medium storage further include when being executed by processor:
Obtain the sensitive field newly increased;
Determine the type of service belonging to the sensitive field newly increased and the corresponding desensitization rule of the sensitive field newly increased;
Type of service belonging to the sensitive field newly increased, the sensitive field newly increased and the sensitive words newly increased
Desensitization rule corresponding to section, updates above-mentioned correspondence.
Optionally, the computer executable instructions of storage medium storage further include when being executed by processor:
If not finding the corresponding desensitization rule of field to be desensitized, prompt message is sent to operation system;Wherein, the prompt
There is no the corresponding desensitization rules of field to be desensitized for prompting for information.
Optionally, when being executed by processor, the rule that desensitizes uses the computer executable instructions of storage medium storage
Regular expression indicates;
Desensitization field, which is treated, using the desensitization rule carries out desensitization process, including:
Regular expression is parsed, determines the meaning represented by regular expression;
The meaning obtained according to parsing treats desensitization field and desensitizes.
Optionally, the computer executable instructions of storage medium storage use desensitization rule when being executed by processor
After treating desensitization field progress desensitization process, further include:
The field after desensitization process is sent to operation system.
The computer executable instructions stored in storage medium provided by the embodiments of the present application, can when being executed by processor
With to involved in each type of service under operation system to sensitive field desensitize;Also, the operation system received
Need to be desensitized field and field to be desensitized are carried in the desensitization request of transmission to affiliated target service type, basis in this way waits taking off
Quick field and the target service type belonging to it can uniquely determine out the corresponding desensitization rule of field to be desensitized so that desensitization
Accuracy higher.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Usually, program module includes routines performing specific tasks or implementing specific abstract data types, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage device.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
Above is only an example of the present application, it is not intended to limit this application.For those skilled in the art
For, the application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.