CN106709368A - Data analysis method and device - Google Patents
Data analysis method and device Download PDFInfo
- Publication number
- CN106709368A CN106709368A CN201611160051.6A CN201611160051A CN106709368A CN 106709368 A CN106709368 A CN 106709368A CN 201611160051 A CN201611160051 A CN 201611160051A CN 106709368 A CN106709368 A CN 106709368A
- Authority
- CN
- China
- Prior art keywords
- resolution rules
- data
- resolved
- data analysis
- resolution
- 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
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
-
- 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/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a data analysis method and a data analysis device. The method includes steps of acquiring data to be analyzed; acquiring analysis rule corresponding to the data to be analyzed; encrypting and storing the analysis rule by the database; according to the analysis rule, analyzing the data to be analyzed, and acquiring the analysis result. Through encrypting and storing the analysis rule in the database, the method and device can prevent the analysis rule from being maliciously falsified, damaged and lost.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of data analysis method and device.
Background technology
In any one application system, data parsing is nearly all inevitable.Such as, digital broadcast television front end
In system:Information source part produces various TV programme and data message, and its source includes that satellite reception, telecommunications are received, self-control is saved
Mesh and internet etc.;Other parts in digital broadcast television front end system send after processing various data signals.Phase
Answer, in user terminal, DTV STB is parsed to the data signal for receiving, by by the image of digitalization compressed
Carry out decoded back with voice signal, and extract some required additional informations, such as the information such as channel identication, station symbol,
Then high-quality TV programme are provided to spectators by television indicator and stereo set.
Data (being such as typically all binary data, data structure composition is rule of having an agreement) to be resolved have specification
The data structure of change, can set up resolution rules carries out parsing acquisition analysis result to data to be resolved.Fig. 1 shows existing number
According to the process of analytic method, the different data structure configuration file of manual compiling according to the characteristics of data to be resolved, auxiliary parsing
Data so that resolving can be directed to different data structures and be parsed using targetedly configuration file, finally show
Analysis result.
Existing data analysis method needs manual compiling configuration file, and time and effort consuming accuracy is low.And configuration file is protected
In in the presence of common text document (such as xml, txt document), it is easily damaged and loses.Meanwhile, in the prior art for configuration text
Part lacks inspection authentication mechanism.
The content of the invention
The embodiment of the present invention provides a kind of data analysis method and device, for solving to match somebody with somebody in existing data analysis method
Put the problem that file is easily damaged and loses.
A kind of data analysis method is the embodiment of the invention provides, including:
Obtain data to be resolved;
Resolution rules corresponding with the data to be resolved are obtained, the resolution rules are stored using data base encryption;
The data to be resolved are parsed according to the resolution rules, obtains analysis result.
Alternatively, before acquisition resolution rules corresponding with the data to be resolved, methods described also includes:
The resolution rules that user is input into by interactive interface are received, the resolution rules are stored in database.
Alternatively, before the resolution rules are stored in database, methods described also includes:
The resolution rules are verified;
If the resolution rules are not verified, resolution rules miscue information is shown.
Alternatively, it is described that the resolution rules are verified, including:
Integrity verification and/or validation verification are carried out to the resolution rules.
Alternatively, methods described also includes:
Show the analysis result.
A kind of data analysis device is the embodiment of the invention provides, including:
Data capture unit to be resolved, for obtaining data to be resolved;
Resolution rules acquiring unit, for obtaining resolution rules corresponding with the data to be resolved, the resolution rules
Stored using data base encryption;
Resolution unit, for being parsed to the data to be resolved according to the resolution rules, obtains analysis result.
Alternatively, also include:
Resolution rules storage unit, for receiving the resolution rules that user is input into by interactive interface, the parsing is advised
Then it is stored in database.
Alternatively, also include:
Authentication unit, for being verified to the resolution rules;If the resolution rules are not verified, display solution
Analysis rule errors prompt message.
Alternatively, the authentication unit is further used for:
Integrity verification and/or validation verification are carried out to the resolution rules.
Alternatively, also include:
Display unit, for showing the analysis result.
Data analysis method provided in an embodiment of the present invention and device, obtain data to be resolved;Obtain to be resolved with described
The corresponding resolution rules of data, the resolution rules are stored using data base encryption;Wait to solve to described according to the resolution rules
Analysis data are parsed, and obtain analysis result.The embodiment of the present invention is stored encrypted in database by by resolution rules, is prevented
Resolution rules are maliciously tampered, damaged and loss.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet of existing data analysis method;
Fig. 2 is the schematic flow sheet of one embodiment of the invention data analysis method;
Fig. 3 is the schematic diagram of the data analysis method of one embodiment of the invention;
Fig. 4 is the structural representation of the data analysis device of one embodiment of the invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, clear, complete description is carried out to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 2 is the schematic flow sheet of the data analysis method of one embodiment of the invention.As shown in Fig. 2 the embodiment
Data analysis method includes:
S21:Obtain data to be resolved;
It should be noted that the data to be resolved (such as XML file) of the embodiment of the present invention have the data knot of standardization
Structure, can set up resolution rules carries out parsing acquisition analysis result to data to be resolved.
S22:Resolution rules corresponding with the data to be resolved are obtained, the resolution rules are deposited using data base encryption
Storage;
It should be noted that the embodiment of the present invention introduces database, using data base encryption storing and resolving rule, it is to avoid solution
The breakage of analysis rule and loss.
S23:The data to be resolved are parsed according to the resolution rules, obtains analysis result.
Data analysis method provided in an embodiment of the present invention, obtains data to be resolved;Obtain and the data pair to be resolved
The resolution rules answered, the resolution rules are stored using data base encryption;According to the resolution rules to the data to be resolved
Parsed, obtained analysis result.The embodiment of the present invention is stored encrypted in database by by resolution rules, prevents parsing from advising
Then be maliciously tampered, it is damaged and lose.
It is similar with the method in Fig. 2 in a kind of optional implementation method of the embodiment of the present invention, in the acquisition and institute
Before stating the corresponding resolution rules of data to be resolved, methods described also includes:
The resolution rules that user is input into by interactive interface are received, the resolution rules are stored in database.
It should be noted that the embodiment of the present invention is by the way of man-machine interaction, receives user and be input into by interactive interface
Resolution rules, facilitate user to formulate corresponding with data to be resolved resolution rules.
Further, before the resolution rules are stored in database, methods described also includes (such as Fig. 3 institutes
Show):
The resolution rules are verified;
If the resolution rules are not verified, resolution rules miscue information is shown.
It should be noted that the embodiment of the present invention also includes the process verified to the resolution rules of user input, protect
Demonstrate,prove the validity of the resolution rules of user input.When resolution rules are not verified, resolution rules miscue information is shown,
Prompting user re-enters resolution rules.
Further, it is described that the resolution rules are verified, including:
Integrity verification and/or validation verification are carried out to the resolution rules.
For example, for integrity verification, XML requirements start over and are marked as all filling out appearance, data article requirements
Write;For validation verification, the place that data article requirements fills in numeral does not allow to fill in character string, data item and to fill in do not allow to surpass
Go out data effective range (the such as age should not be negative).
Further, methods described also includes:
Show the analysis result.
The embodiment of the present invention is stored encrypted in database by by resolution rules, prevent resolution rules to be maliciously tampered,
Damaged and loss.User can easily formulate resolution rules by interactive interface, it is to avoid manual compiling configuration is literary in the prior art
The low defect of part time and effort consuming accuracy.While being verified to the resolution rules of user input, accuracy and safety are improve
Property.
Fig. 4 is the structural representation of the data analysis device of one embodiment of the invention.As shown in figure 4, the present invention is implemented
The data analysis device of example includes data capture unit to be resolved 41, resolution rules acquiring unit 42 and resolution unit 43, specifically
Ground:
Data capture unit to be resolved 41, for obtaining data to be resolved;
Resolution rules acquiring unit 42, for obtaining resolution rules corresponding with the data to be resolved, the parsing rule
Then stored using data base encryption;
Resolution unit 43, for being parsed to the data to be resolved according to the resolution rules, obtains analysis result.
Data analysis device provided in an embodiment of the present invention, obtains data to be resolved;Obtain and the data pair to be resolved
The resolution rules answered, the resolution rules are stored using data base encryption;According to the resolution rules to the data to be resolved
Parsed, obtained analysis result.The embodiment of the present invention is stored encrypted in database by by resolution rules, prevents parsing from advising
Then be maliciously tampered, it is damaged and lose.
In a kind of optional implementation method of the embodiment of the present invention, the data analysis device also includes:
Resolution rules storage unit, for receiving the resolution rules that user is input into by interactive interface, the parsing is advised
Then it is stored in database.
Further, also include:
Authentication unit, for being verified to the resolution rules;If the resolution rules are not verified, display solution
Analysis rule errors prompt message.
Authentication unit is further used for:
Integrity verification and/or validation verification are carried out to the resolution rules.
Further, also include:
Display unit, for showing the analysis result.
The device of the embodiment of the present invention can be used for performing above method embodiment, and its principle is similar with technique effect, this
Place repeats no more.
Data analysis method provided in an embodiment of the present invention and device, obtain data to be resolved;Obtain to be resolved with described
The corresponding resolution rules of data, the resolution rules are stored using data base encryption;Wait to solve to described according to the resolution rules
Analysis data are parsed, and obtain analysis result.The embodiment of the present invention is stored encrypted in database by by resolution rules, is prevented
Resolution rules are maliciously tampered, damaged and loss.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
It should be noted that term " including ", "comprising" or its any other variant be intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including
Other key elements being not expressly set out, or it is this process, method, article or the intrinsic key element of equipment also to include.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
In specification of the invention, numerous specific details are set forth.Although it is understood that, embodiments of the invention can
Put into practice with the case of without these details.In some instances, known method, structure and skill is not been shown in detail
Art, so as not to obscure the understanding of this description.Similarly, it will be appreciated that disclose and help understand each to simplify the present invention
One or more in individual inventive aspect, in above to the description of exemplary embodiment of the invention, of the invention each is special
Levying in be grouped together into sometimes single embodiment, figure or descriptions thereof.However, should not be by the method solution of the disclosure
Release and be intended in reflection is following:The feature that i.e. the present invention for required protection requirement ratio is expressly recited in each claim is more
Many features.More precisely, as the following claims reflect, inventive aspect is less than single reality disclosed above
Apply all features of example.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment,
Wherein each claim is in itself as separate embodiments of the invention.
Above example is merely to illustrate technical scheme, rather than its limitations;Although with reference to the foregoing embodiments
The present invention has been described in detail, it will be understood by those within the art that:It still can be to foregoing each implementation
Technical scheme described in example is modified, or carries out equivalent to which part technical characteristic;And these are changed or replace
Change, do not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.
Claims (10)
1. a kind of data analysis method, it is characterised in that including:
Obtain data to be resolved;
Resolution rules corresponding with the data to be resolved are obtained, the resolution rules are stored using data base encryption;
The data to be resolved are parsed according to the resolution rules, obtains analysis result.
2. data analysis method according to claim 1, it is characterised in that in the acquisition and the data pair to be resolved
Before the resolution rules answered, methods described also includes:
The resolution rules that user is input into by interactive interface are received, the resolution rules are stored in database.
3. data analysis method according to claim 2, it is characterised in that the resolution rules are being stored in database
In before, methods described also includes:
The resolution rules are verified;
If the resolution rules are not verified, resolution rules miscue information is shown.
4. data analysis method according to claim 3, it is characterised in that described that the resolution rules are verified,
Including:
Integrity verification and/or validation verification are carried out to the resolution rules.
5. data analysis method according to claim 1, it is characterised in that methods described also includes:
Show the analysis result.
6. a kind of data analysis device, it is characterised in that including:
Data capture unit to be resolved, for obtaining data to be resolved;
Resolution rules acquiring unit, for obtaining resolution rules corresponding with the data to be resolved, the resolution rules are used
Data base encryption is stored;
Resolution unit, for being parsed to the data to be resolved according to the resolution rules, obtains analysis result.
7. data analysis device according to claim 6, it is characterised in that also include:
Resolution rules storage unit, for receiving the resolution rules that user is input into by interactive interface, the resolution rules is protected
In there is database.
8. data analysis device according to claim 7, it is characterised in that also include:
Authentication unit, for being verified to the resolution rules;If the resolution rules are not verified, display parsing rule
Then miscue information.
9. data analysis device according to claim 8, it is characterised in that the authentication unit is further used for:
Integrity verification and/or validation verification are carried out to the resolution rules.
10. data analysis device according to claim 6, it is characterised in that also include:
Display unit, for showing the analysis result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611160051.6A CN106709368A (en) | 2016-12-15 | 2016-12-15 | Data analysis method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611160051.6A CN106709368A (en) | 2016-12-15 | 2016-12-15 | Data analysis method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106709368A true CN106709368A (en) | 2017-05-24 |
Family
ID=58937842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611160051.6A Pending CN106709368A (en) | 2016-12-15 | 2016-12-15 | Data analysis method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106709368A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108519965A (en) * | 2018-03-15 | 2018-09-11 | 链家网(北京)科技有限公司 | Data analysis method and device |
CN109726388A (en) * | 2018-05-07 | 2019-05-07 | 深圳壹账通智能科技有限公司 | Pdf document analytic method, device, equipment and computer readable storage medium |
CN112448971A (en) * | 2019-08-29 | 2021-03-05 | 中科云谷科技有限公司 | Data analysis platform, data analysis method and storage medium |
CN116795886A (en) * | 2023-07-13 | 2023-09-22 | 杭州逍邦网络科技有限公司 | Data analysis engine and method for sales data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073534A (en) * | 2011-02-24 | 2011-05-25 | 深圳市同洲电子股份有限公司 | Data analysis method and device |
US20140281514A1 (en) * | 2013-03-12 | 2014-09-18 | Commvault Systems, Inc. | Automatic file encryption |
CN105512102A (en) * | 2015-12-01 | 2016-04-20 | 北京交控科技股份有限公司 | Data parse method and system |
CN105868311A (en) * | 2016-03-25 | 2016-08-17 | 浪潮通信信息系统有限公司 | Data analyzing method and device |
-
2016
- 2016-12-15 CN CN201611160051.6A patent/CN106709368A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073534A (en) * | 2011-02-24 | 2011-05-25 | 深圳市同洲电子股份有限公司 | Data analysis method and device |
US20140281514A1 (en) * | 2013-03-12 | 2014-09-18 | Commvault Systems, Inc. | Automatic file encryption |
CN105512102A (en) * | 2015-12-01 | 2016-04-20 | 北京交控科技股份有限公司 | Data parse method and system |
CN105868311A (en) * | 2016-03-25 | 2016-08-17 | 浪潮通信信息系统有限公司 | Data analyzing method and device |
Non-Patent Citations (1)
Title |
---|
DINO ESPOSITO等: "《ASP数据访问高级编程》", 31 October 2001 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108519965A (en) * | 2018-03-15 | 2018-09-11 | 链家网(北京)科技有限公司 | Data analysis method and device |
CN109726388A (en) * | 2018-05-07 | 2019-05-07 | 深圳壹账通智能科技有限公司 | Pdf document analytic method, device, equipment and computer readable storage medium |
CN112448971A (en) * | 2019-08-29 | 2021-03-05 | 中科云谷科技有限公司 | Data analysis platform, data analysis method and storage medium |
CN112448971B (en) * | 2019-08-29 | 2024-01-23 | 中科云谷科技有限公司 | Data analysis platform, data analysis method and storage medium |
CN116795886A (en) * | 2023-07-13 | 2023-09-22 | 杭州逍邦网络科技有限公司 | Data analysis engine and method for sales data |
CN116795886B (en) * | 2023-07-13 | 2024-03-08 | 杭州逍邦网络科技有限公司 | Data analysis engine and method for sales data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102625982B (en) | Methods, apparatus and articles of manufacture to provide secondary content in association with primary broadcast media content | |
CN104471951B (en) | Handle the method and device of digital service signal | |
CN106709368A (en) | Data analysis method and device | |
EP4114012A1 (en) | Method and apparatus for processing multimedia information, and electronic device and storage medium | |
CN103733629A (en) | Methods and apparatus to measure exposure to streaming media | |
CN102073534B (en) | Data analysis method and device | |
CN104412609A (en) | Method and apparatus for processing digital service signals | |
CN103069824A (en) | Server load balancing for interactive television | |
CN105264898B (en) | Method for upgrading software, device and equipment | |
US20150007218A1 (en) | Method and apparatus for frame accurate advertisement insertion | |
KR20160127878A (en) | Method and system for verifying integrity and validity of contents using hash code | |
CN109963092B (en) | Subtitle processing method and device and terminal | |
CN106792069A (en) | Method for broadcasting multimedia file and device | |
CN105850141A (en) | Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals | |
CN110021291A (en) | A kind of call method and device of speech synthesis file | |
CN102625989A (en) | Transmission concept for an access unit stream | |
CN103986979B (en) | A kind of copy-right protection method and system | |
US10491934B2 (en) | Transmission device, transmission method, reception device, and reception method | |
US20240146998A1 (en) | Systems, apparatus, and methods to improve watermark detection in acoustic environments | |
CN107578268A (en) | The dispensing content auditing method and server and jettison system of shared billboard | |
CN106599637B (en) | Method and device for inputting verification code on verification interface | |
CN105959678B (en) | A kind of efficient regression testing method based on the detection of audio/video decoder hash characteristic values | |
US20140211978A1 (en) | System and Method to Detect Video Piracy | |
JP5315213B2 (en) | Emergency information transmitter and receiver for digital terrestrial television broadcasting | |
JP5503892B2 (en) | Emergency information transmitter and receiver for digital terrestrial television broadcasting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
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: 20170524 |