CN109471988A - Page info update method, device, computer equipment and storage medium - Google Patents
Page info update method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109471988A CN109471988A CN201811187153.6A CN201811187153A CN109471988A CN 109471988 A CN109471988 A CN 109471988A CN 201811187153 A CN201811187153 A CN 201811187153A CN 109471988 A CN109471988 A CN 109471988A
- Authority
- CN
- China
- Prior art keywords
- script
- mark
- version
- standard
- check results
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 239000013598 vector Substances 0.000 claims description 36
- 238000004422 calculation algorithm Methods 0.000 claims description 23
- 238000012795 verification Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 14
- 238000012937 correction Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 10
- 238000000605 extraction Methods 0.000 description 7
- 238000012360 testing method Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 101150035983 str1 gene Proteins 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012512 characterization method Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of page info update method, device, terminal device and storage mediums, if the page info update method includes: to detect page load request, obtain the current js script for including in page load request;It is identified according to basic script to server-side and sends Standard Edition information inquiring request;The Standard Edition information that server-side returns is received, consistency desired result is carried out to Standard Edition mark and basic version mark, obtains the first check results, if the first check results are that version is inconsistent, basic script are obtained from server-side and identifies corresponding newest js script;Current js script is replaced using newest js script, obtains updated current js script;Updated current js script is loaded, so that showing the corresponding page info of updated current js script on interface.The efficiency of page info update can be improved by the above method.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of page info update methods, device, computer equipment
And storage medium.
Background technique
In the bigger system of amount of access, when opening the page, browser data cached can arrive local computing, a certain version
After to the page layout optimization being cached, user is again turned on the page being still cached when the page, and what be new is caused not opened up
Show interface or even reports an error.
Traditionally, it for content of pages replacement problem, needs the file of some static state in client-cache, under reducing
The flow of load, to accelerate the speed of client access.But caching can bring a problem, so that server-side has updated file
Later, client is difficult to obtain timely updates, to influence the efficiency of page info update.
Summary of the invention
The embodiment of the present invention provides a kind of page info update method, device, computer equipment and storage medium to solve
Page info updates inefficient problem.
A kind of page info update method, comprising:
If detecting page load request, the current js script for including in the page load request is obtained, wherein institute
Stating current js script includes basic script mark and basic version mark;
It is identified according to the basic script to server-side and sends Standard Edition information inquiring request;
The Standard Edition information that the server-side returns is received, the Standard Edition information includes Standard Edition mark
Know;
Consistency desired result is carried out to Standard Edition mark and basic version mark, obtains the first check results;
If first check results are that version is inconsistent, the basic script mark is obtained from the server-side and is corresponded to
Newest js script;
The current js script is replaced using the newest js script, obtains updated current js script;
The updated current js script is loaded, so that showing that the updated current js script is corresponding on interface
Page info.
A kind of page info updating device, comprising:
Load request detection module, if obtaining and being wrapped in the page load request for detecting page load request
The current js script contained, wherein the current js script includes basic script mark and basic version mark;
Standard Edition information inquiring request sending module sends standard for identifying according to the basic script to server-side
Version information inquiry request;
Standard Edition data obtaining module, the Standard Edition information returned for receiving the server-side, the mark
Quasi- version information includes Standard Edition mark;
Version identifier correction verification module, for carrying out consistency school to Standard Edition mark and basic version mark
It tests, obtains the first check results;
Newest js script obtains module, if being that version is inconsistent for first check results, from the server-side
It obtains the basic script and identifies corresponding newest js script;
Updated current js script obtains module, for replacing the current js script using the newest js script,
Obtain updated current js script;
Page info update module, for loading the updated current js script, so that described in being shown on interface more
The corresponding page info of current js script after new.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing
The computer program run on device, the processor realize above-mentioned page info update method when executing the computer program
Step.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter
The step of calculation machine program realizes above-mentioned page info update method when being executed by processor.
In above-mentioned page info update method, device, computer equipment and storage medium, if detecting, page load is asked
It asks, then obtains the current js script for including in page load request, will pass through current js script to page structure information and row
To be separated, to realize the information quickly update processing of the current accessed page.And it is identified according to basic script to server-side
Standard Edition information inquiring request is sent, prevents browser from caching to current js script, cache information is caused to load.It receives
The Standard Edition information that server-side returns.Next, carrying out consistency desired result to Standard Edition mark and basic version mark, obtain
To the first check results, prevents Standard Edition from identifying the corresponding page and be loaded, guarantee the accuracy of page info.If the first school
Testing result is that version is inconsistent, then obtains basic script from server-side and identify corresponding newest js script, avoid current js script
The corresponding page is loaded, it is ensured that is loaded into newest js script, is handled so as to subsequent newest js script, improves the page and add
The accuracy rate of load.Current js script is replaced using newest js script, obtains updated current js script.Finally, load updates
Current js script afterwards, so that the corresponding page info of updated current js script is shown on interface, to improve the page
The efficiency of information update.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram of page info update method provided in an embodiment of the present invention;
Fig. 2 is one exemplary diagram of page info update method provided in an embodiment of the present invention;
Fig. 3 is another exemplary diagram of page info update method provided in an embodiment of the present invention;
Fig. 4 is another exemplary diagram of page info update method provided in an embodiment of the present invention;
Fig. 5 is another exemplary diagram of page info update method provided in an embodiment of the present invention;
Fig. 6 is another exemplary diagram of page info update method provided in an embodiment of the present invention;
Fig. 7 is a functional block diagram of page info updating device provided in an embodiment of the present invention;
Fig. 8 is another functional block diagram of page info updating device provided in an embodiment of the present invention;
Fig. 9 is another functional block diagram of page info updating device provided in an embodiment of the present invention;
Figure 10 is a schematic diagram of computer 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, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Page info update method provided by the present application, can be applicable in the application environment such as Fig. 1, wherein client is logical
It crosses network to be communicated with server-side, client obtains current js script from server-side, and according to foot basic in current js script
This identify to server-side send Standard Edition information inquiring request, return Standard Edition information, then to Standard Edition mark with
Basic version mark carries out consistency desired result, obtains the first check results, if the first check results are that version is inconsistent, from clothes
The corresponding newest js script of the basic script mark of end acquisition of being engaged in, and current js script is replaced using newest js script, it is updated
Current js script afterwards finally loads updated current js script, so that the corresponding page letter of updated current js script
Breath is shown on interface.Wherein, it is various personal computers that client, which can be, but not limited to, laptop, smart phone, is put down
Plate computer and portable wearable device.Server-side can use the server of the either multiple server compositions of independent server
Cluster is realized.
In one embodiment, as shown in Fig. 2, being applied to be illustrated for the server-side in Fig. 1 in this way, including
Following steps:
S10: if detecting page load request, the current js script for including in page load request is obtained, wherein when
Preceding js script includes basic script mark and basic version mark.
Wherein, JavaScript is a kind of literal translation formula scripting language, is a kind of regime type, weak type and based on prototype
Language, built-in support type.It is known as JavaScript script (abbreviation js script) with the file of written in JavaScript.Js script
Not only the miscellaneous dynamic function of webpage addition can be embodied as by being embedded in current HTML page, can be write as individually
Js script to realize the separation of the structure and behavior of the page.Current js script in the present embodiment refers to current accessed webpage
In JavaScript script, page structure information and behavior are separated with will pass through current js script, thus realize work as
Quickly update is handled the information of preceding accession page.
Wherein, basic script mark is used for the current js script of unique identification.Basic script mark can be but be not limited to:
((Identification, ID) or renewal time etc., such as a basic script mark are used more for script name, current page mark
The new time is expressed as " 2018-09-19 ", can also be configured, be not specifically limited according to actual needs herein.
Wherein, basic version mark is used for the version number of the current js script of unique identification.Basic version mark can be but
It is not limited to: version number, renewal time or other symbols to distinguish different editions number etc., for example, random number and version number
With the combined symbol etc. of timestamp, it can also be configured, be not specifically limited herein according to actual needs.
Specifically, when client detects the page load request for the page, working as of including in page load request is obtained
Preceding js script, the page load request can be client automatic trigger, be also possible to detecting user customer operation
When passive triggering, can specifically be configured according to actual needs, herein with no restriction.
For example, in a specific embodiment, when detecting a certain operation of user customer, passive triggering client
End is directed to the load request of this page of the homepage of " happy safety ", and then obtains the current js for including in the page load request
Script, the current js script include basic script mark " happypa1.0 " and basic version mark " version1.0 ".
S20: it is identified according to basic script to server-side and sends Standard Edition information inquiring request.
Wherein, Standard Edition information refers to the suffix content that corresponding server-side js script file is identified with basic script,
As the js script and the whether consistent foundation of current js script for judging server-side.Current js script includes basic script mark,
Correspondingly, a basic script identifies a corresponding Standard Edition information.For example, a server-side js foot corresponding with basic script mark
Does is this "<link rel=" stylesheet " href="/css/index.css? ver=10 "/>, it is possible to understand that ground, the clothes
The suffix content of business end js script is " ver=10 ", i.e., Standard Edition information is " ver=10 ".
Wherein, Standard Edition information inquiring request is that the inquiry for obtaining the Standard Edition information of server-side js script is asked
It asks, so that whether the corresponding current js script of subsequent judgement basis script mark is consistent with server-side js script, prevents server-side
After js script updates, client still loads the js script (the caching page) not updated, causes to occur abnormal.
Specifically, client sends Standard Edition information inquiring request to server-side, which includes basic script
Mark sends Standard Edition information inquiring request by identifying according to basic script to server-side, prevents browser to current js
Script is cached, and causes to be loaded directly into cache information, is not loaded so that updating the page, and then be abnormal.
S30: receiving the Standard Edition information that server-side returns, and Standard Edition information includes Standard Edition mark.
Wherein, Standard Edition mark is used for the version number of unique identification server-side js script.Continue with the mark in step S20
For quasi- version information " ver=10 ", which is identified as " 10 ".Standard Edition mark can be but be not limited to: version
This number, renewal time or other symbols to distinguish different editions etc., for example, the combination of random number and version number and timestamp
Symbol etc., can also be configured, be not specifically limited herein according to actual needs.
Specifically, the Standard Edition information that server-side returns is received, Standard Edition information includes Standard Edition mark.
S40: consistency desired result is carried out to Standard Edition mark and basic version mark, obtains the first check results.
Wherein, consistency desired result, which refers to, identifies whether the school unanimously judged with basic version to Standard Edition mark
It tests, to judge server-side js script with the presence or absence of update.So that subsequent consistency or nonuniformity according to information is to page
Face load is further processed.Consistency desired result method can be the checking algorithm based on editing distance, be also possible to be based on
The checking algorithm of similarity can also be the checking algorithm based on proximity search.
Wherein, the first check results refer to that the consistency to Standard Edition mark and basic version mark obtains after comparing
To as a result, the first check results include that version is inconsistent consistent with version.
It is to be appreciated that Standard Edition mark is constant, and current js script is not if the first check results are that version is consistent
Become.Due to the still raw address of request, thus current js script can be read from local browser caching, without will increase clothes
Business end burden.If server-side js script changes, since browser caches current js script, and current js script pair
The basic version mark answered is constant, i.e., it is that version is inconsistent that Standard Edition mark, which identifies the first check results with basic version, this
When, the page info that the page loads can be abnormal, and therefore, be carried out unanimously to Standard Edition mark and basic version mark
Property verification, prevent Standard Edition from identifying the corresponding page and be loaded, guarantee the accuracy of page info load.
S50: if the first check results are that version is inconsistent, basic script is obtained from server-side and identifies corresponding newest js
Script.
Wherein, newest js script refers to the js script of server-side page last update.Script is reloaded
Afterwards, the load to the caching page is avoided, it is ensured that it is loaded into newest js script, newest js script is handled so as to subsequent,
Improve the accuracy rate of page load.Basic script mark has corresponding relationship with newest js script, that is, passing through basic script mark
Knowledge can obtain corresponding newest js script
Specifically, after server-side js script is updated, the first check results are that version is inconsistent, at this point, service
End obtains basic script and identifies corresponding newest js script, avoids the corresponding caching page of current js script from being loaded, it is ensured that add
It is downloaded to newest js script, newest js script is handled so as to subsequent, improves the accuracy rate of page load.
S60: current js script is replaced using newest js script, obtains updated current js script.
Specifically, after the corresponding newest js script of server-side acquisition basic version mark, newest js script is used to replace
Current js script, so that current js script is updated, avoids that is, using newest js script as updated current js script
Current js script is reloaded, and the browser access cache page is caused to cause page info abnormal.
S70: the updated current js script of load, so that showing the corresponding page of updated current js script on interface
Information.
Specifically, after being reloaded to updated current js script, in this way it is avoided that loading current js script pair
The caching page answered, it is ensured that be loaded into the corresponding page of newest js script, to get newest content of pages, and then be shown in
On interface.Improve renewal of the page efficiency.
In the present embodiment, if detecting page load request, the current js script for including in page load request is obtained,
Page structure information and behavior are separated with will pass through current js script, to realize that the information of the current accessed page is quick
Update processing.And identified according to basic script to server-side and send Standard Edition information inquiring request, prevent browser to current
Js script is cached, and cache information is caused to load.Receive the Standard Edition information that server-side returns.Next, to standard edition
This mark and basic version mark carry out consistency desired result, obtain the first check results, prevent Standard Edition from identifying corresponding page
Face is loaded, and guarantees the accuracy of page info.If the first check results are that version is inconsistent, basic foot is obtained from server-side
The corresponding newest js script of this mark, avoids the corresponding page of current js script from being loaded, it is ensured that it is loaded into newest js script, with
Continue after an action of the bowels and newest js script is handled, improves the accuracy rate of page load.Current js script is replaced using newest js script,
Obtain updated current js script.Finally, the updated current js script of load, so that being shown on interface updated current
The corresponding page info of js script, to improve the efficiency of page info update.
In one embodiment, as shown in figure 3, in step S40, Standard Edition mark and basic version mark are carried out unanimously
Property verification, obtain the first check results, specifically comprise the following steps:
S41: the character string for including in extraction standard version identifier as standard characters, and extracts basic version mark
In include character string, as basic character string.
Wherein, standard characters refers to the character string for including in Standard Edition mark, i.e., pre- in extraction standard version identifier
If the character string of quantity.For example, 10 character strings are as standard characters before extraction standard version identifier.Basic character string refers to
The character string for including in basic version mark, i.e., the character string of preset quantity in extraction basic version mark.It should be noted that
Standard characters is consistent with basic character string extracting rule, to guarantee subsequent to be accurately compared.
Preferably, all character strings in extraction standard version identifier extract basic version mark as standard characters
In all character strings as basic character string, be more advantageous to the accuracy for improving subsequent calculating.
S42: using editing distance algorithm, the editing distance of standard characters and basic character string is calculated, as target
Editing distance.
Wherein, editing distance (Edit Distance) is also known as Levenshtein distance, refers between two character strings, by
One character string changes into minimum edit operation times needed for another character string and illustrates them if their distance is bigger
Similarity degree is lower.The edit operation of license includes that a character is substituted for another character, is inserted into a character or deletes
Except a character.
Wherein, editing distance algorithm is using editing distance as the algorithm for the similarity for measuring two character strings.For sentencing
Whether disconnected two character strings are consistent.Target editing distance refers to for two character strings, by one of character string by being inserted into,
After deleting or replacing these three operations, the distance operated required for two identical character strings is obtained.The present embodiment
In, refer to basic character string by being inserted into, after deleting or replacing these three operations, obtains and the complete phase of standard characters
The distance operated required for same character string.In a specific embodiment, the title point of standard characters and basic character string
It is not str1 and str2.The calculating process of target editing distance includes following four steps:
Step 1: the matrix d of initialization (n+1) * (m+1), and the value of the first row and column is allowed to increase since 0, wherein n
For the length of standard characters str1, m is the length of basic character string str2.
Step 2: scanning standard character string str1 and basic character string str2 simultaneously, if str1 [i]==str2 [j],
It is recorded as editing distance 0 with temp, otherwise editing distance temp is denoted as 1.
Step 3: giving d [i-1, j]+1, d [i, j-1]+1, d [i-1, j-1]+temp three most in matrix d [i, j]
Small value.
Step 4: returning to the last one value d [n] [m] of matrix after scanning through, being target editing distance.
Specifically, using editing distance algorithm, the editing distance of standard characters and basic character string is calculated, as mesh
Mark editing distance.It is to be appreciated that editing distance algorithm calculating process is simple and convenient, and the target editing distance energy being calculated
The degree of consistency of enough accurately measurement standard version identifiers and basic version mark, therefore, in the present embodiment, by using volume
Distance algorithm is collected, the editing distance of standard characters and basic character string is calculated, it can be quickly and accurately to Standard Edition mark
Know and carries out consistency desired result with basic version mark.
S43: target editing distance is compared with preset distance threshold, if target editing distance is less than or equal in advance
If distance threshold, then the first check results be version it is consistent, otherwise, if target editing distance be greater than preset distance threshold,
Then the first check results are that version is inconsistent.
Wherein, preset threshold distance refer to it is preset for measure two character string degree of consistency it is critical away from
From.Specifically, the purpose of the calculating target editing distance in the present embodiment be to Standard Edition mark with basic version identify into
Whether row consistency desired result, i.e. judgment criteria character string and basic character string are identical.Target editing distance is less than or equal to
Preset distance threshold, then the first check results are that version is consistent, otherwise, if target editing distance is greater than preset apart from threshold
Value, then the first check results are that version is inconsistent.For example, when preset threshold distance is 2, when target editing distance is 1, first
Check results are that version is consistent.It is to be appreciated that when standard characters is identical with basic character string, target editing distance
It is zero.By the way that target editing distance to be compared with preset distance threshold, the accuracy of consistency desired result is improved.
Preferably, preset distance threshold is zero in the present embodiment.When i.e. target editing distance is equal to zero, the first verification knot
Fruit is that version is consistent, and otherwise, the first check results are that version is inconsistent.
In the present embodiment, the word that includes in the character string and basic version that include in extraction standard version identifier first mark
Symbol string.Then, using editing distance algorithm, the editing distance of standard characters and basic character string is calculated, is compiled as target
Distance is collected, consistency desired result quickly and accurately can be carried out to Standard Edition mark and basic version mark.Finally, by by mesh
Mark editing distance is compared with preset distance threshold, improves the accuracy of consistency desired result.
In one embodiment, as shown in figure 4, in step S40, Standard Edition mark and basic version mark are carried out unanimously
Property verification, obtain the first check results, specifically comprise the following steps:
S41 ': Standard Edition mark is converted into standard feature vector, and basic version mark is converted into foundation characteristic
Vector.
Wherein, standard feature vector refers to the feature vector of Standard Edition mark, for signature criteria version table mark
The vector of text information feature, foundation characteristic vector refers to the feature vector of basic version mark, for characterizing basic version mark
The vector of the text information feature of knowledge.Specifically, can have by Hash vector chemical industry and Standard Edition mark is converted to standard
Basic version mark is converted to foundation characteristic vector by feature vector.Feature vector can be with simple data characterization version mark
The text information feature of knowledge can simplify subsequent by the way that Standard Edition mark and basic version mark are converted into feature vector
Consistency desired result process.
S42 ': using cosine similarity algorithm, calculate the cosine similarity of standard feature vector sum foundation characteristic vector,
As target similarity.
Wherein, cosine similarity algorithm is using cosine similarity as the algorithm for the similarity for measuring two feature vectors.
In the present embodiment, judge whether two character strings are consistent using cosine similarity.Cosine similarity value is between 0 to 1.Mesh
Mark similarity is the numerical value of measurement standard version identifier and Standard Edition mark similarity degree, and target similarity is equal to 1, shows to mark
Quasi- version identifier is identical with basic version mark.
Specifically, using cosine similarity algorithm, the cosine for calculating standard feature vector sum foundation characteristic vector is similar
Degree quickly and accurately can carry out consistency desired result to Standard Edition mark and basic version mark as target similarity.
S43 ': target similarity is compared with preset similarity threshold, if target similarity is greater than or equal in advance
If similarity threshold, then the first check results be version it is consistent, otherwise, if target similarity be less than preset similarity threshold
Value, then the first check results are that version is inconsistent.
Wherein, preset similarity threshold refers to preset for measuring the critical of two character string degree of consistency
Similarity.
Specifically, the purpose of the calculating cosine similarity in the present embodiment is to identify to Standard Edition mark with basic version
Consistency desired result is carried out, i.e. whether judgment criteria character string and basic character string be identical.Target similarity is greater than or equal to
Preset similarity threshold, then the first check results are that version is consistent, and otherwise, the first check results are that version is inconsistent.For example,
When preset similarity threshold is 0.98, and target similarity is 0.99, the first check results are that version is consistent.It is understood that
Ground, when standard characters is identical with basic character string, target similarity is 1.By by target similarity with it is preset
Similarity threshold is compared, and improves the accuracy of consistency desired result.
Preferably, preset similarity threshold is 1 in the present embodiment.When i.e. target similarity is equal to 1, the first check results
Consistent for version, otherwise, if target similarity is less than preset similarity threshold, the first check results are that version is inconsistent.
In the present embodiment, Standard Edition mark is converted into standard feature vector first, and basic version is identified and is converted
At foundation characteristic vector, subsequent consistency checking procedure is simplified.Then cosine similarity algorithm is used, standard feature is calculated
The cosine similarity of vector sum foundation characteristic vector, as target similarity, can quickly and accurately to Standard Edition mark with
Basic version mark carries out consistency desired result.Finally, being mentioned by the way that target similarity to be compared with preset similarity threshold
The high accuracy of consistency desired result.
In one embodiment, current js script includes underlying security code, and Standard Edition information includes standard security code.
Wherein, underlying security code refers to for preventing the basic version of current js script from identifying the character string being tampered.Mark
Quasi- safety code refers to the character string being tampered for preventing Standard Edition from identifying.Specifically, it can be sent by query service end
Version information inquiry request, judges whether the version identifier of the page to be loaded updates, if sentencing only by basic version mark
It is disconnected whether to update, can have a drawback: hacker can by modification Standard Edition mark just can accession page, exist hidden safely
Suffer from, therefore, the hacker attack page to be visited is prevented by standard security code and underlying security code, improves the peace of user to access pages
Quan Xing.
In this embodiment, as shown in figure 5, carrying out consistency school to Standard Edition mark and basic version mark
After the step of testing, obtaining the first check results, and current js script is being replaced using newest js script, is obtaining updated work as
Before the step of preceding js script, which further includes following steps:
S51: if the first check results are that version is consistent, standard security code is input to preset calculation formula, is calculated
Targeted security code out.
Wherein, targeted security code refers to standard security code is calculated according to preset calculation formula after obtain safety
Code, for improving the safety of page access.
Wherein, preset calculation formula refers to the public affairs for being previously used for being converted according to certain rules to standard security code
Formula.Standard security code is converted by using preset calculation formula, so that subsequent standards safety code be prevented to be cracked, is increased
Add the risk of renewal of the page.
Specifically, consistency desired result is being carried out to Standard Edition mark and basic version mark, is obtaining the first check results
The step of after, and before the step of replacing current js script using newest js script, obtain updated current js script,
Further include the steps that carrying out security verification to standard security code.When the first check results be version it is consistent, i.e., current js script
It is not updated, the js script of server-side is consistent with current js script, at this point, if not verifying to standard security code, hacker
Can by modification Standard Edition mark just can accession page, there are security risks.Standard security code is input to preset calculating
Formula calculates targeted security code, prevents hacker attack, improves the safety of page access.
S52: security verification is carried out to targeted security code and underlying security code, obtains the second check results, wherein second
Check results include that safety code is inconsistent consistent with safety code.
Wherein, security verification refers to the verification whether unanimously judged targeted security code and underlying security code, from
And judge the accuracy of targeted security code, prevent hacker attack.Whether targeted security code can unanimously use with underlying security code
Regular expression algorithm is realized, can also be realized using character string comparison algorithm.
Wherein, the second check results refer to that the consistency to targeted security code and underlying security code is tied after comparing
Fruit, the second check results include that safety code is inconsistent consistent with safety code.
It is to be appreciated that then can determine current js script and server-side js when the second check results are that safety code is inconsistent
Script is different, and then determines that server-side js script has been updated.
S53: if the second check results are that safety code is inconsistent, newest js script is obtained from server-side.
Specifically, after server-side js script is updated, the second check results are that safety code is inconsistent, at this point, clothes
The corresponding newest js script of the basic script mark of end acquisition of being engaged in, avoids the corresponding page of current js script from being loaded, it is ensured that load
To newest js script, newest js script is handled so as to subsequent, the accuracy rate of page load is improved, simultaneously as to peace
After all-key carries out security verification, safety code can be prevented to be tampered, not only ensure that the page efficiently updates but also improve page visit
The safety asked.
In the present embodiment, when the first check results are that version is consistent, then it is public standard security code to be input to preset calculating
Formula calculates targeted security code, prevents hacker attack, improves the safety of page access.Then to targeted security code and base
Plinth safety code carries out security verification, obtains the second check results.If the second check results are that safety code is inconsistent, from service
End obtains newest js script, avoids the corresponding page of current js script from being loaded, it is ensured that newest js script to be loaded into, so as to subsequent
Newest js script is handled, the accuracy rate of page load is improved, simultaneously as after carrying out security verification to safety code,
Safety code can be prevented to be tampered, the safety that not only ensure that the page efficiently updates but also improved page access.
In one embodiment, as shown in fig. 6, in step S51, standard security code is input to preset calculation formula, is counted
Targeted security code is calculated, is specifically comprised the following steps:
S511: the machine code of client is obtained.
Wherein, the machine code of client refers to a series of string sequence for forming hardware sequence number by encryptions, hash
Number.Hard disk and CPU in client have the identification code that can not be modified.It can be according to user software when user's registration
The computer software and hardware information installed generates unique identification code, commonly referred to as machine code, is also sequence number, authentication code or note
Volume application code etc..
S512: targeted security code is calculated using following preset calculation formula:
S=A+B2;
Wherein, S is expressed as targeted security code, and A is expressed as machine code, and B is expressed as Standard Edition and identifies corresponding numerical value.
Specifically, preset calculation formula S=A+B2The calculated result for indicating targeted security code is to identify with Standard Edition
The sum of the quadratic sum machine code of corresponding numerical value.It is to be appreciated that the data for the targeted security code that the calculating process obtains are more
Complexity cracks targeted security code to be better protected from hacker, guarantees the safety of subsequent page renewal process.
In the present embodiment, the machine code of client is obtained, using preset calculation formula S=A+B2Calculate targeted security
Code, cracks targeted security code to be better protected from hacker, guarantees the safety of subsequent page renewal process.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
In one embodiment, a kind of page info updating device is provided, the page info updating device and above-described embodiment
Middle page info update method corresponds.As shown in fig. 7, the page info updating device includes that the inquiry of Standard Edition information is asked
Ask sending module 10, Standard Edition information inquiring request sending module 20, Standard Edition data obtaining module 30, version identifier school
Test module 40, newest js script obtains module 50, updated current js script obtains module 60 and page info update module
70.Detailed description are as follows for each functional module:
Load request detection module 10, if obtaining in page load request for detecting page load request and including
Current js script, wherein current js script includes basic script mark and basic version mark;
Standard Edition information inquiring request sending module 20 sends standard edition for identifying according to basic script to server-side
This information inquiring request;
Standard Edition data obtaining module 30, for receiving the Standard Edition information of server-side return, Standard Edition information
It is identified including Standard Edition;
Version identifier correction verification module 40 is obtained for carrying out consistency desired result to Standard Edition mark and basic version mark
To the first check results;
Newest js script obtains module 50, if being that version is inconsistent for the first check results, obtains base from server-side
Plinth script identifies corresponding newest js script;
Updated current js script obtains module 60, for replacing current js script using newest js script, obtains more
Current js script after new;
Page info update module 70, for loading updated current js script, so that being shown on interface updated
The currently corresponding page info of js script.
Preferably, as shown in figure 8, version identifier correction verification module 40 includes text string extracting unit 41, target editing distance
Computing unit 42 and the first check results acquiring unit 43.
Text string extracting unit 41, the character string for including in extraction standard version identifier, as standard characters, and
The character string for including in basic version mark is extracted, as basic character string;
Target editing distance computing unit 42 calculates standard characters and base word for using editing distance algorithm
The editing distance for according with string, as target editing distance;
First check results acquiring unit 43, for target editing distance to be compared with preset distance threshold, if
Target editing distance is less than or equal to preset distance threshold, then the first check results are that version is consistent, otherwise, if target editor
Distance is greater than preset distance threshold, then the first check results are that version is inconsistent.
Preferably, as shown in figure 9, version identifier correction verification module 40 further includes that feature vector conversion unit 41 ', target are similar
Spend computing unit 42 ' and the second check results acquiring unit 43 '.
Feature vector conversion unit 41 ', for Standard Edition mark to be converted into standard feature vector, and by basic version
Mark is converted into foundation characteristic vector;
Target similarity calculated 42 ' calculates standard feature vector sum basis for using cosine similarity algorithm
The cosine similarity of feature vector, as target similarity;
Second check results acquiring unit 43 ', for target similarity to be compared with preset similarity threshold, if
Target similarity is greater than or equal to preset similarity threshold, then the first check results are that version is consistent, otherwise, if target is similar
Degree is less than preset similarity threshold, then the first check results are that version is inconsistent.
Preferably, current js script includes underlying security code, and Standard Edition information includes standard security code, the renewal of the page
Device further includes that targeted security code computing module, security verification module and server-side js script obtain module.
Standard security code is input to by targeted security code computing module if being that version is consistent for the first check results
Preset calculation formula calculates targeted security code;
Security verification module obtains the second school for carrying out security verification to targeted security code and underlying security code
Test result, wherein the second check results include that safety code is inconsistent consistent with safety code;
Server-side js script obtains module, if being that safety code is inconsistent for the second check results, obtains from server-side
Newest js script.
Preferably, targeted security code computing module includes machine code acquiring unit and targeted security code acquiring unit.
Machine code acquiring unit, for obtaining the machine code of client;
Targeted security code acquiring unit, for targeted security code to be calculated using following preset calculation formula:
S=A+B2;
Wherein, S is expressed as targeted security code, and A is expressed as machine code, and B is expressed as Standard Edition and identifies corresponding numerical value.
Specific about page info updating device limits the limit that may refer to above for page info update method
Fixed, details are not described herein.Modules in above-mentioned page info updating device can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
Data of the database of machine equipment for being arrived used in memory page update method.The network interface of the computer equipment is used for
It is communicated with external terminal by network connection.To realize that a kind of page info updates when the computer program is executed by processor
Method.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
If detecting page load request, the current js script for including in the page load request is obtained, wherein institute
Stating current js script includes basic script mark and basic version mark;
It is identified according to the basic script to server-side and sends Standard Edition information inquiring request;
The Standard Edition information that the server-side returns is received, the Standard Edition information includes Standard Edition mark
Know;
Consistency desired result is carried out to Standard Edition mark and basic version mark, obtains the first check results,
Wherein, first check results include that version is inconsistent consistent with version;
If first check results are that version is inconsistent, the basic script mark is obtained from the server-side and is corresponded to
Newest js script;
The current js script is replaced using the newest js script, obtains updated current js script;
The updated current js script is loaded, so that showing that the updated current js script is corresponding on interface
Page info.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Load request detection module, if obtaining and being wrapped in the page load request for detecting page load request
The current js script contained, wherein the current js script includes basic script mark and basic version mark;
Standard Edition information inquiring request sending module sends standard for identifying according to the basic script to server-side
Version information inquiry request;
Standard Edition data obtaining module, the Standard Edition information returned for receiving the server-side, the mark
Quasi- version information includes Standard Edition mark;
Version identifier correction verification module, for carrying out consistency school to Standard Edition mark and basic version mark
It tests, obtains the first check results, wherein first check results include that version is inconsistent consistent with version;
Newest js script obtains module, if being that version is inconsistent for first check results, from the server-side
It obtains the basic script and identifies corresponding newest js script;
Updated current js script obtains module, for replacing the current js script using the newest js script,
Obtain updated current js script;
Page info update module, for loading the updated current js script, so that described in being shown on interface more
The corresponding page info of current js script after new.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen
Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of device are divided into different functional unit or module, to complete above description
All or part of function.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation
Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or
Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all include
Within protection scope of the present invention.
Claims (10)
1. a kind of page info update method, which is characterized in that the page info update method includes:
If detecting page load request, the current js script for including in the page load request is obtained, wherein described to work as
Preceding js script includes basic script mark and basic version mark;
It is identified according to the basic script to server-side and sends Standard Edition information inquiring request;
The Standard Edition information that the server-side returns is received, the Standard Edition information includes Standard Edition mark;
Consistency desired result is carried out to Standard Edition mark and basic version mark, obtains the first check results;
If first check results are that version is inconsistent, it is corresponding most that the basic script mark is obtained from the server-side
New js script;
The current js script is replaced using the newest js script, obtains updated current js script;
The updated current js script is loaded, so that showing the corresponding page of the updated current js script on interface
Information.
2. page info update method as described in claim 1, which is characterized in that described to Standard Edition mark and institute
It states basic version mark and carries out consistency desired result, obtain the first check results, comprising:
The character string for including in the Standard Edition mark is extracted, as standard characters, and extracts the basic version mark
In include character string, as basic character string;
Using editing distance algorithm, the editing distance of the standard characters and the basic character string is calculated, as target
Editing distance;
The target editing distance is compared with preset distance threshold, if the target editing distance is less than or equal in advance
If distance threshold, then first check results be version it is consistent, otherwise, if the target editing distance be greater than it is preset away from
From threshold value, then first check results are that version is inconsistent.
3. page info update method as described in claim 1, which is characterized in that described to Standard Edition mark and institute
It states basic version mark and carries out consistency desired result, obtain the first check results, comprising:
Standard Edition mark is converted into standard feature vector, and by basic version mark be converted into foundation characteristic to
Amount;
Using cosine similarity algorithm, the cosine similarity of foundation characteristic vector described in the standard feature vector sum is calculated,
As target similarity;
The target similarity is compared with preset similarity threshold, is preset if the target similarity is greater than or equal to
Similarity threshold, then first check results be version it is consistent, otherwise, if the target similarity be less than it is preset similar
Threshold value is spent, then first check results are that version is inconsistent.
4. page info update method as described in claim 1, which is characterized in that the current js script includes underlying security
Code, the Standard Edition information include standard security code;
Consistency desired result is carried out to Standard Edition mark and basic version mark described, obtains the first check results
The step of after, and replace the current js script using the newest js script described, obtain updated current js foot
Before this step of, the page info update method further includes;
If first check results are that version is consistent, the standard security code is input to preset calculation formula, is calculated
Targeted security code out;
Security verification is carried out to the targeted security code and the underlying security code, obtains the second check results, wherein described
Second check results include that safety code is inconsistent consistent with safety code;
If second check results are that safety code is inconsistent, the newest js script is obtained from the server-side.
5. page info update method as claimed in claim 4, which is characterized in that described to be input to the standard security code
Preset calculation formula calculates targeted security code, comprising:
Obtain the machine code of client;
The targeted security code is calculated using following preset calculation formula:
S=A+B2;
Wherein, S is expressed as the targeted security code, and A is expressed as the machine code, and B is expressed as the Standard Edition mark and corresponds to
Numerical value.
6. a kind of page info updating device, which is characterized in that the page info updating device includes:
Load request detection module, if obtaining in the page load request for detecting page load request and including
Current js script, wherein the current js script includes basic script mark and basic version mark;
Standard Edition information inquiring request sending module sends Standard Edition for identifying according to the basic script to server-side
Information inquiring request;
Standard Edition data obtaining module, the Standard Edition information returned for receiving the server-side, the standard edition
This information includes Standard Edition mark;
Version identifier correction verification module, for carrying out consistency desired result to Standard Edition mark and basic version mark,
Obtain the first check results;
Newest js script obtains module, if being that version is inconsistent for first check results, obtains from the server-side
The basis script identifies corresponding newest js script;
Updated current js script obtains module, for replacing the current js script using the newest js script, obtains
Updated current js script;
Page info update module, for loading the updated current js script, so that after showing the update on interface
The corresponding page info of current js script.
7. page info updating device as claimed in claim 6, which is characterized in that the version identifier correction verification module includes:
Text string extracting unit as standard characters, and is mentioned for extracting the character string for including in the Standard Edition mark
The character string for including in the basic version mark is taken, as basic character string;
Target editing distance computing unit calculates the standard characters and the basis for using editing distance algorithm
The editing distance of character string, as target editing distance;
First check results acquiring unit, for the target editing distance to be compared with preset distance threshold, if institute
Target editing distance is stated less than or equal to preset distance threshold, then first check results are that version is consistent, otherwise, if institute
Target editing distance is stated greater than preset distance threshold, then first check results are that version is inconsistent.
8. page info updating device as claimed in claim 6, which is characterized in that the version identifier correction verification module includes:
Feature vector conversion unit, for Standard Edition mark to be converted into standard feature vector, and by the base edition
This mark is converted into foundation characteristic vector;
Target similarity calculated calculates base described in the standard feature vector sum for using cosine similarity algorithm
The cosine similarity of plinth feature vector, as target similarity;
Second check results acquiring unit, for the target similarity to be compared with preset similarity threshold, if institute
Target similarity is stated more than or equal to preset similarity threshold, then first check results are that version is consistent, otherwise, if institute
Target similarity is stated less than preset similarity threshold, then first check results are that version is inconsistent.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
Any one of 5 page info update methods.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realizing the page info update method as described in any one of claim 1 to 5 when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811187153.6A CN109471988B (en) | 2018-10-12 | Page information updating method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811187153.6A CN109471988B (en) | 2018-10-12 | Page information updating method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109471988A true CN109471988A (en) | 2019-03-15 |
CN109471988B CN109471988B (en) | 2024-06-25 |
Family
ID=
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162319A (en) * | 2019-04-15 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Application program update method, apparatus, computer equipment and storage medium |
CN110162725A (en) * | 2019-04-10 | 2019-08-23 | 浙江口碑网络技术有限公司 | Online page loading method, device, storage medium and computer equipment |
CN110177081A (en) * | 2019-04-18 | 2019-08-27 | 视联动力信息技术股份有限公司 | Script file acquisition methods and device |
CN110221853A (en) * | 2019-05-15 | 2019-09-10 | 无线生活(杭州)信息科技有限公司 | The method and Nginx server of page script are updated based on Nginx |
CN110245559A (en) * | 2019-05-09 | 2019-09-17 | 平安科技(深圳)有限公司 | Real-time object identification method, device and computer equipment |
CN110569082A (en) * | 2019-08-06 | 2019-12-13 | 阿里巴巴集团控股有限公司 | method and device for controlling page content |
CN110674435A (en) * | 2019-09-27 | 2020-01-10 | 网易(杭州)网络有限公司 | Page access method, server, terminal, electronic equipment and readable storage medium |
CN111046311A (en) * | 2019-12-17 | 2020-04-21 | 深圳前海环融联易信息科技服务有限公司 | Method and device for realizing traceless iteration version of PC (personal computer) end, computer equipment and storage medium |
CN111191167A (en) * | 2019-12-23 | 2020-05-22 | 京信通信系统(中国)有限公司 | Page resource updating method and device, computer equipment and storage medium |
CN111552513A (en) * | 2020-04-30 | 2020-08-18 | 中国银行股份有限公司 | Character set replacing method and device |
CN111681724A (en) * | 2020-05-07 | 2020-09-18 | 浙江大学医学院附属第四医院(浙江省义乌医院、浙江大学医学院附属第四医院医共体) | Electronic medical record key entity standardized identification method and identification system |
CN112817700A (en) * | 2021-02-25 | 2021-05-18 | 北京顶象技术有限公司 | Method and device for realizing active updating of client script and computer equipment |
CN112947974A (en) * | 2021-04-12 | 2021-06-11 | 平安国际智慧城市科技股份有限公司 | Desktop icon updating method, device and equipment and computer readable storage medium |
CN113835732A (en) * | 2021-09-29 | 2021-12-24 | 马上消费金融股份有限公司 | Version updating method and related equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060015842A1 (en) * | 2004-01-02 | 2006-01-19 | Desantis Robert | Automatically creating JavaScript objects to invoke methods on server-side java beans |
US20130238970A1 (en) * | 2012-03-07 | 2013-09-12 | Google Inc. | Uniquely Identifying Script Files |
CN106598673A (en) * | 2016-12-16 | 2017-04-26 | 武汉斗鱼网络科技有限公司 | Application program upgrading method and system |
CN106933614A (en) * | 2015-12-30 | 2017-07-07 | 广州爱九游信息技术有限公司 | A kind of single-page application upgrade method and device |
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060015842A1 (en) * | 2004-01-02 | 2006-01-19 | Desantis Robert | Automatically creating JavaScript objects to invoke methods on server-side java beans |
US20130238970A1 (en) * | 2012-03-07 | 2013-09-12 | Google Inc. | Uniquely Identifying Script Files |
CN106933614A (en) * | 2015-12-30 | 2017-07-07 | 广州爱九游信息技术有限公司 | A kind of single-page application upgrade method and device |
CN106598673A (en) * | 2016-12-16 | 2017-04-26 | 武汉斗鱼网络科技有限公司 | Application program upgrading method and system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162725A (en) * | 2019-04-10 | 2019-08-23 | 浙江口碑网络技术有限公司 | Online page loading method, device, storage medium and computer equipment |
CN110162319A (en) * | 2019-04-15 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Application program update method, apparatus, computer equipment and storage medium |
CN110177081A (en) * | 2019-04-18 | 2019-08-27 | 视联动力信息技术股份有限公司 | Script file acquisition methods and device |
CN110245559A (en) * | 2019-05-09 | 2019-09-17 | 平安科技(深圳)有限公司 | Real-time object identification method, device and computer equipment |
CN110221853A (en) * | 2019-05-15 | 2019-09-10 | 无线生活(杭州)信息科技有限公司 | The method and Nginx server of page script are updated based on Nginx |
CN110569082B (en) * | 2019-08-06 | 2023-03-14 | 创新先进技术有限公司 | Method and device for controlling page content |
CN110569082A (en) * | 2019-08-06 | 2019-12-13 | 阿里巴巴集团控股有限公司 | method and device for controlling page content |
CN110674435A (en) * | 2019-09-27 | 2020-01-10 | 网易(杭州)网络有限公司 | Page access method, server, terminal, electronic equipment and readable storage medium |
CN111046311A (en) * | 2019-12-17 | 2020-04-21 | 深圳前海环融联易信息科技服务有限公司 | Method and device for realizing traceless iteration version of PC (personal computer) end, computer equipment and storage medium |
CN111191167A (en) * | 2019-12-23 | 2020-05-22 | 京信通信系统(中国)有限公司 | Page resource updating method and device, computer equipment and storage medium |
CN111552513A (en) * | 2020-04-30 | 2020-08-18 | 中国银行股份有限公司 | Character set replacing method and device |
CN111552513B (en) * | 2020-04-30 | 2024-04-16 | 中国银行股份有限公司 | Character set replacement method and device |
CN111681724A (en) * | 2020-05-07 | 2020-09-18 | 浙江大学医学院附属第四医院(浙江省义乌医院、浙江大学医学院附属第四医院医共体) | Electronic medical record key entity standardized identification method and identification system |
CN112817700A (en) * | 2021-02-25 | 2021-05-18 | 北京顶象技术有限公司 | Method and device for realizing active updating of client script and computer equipment |
CN112947974A (en) * | 2021-04-12 | 2021-06-11 | 平安国际智慧城市科技股份有限公司 | Desktop icon updating method, device and equipment and computer readable storage medium |
CN113835732A (en) * | 2021-09-29 | 2021-12-24 | 马上消费金融股份有限公司 | Version updating method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6609047B2 (en) | Method and device for application information risk management | |
US8745740B2 (en) | Apparatus and method for detecting malicious sites | |
CN108459954B (en) | Application program vulnerability detection method and device | |
CN109871319A (en) | Item code scan method, device, computer equipment and storage medium | |
CN104520871A (en) | Vulnerability vector information analysis | |
US20110219454A1 (en) | Methods of identifying activex control distribution site, detecting security vulnerability in activex control and immunizing the same | |
CN110866258B (en) | Rapid vulnerability positioning method, electronic device and storage medium | |
CN108256322B (en) | Security testing method and device, computer equipment and storage medium | |
CN104881607A (en) | XSS vulnerability detection method based on simulating browser behavior | |
CN106022132A (en) | Real-time webpage Trojan detection method based on dynamic content analysis | |
CN110460612A (en) | Safety detecting method, equipment, storage medium and device | |
CN110278207A (en) | Leak detection method, device and computer equipment are kidnapped in a kind of click | |
CN111026647B (en) | Method and device for acquiring code coverage rate, computer equipment and storage medium | |
CN112637008B (en) | Link simulation test method, device, system, computer equipment and storage medium | |
CN108306878A (en) | Detection method for phishing site, device, computer equipment and storage medium | |
CN111709026B (en) | Static security detection method, device, computer equipment and storage medium | |
CN108399125B (en) | Automatic testing method and device, computer equipment and storage medium | |
CN105160246A (en) | Method for identifying hijacked browser and browser | |
CN111324375A (en) | Code management method and device, computer equipment and storage medium | |
KR20220080703A (en) | Method for analyzing a similarity of a website based on a keyword in script | |
CN109471988A (en) | Page info update method, device, computer equipment and storage medium | |
Carpineto et al. | Automatic assessment of website compliance to the European cookie law with CooLCheck | |
CN111191235A (en) | Suspicious file analysis method and device and computer readable storage medium | |
US11615338B2 (en) | System and method for generating a file execution record of address tuples | |
CN116225622A (en) | Docker-based PaaS application parameter template testing method |
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 | ||
GR01 | Patent grant |