CN117807632A - Data desensitization method, device, electronic equipment, readable storage medium and product - Google Patents
Data desensitization method, device, electronic equipment, readable storage medium and product Download PDFInfo
- Publication number
- CN117807632A CN117807632A CN202410003079.7A CN202410003079A CN117807632A CN 117807632 A CN117807632 A CN 117807632A CN 202410003079 A CN202410003079 A CN 202410003079A CN 117807632 A CN117807632 A CN 117807632A
- Authority
- CN
- China
- Prior art keywords
- data
- component element
- target component
- preset
- element data
- 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
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000000586 desensitisation Methods 0.000 title claims abstract description 51
- 238000012545 processing Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 abstract description 19
- 238000010586 diagram Methods 0.000 description 9
- 238000012546 transfer Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24552—Database cache management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24564—Applying rules; Deductive queries
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a data desensitization method, a device, electronic equipment, a readable storage medium and a product, and relates to the technical field of data processing, wherein the method comprises the following steps: identifying component elements in the first page to obtain at least one component element; under the condition that the target component element is matched with the component elements in the preset component element set, acquiring original element data of the target component element; the at least one component element includes a target component element; desensitizing the original element data according to a preset desensitizing rule matched with the target component element to obtain desensitized element data; displaying a second page; the element data of the target component element in the second page is the desensitized element data. Embodiments of the present application may improve the efficiency of the desensitization process.
Description
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a data desensitizing method, a device, electronic equipment, a readable storage medium and a product.
Background
In the prior art, information can be displayed to a user through an interactive page on an electronic device, and the information can be displayed through one or more component elements in the page, but sometimes, the page comprises some sensitive information, so that the sensitive information in the component elements needs to be desensitized in order to prevent the sensitive information from being leaked.
In the process of desensitizing sensitive information in the component elements, only one component element can be processed at a time, and codes corresponding to the component elements need to be modified, so that the desensitization process is low in efficiency.
Disclosure of Invention
The embodiment of the application provides a data desensitizing method, a data desensitizing device, electronic equipment, a readable storage medium and a product, which can improve the efficiency of a desensitizing process.
In one aspect, embodiments of the present application provide a method of desensitizing data, the method comprising:
identifying component elements in the first page to obtain at least one component element;
under the condition that the target component element is matched with the component elements in the preset component element set, acquiring original element data of the target component element; the at least one component element includes a target component element;
desensitizing the original element data according to a preset desensitizing rule matched with the target component element to obtain desensitized element data;
displaying a second page; the element data of the target component element in the second page is the desensitized element data.
In another aspect, embodiments of the present application provide a data desensitizing apparatus, including:
the identification module is used for identifying the component elements in the first page to obtain at least one component element;
the acquisition module is used for acquiring original element data of the target component element under the condition that the target component element is matched with the component elements in the preset component element set; the at least one component element includes a target component element;
the desensitization module is used for carrying out desensitization treatment on the original element data according to a preset desensitization rule matched with the target component element to obtain desensitized element data;
the display module is used for displaying the second page; the element data of the target component element in the second page is the desensitized element data.
In still another aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the data desensitization method described above.
In yet another aspect, embodiments of the present application provide a computer readable storage medium having stored thereon computer program instructions that when executed by a processor implement the above-described data desensitization method.
In yet another aspect, embodiments of the present application provide a computer program product, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the above-described data desensitization method.
According to the data desensitization method, device, electronic equipment, readable storage medium and product, at least one component element can be obtained by identifying the component elements in the page, original element data of the target component element are obtained under the condition that the target component element in the at least one component element is matched with the component elements in the preset component element set, the original element data of the target component element are desensitized through preset desensitization rules matched with the target component element, and the desensitized data are displayed through the second page. Therefore, the embodiment of the application identifies the page component elements and can desensitize the original element data of the target component elements according to the preset desensitization rule, so that the code of the component elements is not changed in the data desensitization scheme provided by the embodiment of the application, in other words, the embodiment of the application can realize the data desensitization of the component elements without changing the code of the component elements, and meanwhile, whether the target component elements are matched with the component elements in the preset component elements or not can be judged at the same time, so that the desensitization operation of the component elements is realized in batches, and the efficiency of the desensitization process is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
FIG. 1 is a flow chart of a method for desensitizing data according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for desensitizing data according to another embodiment of the present application;
FIG. 3 is a flow chart of a method for desensitizing data according to another embodiment of the present application;
FIG. 4 is a flow chart of a method for desensitizing data according to another embodiment of the present application;
FIG. 5 is a flow chart of a method for desensitizing data according to another embodiment of the present application;
FIG. 6 is a flow chart of a method for desensitizing data according to another embodiment of the present application;
FIG. 7 is a schematic diagram of a data desensitizing apparatus according to an embodiment of the present application;
fig. 8 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application are described in detail below to make the objects, technical solutions and advantages of the present application more apparent, and to further describe the present application in conjunction with the accompanying drawings and the detailed embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative of the application and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by showing examples of the present application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
In order to solve the problems in the prior art, embodiments of the present application provide a data desensitizing method, an apparatus, an electronic device, a readable storage medium, and a product. The data desensitization method provided in the embodiments of the present application will be first described below.
Fig. 1 shows a flow chart of a data desensitizing method according to an embodiment of the present application, as shown in fig. 1, the method includes the following flow chart:
s101: component elements in the first page are identified, resulting in at least one component element.
In some embodiments, multiple component elements may be provided in a page, for example: text entry boxes, drop down selection boxes, radio boxes, check boxes, and the like, and one or more data may be presented through the component elements.
S102: under the condition that the target component element is matched with the component elements in the preset component element set, acquiring original element data of the target component element; the at least one component element includes a target component element.
In some embodiments, if the component elements obtained by identifying the page have the same component elements as the preset component element set, the original element data of the component elements which have the same component elements as the preset component element set is obtained, where the original element data may be: sensitive or private information such as user name, user identification number, user phone, user personal asset information, etc.
S103: and performing desensitization treatment on the original element data according to a preset desensitization rule matched with the target component element to obtain desensitized element data.
In some embodiments, a preset desensitization rule corresponding to the same component element as the component element in the preset component element set is determined, and the original element data is desensitized according to the desensitization rule, so as to obtain the desensitized element data. For example: when the original element data displayed in the same component element as the component element in the preset component element set is a name, a last name may be displayed, the first name may be replaced with a name, or when the original element data displayed in the same component element as the component element in the preset component element set is an identification card number, a first 3 digits may be displayed, a later digit may be replaced with a name, or the like.
S104: displaying a second page; the element data of the target component element in the second page is the desensitized element data.
In some embodiments, the desensitized element data is presented through the page in which the target component element is located. The second page may have one or more target component elements for displaying the desensitized element data, and may also have one or more component elements for displaying the original element data.
In the embodiment of the application, at least one component element is obtained by identifying the component elements in the page, and when a target component element in the at least one component element is matched with the component elements in the preset component element set, the original element data of the target component element is desensitized through a preset desensitization rule matched with the target component element, and the desensitized data is displayed through the second page. Therefore, the embodiment of the application identifies the page component elements and can desensitize the original element data of the target component elements according to the preset desensitization rule, so that the code of the component elements is not changed in the data desensitization scheme provided by the embodiment of the application, in other words, the embodiment of the application can realize the data desensitization of the component elements without changing the code of the component elements, and meanwhile, whether the target component elements are matched with the component elements in the preset component elements or not can be judged at the same time, so that the desensitization operation of the component elements is realized in batches, and the efficiency of the desensitization process is improved.
The embodiment of the application can be applied to a bank personal account transaction fund escrow service, and the specific implementation scene can be as follows: and automatically deleting contents such as personal client information and the like provided for the cooperative mechanism after the personal and mechanism orders are invalid. In one example, in a transaction page of a personal account transaction funds-escrow service at a personal client, after a single order adds a "withdraw personal information" button, the client clicks, and a text box pops up, prompting the client to enter a withdrawal reason. If the client who sends the withdrawal personal information application is the payee, the payer needs to agree, and similarly, if the client who sends the withdrawal personal information application is the payee, the payee needs to agree. Assuming the customer is a payer, the text box below the page informs that "personal information is required to be agreed by the payee in order to ensure the benefits of both parties", the customer clicks to send after inputting, and if the payer agrees, no information of the customer is displayed on the managed information query and management interface.
Fig. 2 is a schematic flow chart of a data desensitizing method according to another embodiment of the present application, as shown in fig. 2, after S102, the method further includes:
s201: and caching the original element data into a preset cache container.
In a practical implementation process, although the data displayed to the user is desensitized element data, when the user performs some operations through page interaction, the user needs to respond to the operations of the user based on the original element data. For example, in the process of transferring, the original element data may be a bank card number, and the bank card number displayed to the user in the page operated by the user is desensitized data, but when the user initiates the transfer operation, the original element data of the bank card number of the user needs to be obtained to respond and execute the transfer operation.
It can be appreciated that in this embodiment, by caching the original element data in the preset cache container, when the original element data is required, the original element data can be obtained from the preset cache container, so that the response to the operation of the user based on the original element data is facilitated.
Fig. 3 is a schematic flow chart of a data desensitizing method according to another embodiment of the present application, as shown in fig. 3, after S104, the method further includes:
s301: responding to the operation of a user on an element data control for inquiring a target component element, and acquiring original element data from a preset cache container;
s302: the original element data is displayed.
In this embodiment, when the user needs to query the original element data corresponding to the desensitized element data, the operation of querying the original element data may be implemented by controlling the control used for querying the original element data in the page. And responding to the operation of inquiring the original element data by a user, acquiring the original element data from a preset cache container, and displaying the original element data through the component elements in the page. In an example, the user only displays the first 4 bits and the last 4 bits of the digits through the bank card number viewed by the current page, the digits between the card numbers are replaced, the user may click the acquire button in order to acquire all the bank card numbers, and in response to the operation corresponding to the acquire button, acquire all the bank card numbers represented by the digits from the preset cache container, and display the bank card numbers to the user through the page.
It can be appreciated that in this embodiment, in response to the operation of querying the original element data by the user, the original element data may be directly obtained from the preset cache container, without sending a request for obtaining the original element data to the database, so that the response speed is improved.
Fig. 4 is a schematic flow chart of a data desensitizing method according to another embodiment of the present application, as shown in fig. 4, after S104, the method further includes:
s401: responding to the operation of a user on a preset transaction control, and acquiring original element data;
s402: processing the original element data based on a transaction rule corresponding to a preset transaction control to obtain processed element data;
s403: and displaying the processed element data.
In this embodiment, the user may execute the transaction operation by operating the transaction control in the page, in the response transaction process, the database or other system may need to obtain the original element data from the preset cache container, process the original element data through the transaction rule corresponding to the transaction control, obtain the processed element data, and display the processed element data through the component elements in the page. In an example, when a user performs operations such as funds transfer, the user may click a transfer button in a page, during the transfer, the user needs to obtain funds amount information from a preset cache container, modify the funds amount information according to the transferred funds, and after the transfer is successful, display the modified funds amount information to the user through the page.
It can be appreciated that in this embodiment, after the user executes the transaction operation by operating the transaction control in the page, the original element data may be obtained from the preset cache container, and the database or other systems directly process the original element data, so as to improve the response speed.
Fig. 5 shows a flow chart of a data desensitizing method according to another embodiment of the present application, as shown in fig. 5, S102 includes:
s501: and under the condition that the identification information of the target component element is matched with the identification information of the component elements in the preset component element set, acquiring the original element data of the target component element.
In this embodiment, the identification information may be IDentity (ID, IDentity number), and obtain an ID of a component element corresponding to the preset original element data to be desensitized, and when the ID of the component element obtained by identifying the page is the same as the ID of the component element corresponding to the preset original element data to be desensitized, obtain the original element data in the component element identical to the ID of the component element corresponding to the preset original element data to be desensitized.
It can be understood that by determining and identifying whether the component element corresponding to the original element data to be desensitized exists in the component elements obtained through the identification page through the preset identification information of the component element corresponding to the original element data to be desensitized, the speed of identifying the component element corresponding to the original element data to be desensitized can be improved, and the desensitization operation of the component elements can be realized in batches.
Fig. 6 is a schematic flow chart of a data desensitizing method according to another embodiment of the present application, as shown in fig. 6, S102 includes:
s601: and acquiring the original element data of the target component element under the condition that the data attribute of the original element data of the target component element is matched with the data attribute of the element data of the component elements in the preset component element set.
In this embodiment, one component element may display one or more original element data, and may preset a data attribute corresponding to the original element data to be desensitized, and when the data attribute corresponding to the original element data of the component element obtained by identifying the page is the same as the data attribute corresponding to the original element data to be desensitized, obtain the original element data in the component element that is the same as the data attribute corresponding to the original element data to be desensitized. For example, the name, gender, age, etc. of the user may be displayed in a text box, where the name is required to be desensitized without desensitizing the gender and age, and the user name information in the text box is obtained.
It can be understood that by presetting the data attribute corresponding to the original element data to be desensitized, whether the component element corresponding to the original element data to be desensitized exists in the component elements obtained through the identification page or not is determined and identified, the speed of identifying the component element corresponding to the original element data to be desensitized can be improved, and the desensitization operation of the component elements can be realized in batches.
In other embodiments of the present application, the number of target component elements may be multiple. The component elements corresponding to the original element data which need to be desensitized can be identified from the component elements obtained by the identification page, so that the desensitization efficiency is improved.
In other embodiments of the present application, if there is no component element in the one or more component elements obtained by identifying the page that matches the component element in the preset component element set, the desensitization processing of the original element data in the component element is not required.
It should be noted that, the various optional embodiments described in the embodiments of the present application may be implemented in combination with each other without collision, or may be implemented separately, which is not limited to the embodiments of the present application.
Fig. 7 is a schematic structural diagram of a data desensitizing apparatus according to an embodiment of the present application, as shown in fig. 7, where the apparatus includes:
the identifying module 701 is configured to identify a component element in the first page, to obtain at least one component element;
a first obtaining module 702, configured to obtain original element data of a target component element when the target component element is matched with a component element in a preset component element set; the at least one component element includes a target component element;
the desensitization module 703 is configured to desensitize the original element data according to a preset desensitization rule that matches the target component element, so as to obtain desensitized element data;
a first display module 704, configured to display a second page; the element data of the target component element in the second page is the desensitized element data.
According to the embodiment of the application, the component elements in the page are identified through the identification module 701, at least one component element is obtained, the target component element information is obtained through the first obtaining module 702 under the condition that the target component element in the at least one component element is matched with the component elements in the preset component element set, the original element data of the target component element is desensitized through the desensitization module 703 by utilizing the preset desensitization rule matched with the target component element, and the desensitized data is displayed in the second page through the first display module 704. Therefore, the embodiment of the application identifies the page component elements and can desensitize the original element data of the target component elements according to the preset desensitization rule, so that the code of the component elements is not changed in the data desensitization scheme provided by the embodiment of the application, in other words, the embodiment of the application can realize the data desensitization of the component elements without changing the code of the component elements, and meanwhile, whether the target component elements are matched with the component elements in the preset component elements or not can be judged at the same time, so that the desensitization operation of the component elements is realized in batches, and the efficiency of the desensitization process is improved.
As an alternative embodiment, the data desensitizing apparatus may further include:
and the caching module is used for caching the original element data into a preset caching container after the original element data of the target component element is acquired.
As an alternative embodiment, the data desensitizing apparatus may further include:
the second acquisition module is used for responding to the operation of the user on the element data control of the query target component element after the second page is displayed, and acquiring the original element data from the preset cache container;
and the second display module is used for displaying the original element data.
As an alternative embodiment, the data desensitizing apparatus may further include:
the third acquisition module is used for responding to the operation of a user on a preset transaction control after the second page is displayed, and acquiring original element data;
the processing module is used for processing the original element data based on the transaction rule corresponding to the preset transaction control to obtain the processed element data;
and the third display module is used for displaying the processed element data.
As an alternative embodiment, the first obtaining module 702 may further include:
the first acquisition sub-module is used for acquiring the original element data of the target component element under the condition that the identification information of the target component element is matched with the identification information of the component elements in the preset component element set.
As an alternative embodiment, the first obtaining module 702 may further include:
the second obtaining sub-module is used for obtaining the original element data of the target component element under the condition that the data attribute of the original element data of the target component element is matched with the data attribute of the element data of the component elements in the preset component element set.
Fig. 8 shows a schematic hardware structure of an electronic device according to an embodiment of the present application.
A processor 801 and a memory 802 storing computer program instructions may be included in an electronic device.
In particular, the processor 801 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 802 may include mass storage for data or instructions. By way of example, and not limitation, memory 802 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the above. Memory 802 may include removable or non-removable (or fixed) media, where appropriate. Memory 802 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 802 is a non-volatile solid-state memory.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to methods in accordance with aspects of the present disclosure.
The processor 801 implements any of the data desensitization methods of the above embodiments by reading and executing computer program instructions stored in the memory 802.
In one example, the electronic device may also include a communication interface 803 and a bus 810. As shown in fig. 8, the processor 801, the memory 802, and the communication interface 803 are connected to each other via a bus 810 and perform communication with each other.
The communication interface 803 is mainly used to implement communication between each module, apparatus, unit and/or device in the embodiments of the present application.
Bus 810 includes hardware, software, or both, that couple components of an electronic device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 810 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
In addition, in conjunction with the data desensitizing method in the above embodiments, the embodiments of the present application may be implemented by providing a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement a data desensitization method of any of the above embodiments.
The present application provides a computer program product, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the data desensitization method described above.
It should be clear that the present application is not limited to the particular arrangements and processes described above and illustrated in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions, or change the order between steps, after appreciating the spirit of the present application.
The functional blocks shown in the above block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be different from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, which are intended to be included in the scope of the present application.
Claims (12)
1. A method of desensitizing data, comprising:
identifying component elements in the first page to obtain at least one component element;
acquiring original element data of a target component element under the condition that the target component element is matched with a component element in a preset component element set; the at least one component element includes the target component element;
desensitizing the original element data according to a preset desensitizing rule matched with the target component element to obtain desensitized element data;
displaying a second page; the element data of the target component element in the second page is the desensitized element data.
2. The method of claim 1, wherein after the obtaining the raw element data of the target component element, the method further comprises:
and caching the original element data into a preset cache container.
3. The method of claim 2, wherein the second page includes an element data control for querying the target component element thereon, and wherein after the second page is displayed, the method further comprises:
responding to the operation of a user on the element data control for inquiring the target component element, and acquiring the original element data from the preset cache container;
and displaying the original element data.
4. The method of claim 2, wherein the second page includes a preset transaction control thereon, and wherein after the second page is displayed, the method further comprises:
responding to the operation of a user on the preset transaction control, and acquiring the original element data;
processing the original element data based on the transaction rule corresponding to the preset transaction control to obtain processed element data;
and displaying the processed element data.
5. The method according to claim 1, wherein, in the case that the target component element matches a component element in the preset component element set, obtaining the original element data of the target component element includes:
and under the condition that the identification information of the target component element is matched with the identification information of the component elements in the preset component element set, acquiring the original element data of the target component element.
6. The method according to claim 1, wherein, in the case that the target component element matches a component element in the preset component element set, obtaining the original element data of the target component element includes:
and acquiring the original element data of the target component element under the condition that the data attribute of the original element data of the target component element is matched with the data attribute of the element data of the component elements in the preset component element set.
7. The method of claim 1, wherein the number of target component elements is a plurality.
8. The method of claim 1, wherein the target component element is at least one of a text entry box, a drop down selection box, a radio box, or a check box.
9. A data desensitizing apparatus, comprising:
the identification module is used for identifying the component elements in the first page to obtain at least one component element;
the acquisition module is used for acquiring original element data of the target component element under the condition that the target component element is matched with the component elements in the preset component element set; the at least one component element includes the target component element;
the desensitization module is used for carrying out desensitization processing on the original element data according to a preset desensitization rule matched with the target component element to obtain desensitized element data;
the display module is used for displaying the second page; the element data of the target component element in the second page is the desensitized element data.
10. An electronic device, the device comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a data desensitization method according to any one of claims 1-8.
11. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement a data desensitization method according to any of claims 1-8.
12. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the data desensitization method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410003079.7A CN117807632A (en) | 2024-01-02 | 2024-01-02 | Data desensitization method, device, electronic equipment, readable storage medium and product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410003079.7A CN117807632A (en) | 2024-01-02 | 2024-01-02 | Data desensitization method, device, electronic equipment, readable storage medium and product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117807632A true CN117807632A (en) | 2024-04-02 |
Family
ID=90428270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410003079.7A Pending CN117807632A (en) | 2024-01-02 | 2024-01-02 | Data desensitization method, device, electronic equipment, readable storage medium and product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117807632A (en) |
-
2024
- 2024-01-02 CN CN202410003079.7A patent/CN117807632A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11599883B2 (en) | System and method for fraud risk analysis in IoT | |
US9123040B2 (en) | Systems and methods for encoded alias based transactions | |
US20120191556A1 (en) | Systems and methods for virtual mobile transaction | |
EP2933772A1 (en) | Method for generating one-time card number | |
AU2018201542A1 (en) | Method and system for secure consumer identification | |
CN115271697A (en) | Payment method, payment device, payment equipment, readable storage medium and computer program product | |
CN114692589A (en) | Method, device and equipment for generating electronic receipt file and computer storage medium | |
CN109845186B (en) | System for data set conversion of accounts | |
CN117807632A (en) | Data desensitization method, device, electronic equipment, readable storage medium and product | |
JP6012663B2 (en) | Electronic value management system and program | |
CN116775110A (en) | Data synchronization method, device, equipment, medium and product | |
JP2019020979A (en) | Information processing device and credibility calculation method | |
CN113128993A (en) | Payment method, payment device, electronic equipment and storage medium | |
CN116527758B (en) | Method, device, equipment, storage medium and product for generating universal identifier | |
CN115438356A (en) | Data storage method, device, equipment and computer readable storage medium | |
US20190213590A1 (en) | Merchant payment system for crytpocurrency | |
CN114708109B (en) | Risk recognition model training method, device, equipment and storage medium | |
CN115033534A (en) | File processing method, device, equipment and computer readable storage medium | |
CN114662065A (en) | Electronic seal using method, device, equipment, medium and product | |
CN115203207A (en) | Data acquisition method, device, equipment, medium and product | |
CN117635156A (en) | Transaction request processing method, device, equipment and computer storage medium | |
CN115617213A (en) | Parameter acquisition method, device, equipment, storage medium and program product | |
US10963849B2 (en) | Method and system for facilitating a cashless transaction | |
CN114661993A (en) | Information query method, device, equipment and computer readable storage medium | |
CN117745352A (en) | Information processing method, device, equipment, medium and product |
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 |