CN111191443A - Sensitive word detection method and device based on block chain, computer equipment and storage medium - Google Patents
Sensitive word detection method and device based on block chain, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111191443A CN111191443A CN201911314199.4A CN201911314199A CN111191443A CN 111191443 A CN111191443 A CN 111191443A CN 201911314199 A CN201911314199 A CN 201911314199A CN 111191443 A CN111191443 A CN 111191443A
- Authority
- CN
- China
- Prior art keywords
- sensitive
- detection
- parameter data
- sensitive word
- word detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 328
- 238000011896 sensitive detection Methods 0.000 claims abstract description 152
- 238000000034 method Methods 0.000 claims abstract description 147
- 238000012545 processing Methods 0.000 claims abstract description 49
- 238000012216 screening Methods 0.000 claims abstract description 26
- 230000006870 function Effects 0.000 claims description 106
- 238000004590 computer program Methods 0.000 claims description 13
- 230000007717 exclusion Effects 0.000 claims description 12
- 239000000284 extract Substances 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 2
- 239000003550 marker Substances 0.000 description 12
- 230000014509 gene expression Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000035945 sensitivity Effects 0.000 description 7
- 230000011218 segmentation Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Machine Translation (AREA)
Abstract
The application relates to a sensitive word detection method, a sensitive word detection device, computer equipment and a storage medium based on a block chain, wherein the method comprises the following steps: when a write request for a block chain is received, acquiring a method function for executing the write request; when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, analyzing a predefined sensitive detection part and a predefined sensitive detection condition from the sensitive word detection annotation; searching the components belonging to the sensitive detection part from the components included in the writing request, and extracting parameter data included in the searched components; screening parameter data to be detected needing sensitive word detection from the parameter data according to the sensitive detection condition; and performing sensitive word detection processing on the parameter data to be detected. The method can save cost.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a block chain-based sensitive word detection method and apparatus, a computer device, and a storage medium.
Background
The state promulgates the block chain information service management regulation, wherein the block chain platform is required to take corresponding treatment measures on illegal information content in time to prevent information diffusion. Therefore, the information content released by the platform user on the block chain needs to detect whether sensitive information exists in time, and shield and reject the sensitive information in time.
In the traditional method, detection points are added by coding at the code level aiming at each input entrance in a block chain platform. However, the blockchain platform has many input entries, and if a detection point is added to each input entry by means of code encoding, the intrusiveness to the system is large, and the performance of the system is affected.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a block chain-based sensitive word detection method, apparatus, computer device and storage medium capable of improving system performance.
A sensitive word detection method based on blockchains, the method comprising:
when a write request for a block chain is received, acquiring a method function for executing the write request;
when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, analyzing a predefined sensitive detection part and a predefined sensitive detection condition from the sensitive word detection annotation;
searching the components belonging to the sensitive detection part from the components included in the writing request, and extracting parameter data included in the searched components; screening parameter data to be detected needing sensitive word detection from the parameter data according to the sensitive detection condition;
and performing sensitive word detection processing on the parameter data to be detected.
In one embodiment, when a write request for a block chain is received, acquiring a method function for executing the write request includes:
when detecting an uplink request sent by an application layer through an interface of a calling block chain gateway layer, or when detecting an input request carrying content input by a user for a block chain, acquiring a method function for executing the uplink request or the input request.
In one embodiment, the method further comprises:
detecting whether a sensitive word detection annotation is added to a first preset position of a class level to which the method function belongs;
and when the sensitive word detection annotation is added to the first preset position, judging that the sensitive word detection annotation is added to the preset position of the hierarchy to which the method function belongs.
In one embodiment, the method further comprises:
when no sensitive word detection annotation is added to the first preset position, acquiring a code of the method function;
searching a sensitive detection mark character from a second preset position in the code;
when the sensitive detection marker character is found, judging that a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, and acquiring data marked by the sensitive detection marker character to obtain the sensitive word detection annotation.
In one embodiment, before parsing the predefined sensitivity detection portion and the sensitivity detection condition from the sensitivity word detection annotation, the method further comprises:
analyzing preset detection limiting conditions carried in the sensitive word detection annotation;
judging whether the parameter data carried by the write request meets the preset detection limit condition or not;
and when the preset detection limit condition is not met, the step of analyzing the pre-defined sensitive detection part and the sensitive detection condition from the sensitive word detection annotation is executed.
In one embodiment, the sensitive detection condition comprises at least one of a parametric data screening condition and a parametric data exclusion condition; the parameter data are multiple;
the screening of the parameter data to be detected, which needs to be subjected to the sensitive word detection, from the parameter data according to the sensitive detection condition includes:
when the parameter data accord with the parameter data screening condition, judging that the parameter data are to-be-detected parameter data needing sensitive word detection; and/or the presence of a gas in the gas,
when the parameter data meet the parameter data exclusion condition, judging that the parameter data are non-detection parameter data which do not need to be subjected to sensitive word detection; and acquiring parameter data remaining after the non-detection parameter data are filtered from the extracted parameter data to obtain parameter data to be detected.
In one embodiment, the designated sensitive detection portion is plural; the method further comprises the following steps:
acquiring a detection priority set for the sensitive detection part from the sensitive word detection annotation;
according to the detection priority, sequentially aiming at each sensitive detection part, executing the steps of extracting the parameter data positioned in the sensitive detection part in the write request and the subsequent steps;
and when detecting that the parameter data in the sensitive detection part currently processed has the sensitive word, stopping processing the sensitive detection part with the next detection priority, judging that the write request is a sensitive request, and not responding to the write request.
An apparatus for sensitive word detection based on blockchains, the apparatus comprising:
the device comprises an analysis module, a processing module and a processing module, wherein the analysis module is used for acquiring a method function for executing a write request when the write request aiming at a block chain is received; when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, analyzing a predefined sensitive detection part and a predefined sensitive detection condition from the sensitive word detection annotation;
the extraction module is used for searching the components belonging to the sensitive detection part from the components included in the writing request and extracting the parameter data included in the searched components;
the detection module is used for screening out parameter data to be detected, which need to be subjected to sensitive word detection, from the parameter data according to the sensitive detection condition; and the method is used for detecting the sensitive words of the parameter data to be detected.
A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of:
when a write request for a block chain is received, acquiring a method function for executing the write request;
when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, analyzing a predefined sensitive detection part and a predefined sensitive detection condition from the sensitive word detection annotation;
searching the components belonging to the sensitive detection part from the components included in the writing request, and extracting parameter data included in the searched components; screening parameter data to be detected needing sensitive word detection from the parameter data according to the sensitive detection condition;
and performing sensitive word detection processing on the parameter data to be detected.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of:
when a write request for a block chain is received, acquiring a method function for executing the write request;
when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, analyzing a predefined sensitive detection part and a predefined sensitive detection condition from the sensitive word detection annotation;
searching the components belonging to the sensitive detection part from the components included in the writing request, and extracting parameter data included in the searched components; screening parameter data to be detected needing sensitive word detection from the parameter data according to the sensitive detection condition;
and performing sensitive word detection processing on the parameter data to be detected.
According to the sensitive word detection method and device based on the block chain, when a write request aiming at the block chain is received, detection control is carried out on the aspect of a method function for executing the write request, and when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, sensitive word detection processing needs to be carried out on the write request. And then, extracting the parameter data positioned in the sensitive detection part in the writing request, dynamically screening the parameter data to be detected needing sensitive word detection in a fine-grained manner according to the sensitive detection condition, and further carrying out sensitive word detection processing on the parameter data to be detected. Equivalently, the control on the detection of the sensitive words can be realized only by adding the sensitive word detection annotation aiming at the method function, and compared with the traditional method which needs to add detection points by carrying out complex code coding aiming at more input entries, the intrusiveness on the system is reduced, so that the performance of the system is improved. In addition, the sensitive detection part and the sensitive detection condition in the sensitive word detection annotation can screen the parameter data to be detected, which needs to be subjected to sensitive word detection, in a fine-grained manner, so that the pertinence of the sensitive word detection is improved, and the safety is improved.
Drawings
FIG. 1 is a diagram illustrating an exemplary implementation of a block chain-based sensitive word detection method;
FIG. 2 is a flowchart illustrating a block chain-based sensitive word detection method according to an embodiment;
FIG. 3 is a block chain-based sensitive word detection method according to an embodiment;
FIG. 4 is a simplified diagram illustrating a process flow of a block chain-based sensitive word detection method in one embodiment;
FIG. 5 is a block diagram of an embodiment of a sensitive word detection apparatus based on a blockchain;
FIG. 6 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The block chain-based sensitive word detection method provided by the application can be applied to the application environment shown in fig. 1. Wherein the server 120 communicates with the terminal 110 and the blockchain 130, respectively, via a network. Blockchain 130 includes a plurality of blockchain nodes therein. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
The terminal 110 may send a write request for the blockchain to the server 120, and when the server 120 receives the write request for the blockchain, the server 120 obtains a method function for executing the write request; when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, analyzing a predefined sensitive detection part and a predefined sensitive detection condition from the sensitive word detection annotation; searching the components belonging to the sensitive detection part from the components included in the writing request, and extracting parameter data included in the searched components; screening parameter data to be detected needing sensitive word detection from the parameter data according to the sensitive detection condition; and performing sensitive word detection processing on the parameter data to be detected. It is understood that when the server 120 detects that there is no sensitive word in the parameter data to be detected, the write request may be executed to write the data corresponding to the write request into the blockchain 130. When a presence-sensitive word is detected, then the write request may not be responded to.
In one embodiment, as shown in fig. 2, a block chain-based sensitive word detection method is provided, which is described by taking the method as an example applied to a computer device, which may be described by taking the server 120 in fig. 1 as an example, and includes the following steps:
s202, when a write request aiming at the block chain is received, a method function for executing the write request is obtained.
The block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using a cryptographic method, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
The write request for the blockchain is a request for writing content to the blockchain, that is, a request for changing the content of the blockchain. The method function for executing the write request refers to a method function which needs to be called for executing the write request.
It will be appreciated that the computer device, when executing a request, will need to call the corresponding method function to handle the processing of the request. Therefore, the computer device may obtain the method function that needs to be called to perform the write request.
In one embodiment, the write request for the blockchain includes at least one of an uplink request sent by the application layer through an interface calling a blockchain gateway layer and an input request carrying content input by a user for the blockchain.
In one embodiment, step S202 includes: when detecting an uplink request sent by an application layer through an interface of a calling block chain gateway layer, or when detecting an input request carrying content input by a user for a block chain, acquiring a method function for executing the uplink request or the input request.
It is to be appreciated that a write request for a blockchain can come from at least one aspect or pass.
In one embodiment, a user may input content to the blockchain through an interface provided by the terminal to generate an input request to send to the computer device. The input request carries the content input by the user for the block chain. In another embodiment, the application layer may request to uplink content on the blockchain by calling an interface provided by the blockchain gateway layer to generate an uplink request for the blockchain. And the block chain gateway layer is used for realizing the network communication between the block chain and the outside. The uplink request refers to uplink of the content in the blockchain, i.e., writing the content onto the blockchain. It is understood that the uplink request also belongs to a write request for a block chain.
S204, when a sensitive word detection annotation is added at the preset position of the hierarchy to which the method function belongs, a predefined sensitive detection part and a predefined sensitive detection condition are analyzed from the sensitive word detection annotation.
The sensitive word detection annotation is the marking information for representing the sensitive word detection processing.
The hierarchy to which the method function depends may be a hierarchy of the method function to which the method function directly depends, or a class hierarchy to which the method function indirectly depends. It is to be understood that the class level is the level above the level of the method function, which is equivalent to being indirectly subordinate to the class level.
It is understood that when a sensitive word detection annotation is added at a preset position of the hierarchy to which the method function belongs, it indicates that sensitive word detection processing is required for the write request executed by the method function. When no sensitive word detection annotation is added at a preset position of the hierarchy to which the method function belongs, it indicates that sensitive word detection processing is not required for the write request executed by the method function.
In one embodiment, sensitive word detection annotations may be added at the recipe function level. That is, whether to add a sensitive word detection annotation thereto is determined in advance with the method function as the granularity. Then, the added sensitive word detection annotation belongs to a local sensitive word detection annotation (e.g., @ sensitive word writer, which may be a local sensitive word annotation). I.e. whether sensitive word detection is required is controlled from the part of the method function hierarchy.
It will be appreciated that in this case, it is necessary to add a corresponding sensitive word detection annotation separately for each method function that requires sensitive word detection processing. For example, in the method functions 1 to 3, when the sensitive word detection processing needs to be performed on the write requests executed by the method functions 1 and 2, but the sensitive word detection processing does not need to be performed on the write request executed by the method function 3, a sensitive word detection annotation needs to be added at a preset position of the hierarchy to which the method function 1 belongs, a sensitive word detection annotation needs to be added at a preset position of the hierarchy to which the method function 2 belongs, and then no sensitive word detection annotation needs to be added at a preset position of the hierarchy to which the method function 3 belongs.
In another embodiment, sensitive word detection annotations may also be added at the class level. Class, is the upper level of the method function. I.e., at class granularity, it is determined whether to add sensitive word detection annotations. Then, the sensitive word detection annotation belongs to a global sensitive word detection annotation (e.g., @ enablesensivewordchecker, which may be a global sensitive word annotation). I.e. from the global level of class, whether sensitive word detection is required.
It is understood that in this case, if a sensitive word detection annotation is added at a preset position of a class hierarchy, it indicates that sensitive word detection processing is required for write requests executed by all method functions belonging to the class hierarchy. For example, the method functions 1 to 3 belong to the same method function under the class a, and if a sensitive word detection annotation is added to the class a, it indicates that sensitive word detection processing needs to be performed on all the write requests executed by the method functions 1 to 3.
It is to be understood that adding a sensitive word detection annotation to a method function may be implemented by adding a sensitive word detection annotation to the method function itself (i.e., adding a sensitive word detection annotation at a preset position of a method function hierarchy) or adding a sensitive word detection annotation to a class to which the method function belongs (i.e., adding a sensitive word detection annotation at a preset position of a class hierarchy). It should be noted that the granularity of adding the sensitive word detection annotation at the preset position of the method function level is more detailed than that of adding the sensitive word detection annotation at the preset position of the class level, so that the sensitive word detection processing can be controlled more accurately.
Therefore, the computer device may detect whether a sensitive word detection annotation is added at a first preset position of a class hierarchy to which the method function belongs, or whether a sensitive word detection annotation is added at a second preset position of a method function hierarchy to which the method function belongs, and when a sensitive word detection annotation is added at the first preset position or the second preset position, it indicates that the method function has a corresponding sensitive word detection annotation, and further, a predefined sensitive detection part and a sensitive detection condition may be parsed from the sensitive word detection annotation.
It will be appreciated that the sensitive word detection annotation includes a predefined sensitive detection portion and a sensitive detection condition. The computer device may parse the predefined sensitive detection portion and the sensitive detection condition from the added sensitive word detection annotation.
The sensitive detection part refers to a part which is predefined from the components included in the write request and needs to be subjected to sensitive word detection. And the sensitive detection condition is used for screening the parameter data to be detected which needs to be subjected to the sensitive word detection processing from the parameter data in the sensitive detection part. The sensitive detection condition is at least one item.
It will be appreciated that the write request includes a plurality of components, each of which includes a plurality of parameter data, and the sensitive detection portion may be predefined by the sensitive word detection annotation.
In one embodiment, the parameter data of the write request includes four components: request header (requestheader), request body (requestbody), request scope (requestparameter), and parameter data on the method function. Therefore, all or part of the constituent parts can be designated in advance as the sensitive detection section by the sensitive word detection annotation. For example, if it is specified that only parameter data in the request body part is checked, the sensitive word detection annotation may be: @ sensivewordchecker (requestParts ═ request. body }), that is, the part of "request header" specified in the sensitive word detection annotation is the sensitive detection part.
S206, searching the components belonging to the sensitive detection part from the components included in the writing request, and extracting the parameter data included in the searched components.
It is understood that at least one piece of parameter data is included in the sensitive detection portion. The computer device may locate the specified sensitive detection portion from the write request and extract the parameter data from the sensitive detection portion.
Also in connection with the above example, assuming that the component "request header" is specified in the sensitive word detection annotation as the sensitive detection portion, then the parameter data located in the component "request header" of the write request can be extracted.
And S208, screening the parameter data to be detected which needs to be subjected to the sensitive word detection from the parameter data according to the sensitive detection condition.
The parameter data to be detected is the determined parameter data to be subjected to sensitive word detection processing.
Specifically, the computer device may match the extracted parameter data with the sensitive detection conditions, and filter out the to-be-detected parameter data that needs to be subjected to the sensitive word detection from the extracted parameter data according to the matching result.
In one embodiment, the sensitive detection condition may comprise at least one of a parametric data screening condition and a parametric data exclusion condition. Step S208 includes: when the extracted parameter data accord with the parameter data screening condition, judging that the parameter data are to-be-detected parameter data needing sensitive word detection; and/or when the extracted parameter data meets the parameter data exclusion condition, judging that the parameter data is non-detection parameter data which does not need to be subjected to sensitive word detection; and acquiring parameter data remaining after the non-detection parameter data are filtered from the extracted parameter data to obtain parameter data to be detected.
The parameter data screening condition is used for screening parameter data to be detected which needs to be subjected to sensitive word detection. And the parameter data exclusion condition is used for excluding the parameter data which does not need to be subjected to sensitive word detection. The non-detection parameter data is parameter data that does not require detection of sensitive words.
In particular, the computer device may match the extracted parameter data with parameter data screening conditions and/or parameter data exclusion conditions. The computer equipment can obtain the parameter data which accords with the parameter data screening condition, and/or obtain the parameter data which is left after filtering the non-detection parameter data which accords with the parameter data exclusion condition, so as to obtain the parameter data to be detected. That is, the parameter data to be detected may include parameter data that meets the parameter data screening condition, and/or parameter data remaining after non-detection parameter data that meets the parameter data exclusion condition is filtered out from the extracted parameter data.
In one embodiment, the parameter data screening condition may be a conditional expression (i.e., include expression). It can be understood that the parameter data conforming to the conditional expression is the parameter data to be detected. The parameter data excludes the condition, and may be a condition expression not included (i.e., an excclose condition expression). It is understood that the parameter data that does not include the conditional expression is the non-detection parameter data that needs to be excluded.
In one embodiment, the conditional expressions included and not included may be in Spring EL format.
For ease of understanding, this is now exemplified. Assuming that the component of the "request header" is designated as a sensitive detection portion in the sensitive word detection annotation, and 5 pieces of extracted parameter data are located in the component of the "request header" of the write request, then the 5 pieces of parameter data can be respectively matched with each sensitive detection condition. For example, the 5 pieces of parameter data may be matched with the conditional expressions and/or the non-conditional expressions, respectively. 3 pieces of parameter data can be screened out as parameter data to be detected. Step S210 may be performed on the 3 screened parameter data to be detected, respectively, to detect whether there is a sensitive word in the 3 parameter data to be detected.
And S210, sensitive word detection processing is carried out on the parameter data to be detected.
In particular, the computer device may load a sensitive word repository into a tree graph (TreeMap) and build a sensitive word AC (Aho-cordicik) state machine tree. The computer device may perform word segmentation processing on the parameter data to be detected through a word segmentation tool (e.g., nlp tool), so as to obtain a character string after word segmentation. Further, the computer device may perform redundancy removal processing on the character string after word segmentation (for example, removing repeated words or unnecessary language words), and splice the character string after redundancy removal processing to generate a final character string to be detected. The computer equipment can perform matching query on the final character string to be detected in the constructed sensitive word AC state machine tree, if the final character string to be detected is matched with the constructed sensitive word AC state machine tree, the existence of the sensitive word in the parameter data to be detected is judged, and if the final character string to be detected is not matched with the constructed sensitive word AC state machine tree, the absence of the sensitive word in the parameter data to be detected is judged.
For example, the character string after redundancy removal processing is "you" \ n "good" \ p, "this is" \ne, "good" \ p, "movie" \\ na, "which is spliced to generate the final character string to be detected (e.g" you "," good "," this "," good "," movie ").
In one embodiment, the sensitive thesaurus may be updated with an upgrade. Specifically, a crawler may be used to crawl a public sensitive thesaurus website or crawl a sensitive thesaurus on an open source platform (for example, gitHub, which is an open source and private software project oriented hosting platform, and since it only supports git as a unique version library format for hosting, the name gitHub). When the newly added content exists in the crawled sensitive word stock, whether the newly added content exists in the local existing sensitive word stock or not can be judged, and if not, the newly added content is added to the local existing sensitive word stock in an incremental mode.
In one embodiment, the sensitive word bank can be updated in a manner of manually labeling the sensitive words. Specifically, an operation interface for manually adding and querying a word stock can be provided, and a user can manually correct, add or delete the sensitive words in the local sensitive word stock based on the operation interface.
Further, when the sensitive word is detected in the sensitive word detection processing process of the parameter data to be detected, the write request is interrupted. It will be appreciated that the computer device may also generate a modification prompt to indicate that the data content of the to-be-written blockchain carried in the write request is to be modified.
According to the sensitive word detection method based on the block chain, when a write request aiming at the block chain is received, detection control is carried out on the aspect of a method function for executing the write request, and when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, sensitive word detection processing needs to be carried out on the write request. And then, extracting the parameter data positioned in the sensitive detection part in the writing request, dynamically screening the parameter data to be detected needing sensitive word detection in a fine-grained manner according to the sensitive detection condition, and further carrying out sensitive word detection processing on the parameter data to be detected. Equivalently, the control on the detection of the sensitive words can be realized only by adding the sensitive word detection annotation aiming at the method function, and compared with the traditional method which needs to add detection points by carrying out complex code coding aiming at more input entries, the intrusiveness on the system is reduced, so that the performance of the system is improved.
In addition, the traditional method needs to add detection points by performing complex code coding on more input entries, which also results in higher cost.
In addition, the sensitive detection part and the sensitive detection condition in the sensitive word detection annotation can screen the parameter data to be detected, which needs to be subjected to sensitive word detection, in a fine-grained manner, so that the pertinence of sensitive word detection is improved, the sensitive words can be detected more flexibly and accurately, and the safety is improved.
In one embodiment, the method further comprises: detecting whether a sensitive word detection annotation is added to a first preset position of a class level to which the method function belongs; when the sensitive word detection annotation is added to the first preset position, judging that the sensitive word detection annotation is added to the preset position of the hierarchy to which the method function belongs.
Specifically, the computer device may locate an entry of a class hierarchy to which the method function belongs from the service code, detect whether a sensitive word detection annotation is added at the entry of the class hierarchy, and if so, determine that the sensitive word detection annotation is added at a preset position of the hierarchy to which the method function belongs.
It can be understood that when no sensitive word detection annotation is added at the first preset position, it may be directly determined that sensitive word detection is not required for the write request, or further, the method function may be detected from the method function level to which the method function belongs, that is, the method function itself is detected, so as to further determine whether a sensitive word detection annotation is added at the preset position of the level to which the method function belongs (that is, whether sensitive word detection is required for the write request is further determined).
In the above embodiment, the granularity of sensitive word detection is controlled from the class hierarchy, and sensitive word detection annotations can be added through the class hierarchy, so that sensitive word detection control on all method functions belonging to the class hierarchy is uniformly realized, and the control efficiency of sensitive word detection is improved.
In one embodiment, the method further comprises: when no sensitive word detection annotation is added at the first preset position, acquiring a code of the method function; searching a sensitive detection mark character from a second preset position in the code; when the sensitive detection marker character is found, judging that a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, and acquiring data marked by the sensitive detection marker character to obtain the sensitive word detection annotation.
The sensitive detection mark character is a guide character of the sensitive word detection annotation and is used for marking and explaining the existence of the sensitive word detection annotation. That is, when there is a sensitive detection marker character in the code of the method function, it indicates that a sensitive word detection annotation is set in the code of the method function. The sensitive detection mark character refers to a predefined sensitive detection mark character.
In particular, when no sensitive word detection annotation is added at the first preset position, the computer device may extract the code of the method function from the service code. The code of the method function is contained in the service code. Further, the computer device may look up the specified sensitive detection marker character from the code of the method function. And when the sensitive detection marker character is found, acquiring the data marked by the sensitive detection marker character to obtain a sensitive word detection annotation. Corresponding to the further sensitive word detection control from the method function hierarchy.
For example, @ sensivewordchecker (requestParts ═ request. body }), where @ sensivewordchecker is the sensitive detection marker character, and requestParts ═ request. body }, which is the specific content of the sensitive word detection annotation marked by the sensitive detection marker character.
In the embodiment, the second-level control of sensitive word detection is realized, namely, the sensitive word detection is further controlled from the function level of the method besides the class level, so that the sensitive word detection is controlled more finely. Thereby improving the safety.
In one embodiment, before parsing the predefined sensitivity detection portion and the sensitivity detection condition from the sensitivity word detection annotation, the method further comprises: analyzing preset detection limiting conditions carried in the sensitive word detection annotation; judging whether the parameter data carried by the write request meets the preset detection limit condition or not; when the preset detection limit condition is not met, the step of parsing the pre-defined sensitive detection part and the sensitive detection condition from the sensitive word detection annotation included in the step S204 is performed again.
The preset detection limiting condition is a condition for free sensitive word detection preset in the sensitive word detection annotation. That is, if the parameter data carried in the write request meets the preset detection limit condition, it indicates that the write request does not need to perform sensitive word detection processing.
Specifically, the computer device may analyze the sensitive word detection annotation, obtain a preset detection limiting condition carried in the sensitive word detection annotation, match the parameter data carried in the write request with the preset detection limiting condition, and if the parameter data does not meet the preset detection limiting condition, indicate that the write request does not meet the condition of exempting from sensitive word detection, then execute the sensitive word detection annotation included in step S204, analyze a predefined sensitive detection part and sensitive detection condition, and perform subsequent steps, so as to perform sensitive word detection processing on the write request.
It can be understood that, when the preset detection limit condition is met, the sensitive word detection processing is not executed on the write request, but the method function corresponding to the write request is directly called to execute the write request, so as to write the data content carried by the write request into the block chain.
For example, if the sensitive word detection comment is @ sensitive wordchecker (condition ═ user. token ═ 123"), the preset detection limit condition is" user. And if the token is included in the parameter data carried in the write request, the token is in accordance with the preset detection limiting condition, and the sensitive word detection processing is not performed on the write request. If the token 123 is not included in the parameter data carried in the write request, it indicates that the token does not meet the preset detection limit condition, and the processing of sensitive word detection cannot be avoided, then the sensitive detection part and the sensitive detection condition specified for the write request and subsequent steps need to be analyzed from the sensitive word detection annotation in step S204.
In the above embodiment, whether to perform sensitive word detection processing on the write request is determined by judging whether parameter data carried by the write request meets the preset detection limiting condition or not in the preset detection limiting condition carried by the sensitive word detection annotation, so that the sensitive word detection processing can be performed more flexibly in combination with the condition of the write request itself, and the problems of inaccuracy and over-absolute caused by the fact that sensitive word detection processing must be performed on the write request corresponding to the method function carrying the sensitive word detection annotation are avoided. Furthermore, the waste of unnecessary detection resources can be avoided while ensuring the security.
In one embodiment, the designated sensitive detection portion is plural. The method further comprises the following steps: acquiring a detection priority set for the sensitive detection part from the sensitive word detection annotation; according to the detection priority, sequentially aiming at each sensitive detection part, executing the steps of extracting the parameter data positioned in the sensitive detection part in the write request and the subsequent steps; and when detecting that the parameter data in the sensitive detection part currently processed has the sensitive word, stopping processing the sensitive detection part with the next detection priority, judging that the write request is a sensitive request, and not responding to the write request.
It is understood that the designated sensitive detection portion is plural. The sensitive word detection annotation is also provided with a detection priority strategy. The detection priority policy is used for indicating the detection priority set for the specified sensitive detection part. For example, 3 parts of a request header (request header), a request body (request body), and a request range (request parameter) are designated as the sensitivity detection part. Then the detection priority policy may be configured to indicate the detection priority for the 3 parts, i.e. to determine the detection precedence for the 3 sensitive detection parts.
Specifically, the computer device may execute, according to the detection priority, the extraction of the parameter data located in the sensitive detection portion in the write request in step S206 and the subsequent sensitive word detection processing in steps S208 to S210 for each sensitive detection portion in sequence. And when detecting that the parameter data in the sensitive detection part currently processed has the sensitive word, stopping processing the sensitive detection part with the next detection priority, and judging that the write request is a sensitive request. When detecting that the parameter data in the currently processed sensitive detection part does not have the sensitive word, extracting the parameter data of the sensitive detection part at the next detection priority, and continuing to execute the steps S208-S210. And repeating the steps until the parameter data of the sensitive words are detected or all the detection parts are processed.
For example, request parts ═ request. Then, if the sensitive word is detected to exist in the parameter data of the request body, stopping not searching the parameter data in the next detection priority request. And if the sensitive word is detected not to exist in the parameter data of the request body, continuing to detect the sensitive word from the request header.
In the above embodiment, the detection priority for the sensitive detection part is set in the sensitive word detection annotation; according to the detection priority, sequentially aiming at each sensitive detection part, executing the steps of extracting the parameter data positioned in the sensitive detection part in the write request and the subsequent steps; and when detecting that the parameter data in the sensitive detection part currently processed has the sensitive word, stopping processing the sensitive detection part with the next detection priority, and judging that the write request is a sensitive request. Therefore, waste of system resources caused by processing all sensitive detection parts is avoided. In addition, by appointing a plurality of sensitive detection parts, the method can also improve the multifacetability and accuracy of sensitive word detection, and avoid the condition that the sensitive word is not detected by a single sensitive detection part. Thereby improving safety.
Fig. 3 is a schematic diagram illustrating an architecture of a block chain-based sensitive word detection method according to an embodiment. Referring to fig. 3, a user may input content for a blockchain, generate an input request through a background console, and send the input request to a sensitive word detection service. Or, the application system sends the uplink request for the blockchain to the sensitive word detection service by calling the blockchain gateway layer service. The sensitive word detection service is a service for implementing the block chain-based sensitive word detection method in the embodiments of the present application. The sensitive word detection service is arranged in computer equipment in the embodiments of the application. That is, the sensitive word detection service has functions of a word detection service (i.e., a service function related to a sensitive word detection process) and a thesaurus update service. It can be understood that the sensitive word detection service can update the word stock through two ways. One is to automatically crawl sensitive words from an open source sensitive word stock or a public website, and the other is to inquire, add and delete the sensitive words in the sensitive word stock in a mode of manually marking the word stock.
FIG. 4 is a simplified diagram of a process flow for a block chain-based sensitive word detection method in one embodiment. Referring to fig. 4, a sensitive word detection toolkit (i.e., sdk) is introduced into the service code. Adding a sensitive word detection annotation @ sensiveWordChecker to a first preset position (namely, an interface) on a class level to which a method function to be detected belongs or a method function layer to which the method function belongs and a second preset position. The computer equipment can judge whether the parameter data in the write request meets the preset detection limit condition through the sensitive word detection service, and if so, the operation is finished. If not, the sensitive word detection service sequentially extracts the parameter data in the current sensitive detection part according to the detection priority set in the sensitive word detection annotation. The computer equipment can analyze each extracted parameter data through the sensitive word detection service, and screen out the parameter data which are finally required to be subjected to sensitive word detection according to the condition expressions and the condition expressions which are not included in the annotation. And then calling a sensitive word detection method to perform sensitive word detection processing on the screened parameter data.
As shown in fig. 5, there is provided a block chain-based sensitive word detection apparatus 500, where the apparatus 500 includes: a parsing module 502, an extraction module 504, and a detection module 506, wherein:
a parsing module 502, configured to, when a write request for a block chain is received, obtain a method function for executing the write request; when a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, a sensitive detection part and a sensitive detection condition which are defined in advance are analyzed from the sensitive word detection annotation.
An extracting module 504, configured to search for a component belonging to the sensitive detection portion from the components included in the write request, and extract parameter data included in the searched component.
The detection module 506 is configured to screen parameter data to be detected, which needs to be subjected to sensitive word detection, from the parameter data according to the sensitive detection condition; and the method is used for detecting the sensitive words of the parameter data to be detected.
In one embodiment, the parsing module 502 is further configured to, when detecting an uplink request sent by an application layer through an interface of a calling blockchain gateway layer or when detecting an input request carrying content input by a user for a blockchain, obtain a method function for executing the uplink request or the input request.
In one embodiment, the parsing module 502 is further configured to detect whether a sensitive word detection annotation is added to a first preset position of a class hierarchy to which the method function belongs; and when the sensitive word detection annotation is added to the first preset position, judging that the sensitive word detection annotation is added to the preset position of the hierarchy to which the method function belongs.
In one embodiment, the parsing module 502 is further configured to, when no sensitive word detection annotation is added to the first preset position, obtain a code of the method function; searching a sensitive detection mark character from a second preset position in the code; when the sensitive detection marker character is found, judging that a sensitive word detection annotation is added at a preset position of a hierarchy to which the method function belongs, and acquiring data marked by the sensitive detection marker character to obtain the sensitive word detection annotation.
In an embodiment, the parsing module 502 is further configured to determine whether parameter data carried by the write request meets the preset detection limit condition; and when the preset detection limit condition is not met, the step of analyzing the pre-defined sensitive detection part and the sensitive detection condition from the sensitive word detection annotation is executed.
In one embodiment, the sensitive detection condition comprises at least one of a parametric data screening condition and a parametric data exclusion condition. The extracted parameter data is plural. The detection module 506 is further configured to determine that the parameter data is to-be-detected parameter data that needs to be subjected to sensitive word detection when the extracted parameter data meets the parameter data screening condition; and/or when the extracted parameter data meets the parameter data exclusion condition, judging that the parameter data is non-detection parameter data which does not need to be subjected to sensitive word detection; and acquiring parameter data remaining after the non-detection parameter data are filtered from the extracted parameter data to obtain parameter data to be detected.
In one embodiment, the designated sensitive detection portion is plural. The extraction module 504 is further configured to obtain, from the sensitive word detection annotation, a detection priority set for the sensitive detection portion; according to the detection priority, sequentially aiming at each sensitive detection part, the parameter data positioned in the sensitive detection part in the write request is extracted, and the detection module 506 is informed to perform subsequent processing; the extracting module 504 is further configured to stop processing the sensitive detection portion with the next detection priority when it is detected that there is a sensitive word in the parameter data in the sensitive detection portion currently processed, and determine that the write request is a sensitive request and does not respond to the write request.
For specific limitations of the block chain-based sensitive word detection apparatus, reference may be made to the above limitations of the block chain-based sensitive word detection method, and details are not repeated here. The modules in the block chain-based sensitive word detection device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be the server 120 in fig. 1, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a block chain based sensitive word detection method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, the memory storing a computer program, which when executed by the processor, causes the processor to perform the steps of the above block chain based sensitive word detection method. Here, the steps of the block chain-based sensitive word detection method may be steps in the block chain-based sensitive word detection methods of the various embodiments described above.
In one embodiment, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, causes the processor to carry out the steps of the above-mentioned block chain-based sensitive word detection method. Here, the steps of the block chain-based sensitive word detection method may be steps in the block chain-based sensitive word detection methods of the various embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911314199.4A CN111191443A (en) | 2019-12-19 | 2019-12-19 | Sensitive word detection method and device based on block chain, computer equipment and storage medium |
PCT/CN2020/105055 WO2021120628A1 (en) | 2019-12-19 | 2020-07-28 | Blockchain-based sensitive word detection method and apparatus, computer device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911314199.4A CN111191443A (en) | 2019-12-19 | 2019-12-19 | Sensitive word detection method and device based on block chain, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111191443A true CN111191443A (en) | 2020-05-22 |
Family
ID=70707359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911314199.4A Pending CN111191443A (en) | 2019-12-19 | 2019-12-19 | Sensitive word detection method and device based on block chain, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111191443A (en) |
WO (1) | WO2021120628A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112016317A (en) * | 2020-09-07 | 2020-12-01 | 平安科技(深圳)有限公司 | Sensitive word recognition method and device based on artificial intelligence and computer equipment |
WO2021120628A1 (en) * | 2019-12-19 | 2021-06-24 | 深圳壹账通智能科技有限公司 | Blockchain-based sensitive word detection method and apparatus, computer device and computer-readable storage medium |
CN113157904A (en) * | 2021-03-30 | 2021-07-23 | 北京优医达智慧健康科技有限公司 | Sensitive word filtering method and system based on DFA algorithm |
CN114297704A (en) * | 2021-12-23 | 2022-04-08 | 中国电信股份有限公司 | Data desensitization method and device, storage medium and electronic equipment |
WO2022110407A1 (en) * | 2020-11-24 | 2022-06-02 | 杭州趣链科技有限公司 | Uplink request processing method and apparatus, and blockchain node device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050038788A1 (en) * | 2003-08-14 | 2005-02-17 | International Business Machines Corporation | Annotation security to prevent the divulgence of sensitive information |
CN1782992A (en) * | 2004-12-02 | 2006-06-07 | 国际商业机器公司 | Method and apparatus for incrementally processing program annotations |
US20130117830A1 (en) * | 2011-11-07 | 2013-05-09 | International Business Machines Corporation | Managing the progressive legible obfuscation and de-obfuscation of public and quasi-public broadcast messages |
US20130160133A1 (en) * | 2011-12-15 | 2013-06-20 | Microsoft Corporation | Code Base Partitioning System |
CN108170468A (en) * | 2017-12-28 | 2018-06-15 | 中山大学 | The method and its system of a kind of automatic detection annotation and code consistency |
CN108519970A (en) * | 2018-02-06 | 2018-09-11 | 平安科技(深圳)有限公司 | The identification method of sensitive information, electronic device and readable storage medium storing program for executing in text |
CN109492118A (en) * | 2018-10-31 | 2019-03-19 | 北京奇艺世纪科技有限公司 | A kind of data detection method and detection device |
CN109543084A (en) * | 2018-11-09 | 2019-03-29 | 西安交通大学 | A method of establishing the detection model of the hidden sensitive text of network-oriented social media |
US20190171846A1 (en) * | 2017-12-04 | 2019-06-06 | ShiftLeft Inc | System and method for code-based protection of sensitive data |
CN110472012A (en) * | 2019-07-19 | 2019-11-19 | 深圳市中农易讯信息技术有限公司 | A kind of block chain sensitivity word treatment method, device, storage medium and equipment |
CN110506271A (en) * | 2017-03-23 | 2019-11-26 | 微软技术许可有限责任公司 | For the configurable annotation of privacy-sensitive user content |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11362806B2 (en) * | 2018-03-30 | 2022-06-14 | Walmart Apollo, Llc | System and methods for recording codes in a distributed environment |
CN109033855B (en) * | 2018-07-18 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Data transmission method and device based on block chain and storage medium |
CN109726590A (en) * | 2018-12-24 | 2019-05-07 | 平安普惠企业管理有限公司 | System log desensitization method, desensitization system, computer equipment and storage medium |
CN110119428B (en) * | 2019-04-19 | 2023-05-12 | 腾讯科技(深圳)有限公司 | Block chain information management method, device, equipment and storage medium |
CN110457957B (en) * | 2019-08-22 | 2024-04-12 | 腾讯科技(深圳)有限公司 | Information processing method and device of electronic bill, electronic equipment and medium |
CN111191443A (en) * | 2019-12-19 | 2020-05-22 | 深圳壹账通智能科技有限公司 | Sensitive word detection method and device based on block chain, computer equipment and storage medium |
-
2019
- 2019-12-19 CN CN201911314199.4A patent/CN111191443A/en active Pending
-
2020
- 2020-07-28 WO PCT/CN2020/105055 patent/WO2021120628A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050038788A1 (en) * | 2003-08-14 | 2005-02-17 | International Business Machines Corporation | Annotation security to prevent the divulgence of sensitive information |
CN1782992A (en) * | 2004-12-02 | 2006-06-07 | 国际商业机器公司 | Method and apparatus for incrementally processing program annotations |
US20130117830A1 (en) * | 2011-11-07 | 2013-05-09 | International Business Machines Corporation | Managing the progressive legible obfuscation and de-obfuscation of public and quasi-public broadcast messages |
US20130160133A1 (en) * | 2011-12-15 | 2013-06-20 | Microsoft Corporation | Code Base Partitioning System |
CN110506271A (en) * | 2017-03-23 | 2019-11-26 | 微软技术许可有限责任公司 | For the configurable annotation of privacy-sensitive user content |
US20190171846A1 (en) * | 2017-12-04 | 2019-06-06 | ShiftLeft Inc | System and method for code-based protection of sensitive data |
CN108170468A (en) * | 2017-12-28 | 2018-06-15 | 中山大学 | The method and its system of a kind of automatic detection annotation and code consistency |
CN108519970A (en) * | 2018-02-06 | 2018-09-11 | 平安科技(深圳)有限公司 | The identification method of sensitive information, electronic device and readable storage medium storing program for executing in text |
CN109492118A (en) * | 2018-10-31 | 2019-03-19 | 北京奇艺世纪科技有限公司 | A kind of data detection method and detection device |
CN109543084A (en) * | 2018-11-09 | 2019-03-29 | 西安交通大学 | A method of establishing the detection model of the hidden sensitive text of network-oriented social media |
CN110472012A (en) * | 2019-07-19 | 2019-11-19 | 深圳市中农易讯信息技术有限公司 | A kind of block chain sensitivity word treatment method, device, storage medium and equipment |
Non-Patent Citations (2)
Title |
---|
白家驹;刘虎球;王屏;: "一种内核模块的指针错误隔离方法", 小型微型计算机系统, no. 05, 15 May 2015 (2015-05-15) * |
薛朋强;鲜英;努尔布力;吾守尔・斯拉木;: "面向维吾尔文的敏感信息过滤方法研究", 计算机工程与应用, no. 05, 13 March 2017 (2017-03-13) * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021120628A1 (en) * | 2019-12-19 | 2021-06-24 | 深圳壹账通智能科技有限公司 | Blockchain-based sensitive word detection method and apparatus, computer device and computer-readable storage medium |
CN112016317A (en) * | 2020-09-07 | 2020-12-01 | 平安科技(深圳)有限公司 | Sensitive word recognition method and device based on artificial intelligence and computer equipment |
CN112016317B (en) * | 2020-09-07 | 2024-12-31 | 平安科技(深圳)有限公司 | Sensitive word recognition method, device and computer equipment based on artificial intelligence |
WO2022110407A1 (en) * | 2020-11-24 | 2022-06-02 | 杭州趣链科技有限公司 | Uplink request processing method and apparatus, and blockchain node device |
CN113157904A (en) * | 2021-03-30 | 2021-07-23 | 北京优医达智慧健康科技有限公司 | Sensitive word filtering method and system based on DFA algorithm |
CN113157904B (en) * | 2021-03-30 | 2024-02-09 | 北京优医达智慧健康科技有限公司 | Sensitive word filtering method and system based on DFA algorithm |
CN114297704A (en) * | 2021-12-23 | 2022-04-08 | 中国电信股份有限公司 | Data desensitization method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2021120628A1 (en) | 2021-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111191443A (en) | Sensitive word detection method and device based on block chain, computer equipment and storage medium | |
CN106843840B (en) | Source code version evolution annotation multiplexing method based on similarity analysis | |
CN113297622B (en) | Log desensitization method, system, electronic device and storage medium | |
CN110188568B (en) | Confidential information identification method, apparatus, device and computer readable storage medium | |
CN110134397A (en) | Code segment translation method, device, computer equipment and storage medium | |
CN110659297A (en) | Data processing method, data processing device, computer equipment and storage medium | |
CN113961768B (en) | Sensitive word detection method and device, computer equipment and storage medium | |
CN110647329A (en) | Code obfuscation method, apparatus, computer device and storage medium | |
CN112559526A (en) | Data table export method and device, computer equipment and storage medium | |
CN111752819B (en) | Abnormal monitoring method, device, system, equipment and storage medium | |
CN117435480A (en) | Binary file detection method and device, electronic equipment and storage medium | |
CN114116268A (en) | Method and device for checking Flink SQL statement, computer equipment and storage medium | |
CN113821251A (en) | Code optimization method, device, equipment and storage medium based on artificial intelligence | |
CN115033892A (en) | Component vulnerability analysis method and device, electronic equipment and storage medium | |
CN113778852A (en) | Code analysis method based on regular expression | |
CN115374849A (en) | Enterprise related patent retrieval method, device, equipment and medium | |
CN111324375A (en) | Code management method and device, computer equipment and storage medium | |
CN111125748A (en) | Judgment method and device for unauthorized query, computer equipment and storage medium | |
CN113297583B (en) | Vulnerability risk analysis method, device, equipment and storage medium | |
CN113051329B (en) | Data acquisition method, device, equipment and storage medium based on interface | |
CN114218188A (en) | Data migration method, device, device and storage medium | |
CN110866007B (en) | Information management method, system and computer equipment for big data application and table | |
CN116450745B (en) | Multi-device-based note file operation method, system and readable storage medium | |
CN111191235A (en) | Suspicious file analysis method and device and computer readable storage medium | |
CN116933316A (en) | Method and device for analyzing consistency of intelligent terminal application sensitive behavior and privacy policy |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200522 |