CN109902454A - Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing - Google Patents

Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109902454A
CN109902454A CN201910196211.XA CN201910196211A CN109902454A CN 109902454 A CN109902454 A CN 109902454A CN 201910196211 A CN201910196211 A CN 201910196211A CN 109902454 A CN109902454 A CN 109902454A
Authority
CN
China
Prior art keywords
script file
sensitive information
analyzing
script
file
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
Application number
CN201910196211.XA
Other languages
Chinese (zh)
Inventor
徐国爱
徐国胜
山涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201910196211.XA priority Critical patent/CN109902454A/en
Publication of CN109902454A publication Critical patent/CN109902454A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present invention provides a kind of application sensitive information extracting method, device, equipment and readable storage medium storing program for executing, this method comprises: obtaining the acquisition script file and analyzing script file configured according to default script configuration strategy;Executable action command is generated according to the acquisition script file;According to the executable action command by the changing interface of target application to target pages, and save the page data of the target pages;Sensitive information is extracted from the designated position in the page data of the target pages according to the analyzing script file;The analyzing script file includes the location information of the designated position.The embodiment of the present invention, which only needs to configure to obtain acquisition script file and analyzing script file according to default script configuration strategy, can be achieved with extracting the sensitive information of new opplication, it does not need to develop extraction procedure again, can be improved the convenience and efficiency extracted using sensitive information.

Description

Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of application sensitive information extracting method, device, Equipment and readable storage medium storing program for executing.
Background technique
Sensitive information refers to may be comprising the information of the specified contents of forms such as text, audio, image.Mobile terminal with Server interact during there are sensitive information, can to the sensitive information during mobile terminal application operation into Row extracts, then identifies whether the sensitive data extracted includes specified content.
Apply sensitive information extracting method mainly based on packet capturing technology and Hook technology at present.Due to mobile terminal APP It is interacted indeed through http/https agreement and server, the principle of packet capturing is by analyzing specified APP access Back end data interface, sensitive information is extracted from data flow.Hook technology is cut before event goes to terminal The means for taking simultaneously monitor event, can set about Hook in terms of two, first is that the modification of system kernel code, second is that APP code Modification can allow APP to execute specified operation, and be saved in specified position when data return by Hook technology, To realize that sensitive information extracts.
However, the limitation of packet capturing technology and Hook technology is all bigger, it is primarily present following deficiency: new is answered It requires to develop corresponding program again with, packet capturing technology and Hook technology and is just able to achieve sensitive information extraction.For packet capturing technology, Due to being to extract sensitive information from specific data flow, access it is new in application, need to analyze new application, look for The address that back-end server is accessed to it, then extracts sensitive data from data flow again.After different application access Platform server address is different, so needing to develop program again for different applications.For Hook technology, in different application Portion's structure is different, and the location point for carrying out Hook is also different, extracts sensitive information from new application and needs to new application It is analyzed, searching out can be with the location point of Hook.
Summary of the invention
The embodiment of the present invention provides a kind of application sensitive information extracting method, device, equipment and readable storage medium storing program for executing, with solution Certainly at present for new application, need to develop corresponding extraction procedure again just and can be carried out sensitive information extraction after analysis application The problem of.
In a first aspect, the embodiment of the present invention provides a kind of application sensitive information extracting method, comprising:
Obtain the acquisition script file and analyzing script file configured according to default script configuration strategy;
Executable action command is generated according to the acquisition script file;
According to the executable action command by the changing interface of target application to target pages, and save the page object The page data in face;
Sensitive information is extracted from the designated position in the page data of the target pages according to the analyzing script file; The analyzing script file includes the location information of the designated position.
In a kind of possible embodiment, the default script configuration strategy includes acquisition script configuration strategy and parsing Script configuration strategy;The acquisition script configuration strategy includes the movement that runs the terminal device of the target application and can execute Language Provisioning Policy;The parsing script configuration strategy includes the language setting of the location information of designated position in page data Strategy.
In a kind of possible embodiment, in the acquisition script text for obtaining and being configured according to default script configuration strategy After part and analyzing script file, before the generation action command according to the acquisition script file, further includes:
The acquisition script file and the analyzing script file are verified according to default verification strategy.
In a kind of possible embodiment, the file format of the acquisition script file and the analyzing script file is equal For extensible markup language format;
The page data for saving the target pages, comprising:
The page data of the target pages is saved as to the page data file of extensible markup language format.
In a kind of possible embodiment, the analyzing script file includes the expansible mark for indicating the designated position Remember language path language information;
It is described that sensitivity is extracted from the designated position in the page data of the target pages according to the analyzing script file Information, comprising:
The specific bit of the extensible markup language path language information instruction is oriented from the page data file It sets;
Sensitive information is extracted from the designated position.
Second aspect, the embodiment of the present invention provide a kind of application sensitive information extraction element, comprising:
Module is obtained, for obtaining acquisition script file and parsing script text according to the configuration of default script configuration strategy Part;
Generation module, for generating executable action command according to the acquisition script file;
Switching module, for according to the executable action command by the changing interface of target application to target pages, and Save the page data of the target pages;
Extraction module, for according to the analyzing script file from the designated position in the page data of the target pages Extract sensitive information;The analyzing script file includes the location information of the designated position.
In a kind of possible embodiment, the default script configuration strategy includes acquisition script configuration strategy and parsing Script configuration strategy;The acquisition script configuration strategy includes the movement that runs the terminal device of the target application and can execute Language Provisioning Policy;The parsing script configuration strategy includes the language setting of the location information of designated position in page data Strategy.
Further include correction verification module in a kind of possible embodiment, the correction verification module is used for:
The acquisition script file and the analyzing script file are verified according to default verification strategy.
The third aspect, the embodiment of the present invention provide a kind of application sensitive information extract equipment, comprising: at least one processor And memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one Processor, which executes, applies sensitive information extraction side described in the various possible embodiments of first aspect and first aspect as above Method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer executed instructions are stored in matter, when processor execute the computer executed instructions when, realize first aspect as above with And sensitive information extracting method is applied described in the various possible embodiments of first aspect.
Application sensitive information extracting method, device, equipment and readable storage medium storing program for executing provided in this embodiment are pressed by obtaining According to the acquisition script file and analyzing script file of the configuration of default script configuration strategy;It is generated according to acquisition script file executable Action command;According to executable action command by the changing interface of target application to target pages, and save the page of target pages Face data;Sensitive information is extracted from the designated position in the page data of target pages according to analyzing script file;Parse script File includes the location information of designated position, can be realized the extraction using sensitive information.The embodiment of the present invention passes through acquisition foot This document makes target application run to target pages, can extract the quick of target pages designated position by analyzing script file Information is felt, for new application, it is only necessary to configure to obtain acquisition script file and parsing script according to default script configuration strategy File can be achieved with extracting the sensitive information of new opplication, not need to develop extraction procedure again, can be improved using sensitive letter Cease the convenience and efficiency extracted.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram using sensitive information extracting method that one embodiment of the invention provides;
Fig. 2 is the flow diagram using sensitive information extracting method that further embodiment of this invention provides;
Fig. 3 be another embodiment of the present invention provides the flow diagram using sensitive information extracting method;
Fig. 4 is the structural schematic diagram using sensitive information extraction element that one embodiment of the invention provides;
Fig. 5 is the structural schematic diagram using sensitive information extraction element that further embodiment of this invention provides;
Fig. 6 is the hardware structural diagram using sensitive information extract equipment that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In embodiments of the present invention, using sensitive information be run on terminal device application with server or other set The data of the specified contents of forms such as text, audio, image may be included in interaction data between standby.It may in sensitive information Comprising specifying content, it is also possible to not include specified content, identification judgement can be carried out to the sensitive information extracted with subsequent.It is sensitive The specified content that may include in information and sensitive information is not limited thereto.For example, can will apply in account registration process Account information as the sensitive information to be extracted, by somewhere name, certain country name, certain vocabulary etc. as specified content;It can be with Certain part text in interacting using application with server is as the sensitive information to be extracted, using certain words and phrases as specified content;Or Person can will application interact with server in certain pictures as the sensitive information to be extracted, using certain target object image as referring to Determine content.
Application sensitive information extracting method provided in an embodiment of the present invention is for extracting sensitive data.It is subsequent can be with The sensitive data that the present embodiment extracts is handled by matching and recognition method, and then determines the sensitive data extracted Whether comprising specified content, it is not limited thereto.
Fig. 1 is the flow diagram using sensitive information extracting method that one embodiment of the invention provides.The present embodiment Executing subject is terminal device, such as mobile phone, plate, car-mounted terminal etc., is not limited thereto.Terminal device can execute this and answer Sensitive information extraction is carried out to the application operated on the terminal device with sensitive information extracting method, the application can also be executed Sensitive information extracting method carries out sensitive information extraction to the application operated in another terminal, is not limited thereto.For example, the One terminal can execute this and carry out sensitive information extraction to certain application operated in this terminal using sensitive information extracting method, First terminal can also execute this and carry out sensitive letter to certain application operated in second terminal using sensitive information extracting method Breath extracts.
As shown in Figure 1, this method comprises:
The acquisition script file and analyzing script file that S101, acquisition are configured according to default script configuration strategy.
In the present embodiment, the relevant configuration that script configuration strategy includes acquisition script file and analyzing script file is preset Policy information.User can be according to default script configuration strategy need to carry out sensitive information extraction target application configuration it is corresponding Acquisition script file and analyzing script file.Wherein, acquisition script file includes by the changing interface of target application to target The information of one or more execution movement of the page.Analyzing script file includes page location where sensitive information in target pages Information.
Optionally, the default script configuration strategy includes acquisition script configuration strategy and parsing script configuration strategy;Institute Stating acquisition script configuration strategy includes the language Provisioning Policy for running the movement that the terminal device of the target application can execute; The parsing script configuration strategy includes the language Provisioning Policy of the location information of designated position in page data.
In the present embodiment, presetting script configuration strategy includes acquisition script configuration strategy and parsing script configuration strategy. Wherein, acquisition script configuration strategy is the corresponding configuration strategy of acquisition script file.Acquiring script configuration strategy includes operation mesh The language Provisioning Policy for the movement that the terminal device of mark application can execute.For example, the terminal device institute energy of operational objective application The movement of execution may include clicking, sliding, return etc., be not limited thereto.The language Provisioning Policy of movement, which refers to, to be acquired Corresponding program language expression-form is acted in script file, it can be according to the program language type of acquisition script file come in advance Set corresponding acquisition script configuration strategy.For example, acquisition script file be XML (eXtensible Markup Language, Extensible markup language) formatted file, then acquiring the language Provisioning Policy acted in script configuration strategy is the corresponding XML of movement Language expression-form.It should be noted that acquisition script file can also be using other data language forms, such as JSON (JavaScript Object Notation, JS object numbered musical notation), YAML (YAML Ain't Markup Language) etc., this Embodiment does not limit the data language form of acquisition script file herein.
Parsing script configuration strategy is the corresponding configuration strategy of analyzing script file.Parsing script configuration strategy includes the page The language Provisioning Policy of the location information of designated position in data.For example, designated position may include control institute in page data In position, picture loading position, text display position etc., it is not limited thereto.The language Provisioning Policy of location information refers to The corresponding program language expression-form of location information in analyzing script file, can be according to the program language class of analyzing script file Type presets corresponding parsing script configuration strategy.For example, analyzing script file is XML format file, then script is parsed The language Provisioning Policy of location information is the corresponding XML language expression-form of location information in configuration strategy, such as Xpath (XML Path Language, XML Path Language) etc..It should be noted that analyzing script file can also be using other data languages Speech form, such as JSON, YAML, the present embodiment do not limit the data language form of analyzing script file herein.
The present embodiment is by acquisition script configuration strategy and parsing script configuration strategy, so that unfamiliar to program code User fast and convenient can also configure acquisition script configuration strategy and parsing script configuration strategy, can reduce and believe sensitivity Cease the technical difficulty extracted.
S102, executable action command is generated according to the acquisition script file.
In the present embodiment, the movement that executable action command refers to that the terminal device of operational objective application is able to carry out refers to It enables.Can will acquire the code statement in script file successively translate into operational objective application terminal device be able to carry out it is dynamic It instructs.
S103, according to the executable action command by the changing interface of target application to target pages, and described in saving The page data of target pages.
In the present embodiment, if executing the terminal device and the end of operational objective application using sensitive information extracting method End equipment is same equipment, is first terminal equipment, then the first terminal equipment executes the executable action command for target The changing interface of application saves the page data of target pages to target pages.
If executing the terminal device for applying sensitive information extracting method is first terminal equipment, the end of operational objective application End equipment is second terminal equipment, and the two is not same equipment, then first terminal equipment can be by referring to the executable movement Order is sent to second terminal equipment, and instruction second terminal equipment executes the executable action command for the changing interface of target application To target pages, and from the page data of second terminal equipment acquisition target pages, and save the page data of target pages.
S104, sensitivity is extracted from the designated position in the page data of the target pages according to the analyzing script file Information;The analyzing script file includes the location information of the designated position.
In the present embodiment, analyzing script file includes the location information of designated position.Wherein, designated position is that user is pre- First specified sensitive information appears in the position in page data.Can according to the location information target pages page data In orient designated position, then extract the sensitive information of designated position.
The embodiment of the present invention is by obtaining the acquisition script file and parsing script that configure according to default script configuration strategy File;Executable action command is generated according to acquisition script file;The interface of target application is cut according to executable action command Target pages are shifted to, and save the page data of target pages;According to analyzing script file from the page data of target pages Designated position extract sensitive information;Analyzing script file includes the location information of designated position, be can be realized using sensitive letter The extraction of breath.The embodiment of the present invention makes target application run to target pages by acquiring script file, passes through parsing script text Part can extract the sensitive information of target pages designated position, for new application, it is only necessary to configure plan according to default script Slightly configuration, which obtains acquisition script file and analyzing script file, can be achieved with extracting the sensitive information of new opplication, not need again Extraction procedure is developed, can be improved the convenience and efficiency extracted using sensitive information.
Fig. 2 is the flow diagram using sensitive information extracting method that further embodiment of this invention provides.The present embodiment On the basis of Fig. 1 embodiment, the specific implementation process of the present embodiment is described in detail.As shown in Fig. 2, this method packet It includes:
The acquisition script file and analyzing script file that S201, acquisition are configured according to default script configuration strategy.
In the present embodiment, S201 is similar with the S101 in Fig. 1 embodiment, and details are not described herein again.
S202, the acquisition script file and the analyzing script file are verified according to default verification strategy.
In the present embodiment, default verification strategy is checked for acquisition script file and whether analyzing script file accords with It closes and requires.Acquisition script file and analyzing script file can be verified according to default verification strategy.For example, default verification Strategy can include but is not limited to linguistic norm verification strategy, operation support verification strategy, data format verification strategy in extremely Few one kind.Wherein, linguistic norm verification strategy is for verifying whether acquisition script file and analyzing script file meet accordingly Program language specification;Operation supports verification strategy for verifying acquisition script file and operation or instruction in analyzing script file Whether supported;Data format verification strategy is for verifying the number of specified attribute in acquisition script file and analyzing script file It is whether correct according to format.
If S203, verifying successfully, executable action command is generated according to the acquisition script file.
In the present embodiment, if verification failure, can by verification failed message remind user acquire script file and/or Analyzing script file there is a problem of it is undesirable, so as to user to acquisition script file and/or analyzing script file carry out Modification;If verifying successfully, executable action command will be generated according to acquisition script file.
S204, according to the executable action command by the changing interface of target application to target pages, and described in saving The page data of target pages.
In the present embodiment, S204 is similar with the S103 in Fig. 1 embodiment, and details are not described herein again.
S205, sensitivity is extracted from the designated position in the page data of the target pages according to the analyzing script file Information;The analyzing script file includes the location information of the designated position.
In the present embodiment, S205 is similar with the S104 in Fig. 1 embodiment, and details are not described herein again.
The present embodiment verifies acquisition script file and analyzing script file by default verification strategy, can check The problem of not meeting specification in script file and analyzing script file is acquired out, user can be reminded accordingly to be modified.
Fig. 3 be another embodiment of the present invention provides the flow diagram using sensitive information extracting method.The present embodiment On the basis of Fig. 1 embodiment, the specific implementation process of the present embodiment is described in detail.It is described to adopt in the present embodiment The file format for collecting script file and the analyzing script file is extensible markup language format;As shown in figure 3, this method Include:
The acquisition script file and analyzing script file that S301, acquisition are configured according to default script configuration strategy.
In the present embodiment, S301 is similar with the S101 in Fig. 1 embodiment, and details are not described herein again.
S302, executable action command is generated according to the acquisition script file.
In the present embodiment, S302 is similar with the S102 in Fig. 1 embodiment, and details are not described herein again.
S303, according to the executable action command by the changing interface of target application to target pages, and by the mesh The page data of the mark page saves as the page data file of extensible markup language format.
In the present embodiment, can according to executable action command by the changing interface of target application to target pages, and The file of the page data of target pages in xml format is saved.It, can be with for example, for the terminal device of Android system The target pages for being currently at display state are stored under specified directory with the format of XML by Dump operational order.
S304, the finger that the extensible markup language path language information instruction is oriented from the page data file Positioning is set;The analyzing script file includes the extensible markup language path language information for indicating the designated position.
In the present embodiment, analyzing script file includes the extensible markup language path language letter of characterization designated position Breath.Wherein, extensible markup language path language information can be Xpath sentence.Xpath sentence is to position from XML file The language of designated position.It is corresponding that Xpath sentence in analyzing script file can be oriented from the page data file of XML format Designated position.
S305, sensitive information is extracted from the designated position.
In the present embodiment, sensitive information can be extracted from the designated position in the page data file of XML format, and The sensitive information extracted is saved, the processing such as match cognization is carried out to the sensitive information extracted so as to subsequent.For example, can incite somebody to action The sensitive information extracted is saved in database, or the sensitive information extracted is saved as to the file of JSON format.
Traditional application sensitive information extracting method mainly based on packet capturing and Android hook, has the disadvantage that
1) it for new application, requires to develop again.
Packet capturing technology is actually to extract sensitive information from specific data flow, accesses new in application, needing user Application is analyzed, its address for accessing back-end server is found, sensitive data is then extracted from data flow again, due to not The background server address of same application access is different, so needing to develop again for different applications;For Hook skill Art, different application internal structure is different, and the point for carrying out Hook is also different, and sensitive information needs pair are extracted from new application New application is analyzed.
2) other deficiencies of packet capturing technology.
Information collecting method based on protocal analysis is most common mobile application sensitive information extracting method, But for cryptographic protocol as https, since its encryption mechanism is perfect, so be difficult to be cracked, it is many times even broken Solution is not.
3) other deficiencies of Hook technology.
Code Obfuscation Security Technology is very mature, general Hook technology need to carry out APP decompiling searches out can be with The point of Hook, the step for need the technical foundation of profession, and need to find Hook point again for different APP, in addition, No matter requiring extremely strong professional knowledge for the APP access new for one of which type of Hook technology and developing again.
Application sensitive information extracting method provided in an embodiment of the present invention, can to mobile device apply sensitive information into Row extracts, and provides unified access strategy, can quickly access new application, can be extracted according to specific XML script strategy Sensitive data is without being customized exploitation to different APP.It has the advantage that
1) based on the extracting method for custom-configuring strategy.This method only needs to be configured according to script file configuration strategy new Acquisition script file and analyzing script file the acquisition of new opplication sensitive data can be realized.
2) based on the extracting method of Xpath.Compared to other extracting methods, this method does not need to carry out protocal analysis, It does not need to analyze APP source code, simplify using sensitive information extraction process.
3) support of more programming languages.Since this method is realized based on script configuration strategy, for different language, only Script file is translated as the identifiable instruction of equipment according to script configuration strategy, this method can be realized.
The embodiment of the present invention is by obtaining the acquisition script file and parsing script that configure according to default script configuration strategy File;Executable action command is generated according to acquisition script file;The interface of target application is cut according to executable action command Target pages are shifted to, and save the page data of target pages;According to analyzing script file from the page data of target pages Designated position extract sensitive information;Analyzing script file includes the location information of designated position, be can be realized using sensitive letter The extraction of breath.The embodiment of the present invention makes target application run to target pages by acquiring script file, passes through parsing script text Part can extract the sensitive information of target pages designated position, for new application, it is only necessary to configure plan according to default script Slightly configuration, which obtains acquisition script file and analyzing script file, can be achieved with extracting the sensitive information of new opplication, not need again Extraction procedure is developed, can be improved the convenience and efficiency extracted using sensitive information.
Fig. 4 is the structural schematic diagram using sensitive information extraction element that one embodiment of the invention provides.As shown in figure 4, This includes: to obtain module 401, generation module 402, switching module 403 and extraction module using sensitive information extraction element 40 404。
Module 401 is obtained, for obtaining acquisition script file and parsing script according to the configuration of default script configuration strategy File.
Generation module 402, for generating executable action command according to the acquisition script file.
Switching module 403, for according to the executable action command by the changing interface of target application to target pages, And save the page data of the target pages.
Extraction module 404, for according to the analyzing script file from specified in the page data of the target pages Extract sensitive information in position;The analyzing script file includes the location information of the designated position.
The embodiment of the present invention by obtain module obtain acquisition script file configure according to default script configuration strategy with Analyzing script file;Generation module generates executable action command according to acquisition script file;Switching module is according to executable dynamic It instructs the changing interface of target application to target pages, and saves the page data of target pages;Extraction module is according to solution It analyses script file and extracts sensitive information from the designated position in the page data of target pages;Analyzing script file includes specific bit The location information set can be realized the extraction using sensitive information.The embodiment of the present invention answers target by acquiring script file With target pages are run to, the sensitive information of target pages designated position can be extracted by analyzing script file, for new Application, it is only necessary to configure to obtain acquisition script file according to default script configuration strategy and analyzing script file can be achieved with pair The sensitive information of new opplication extracts, and does not need to develop extraction procedure again, can be improved the convenience extracted using sensitive information And efficiency.
Fig. 5 is the structural schematic diagram using sensitive information extraction element that further embodiment of this invention provides.Such as Fig. 5 institute Show, the application sensitive information provided in this embodiment provided using the embodiment shown in Fig. 4 of sensitive information extraction element 40 extracts On the basis of device, further includes: correction verification module 405.
Optionally, the default script configuration strategy includes acquisition script configuration strategy and parsing script configuration strategy;Institute Stating acquisition script configuration strategy includes the language Provisioning Policy for running the movement that the terminal device of the target application can execute; The parsing script configuration strategy includes the language Provisioning Policy of the location information of designated position in page data.
Optionally, the correction verification module 405 is used for:
The acquisition script file and the analyzing script file are verified according to default verification strategy.
Optionally, the file format of the acquisition script file and the analyzing script file is extensible markup language Format;The switching module 403 is used for:
The page data of the target pages is saved as to the page data file of extensible markup language format.
Optionally, the analyzing script file includes the extensible markup language path language letter for indicating the designated position Breath;The extraction module 404 is used for:
The specific bit of the extensible markup language path language information instruction is oriented from the page data file It sets;
Sensitive information is extracted from the designated position.
Application sensitive information extraction element provided in an embodiment of the present invention, can be used for executing above-mentioned embodiment of the method, The realization principle and technical effect are similar, and details are not described herein again for the present embodiment.
Fig. 6 is the hardware structural diagram using sensitive information extract equipment that one embodiment of the invention provides.Such as Fig. 6 institute Show, application sensitive information extract equipment 60 provided in this embodiment includes: at least one processor 601 and memory 602.This is answered It further include communication component 603 with sensitive information extract equipment 60.Wherein, processor 601, memory 602 and communication component 603 It is connected by bus 604.
During specific implementation, at least one processor 601 executes the computer execution that the memory 602 stores and refers to It enables, so that at least one processor 601 executes application sensitive information extracting method as above.
The specific implementation process of processor 601 can be found in above method embodiment, and it is similar that the realization principle and technical effect are similar, Details are not described herein again for the present embodiment.
In above-mentioned embodiment shown in fig. 6, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of invention disclosed method to have executed At, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage.
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
The application also provides a kind of computer readable storage medium, and calculating is stored in the computer readable storage medium Machine executes instruction, and when processor executes the computer executed instructions, realizes application sensitive information extracting method as above.
Above-mentioned computer readable storage medium, above-mentioned readable storage medium storing program for executing can be by any kind of volatibility or non- Volatile storage devices or their combination realize that, such as static random access memory (SRAM), electrically erasable is only It reads memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) is read-only to deposit Reservoir (ROM), magnetic memory, flash memory, disk or CD.Readable storage medium storing program for executing can be general or specialized computer capacity Any usable medium enough accessed.
A kind of illustrative readable storage medium storing program for executing is coupled to processor, to enable a processor to from the readable storage medium storing program for executing Information is read, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing is also possible to the composition portion of processor Point.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC) in.Certainly, processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in equipment In.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of application sensitive information extracting method characterized by comprising
Obtain the acquisition script file and analyzing script file configured according to default script configuration strategy;
Executable action command is generated according to the acquisition script file;
According to the executable action command by the changing interface of target application to target pages, and save the target pages Page data;
Sensitive information is extracted from the designated position in the page data of the target pages according to the analyzing script file;It is described Analyzing script file includes the location information of the designated position.
2. the method according to claim 1, wherein the default script configuration strategy includes acquisition script configuration Strategy and parsing script configuration strategy;The acquisition script configuration strategy includes the terminal device institute energy for running the target application The language Provisioning Policy of the movement of execution;The parsing script configuration strategy includes the location information of designated position in page data Language Provisioning Policy.
3. the method according to claim 1, wherein being referred to described according to acquisition script file generation movement Before order, further includes:
The acquisition script file and the analyzing script file are verified according to default verification strategy.
4. method according to any one of claims 1 to 3, which is characterized in that the acquisition script file and the parsing The file format of script file is extensible markup language format;
The page data for saving the target pages, comprising:
The page data of the target pages is saved as to the page data file of extensible markup language format.
5. according to the method described in claim 4, it is characterized in that, the analyzing script file includes to indicate the designated position Extensible markup language path language information;
It is described that sensitive information is extracted from the designated position in the page data of the target pages according to the analyzing script file, Include:
The designated position of the extensible markup language path language information instruction is oriented from the page data file;
Sensitive information is extracted from the designated position.
6. a kind of application sensitive information extraction element characterized by comprising
Module is obtained, for obtaining the acquisition script file and analyzing script file that configure according to default script configuration strategy;
Generation module, for generating executable action command according to the acquisition script file;
Switching module, for, by the changing interface of target application to target pages, and being saved according to the executable action command The page data of the target pages;
Extraction module, for being extracted according to the analyzing script file from the designated position in the page data of the target pages Sensitive information;The analyzing script file includes the location information of the designated position.
7. device according to claim 6, which is characterized in that the default script configuration strategy includes acquisition script configuration Strategy and parsing script configuration strategy;The acquisition script configuration strategy includes the terminal device institute energy for running the target application The language Provisioning Policy of the movement of execution;The parsing script configuration strategy includes the location information of designated position in page data Language Provisioning Policy.
8. device according to claim 6, which is characterized in that further include correction verification module, the correction verification module is used for:
The acquisition script file and the analyzing script file are verified according to default verification strategy.
9. a kind of application sensitive information extract equipment characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing Device executes such as application sensitive information extracting method described in any one of claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium It executes instruction, when processor executes the computer executed instructions, realizes such as application described in any one of claim 1 to 5 Sensitive information extracting method.
CN201910196211.XA 2019-03-15 2019-03-15 Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing Pending CN109902454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910196211.XA CN109902454A (en) 2019-03-15 2019-03-15 Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910196211.XA CN109902454A (en) 2019-03-15 2019-03-15 Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109902454A true CN109902454A (en) 2019-06-18

Family

ID=66952626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910196211.XA Pending CN109902454A (en) 2019-03-15 2019-03-15 Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109902454A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837455A (en) * 2019-11-07 2020-02-25 北京宝兰德软件股份有限公司 Script-based application configuration information acquisition method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850549A (en) * 2014-02-13 2015-08-19 夷希数码科技(上海)有限公司 Method for monitoring public opinions on Internet
CN106326225A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Page data acquisition method and device
CN107678932A (en) * 2017-09-29 2018-02-09 浪潮软件集团有限公司 Application performance analysis method and device
CN108228305A (en) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN108319489A (en) * 2018-02-13 2018-07-24 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page
CN108845939A (en) * 2018-06-12 2018-11-20 郑州云海信息技术有限公司 A kind of test method and system of the monitoring of server B MC Web hardware information
CN109165332A (en) * 2018-09-13 2019-01-08 郑州云海信息技术有限公司 A kind of webpage information acquisition methods, device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850549A (en) * 2014-02-13 2015-08-19 夷希数码科技(上海)有限公司 Method for monitoring public opinions on Internet
CN106326225A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Page data acquisition method and device
CN107678932A (en) * 2017-09-29 2018-02-09 浪潮软件集团有限公司 Application performance analysis method and device
CN108228305A (en) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN108319489A (en) * 2018-02-13 2018-07-24 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page
CN108845939A (en) * 2018-06-12 2018-11-20 郑州云海信息技术有限公司 A kind of test method and system of the monitoring of server B MC Web hardware information
CN109165332A (en) * 2018-09-13 2019-01-08 郑州云海信息技术有限公司 A kind of webpage information acquisition methods, device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837455A (en) * 2019-11-07 2020-02-25 北京宝兰德软件股份有限公司 Script-based application configuration information acquisition method and device
CN110837455B (en) * 2019-11-07 2023-04-14 北京宝兰德软件股份有限公司 Script-based application configuration information acquisition method and device

Similar Documents

Publication Publication Date Title
CN109885311B (en) Application program generation method and device
CN108108162B (en) Application programming interface generation method and device
US9930533B2 (en) Identity authentication by using human biological characteristic
US11176141B2 (en) Preserving emotion of user input
US9292253B2 (en) Methods and apparatus for voiced-enabling a web application
US9781262B2 (en) Methods and apparatus for voice-enabling a web application
US9400633B2 (en) Methods and apparatus for voiced-enabling a web application
US10713437B2 (en) Method and apparatus for identifying questionable line break characters in an application
US10157612B2 (en) Methods and apparatus for voice-enabling a web application
CN109410932B (en) Voice operation method and device based on HTML5 webpage
US10318286B2 (en) Adding on-the-fly comments to code
CN111367595B (en) Data processing method, program running method, device and processing equipment
US9292252B2 (en) Methods and apparatus for voiced-enabling a web application
CN107797996B (en) Entry translation method and device
CN110908657A (en) Product generation method and device
CN109902454A (en) Using sensitive information extracting method, device, equipment and readable storage medium storing program for executing
CN111240790B (en) Multi-language adaptation method, device, client and storage medium for application
CN107239265B (en) Binding method and device of Java function and C function
CN116541116A (en) Application interface rendering method, device, medium and equipment of cloud native system
WO2022099913A1 (en) Interface configuration method and apparatus, and device and medium
CN112114794A (en) Automatic generation method and device of website application program and computer storage medium
CN113031959B (en) Variable replacement method, device, system and storage medium
CN117289941A (en) Target file generation method and device, electronic equipment and storage medium
CN113703819B (en) Dynamic message analysis method, device, equipment and medium
US20240045701A1 (en) Method, device and system for loading page data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618