A desensitization target file information switching method, device, system and storage medium

By collecting plaintext values ​​of keywords in the de-identified target file and converting them into index values, the problem of developers and testers being unable to accurately locate key values ​​is solved, enabling free switching between de-identified data and plaintext display, thus improving work efficiency.

CN115098874BActive Publication Date: 2025-11-25PING AN BANK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210743767.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2025-11-25
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In existing technologies, development and testing personnel cannot accurately locate key values ​​when viewing anonymized logs, making it difficult to troubleshoot production issues and affecting work efficiency.

Method used

By acquiring message requests, the plaintext values ​​of keywords in the de-identified target file are collected into a public cache and converted into index values. The index values ​​are then written to the corresponding positions in the de-identified target file according to the write enable command, and the display or hiding of the plaintext values ​​of keywords is switched when needed.

Benefits of technology

It enables developers and testers to freely switch between anonymized data and plaintext display, reducing reliance on data centers, improving the efficiency of troubleshooting production issues, and simplifying development, testing, and maintenance work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115098874B_ABST
    Figure CN115098874B_ABST
Patent Text Reader

Abstract

The application provides a desensitization target file information switching method, device and system and a storage medium, wherein the method comprises the following steps: obtaining a message request, collecting a keyword plaintext value into a public cache according to the message request, and converting the keyword plaintext value into an index value; writing the index value into a corresponding position of a desensitization target file according to a write-on instruction; and switching display / hiding of the keyword plaintext value at the corresponding position of the desensitization target file. According to the application, the keyword plaintext value is collected according to the message request, and the keyword plaintext value is converted into an index value, and then the index value is written into a corresponding position, and when switching is needed, the keyword plaintext value is displayed or hidden at the corresponding position, so that the development and test personnel can freely switch between desensitized data and plaintext display when troubleshooting logs, the dependence on data center construction is reduced, production problems can be more quickly troubleshooted, work efficiency is improved, and convenience is brought to development and test and maintenance work.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of information encryption technology, and more particularly to a desensitization target file information switching method, device, system and storage medium. BACKGROUND

[0002] With the strengthening of bank supervision, the privacy protection of customer information is more and more strict, and many companies require software systems to protect the desensitization of key data to prevent information leakage. In particular, financial institutions have the most core private data of users, and if the data is leaked, it will cause serious consequences.

[0003] In the prior art, the desensitization of the printed log and message in the system is to convert the sensitive data of the customer such as the mobile phone number, bank card number, certificate and the like to the sensitive mark "*" (asterisk or other symbol) for shielding, so as to protect the privacy of the customer from being leaked.

[0004] However, it brings a problem that when the development and test personnel check the log, the log seen through CAT is all desensitized "*" and cannot accurately locate the key value, cannot be associated to check the production problem, and brings great confusion, which is inconvenient for the development, test and maintenance work. SUMMARY

[0005] Therefore, the present application provides a desensitization target file information switching method, which comprises:

[0006] obtaining a message request, collecting a keyword plaintext value in a corresponding desensitization target file into a public cache according to the message request, and converting the keyword plaintext value into an index value in the public cache;

[0007] writing the index value into a corresponding position in the desensitization target file according to a write-on instruction corresponding to the desensitization target file;

[0008] switching display / hiding of the keyword plaintext value corresponding to the index value at the corresponding position in the desensitization target file.

[0009] Preferably, the obtaining of the message request, the collection of the keyword plaintext value in the corresponding desensitization target file into the public cache according to the message request, and the conversion of the keyword plaintext value into the index value in the public cache comprise:

[0010] obtaining the message request;

[0011] obtaining a corresponding keyword label according to the message request;

[0012] According to the keyword label collection corresponding to the keyword plaintext value, according to the order of the preset segment queue to generate a plaintext queue;

[0013] The keyword plaintext value in the plaintext queue is converted into the index value;

[0014] The index value is stored in the public cache.

[0015] Preferably, the keyword plaintext value in the plaintext queue is converted into the index value, comprising:

[0016] The keyword plaintext value is converted into a fixed-length string corresponding to the keyword plaintext value according to its attribute characteristics, and the fixed-length string is taken as the index value.

[0017] Preferably, the message request is obtained, and before the keyword plaintext value corresponding to the desensitization target file is collected into the public cache according to the message request, and the keyword plaintext value is converted into the index value in the public cache, it further comprises:

[0018] The keyword plaintext value in the desensitization target file is extracted, and the preset segment queue is generated based on the order of the keyword plaintext value in the desensitization target file;

[0019] The keyword label corresponding to the keyword plaintext value in the desensitization target file is collected, so as to obtain the keyword label corresponding to the desensitization target file according to the message request.

[0020] Preferably, the index value is written into the corresponding position in the desensitization target file according to the write-on instruction corresponding to the desensitization target file, comprising:

[0021] Get the write-on instruction corresponding to the desensitization target file;

[0022] Using grid computing method, the index value is mapped and archived with the desensitization target file, and the index value is inserted into the corresponding position of the desensitization target file.

[0023] Preferably, the keyword plaintext value corresponding to the index value is switched to display / hide in the corresponding position in the desensitization target file, comprising:

[0024] Get the switching instruction;

[0025] According to the switching instruction, using edge computing technology, the corresponding keyword plaintext value is determined according to the index value in the public cache in the desensitization target file;

[0026] inserting the keyword plaintext value into the corresponding position and replacing the sensitive identifier in the corresponding position of the desensitization target file; or replacing the keyword plaintext value that has been displayed with the sensitive identifier at the corresponding position.

[0027] Preferably, the acquisition message request comprises the following steps after collecting the keyword plaintext value in the corresponding desensitization target file into the public cache and converting the keyword plaintext value into the index value in the public cache:

[0028] establishing a corresponding relationship between the index value and the system environment label of the display desensitization data mode;

[0029] The acquisition switching instruction further comprises the following steps:

[0030] After the system environment changes, the system environment label corresponding to the system environment is acquired;

[0031] If the system environment label is the system environment label of the display desensitization data mode, a switching instruction corresponding to the system environment label is generated according to the corresponding relationship between the index value and the system environment label of the display desensitization data mode.

[0032] In addition, to solve the above problems, the application further provides a desensitization target file information switching device, comprising:

[0033] The acquisition module is configured to acquire a message request, collect a keyword plaintext value in a corresponding desensitization target file into a public cache according to the message request, and convert the keyword plaintext value into an index value in the public cache.

[0034] The writing module is configured to write the index value into a corresponding position in the desensitization target file according to a write-on instruction corresponding to the desensitization target file.

[0035] The display module is configured to switch display / hide the keyword plaintext value corresponding to the index value at the corresponding position in the desensitization target file.

[0036] In addition, to solve the above problems, the application further provides a desensitization target file information switching system, comprising a business end, a service providing end and a callback system; wherein at least the callback system is provided with a memory and a processor, the memory is used to store a desensitization target file information switching program, and the processor runs the desensitization target file information switching program to enable the desensitization target file information switching system to execute the desensitization target file information switching method as described above.

[0037] In addition, to solve the above problems, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a desensitization target file information switching program, and the desensitization target file information switching program is executed by a processor to realize the desensitization target file information switching method.

[0038] The application provides a desensitization target file information switching method, device, system and storage medium, wherein the method comprises the following steps: acquiring a message request, collecting a keyword plaintext value in a corresponding desensitization target file into a public cache according to the message request, and converting the keyword plaintext value into an index value in the public cache; writing the index value into a corresponding position in the desensitization target file according to a write-on instruction corresponding to the desensitization target file; and switching display / hiding of the keyword plaintext value corresponding to the index value at the corresponding position in the desensitization target file. According to the method provided by the application, the keyword plaintext value is collected according to a message request, and is converted into an index value, and then the index value is written into a corresponding position, and when switching is needed, the keyword plaintext value is displayed or hidden at the corresponding position, so that a development and test personnel can freely switch between desensitization data and plaintext display when troubleshooting logs, the dependence on data center construction is reduced, production problems can be more quickly troubleshooted, work efficiency is improved, and convenience is brought to development and test and maintenance work. BRIEF DESCRIPTION OF DRAWINGS

[0039] Figure 1 A structural schematic diagram of a hardware running environment related to an embodiment of the desensitization target file information switching method of the application is shown in the figure.

[0040] Figure 2 A flowchart of the first embodiment of the desensitization target file information switching method of the application is shown in the figure.

[0041] Figure 3 A flowchart of the step S100 in the second embodiment of the desensitization target file information switching method of the application is shown in the figure.

[0042] Figure 4 A flowchart of the steps S400-500 before the step S100 in the second embodiment of the desensitization target file information switching method of the application is shown in the figure.

[0043] Figure 5 A flowchart of the step S200 in the third embodiment of the desensitization target file information switching method of the application is shown in the figure.

[0044] Figure 6 A flowchart of the step S300 in the third embodiment of the desensitization target file information switching method of the application is shown in the figure.

[0045] Figure 7The flow chart for detailing step S300 of another embodiment of the desensitization target file information switching method of the present application is shown in Figure 3.

[0046] Figure 8 The module connection diagram of the desensitization target file information switching device of the present application is shown in Figure 4.

[0047] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0048] Embodiments of the present application are described in detail below, in which the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout.

[0049] In addition, the terms "first", "second", "third", etc. are used only for the purpose of description, and should not be understood as indicating or implying relative importance or implying the number of the technical features indicated. Therefore, the features defined with "first", "second", etc. can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise explicitly specified and limited.

[0050] In the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "linking", "fixing" and the like should be understood in a broad sense, for example, can be fixed connection, can also be detachable connection, or integral; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium; can be the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0051] It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0052] As Figure 1 shown, is a structural schematic diagram of the hardware running environment of the terminal involved in the embodiments of the present application.

[0053] The desensitization target file information switching system can be a PC, a smart phone, a tablet computer, a portable computer, or a mobile terminal device, etc. The desensitization target file information switching system can include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the components. The user interface 1003 can include a display screen, an input unit such as a keyboard, a remote controller, and an optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory, or a stable memory such as a disk memory. The memory 1005 can also be an independent storage device from the aforementioned processor 1001. Optionally, the desensitization target file information switching system can also include an RF (Radio Frequency, Radio Frequency) circuit, an audio circuit, a WiFi module, etc. In addition, the desensitization target file information switching system can also be configured with a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and other sensors, which will not be described here.

[0054] Those skilled in the art can understand that Figure 1 The desensitization target file information switching system shown in the above-mentioned embodiments does not constitute a limitation thereon, and can include more or fewer components than shown, or combine certain components, or different component arrangements. For example, Figure 1 As a computer readable storage medium, the memory 1005 can include an operating system, a data interface control program, a network connection program, and a desensitization target file information switching program.

[0055] Embodiment 1:

[0056] Referring to Figure 2 The first embodiment of the present application provides a desensitization target file information switching method, comprising:

[0057] In step S100, a message request is obtained, and a keyword plaintext value in a corresponding desensitization target file is collected into a public cache according to the message request, and the keyword plaintext value is converted into an index value in the public cache.

[0058] The message request is an application generated or proposed by a development and test personnel for debugging, maintenance, and finding for viewing a specific desensitization target file.

[0059] According to the message request, the corresponding desensitization target file can be determined, and according to the desensitization target file, the secret information therein can be determined.

[0060] The above-mentioned desensitization target file, for example, can be a user information registration table or a log file in the financial field, which is provided with personal information input by multiple different users, which can include but is not limited to: name, ID number, mobile phone number, residence, home address, parent-child information, etc. Among them, for example, the information "mobile phone number: 123456789; ID number: 987654321", wherein "123456789" and "987654321" are both keyword plaintext values.

[0061] Ordinarily, in order to ensure that the classified information in these files is not viewed by users with ordinary permissions and cause information leakage, the keyword plaintext values are replaced with sensitive identifiers. For example, the sensitive identifier is "*" or "@".

[0062] The above-mentioned public cache is a storage area for temporarily storing user data. It stores the keyword plaintext values and index values corresponding to the sensitive target file.

[0063] The above-mentioned index value is a string that can represent a keyword plaintext value or multiple keyword plaintext values. For example, it can be a hash value.

[0064] Step S200: According to the write-on instruction corresponding to the desensitization target file, the index value is written to the corresponding position in the desensitization target file.

[0065] The above-mentioned write-on instruction is an instruction required by a user with maintenance permissions to open and rewrite a specific desensitization target file. The maintenance permissions first enable reading and writing, and secondly enable maintenance, viewing all plaintext information, including classified information.

[0066] If the write-on instruction is obtained, the index value is written to the corresponding position.

[0067] The corresponding position is the position corresponding to each classified information in a desensitization target file.

[0068] After the index value is written to the corresponding position, the information existing at the corresponding position includes the sensitive identifier and the index value corresponding to the sensitive identifier. The index value can be displayed at this position to facilitate maintenance, or it can not be displayed at this position, but only needs to exist in the background or code level corresponding relationship.

[0069] Step S300: Switching display / hiding of the keyword plaintext value corresponding to the index value at the corresponding position in the desensitization target file.

[0070] The user can switch, display and hide the corresponding secret keyword plaintext value for the specific information in the corresponding position when checking and browsing the desensitization target file.

[0071] The method provided in the embodiment can collect the keyword plaintext value according to the message request, convert the keyword plaintext value into an index value, write the index value into the corresponding position, display or hide the keyword plaintext value in the corresponding position when switching is needed, and enable the development and test personnel to freely switch between the desensitized data and the plaintext display when checking the log, thereby reducing the dependence on the data center construction, facilitating faster checking of production problems, improving the work efficiency, and bringing convenience to the development and test and maintenance work.

[0072] Embodiment 2

[0073] With reference to Figure 3 The second embodiment of the present application provides a desensitization target file information switching method, based on the above-mentioned embodiment 1, the step S100 of obtaining a message request, collecting the keyword plaintext value in the corresponding desensitization target file into a public cache according to the message request, and converting the keyword plaintext value into an index value in the public cache, comprising:

[0074] Step S110, obtaining the message request;

[0075] Step S120, obtaining the corresponding keyword label according to the message request;

[0076] The corresponding desensitization target file can be determined according to the message request, and the corresponding keyword label can be determined according to the desensitization target file. The keyword label can determine the secret information involved in the desensitization target file. That is, the keyword label has a corresponding relationship with the secret information in the desensitization target file. For example, the keyword label is an ID number, and the corresponding secret information is “987654321”. For another example, the desensitization target file is determined to be “0012345” file according to the message request, and the keyword label corresponding to the file includes “name 1, name 2, ID number 1, ID number 2, address 1, and address 2”.

[0077] Step S130, collecting the corresponding keyword plaintext value according to the keyword label, and generating a plaintext queue according to the order of the preset segment queue;

[0078] The keyword plaintext value existing in the desensitization target file can be determined according to the keyword label. After one-to-one collection, a corresponding plaintext queue is generated according to the order of the preset segment queue.

[0079] Step S140, converting the keyword plaintext value in the plaintext queue into the index value;

[0080] Step S150, store the index value into the common cache.

[0081] Convert the plaintext keyword in the plaintext queue into an index value and store it in the common cache.

[0082] The step S140 of converting the keyword plaintext value in the plaintext queue into the index value comprises:

[0083] Step S141 converts the keyword plaintext value into a fixed-length string corresponding to the mapping of the keyword plaintext value according to its attribute characteristics, and takes the fixed-length string as the index value.

[0084] The above, the keyword plaintext value is converted into an index value, that is, the keyword plaintext value is encrypted into a fixed-length string of a specific length according to its key attribute characteristics, and is mapped with its keyword plaintext value. For example, a piece of customer information contains: 1, account number: 018912-wxl; 2, certificate number: 23456788888888X; encrypt the above sensitive information as a whole into the corresponding fixed-length string "001WXL" as the index value, and map the index value "001WXL" to "account number: 018912-wxl" and "certificate number: 23456788888888X".

[0085] Further, referring to Figure 4 , the step S100 of obtaining a message request, collecting the keyword plaintext value in the corresponding desensitization target file into the common cache according to the message request, and converting the keyword plaintext value into the index value in the common cache further comprises:

[0086] Step S400, extract the keyword plaintext value in the desensitization target file, and generate the preset segment queue based on the order of the keyword plaintext value in the desensitization target file;

[0087] Each desensitization target file may include one or more desensitization information, and these desensitization information correspond to the keyword plaintext value. These desensitization information are not directly displayed in the desensitization target file, but can be extracted. After extraction, a specific order of the preset segment queue is generated according to the order in the original text.

[0088] Step S500, collect the keyword label corresponding to the keyword plaintext value in the desensitization target file, so as to obtain the keyword label corresponding to the desensitization target file according to the message request.

[0089] The collection of the keyword label can determine the confidential information contained in the desensitization target file, that is, the corresponding keyword plaintext value in the desensitization target file can be further obtained according to the message request.

[0090] In the embodiment, the plaintext queue of the keyword plaintext value corresponding to the confidential information is established, and the index value, that is, the fixed-length string, is converted, so that further information switching can be realized, the development and test personnel can freely switch between the desensitization data and the plaintext display when checking the log, the dependence on the data center construction is reduced, the production problems can be checked more quickly, the work efficiency is improved, and convenience is brought to the development and test and maintenance work.

[0091] Embodiment 3

[0092] With reference to Figure 5 The third embodiment of the present application provides a desensitization target file information switching method, based on the first embodiment, the step S200 comprises the following steps.

[0093] In the step S210, a write-on instruction corresponding to the desensitization target file is obtained.

[0094] The write-on instruction is an instruction generated by a maintenance personnel or a test personnel with high-level authority when the desensitization target file needs to be read and written or debugged and tested. For example, when the personnel operates, a write-on instruction is generated.

[0095] In the step S220, the index value is mapped and archived with the desensitization target file by using a grid computing method, and the index value is inserted into the corresponding position of the desensitization target file.

[0096] It should be noted that the grid computing is a kind of distributed computing, and is a computer science. It studies how to divide a problem that needs very large computing power into many small parts, then distribute these parts to many computers for processing, and finally integrate these computing results to obtain the final result.

[0097] The mapping and archiving is to establish the corresponding relationship between the index value and the desensitization target file, and insert the content of the index value into the corresponding position of the desensitization target file.

[0098] Further, with reference to Figure 6 The step S300 comprises the following steps.

[0099] Step S310, obtain a switching instruction;

[0100] The switching instruction can be an instruction generated according to a human trigger.

[0101] For example, a switch is provided on a commonly used log display tool such as a CAT interface. When a maintenance personnel (troubleshooting personnel) needs to find a log, the switch is selected to switch to plaintext, and the system can start real-time operation and read the index value of the current node.

[0102] Step S320, according to the switching instruction, using edge computing technology, in the desensitization target file, according to the index value, address tracing in the public cache, determine the corresponding keyword plaintext value;

[0103] It should be noted that edge computing refers to an open platform that uses network, computing, storage, and application core capabilities to provide services at the nearest end. Its application program is initiated at the edge side, which produces faster network service response and meets the basic needs of industry in real-time business, application intelligence, security and privacy protection. Edge computing is between physical entities and industrial connections, or at the top of physical entities. While cloud computing can access historical data of edge computing.

[0104] In the above, the edge node of the edge computing in the embodiment can be understood as a currently opened page node machine, etc. The single signature node resource is mainly used for desensitization value tracing and restoration calculation processing.

[0105] According to the index value inserted in the desensitization target file, address tracing is performed in the public cache to match the corresponding keyword plaintext value.

[0106] Step S330, insert the keyword plaintext value into the corresponding position and replace the sensitive identifier in the corresponding position of the desensitization target file; or replace the displayed keyword plaintext value with the sensitive identifier at the corresponding position.

[0107] The above information switching includes two levels of behavior, which are display information and hidden information in the embodiment. Since the corresponding relationship between the "corresponding position-index value" and the "index value-keyword plaintext value" has been established, the display information and the hidden information can be switched freely by a ping-pong key:

[0108] (1) Display information: insert the keyword plaintext value into the corresponding position and replace the sensitive identifier in the corresponding position of the desensitization target file;

[0109] (2) Hidden information: replace the displayed keyword plaintext value with the sensitive identifier at the corresponding position.

[0110] In another embodiment, referring to Figure 7 , the step S100 of obtaining a message request, collecting a keyword plaintext value in a corresponding desensitization target file into a public cache according to the message request, and converting the keyword plaintext value into an index value in the public cache, further comprises:

[0111] Step S600, establishing a corresponding relationship between the index value and a system environment label of a display desensitization data mode;

[0112] As described above, the index value is bound to a specific system environment, and each system environment corresponds to a system environment label, such as a test environment, a production environment, a maintenance environment, a user environment, and the like.

[0113] In order to reduce the operation complexity of the maintenance personnel and improve the convenience, the corresponding secret information can be automatically switched or hidden according to the specific environment of the system.

[0114] Before the step S310 of obtaining a switching instruction, further comprising:

[0115] Step S340, obtaining a system environment label corresponding to the system environment after the system environment changes;

[0116] Step S350, if the system environment label is a system environment label of a display desensitization data mode, generating a switching instruction corresponding to the system environment label according to the corresponding relationship between the index value and the system environment label of the display desensitization data mode.

[0117] As described above, in the system environment of the display desensitization data mode, the system environment label is obtained, and the switching instruction can be directly generated according to the corresponding relationship, so as to further display or hide the corresponding secret information.

[0118] In the embodiment, two embodiments of triggering display or hiding actions are provided. The first embodiment is to set a switch. When the maintenance personnel troubleshoots and finds information, the switch is selected to switch to plaintext, the operation is started in real time, the index value of the current node is read, and the corresponding plaintext is displayed. At the same time, in another embodiment, the system running environment is automatically switched. If the current system environment is a display desensitization data mode, the corresponding system environment label is the triggering condition, and when the system environment is entered, it means that the maintenance personnel performs operation and maintenance, and the switching instruction can be directly generated and the corresponding plaintext is displayed. Different embodiments provide multiple switching plaintext possibilities, which provides convenience for the operation and maintenance work of the maintenance personnel.

[0119] In summary, the method provided in the application can collect the keyword plaintext value according to the message request, convert the keyword plaintext value into an index value, and write the index value into a corresponding position. When switching is needed, the keyword plaintext value is displayed or hidden in the corresponding position, so that the development and test personnel can freely switch between the desensitization data and the plaintext display when troubleshooting the log, the dependence on the data center construction is reduced, the production problems can be quickly troubleshooted, the work efficiency is improved, and convenience is brought to the development and test and maintenance work. By providing the callback system in the application, the complexity of the processing task of the client (the called end and the business end) is greatly reduced, so that the client can focus more on the implementation of the core business and does not need to pay attention to various abnormal conditions. Especially, the logic in some query tasks is not friendly, which can cause the concurrency capability of the client to be low. By the callback service in the application, the above problems can be avoided.

[0120] In addition, with reference to Figure 8 The application further provides a desensitization target file information switching device, which comprises:

[0121] An acquisition module 10 is configured to acquire a message request, collect a keyword plaintext value in a corresponding desensitization target file into a public cache according to the message request, and convert the keyword plaintext value into an index value in the public cache;

[0122] A writing module 20 is configured to write the index value into a corresponding position in the desensitization target file according to a write-on instruction corresponding to the desensitization target file;

[0123] A display module 30 is configured to switch to display / hide the keyword plaintext value corresponding to the index value in the corresponding position in the desensitization target file.

[0124] In addition, the application further provides a desensitization target file information switching system, which comprises a business end, a service providing end and a callback system. At least the callback system is provided with a memory and a processor. The memory is used to store a desensitization target file information switching program, and the processor runs the desensitization target file information switching program to enable the desensitization target file information switching system to perform the desensitization target file information switching method as described above.

[0125] In addition, the application further provides a computer readable storage medium, which stores a desensitization target file information switching program. When the desensitization target file information switching program is executed by a processor, the desensitization target file information switching method as described above is realized.

[0126] The above application embodiment serial numbers are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0127] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, also can be through hardware, but in many cases the former is the better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the contribution to the prior art can be embodied in the form of software products, the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disc, optical disc) as described above, including a number of instructions to make a terminal device (may be a mobile phone, computer, server, or network equipment, etc.) executes the method described in various embodiments of the present application. The above is only the preferred embodiment of the present application, not therefore limit the patent scope of the present application, all equivalent structures or equivalent flow transformation made by using the content of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A desensitizing target file information switching method characterized by comprising: The method comprises the following steps: acquiring a message request, collecting keyword plaintext values in a desensitization target file into a public cache according to the message request, and converting the keyword plaintext values into index values in the public cache; acquiring a write-on instruction corresponding to the desensitization target file; mapping and archiving the index values and the desensitization target file by using a grid computing method, and inserting the index values into corresponding positions of the desensitization target file; acquiring a switching instruction; according to the switching instruction, using edge computing technology to address and trace the index values in the desensitization target file in the public cache, and determining the corresponding keyword plaintext values; inserting the keyword plaintext values into the corresponding positions and replacing sensitive identifiers in the corresponding positions of the desensitization target file; or, replacing the displayed keyword plaintext values with the sensitive identifiers in the corresponding positions.

2. The desensitization target file information switching method according to claim 1, wherein The method comprises the following steps: acquiring the message request; acquiring a corresponding keyword label according to the message request; collecting the corresponding keyword plaintext values according to the keyword label, and generating a plaintext queue according to the order of a preset segment queue; converting the keyword plaintext values in the plaintext queue into the index values; storing the index values into the public cache.

3. The desensitization target file information switching method according to claim 2, wherein The method comprises the following steps: converting the keyword plaintext values into a fixed-length string corresponding to the keyword plaintext values according to the attribute characteristics of the keyword plaintext values, and taking the fixed-length string as the index value.

4. The desensitization target file information switching method of claim 2, wherein Before the step of acquiring the message request, collecting keyword plaintext values in a desensitization target file into a public cache according to the message request, and converting the keyword plaintext values into index values in the public cache, the method further comprises the following steps: extracting the keyword plaintext values in the desensitization target file, and generating a preset segment queue based on the order of the keyword plaintext values in the desensitization target file; collecting keyword labels corresponding to the keyword plaintext values in the desensitization target file, so as to acquire keyword labels of the desensitization target file according to the message request.

5. The desensitization target file information switching method of claim 1, wherein After the step of acquiring the message request, collecting keyword plaintext values in a desensitization target file into a public cache according to the message request, and converting the keyword plaintext values into index values in the public cache, the method further comprises the following steps: establishing a corresponding relationship between the index values and system environment labels of a display desensitization data mode; Before the step of acquiring the switching instruction, the method further comprises the following steps: after the system environment changes, acquiring a system environment label corresponding to the system environment; if the system environment label is a system environment label of a display desensitization data mode, generating a switching instruction corresponding to the system environment label according to the corresponding relationship between the index values and the system environment label of the display desensitization data mode.

6. A desensitizing target file information switching device characterized by comprising: The method comprises the following steps: The acquisition module is configured to acquire a message request, collect a keyword plaintext value in a corresponding desensitization target file into a public cache according to the message request, and convert the keyword plaintext value into an index value in the public cache; The writing module is configured to acquire a write-on instruction corresponding to the desensitization target file, map and archive the index value and the desensitization target file by using a grid calculation method, and insert the index value into a corresponding position of the desensitization target file; The display module is configured to acquire a switching instruction, determine the corresponding keyword plaintext value by using edge calculation technology to address and trace in the public cache according to the index value in the desensitization target file according to the switching instruction; insert the keyword plaintext value into the corresponding position and replace a sensitive identifier in the corresponding position of the desensitization target file; or, replace the keyword plaintext value that has been displayed with the sensitive identifier at the corresponding position.

7. A desensitization target file information switching system characterized by comprising: The system comprises a business end, a service providing end and a callback system; at least the callback system is provided with a memory and a processor, the memory is used to store a desensitization target file information switching program, and the processor runs the desensitization target file information switching program to enable the desensitization target file information switching system to perform the desensitization target file information switching method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a desensitization target file information switching program, and the desensitization target file information switching program is executed by the processor to realize the desensitization target file information switching method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Method and device for concealing personal information on calling interface

    CN106062764A

  • Document file generation method and device, computer equipment and storage medium

    CN112668041A