CN109684843A - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN109684843A CN109684843A CN201811593681.1A CN201811593681A CN109684843A CN 109684843 A CN109684843 A CN 109684843A CN 201811593681 A CN201811593681 A CN 201811593681A CN 109684843 A CN109684843 A CN 109684843A
- Authority
- CN
- China
- Prior art keywords
- self
- character
- target
- data
- defining
- 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/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/56—Computer malware detection or handling, e.g. anti-virus arrangements
- G06F21/562—Static detection
- G06F21/563—Static detection by source code analysis
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- Virology (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides data processing method and device.The data processing method includes: to obtain pre-stored self-defining character;Use the target data in the source code of self-defining character replacement target pages, and store the corresponding relationship for the target data that the self-defining character is replaced with it, wherein, when showing the target pages, the target data is shown on the target pages according to the corresponding relationship.The data that the method gets crawler user are replaced self-defining characters, if it is not known that corresponding relationship therein, can not just learn correct target data, core data is effectively protected.
Description
Technical field
The present invention relates to field of information security technology, in particular to a kind of data processing method and device.
Background technique
Crawler: web crawlers (be otherwise known as webpage spider, network robot, more frequent to be known as webpage follower) is
One kind according to certain rules, automatically grabbing the program or script of information.In actual scene, crawler is also referred to as ant
Ant, automatic indexing, simulation program or worm.
Anti- crawler, a method of restraining the behavior of malice crawler.In the prior art, mainly pass through limitation crawler user's
IP (Internet Protocol Address, internet protocol address) identifies crawler user, to protect important data.By
It can avoid being limited by modes such as the IP that hides oneself in crawler user, so identification crawler user is relatively difficult, it cannot
Core data is effectively protected.
Summary of the invention
The application is to provide a kind of data processing method and device, and core cannot be effectively protected in the prior art to improve
Calculation according to the technical issues of.
The embodiment of the present invention is accomplished in that
In a first aspect, the embodiment of the present invention provides a kind of data processing method, which comprises obtain pre-stored
Self-defining character;Using the target data in the source code of self-defining character replacement target pages, and made by oneself described in storage
The corresponding relationship for the target data that adopted character is replaced with it, wherein when showing the target pages, according to the corresponding relationship
The target data is shown on the target pages.
In the technical solution of the embodiment of the present invention, using pre-stored self-defining character to the source code of target pages
In target data be replaced, and store the corresponding relationship of replacement.Compared with prior art, without going to find crawler user
Its IP is limited again, and the data got from page source code for crawler user are replaced self-defining characters, such as
Fruit does not know corresponding relationship therein, can not just learn correct target data, core data is effectively protected.
With reference to first aspect, in the first possible implementation of the first aspect, it obtains pre-stored customized
Character includes:
At least two self-defining characters are arbitrarily selected from pre-stored definition characters;Correspondingly, described in use
Self-defining character replaces the target data in the source code of target pages, and stores the target that the self-defining character is replaced with it
The corresponding relationship of data, comprising: use the number of targets in the source code of at least two self-defining character replacement target pages
According to, and store the corresponding relationship for the target data that every kind of self-defining character is replaced with it.It is replaced using a variety of self-defining characters
It changes, keep the corresponding relationship of replacement more complicated and there is randomness.If crawler is wanted to attempt to crack corresponding relationship, complicated and random
The stronger corresponding relationship of property increases the difficulty cracked, accomplishes that core data is effectively protected.
With reference to first aspect, in the second possible implementation of the first aspect, it obtains pre-stored customized
Character, comprising: periodically acquire pre-stored self-defining character, wherein the self-defining character at least obtained twice is mutually not
It is identical.By periodically obtaining different self-defining characters, then the self-defining character of replacement target data is also periodically
Variation, enable corresponding relationship dynamic change and update, it is significantly more efficient to prevent crawler user from carrying out specific aim analysis and stealing
Take core data.
With reference to first aspect, in a third possible implementation of the first aspect, pre-stored make by oneself is being obtained
Before adopted character, the method also includes:
Obtain a variety of original characters;A variety of original characters are converted according to preset rules, obtain with it is described more
The corresponding self-defining character of kind original character, and the self-defining character is subjected to corresponding storage.Select a variety of initial words
Symbol, is converted according to preset rules, obtains a variety of self-defining characters, crawler is made to be difficult to steal correct core data.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, the preset rules include change the corresponding scale coding of the original character, change the original character it is corresponding into
At least one of the format of position system coding.By the customized word being converted to for carrying out at least one mode to original character
Symbol, makes crawler be difficult to crack the corresponding target data of self-defining character, core data is effectively protected.
Second aspect, the embodiment of the present invention also provide a kind of data processing method, which comprises receive the mesh of user
Mark accessing page request;Obtain self-defining character in source code corresponding with the target pages and the source code and
The corresponding relationship of its target data replaced;Show the target pages, and according to the corresponding relationship by the target data
It is shown on the target pages.
Correct target data is shown to normal users according to corresponding relationship, is not influenced while protecting core data
The browsing of normal users.
In conjunction with second aspect, in the first possible implementation of the second aspect, oneself in the source code is obtained
Definition character and the corresponding relationship of its target data replaced include: at least two self-defining characters obtained in the source code
The corresponding relationship for the target data replaced with it, the corresponding relationship include in the source code every kind of self-defining character replaced with it
The corresponding relationship for the target data changed.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect
In, the target data is shown on the target pages to include: true according to the corresponding relationship according to the corresponding relationship
The target data that fixed at least two self-defining character is replaced respectively;The target data replaced respectively is shown described
On target pages.
The third aspect, the embodiment of the present invention provide a kind of data processing equipment, and the data processing equipment includes for real
The functional module of method described in existing first aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of data processing equipment, and the data processing equipment includes being used for
Realize the functional module of method described in second aspect.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, the embodiment of the present invention is cited below particularly, and match
Appended attached drawing is closed, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described.It should be appreciated that the following drawings illustrates only certain embodiments of the present invention, therefore it is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is data processing system structural schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of data processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is another data processing method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of functional block diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 5 is the functional block diagram of another data processing equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.Obviously, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.It is logical
The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
In order to which the technical solution of the embodiment of the present invention is more clearly understood, the embodiment of the present invention is first to of the invention real
The application scenarios for applying the technical solution of example are described.
Fig. 1 is please referred to, is a kind of data processing system 100 provided in an embodiment of the present invention, as shown in Figure 1, data processing
System 100 includes client 101 and server 102, is communicated to connect between client 101 and server 102.Client therein
101 can be the web browser etc. of the electronic equipment such as mobile phone, computer or installation on an electronic device, and user can benefit
Various data are inquired or browsed with client 101.Server 102 can be different types of server such as file service
Device, terminal server or mail server etc..Store a large amount of data in server 102, these data can be for user
Inquiry or browsing.But about core datas such as the privacy of user or trade secret or identity informations, may not be
What all users can see, therefore want to steal these core datas there is the behavior of some malice, in this case,
Server 102 just needs to protect these core datas, while also to guarantee that normal users can get core data.
Wherein, normal users can be understood as the user for possessing the permission for checking these core datas, such as the addressee of a certain envelope mail
People and sender, or the insider etc. of important messages not issued.
Crawler: web crawlers (be otherwise known as webpage spider, network robot, more frequent to be known as webpage follower) is
One kind according to certain rules, automatically grabbing the program or script of information.There are also ants for the rarely needed name of other
Ant, automatic indexing, simulation program or worm.If despiteful crawler is wanted to steal core data, can go to crawl server
Source code in 102 can learn core data from source code, destroy the safety and confidentiality of information.
Data processing system based on foregoing description safeguards information security, the embodiment of the present invention to protect core data
It proposes a kind of data processing method, can be applied to the data processing system.
It next referring to figure 2., is the flow chart of data processing method provided in an embodiment of the present invention, the data processing side
Method can be applied to server 102.As shown in Fig. 2, this method comprises:
Step 201: obtaining pre-stored self-defining character.
Step 202: using the target data in the source code of self-defining character replacement target pages, and described in storage
The corresponding relationship for the target data that self-defining character is replaced with it, wherein when showing the target pages, according to the correspondence
Relationship shows the target data on the target pages.
The target data in the source code of target pages is replaced using pre-stored self-defining character, and is stored
The corresponding relationship of replacement.Compared with prior art, its IP is limited again without going to find crawler user, for crawler user
The data seen are replaced self-defining characters, if it is not known that corresponding relationship therein, can not just learn correct target
Core data is effectively protected in data.
Wherein, for target pages and target data, target pages represent some page of user's access, and number of targets
According to the core data represented in the page.As an example it is assumed that a student wants access to the Educational Affairs Office official website of oneself school,
Each page that the student is browsed in this access process can be referred to as target pages, such as login page, personal letter
Cease page etc..Various data on each target pages are then referred to as target data, such as every on the individual results page
The achievement of one section can be referred to as target data.It is appreciated that individual results are individual privacies, are not uncommon for student
What prestige was seen by others, for school, the achievement of each student also belongs to confidential information inside school, cannot be stolen
Data, so the core data that protection is similar in this kind of scene is critically important.
In step 201, pre-stored self-defining character is obtained, for self-defining character, is pre-set, because
This before executing step 201, the method also includes: obtain a variety of original characters;According to preset rules to described a variety of first
Beginning character is converted, and obtains self-defining character corresponding with a variety of original characters, and by the self-defining character
Carry out corresponding storage.
Wherein, a variety of original characters can be arbitrary existing character, character can be understood as data and information letter,
Number or other symbols, letter is such as Chinese character, English alphabet, Arabic alphabet;Number such as country variant is not
With the data of the form of expression;Other symbols can be some special symbols, such as rarely used word Mars word etc..
The approach of the acquisition of original character can be to be chosen from existing character repertoire, choose when can choose it is a variety of not
The character of same type also can choose a variety of various forms of characters etc., at random can also extract, and extract a large amount of
Character.
It may include changing the corresponding scale coding of the original character, changing the initial word for preset rules
Accord at least one of the format of corresponding scale coding.
It is understood that each character can have its specific scale to indicate, such as number 10 has its decimal system table
Show, binary representation, octal representation, hexadecimal representation.It is usually indicated by the decimal system for number,
But other systems can also be obtained by the transformational relation between system to be indicated.Therefore, in embodiments of the present invention, make by oneself
Adopted character can by change original character scale encode to obtain, such as change original character decimal coded, two into
Make coding, hexadecimal code, octal code.
In order to enable to self-defining character be difficult to recognize, can also change scale coding format, coded format packet
Include ASCII coded format, ANSI coded format, UNICODE coded format.For example Chinese " day " this word passes through different volume
Code format, corresponding system mark are also different.
Certainly, preset rules are not limited only to both and shift gears, and can also be other and shift gears, any to make just
Beginning character, which is converted to shifting gears for the character for being difficult to recognize, all can serve as the preset rules that the embodiment of the present invention is proposed.
After making preset rules, it can be converted according to preset rules, for example, get ten's digit
" 57 " are expressed as " 111001 " in binary system, " 39 " are expressed as in hexadecimal, can change any one system table
Show, the mode of change can be the one of number of change, or the number that addition is new, just obtain new make by oneself after conversion
Adopted character.
After obtaining self-defining character, can the identification difficulty to each self-defining character test, the side of test
Formula can be manual identified or machine recognition, and more indiscernible self-defining character illustrates to recognize that difficulty is higher, difficult for identification
Lower self-defining character is spent, can choose without using the self-defining character, neither make corresponding storage.
After the conversion for completing multiple original characters, available a variety of self-defining characters, by obtained self-defining character into
The corresponding storage of row.The mode of storage is that a character repertoire can be set, using every kind of obtained self-defining character as a character
File, to storage after the corresponding name of character file into the character repertoire.
It after by self-defining character storage into character repertoire, executes step 201 and obtains self-defining character, getting certainly
After definition character, step 202 is executed, uses the number of targets in the source code of the self-defining character replacement target pages got
According to, and the corresponding relationship for the target data that self-defining character is replaced with it is stored.
Optionally, step 201 may include: arbitrarily to select at least two to make by oneself from pre-stored definition characters
Adopted character.Correspondingly, using the target data in the source code of self-defining character replacement target pages, and storage is described certainly
The corresponding relationship for the target data that definition character is replaced with it, comprising: replace target using at least two self-defining character
Target data in the source code of the page, and store the corresponding relationship for the target data that every kind of self-defining character is replaced with it.
Wherein, at least two self-defining characters are selected, at least two self-defining characters can replace different target datas,
Perhaps the different piece or other feasible alternatives in same target data are replaced, replaced data are more difficult to
Identification.Such as, it is assumed that current target data has " XY ", " XZ ", " YZ ", in such a case, it is possible to obtain at least three kinds certainly
Definition character, the mode of replacement, which may is that, replaces target data " XY " using the first self-defining character, is made by oneself using second
Adopted character replaces target data " XZ ", replaces target data " YZ " using the third self-defining character;The mode of replacement can be with
It is: replaces " X " and " Y " in target data " XY ", other two target respectively using any two kinds of self-defining characters therein
Data similarly, are replaced respectively using any two kinds of self-defining characters.The mode of replacement can also be other feasible modes, at this
Do not make exhaustion in embodiment.
After completing replacement, the storage of corresponding relationship is carried out.By taking the first alternative in the example above as an example, storage
Corresponding relationship are as follows: target data " XY "-the first self-defining character;- second self-defining character of target data " XZ ";Target
Data " YZ "-the third self-defining character.In shows target pages, target data can be shown according to the corresponding relationship
On target pages.
If the target data on target pages is relatively more and complicated, the self-defining character of more type can choose
It is replaced.If the target data on target pages is fairly simple or relatively simple, then can choose fewer type
Self-defining character be replaced.
In addition, if crawler, which after crawling self-defining character, analyzes it, may learn corresponding pass therein
System, in order to avoid such case, can dynamically update self-defining character, therefore step 201 can also include: the period
Property obtain pre-stored self-defining character, wherein the self-defining character at least obtained twice is different.Wherein, the period
Property can be the period pre-set, such as 5 minutes, 10 minutes etc., that is, obtain at regular intervals new customized
Character.So as to use new self-defining character to continue to replace, it is assumed that crawler has parsed corresponding relationship, but due to
It introduces new self-defining character and makees corresponding replacement, the corresponding relationship that crawler parses has been no longer desirable at this time
Data on target pages cannot still learn target data.
By executing the step 201 and step 202 at 102 end of server, the target data in 102 end source code of server
Corresponding self-defining character is replaced with, at this point, crawler crawls data, self-defining character first is difficult to recognize, no
Know corresponding relationship therein, thus do not know the corresponding correct data of self-defining character, realizes the protection of core data.Than
It is " 1 " as " e123 " is corresponding, becomes " e123 " after replacement in source code, crawler is not aware that wherein true number
According to.
It next referring to figure 3., is the flow chart of data processing method provided in an embodiment of the present invention, number shown in Fig. 3
It can be applied to client 101 according to processing method, normal users allow to check core data.The described method includes:
Step 301: receiving the target pages access request of user.
Step 302: obtain self-defining character in source code corresponding with the target pages and the source code and
The corresponding relationship of its target data replaced.
Step 303: when showing the target pages, being shown the target data described according to the corresponding relationship
On target pages.
In step 302, if there are many self-defining characters in source code, then corresponding step 302 includes: described in acquisition
The corresponding relationship for the target data that at least two self-defining characters in source code are replaced with it, the corresponding relationship include described
The corresponding relationship for the target data that every kind of self-defining character is replaced with it in source code.If there are many make by oneself namely in source code
Adopted character needs to obtain the corresponding relationship that every kind of self-defining character is replaced with it, as described in aforementioned citing: target data
" XY "-the first self-defining character;- second self-defining character of target data " XZ ";The third is customized for target data " YZ "-
Character.
Correspondingly, step 303 includes: to determine that at least two self-defining character is replaced respectively according to the corresponding relationship
Target data;The target data replaced respectively is shown on the target pages.
Such as foregoing description: target data " XY "-the first self-defining character;Target data " XZ "-second is customized
Character;Target data " YZ "-the third self-defining character.Can determine that target data has: " XY ", " XZ ", " YZ " are being shown
When target pages, these three target datas can be shown on the corresponding position of target pages.
For example, in 101 shows target pages of client, it is assumed that " e123 " corresponding is " 1 ", is shown in source code
That show is " e123 ", and by corresponding relationship, correct data " 1 " is shown on target pages by client 102, and normal users are seen
To be still normal data.
It next referring to figure 4., is data processing equipment 400 provided in an embodiment of the present invention, device 400 can be applied to
Server 102, as shown in figure 4, device 400 includes obtaining module 401 and processing module 402.
Module 401 is obtained for obtaining pre-stored self-defining character;Processing module 402 is used for using described customized
Character replaces the target data in the source code of target pages, and stores the target data that the self-defining character is replaced with it
Corresponding relationship, wherein when showing the target pages, shown the target data in the mesh according to the corresponding relationship
It marks on the page.
Optionally, obtain module 401 be also used to arbitrarily to select from pre-stored definition characters at least two from
Definition character;Processing module 402 is also used in the source code of at least two self-defining characters replacement target pages
Target data, and store the corresponding relationship for the target data that every kind of self-defining character is replaced with it.
Optionally, it obtains module 401 and is also used to periodically acquire pre-stored self-defining character, wherein at least two
The self-defining character of secondary acquisition is different.
Optionally, it obtains module 401 and is also used to obtain a variety of original characters;Processing module 402 is also used to according to default rule
Then a variety of original characters are converted, obtain self-defining character corresponding with a variety of original characters, and will
The self-defining character carries out corresponding storage.
It next referring to figure 5., is data processing equipment 500 provided in an embodiment of the present invention, device 500 can be applied to
Client 101, as shown in figure 5, device 500 includes receiving module 501, obtains module 502 and display module 503.
Receiving module 501: for receiving the target pages access request of user;Obtain module 502: for obtain with it is described
Self-defining character the corresponding of target data with it is replaced in the corresponding source code of target pages and the source code is closed
System;Display module 503: for being shown the target data according to the corresponding relationship when showing the target pages
On the target pages.
Optionally, acquisition module 502 is also used to obtain at least two self-defining characters in the source code and replaces with it
Target data corresponding relationship, the corresponding relationship includes the target that every kind of self-defining character is replaced with it in the source code
The corresponding relationship of data.
Optionally, display module 503 is also used to determine at least two self-defining character point according to the corresponding relationship
The target data that do not replace;The target data replaced respectively is shown on the target pages.
Each embodiment in data processing method shown in Fig. 2 and specific example in previous embodiment are equally applicable to
Data processing equipment in Fig. 4, each embodiment and specific example in data processing method shown in Fig. 3 are equally applicable to figure
Data processing equipment in 5 passes through the detailed description of the aforementioned data processing method being respectively shown in Fig. 2 and Fig. 3, this field skill
Art personnel are clear that the implementation method for the data processing equipment that Fig. 4 and Fig. 5 are respectively shown in, so in order to illustrate book
Succinctly, this will not be detailed here.
The embodiment of the present invention also provides a kind of readable storage medium storing program for executing, and computer journey is stored on the readable storage medium storing program for executing
Sequence realizes the method for the voice positioning of the embodiment of the present invention when computer program is run by computer.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other
Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown
Device, the architectural framework in the cards of method and computer program product, function of multiple embodiments according to the present invention
And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code
Point, a part of the module, section or code includes one or more for implementing the specified logical function executable
Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement
The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used
To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart
The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement
The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, laptop, server or network equipment etc.) execute the whole of each embodiment the method for the present invention
Or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.It should be noted that, in this document, relational terms such as first and second and the like are used merely to one
A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting
Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
The above description is only an embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification,
Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of data processing method characterized by comprising
Obtain pre-stored self-defining character;
Using the self-defining character replacement target pages source code in target data, and store the self-defining character with
The corresponding relationship of its target data replaced, wherein when showing the target pages, according to the corresponding relationship by the mesh
Mark data are shown on the target pages.
2. the method according to claim 1, wherein obtaining pre-stored self-defining character and including:
At least two self-defining characters are arbitrarily selected from pre-stored definition characters;
Correspondingly, using the target data in the source code of self-defining character replacement target pages, and made by oneself described in storage
The corresponding relationship for the target data that adopted character is replaced with it, comprising:
Using the target data in the source code of at least two self-defining character replacement target pages, and stores every kind and make by oneself
The corresponding relationship for the target data that adopted character is replaced with it.
3. the method according to claim 1, wherein obtaining pre-stored self-defining character, comprising:
Periodically acquire pre-stored self-defining character, wherein the self-defining character at least obtained twice is different.
4. described the method according to claim 1, wherein before obtaining pre-stored self-defining character
Method further include:
Obtain a variety of original characters;
A variety of original characters are converted according to preset rules, obtain it is corresponding with a variety of original characters from
Definition character, and the self-defining character is subjected to corresponding storage.
5. according to the method described in claim 4, it is characterized in that, the preset rules include changing the original character to correspond to
Scale coding, at least one of the format for changing the original character corresponding scale coding.
6. a kind of data processing method characterized by comprising
Receive the target pages access request of user;
Obtain the target that the self-defining character in source code corresponding with the target pages and the source code is replaced with it
The corresponding relationship of data;
When showing the target pages, the target data is shown on the target pages according to the corresponding relationship.
7. according to the method described in claim 6, it is characterized in that, the self-defining character obtained in the source code is replaced with it
The corresponding relationship of target data include:
Obtain the corresponding relationship for the target data that at least two self-defining characters in the source code are replaced with it, the correspondence
Relationship includes the corresponding relationship for the target data that every kind of self-defining character is replaced with it in the source code.
8. the method according to the description of claim 7 is characterized in that the target data is shown according to the corresponding relationship
Include: on the target pages
The target data that at least two self-defining character is replaced respectively is determined according to the corresponding relationship;
The target data replaced respectively is shown on the target pages.
9. a kind of data processing equipment characterized by comprising
Obtain module: for obtaining pre-stored self-defining character;
Processing module: the target data in source code for using the self-defining character replacement target pages, and store institute
State the corresponding relationship for the target data that self-defining character is replaced with it, wherein when showing the target pages, according to described right
It should be related to and show the target data on the target pages.
10. a kind of data processing equipment characterized by comprising
Receiving module: for receiving the target pages access request of user;
Obtain module: for obtaining the self-defining character in source code corresponding with the target pages and the source code
The corresponding relationship for the target data replaced with it;
Display module: for being shown the target data in institute according to the corresponding relationship when showing the target pages
It states on target pages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593681.1A CN109684843A (en) | 2018-12-25 | 2018-12-25 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593681.1A CN109684843A (en) | 2018-12-25 | 2018-12-25 | Data processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109684843A true CN109684843A (en) | 2019-04-26 |
Family
ID=66189435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811593681.1A Pending CN109684843A (en) | 2018-12-25 | 2018-12-25 | Data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684843A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166465A (en) * | 2019-05-27 | 2019-08-23 | 北京达佳互联信息技术有限公司 | Processing method, device, server and the storage medium of access request |
CN111008348A (en) * | 2019-11-28 | 2020-04-14 | 盛业信息科技服务(深圳)有限公司 | Anti-crawler method, terminal, server and computer readable storage medium |
CN112084388A (en) * | 2020-08-07 | 2020-12-15 | 广州力挚网络科技有限公司 | Data encryption method and device, electronic equipment and storage medium |
CN113553601A (en) * | 2020-04-23 | 2021-10-26 | 上海云盾信息技术有限公司 | Webpage content encryption method and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6418452B1 (en) * | 1999-11-03 | 2002-07-09 | International Business Machines Corporation | Network repository service directory for efficient web crawling |
CN102779029A (en) * | 2011-05-10 | 2012-11-14 | 北京磊友信息科技有限公司 | Method and device for scrambling JavaScript code |
US8990945B1 (en) * | 2009-04-25 | 2015-03-24 | Dasient, Inc. | Malicious advertisement detection and remediation |
CN106021438A (en) * | 2016-05-16 | 2016-10-12 | 北京京东尚科信息技术有限公司 | Method, device and system for preventing large batch of data from being captured |
CN107818108A (en) * | 2016-09-13 | 2018-03-20 | 阿里巴巴集团控股有限公司 | A kind of webpage rendering intent, apparatus and system |
-
2018
- 2018-12-25 CN CN201811593681.1A patent/CN109684843A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6418452B1 (en) * | 1999-11-03 | 2002-07-09 | International Business Machines Corporation | Network repository service directory for efficient web crawling |
US8990945B1 (en) * | 2009-04-25 | 2015-03-24 | Dasient, Inc. | Malicious advertisement detection and remediation |
CN102779029A (en) * | 2011-05-10 | 2012-11-14 | 北京磊友信息科技有限公司 | Method and device for scrambling JavaScript code |
CN106021438A (en) * | 2016-05-16 | 2016-10-12 | 北京京东尚科信息技术有限公司 | Method, device and system for preventing large batch of data from being captured |
CN107818108A (en) * | 2016-09-13 | 2018-03-20 | 阿里巴巴集团控股有限公司 | A kind of webpage rendering intent, apparatus and system |
Non-Patent Citations (1)
Title |
---|
数月亮的孩子: ""反击"猫眼电影"网站的反爬虫策略"", 《URL:HTTPS://WWW.SOHU.COM/A/160350370_354899》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166465A (en) * | 2019-05-27 | 2019-08-23 | 北京达佳互联信息技术有限公司 | Processing method, device, server and the storage medium of access request |
CN110166465B (en) * | 2019-05-27 | 2022-01-25 | 北京达佳互联信息技术有限公司 | Access request processing method, device, server and storage medium |
CN111008348A (en) * | 2019-11-28 | 2020-04-14 | 盛业信息科技服务(深圳)有限公司 | Anti-crawler method, terminal, server and computer readable storage medium |
CN113553601A (en) * | 2020-04-23 | 2021-10-26 | 上海云盾信息技术有限公司 | Webpage content encryption method and equipment |
CN113553601B (en) * | 2020-04-23 | 2023-04-18 | 上海云盾信息技术有限公司 | Webpage content encryption method and equipment |
CN112084388A (en) * | 2020-08-07 | 2020-12-15 | 广州力挚网络科技有限公司 | Data encryption method and device, electronic equipment and storage medium |
CN112084388B (en) * | 2020-08-07 | 2024-04-30 | 广州力挚网络科技有限公司 | Data encryption method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109684843A (en) | Data processing method and device | |
Koshizuka et al. | Ubiquitous ID: standards for ubiquitous computing and the internet of things | |
CN1983285A (en) | System and method of personal and business web cards | |
CN106599940A (en) | Picture character identification method and apparatus thereof | |
CN112084342A (en) | Test question generation method and device, computer equipment and storage medium | |
Pathak et al. | Use of QR code technology for providing library and information services in academic libraries: a case study | |
CN106789856A (en) | A kind of information coding method, coding/decoding method and device | |
US20110264631A1 (en) | Method and system for de-identification of data | |
Prakash et al. | Complexities in developing multilingual on-line courses in the Indian context | |
CN107908377A (en) | The analytic method of font coding information and its device and application in print language | |
CN109560937B (en) | Password authentication method, device and computer readable storage medium | |
CN107784064B (en) | Webpage data processing method and device, computer equipment and computer storage medium | |
CN110956170A (en) | Method, device, equipment and storage medium for generating passport machine-readable code sample | |
CN112199922B (en) | Encoding method, apparatus, device, and computer-readable storage medium | |
Ohtake et al. | NICT disaster information analysis system | |
Barros et al. | Development of an educational tool in human anatomy with the use of QR codes | |
Inayah et al. | The locating chromatic number of book graph | |
Neuman | Interaction | |
d’Oleire-Oltmanns et al. | Validation strategy for user-specific map products for the European Copernicus security service | |
Puninagool et al. | The Order of Generalized Hypersubstitutions of Type [tau]=(2) | |
Ahmed | The Meaning of Belief: Religion from an Atheist’s Point of View, by Tim Crane | |
Fenner | Cool DOIs | |
Syerov et al. | Information Management Processes: Review of the State Open Data Web Portal | |
Christensen et al. | Aligning JN-25 messages in depth using weights when the code groups scan | |
Ssenyondo et al. | Strengthening Multi-sectoral Planning for Nutrition at Local Government Level: Experience from Karamoja sub-region in Northern Uganda |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing Applicant after: Beijing Zhichuangyu Information Technology Co., Ltd. Address before: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing Applicant before: Beijing Knows Chuangyu Information Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190426 |