CN109871503A - Data calling method, device, computer equipment and storage medium - Google Patents
Data calling method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109871503A CN109871503A CN201910048966.5A CN201910048966A CN109871503A CN 109871503 A CN109871503 A CN 109871503A CN 201910048966 A CN201910048966 A CN 201910048966A CN 109871503 A CN109871503 A CN 109871503A
- Authority
- CN
- China
- Prior art keywords
- file
- local
- network address
- network
- target network
- 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
Abstract
The invention discloses a kind of data calling method, device, computer equipment and storage mediums, wherein the data calling method includes: to judge whether target network address is stored in preset list of websites;If target network address is stored in preset list of websites, connecting test request is sent to the corresponding targeted sites of target network address, obtains response message;Request response time is determined based on response message, if request response time is less than preset time threshold, then obtain the corresponding file status list of target network address, if the corresponding local file mark of same file ID and network file mark are inconsistent, network file is then shown on a web browser, and local file corresponding with file ID in local repository is updated using network file.The data calling method can save network flow and load time from target network address load networks file, improve the loading efficiency in browser load networks file.
Description
Technical field
The present invention relates to web application field more particularly to a kind of data calling method, device, computer equipment and storages
Medium.
Background technique
Weak projectivity data, which refer to, has no strict demand to real-time property, and data are permanently effective and will not frequency in the short time
The off-line datas such as the data, such as perpetual calendar that numerous change is not changed even.It is deposited because weak projectivity data may occupy biggish data
Reserves can consume a large amount of network flows and transmission time when loading weak projectivity data through website, how to improve and load in browser
The loading efficiency of weak projectivity data becomes urgent problem to be solved.
Summary of the invention
The embodiment of the present invention provides a kind of data calling method, device, computer equipment and storage medium, to solve clear
The low problem of the loading efficiency of device of looking at load weak projectivity data.
A kind of data calling method, comprising:
The page load request for carrying target network address is obtained, judges whether target network address is stored in preset list of websites;
If target network address is stored in preset list of websites, connecting test is sent to the corresponding targeted sites of target network address
Request obtains the response message that targeted sites are returned based on connecting test request;
Request response time is determined based on response message, judges whether request response time is less than preset time threshold;
If request response time is less than preset time threshold, the corresponding file status list of target network address, file are obtained
Status list includes at least one file status record, and each file status record includes that file ID and network file identify;
The corresponding local file mark of each file ID is obtained from local repository, judges same file ID corresponding
Ground file identification identifies whether consistent with network file;
If the corresponding local file mark of same file ID and network file mark are inconsistent, obtained according to target network address
The corresponding network file including weak projectivity data of file ID shows network file on a web browser, and more using network file
Local file corresponding with file ID in new local repository.
A kind of data call device, comprising:
Load request module is obtained, for obtaining the page load request for carrying target network address, whether judges target network address
It is stored in preset list of websites;
Response message module is obtained, it is corresponding to target network address if being stored in preset list of websites for target network address
Targeted sites send connecting test request, obtain targeted sites based on connecting test request return response message;
Judge time threshold module, for determining request response time based on response message, judges that request response time is
It is no to be less than preset time threshold;
Status list module is obtained, if being less than preset time threshold for request response time, obtains target network address pair
The file status list answered, file status list include at least one file status record, and each file status record includes text
Part ID and network file mark;
File identification module is obtained, for obtaining the corresponding local file mark of each file ID from local repository,
It is consistent to judge that the corresponding local file mark of same file ID is identified whether with network file;
Network file module is obtained, if different for the corresponding local file mark of same file ID and network file mark
It causes, then the corresponding network file including weak projectivity data of file ID is obtained according to target network address, show network on a web browser
File, and local file corresponding with file ID in local repository is updated using network file.
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 data calling method when executing the computer program.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter
Calculation machine program realizes above-mentioned data calling method when being executed by processor.
Above-mentioned data calling method, device, computer equipment and storage medium have been stored by preset list of websites
Target network address, while obtain the corresponding request response time of target network address and network file mark, can quickly confirm load
The loading path of the corresponding network file including weak projectivity data of target network address;Local server can be extracted directly and is not updated
Network file be loaded into browser and shown, with save loaded from target network address include weak projectivity data network file
Network flow and load time mitigate network load;Local server passes through network of the target network address load by update simultaneously
File can ensure that target network address provides the real-time and reliability of content to browser simultaneously.
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 data calling method in one embodiment of the invention;
Fig. 2 is the flow chart of data calling method in one embodiment of the invention;
Fig. 3 is another flow chart of data calling method in one embodiment of the invention;
Fig. 4 is another flow chart of data calling method in one embodiment of the invention;
Fig. 5 is another flow chart of data calling method in one embodiment of the invention;
Fig. 6 is the schematic diagram of data call device in one embodiment of the invention;
Fig. 7 is the schematic diagram of computer equipment in one embodiment of the 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.
Data calling method provided in an embodiment of the present invention can be applicable in the application environment such as Fig. 1, the data call side
Method is applied in data calling system, which includes network server and local server, wherein network service
Device is communicated by network with local server.Wherein, network server is corresponding with local server, is visitor by network address
Family provides network service.
Local server can use the local server of the either multiple local server compositions of independent local server
Cluster is realized.
In one embodiment, as shown in Fig. 2, providing a kind of data calling method, the local in Fig. 1 is applied in this way
It is illustrated, includes the following steps: for server
S10. the page load request for carrying target network address is obtained, judges whether target network address is stored in preset list of websites
In.
Wherein, page load request is user's transmission the corresponding network file of target network address is loaded by local service
The request that the browser of device control is browsed.
Network address is also referred to as domain name addresses, be to distinguish on internet store heterogeneous networks file mark address, usually with
URL (Uniform Resource Locator, uniform resource locator) is indicated.In this present embodiment, target network address is just
It is the network address that user applies for load on a web browser.
Preset list of websites is list of the local server to store the logged all network address of user.Further
Ground, local server can establish preset list of websites based on the corresponding User ID of each user, may be based on each user's difference
Logged network address establishes a total preset list of websites.
Specifically, local server extracts target network address from page load request, by the target network address and preset net
Each network address in the list of location compares, to determine whether the target network address has had record in preset list of websites,
Namely it can determine that whether local server locally preserves the corresponding network of relation file of the target network address.
In step S10, local server will extract page-out load request in target network address and preset list of websites into
Row comparison, to request to target network address transmission connecting test or be loaded directly into the target network address to do technique preparation to be subsequent.
If S20. target network address is stored in preset list of websites, connection is sent to the corresponding targeted sites of target network address
Test request obtains the response message that targeted sites are returned based on connecting test request.
Wherein, targeted sites are target network address to the website where storing the network server of network file, to mention
It is checked for being downloaded to network file, meanwhile, network address administrator can also be managed site resource by the targeted sites.
Connecting test request is the test request be connected to the network that local server is sent to targeted sites, to survey
Try network connection state.
Response message is the corresponding response contents that targeted sites are replied based on connecting test request, for example, connecting test
Request is search " leaf " picture, and response message is exactly all retrieving of the network server based on connecting test request return
All pictures in relation to " leaf ".
In step S20, local server is requested by sending connecting test to targeted sites, is returned with obtaining the targeted sites
The response message returned, local server is not that focal point (is given up response message to the actual feedback content of the response message
Abandon processing or be further processed based on useful response message), focal point is to ask by the transmission connecting test
The response message that receiving destination point of summing returns, with obtain current local server and the corresponding targeted sites of target network address it
Between network connection speed, for the loading path preparation techniques basis of the corresponding network file of subsequent confirmation load target network address.
S30. request response time is determined based on response message, judges whether request response time is less than preset time threshold
Value.
Wherein, request response time is that local server is based on step S20 sending connecting test request and obtains Target Station
The specific time difference for the response message that point returns.Further, local server may be based on existing network test method to mesh
The current connection speed of labeling station point is tested, for example checks whether targeted sites are unobstructed or are connected to the network using ping order
Speed, local server can another open shop interface, " ping www. target network address .com " this order is inputted in runnable interface
It goes, and execute the order line to obtain the shortest time connected between local server and targeted sites, maximum duration peace
The equal time, to obtain time in response average Connection Time current with targeted sites.
Preset time threshold is that local server determines load target network address corresponding local resource in local repository
The shortest time of packet.Wherein, local repository includes each preset network address and each preset network address pair in preset list of websites
The collection for the local resource packet (the site resource packet that targeted sites store on network server is mapped to local resource packet) answered
It closes.Local repository is stored in local local server, calls target network address in the resources bank for local local server
Corresponding local resource packet, is shown on a web browser.
Further, only when request response time is not less than preset time threshold, in order to improve adding for disk-based web site
Display speed is carried, local server will load target network address corresponding local money in local repository according to default loading rule
Source packet.
It is understood that default loading rule is the content that setting can be loaded directly into from local resource packet,
For example, weak projectivity data etc. require timeliness not strong network file;Network file stronger for timeliness still needs
It to be downloaded from targeted sites and be loaded into what browser was shown.
Specifically, the local server recordable current time in system for sending connecting test request as first time and is obtained
Current time in system of response message is got as the second time, the time difference of the second time and first time are exactly request response
Time.
In step S30, local server can be conducive to local service by the simple and fast mode acquisition request response time
Device passes through request response time in time and determines whether that the network file in local resource packet can be loaded according to default loading rule.
Preferably, as shown in Fig. 2, after step S30, that is, judging whether request response time is less than preset time threshold
After value, which also specifically comprises the following steps:
If S301. request response time is not less than preset time threshold, it is right in local repository to load target network address
The local resource packet answered.
Specifically, by step S30 it is found that step S301 is corresponding a kind of situation after step S30.When requesting response
Between when being not less than preset time threshold, in order to improve the loaded and displayed speed of disk-based web site, local server will according to default plus
Rule load target network address corresponding local file in local repository is carried to show on webpage.
In this step, local server can request response time be not less than preset time threshold when, selectively load
Target network address corresponding local file in local repository, conducive to the loaded and displayed speed for improving disk-based web site.
If S40. request response time is less than preset time threshold, the corresponding file status list of target network address is obtained,
File status list includes at least one file status record, and each file status record includes file ID and network file mark
Know.
Wherein, file status list is the column for recording the network file mark for each network file that target network address includes
Table.Wherein, network file mark is the corresponding Web content digest value obtained by presetting digest algorithm of each network file.
Specifically, default digest algorithm can be used but be not limited to hash algorithm, i.e., using hash algorithm to network file into
Row calculates, and will obtain Web content digest value of the cryptographic Hash as the present embodiment.(Hash Function also referred to as dissipates hash algorithm
Array function) it is a kind of method for creating small " digital finger-print " from any kind of data.Hash function is message or data pressure
It shortens abstract into, so that data volume becomes smaller, the format of data is fixed up.Data are upset mixing by the function, re-create one
A fingerprint for being called hashed value (hash values, hash codes, hash sums or hashes).Hashed value usually uses one
A short random letters are represented with the digital character string formed.Seldom there is hash punching in input domain in good hash function
It is prominent.In hash table and Data processing, does not inhibit conflict to carry out distinguishes data, data-base recording can be made to be more difficult to find.
It illustrates and network file is handled using hash algorithm, obtain the specific implementation of Web content digest value
Journey:
MD5 algorithm (Message-Digest Algorithm, current most widely used hash algorithm) is grouped with 512
Handle the network file of input, each grouping is divided into 16 32 seats groupings again, the output of algorithm is by four 32 groupings
Composition.
Being first filled with the corresponding character string of network file makes its length be exactly a multiple than 512 only small 64
Number.Fill method is attached one 1 behind message, is followed by required multiple 0, then encloses 64 message-lengths behind
(before filling).The effect of this two step is that message-length is made to be precisely 512 integral multiples (rest part of algorithm requires such),
Ensure that different message is not identical after filling simultaneously.Four 32 bit variables are initialized as:
A=0 × 01234567
B=0 × 89abcdef
C=0xfedcba98
D=0 × 76543210
They are known as link variable (chaining variable)
Then the major cycle of algorithm is carried out, the number of circulation is the number that 512 message is grouped in message.
Four variables above are copied in other variable: A to a, B to b, C to c, D to d.
Major cycle has four-wheel, and every wheel is mutually intended very much.The first round carries out 16 operations.Every time operation in a, b, c and d wherein
Then acquired results are added the 4th variable, a subgroup of text and one by the nonlinear function operation of three works
Constant.By acquired results, ring moves an indefinite number to the right again, and adds a, b, one of c or d.Finally replace a with the result,
One of b, c or d.
To be once four nonlinear functions (every one, wheel) used in each operation.
F (X, Y, Z)=(X&Y) | ((~X) &Z)
G (X, Y, Z)=(X&Z) | (Y& (~Z))
H (X, Y, Z)=X^Y^Z
I (X, Y, Z)=Y^ (X | (~Z))
(& be with, | be or ,~right and wrong, ^ is exclusive or)
These functions be designed such that if the correspondence position of X, Y and Z be it is independent and uniform, result it is each
Position also should be independent and uniform.
Function F is operated by mode by turn: if X, Y, otherwise Z.Function H is odd even operator by turn.
If Mj indicates j-th of subgroup (from 0 to 15) of message, < < < s indicates ring shift left s, then four kinds of operations are as follows:
FF (a, b, c, d, Mj, s, ti) indicates a=b+ ((a+ (F (b, c, d)+Mj+ti) < < < s)
GG (a, b, c, d, Mj, s, ti) indicates a=b+ ((a+ (G (b, c, d)+Mj+ti) < < < s)
HH (a, b, c, d, Mj, s, ti) indicates a=b+ ((a+ (H (b, c, d)+Mj+ti) < < < s)
II (a, b, c, d, Mj, s, ti) indicates a=b+ ((a+ (I (b, c, d)+Mj+ti) < < < s)
Constant ti can be selected as follows:
In the i-th step, ti is the integer part of 4294967296*abs (sin (i)), and the unit of i is radian
(4294967296 be 2 32 powers).
After first group of completion, a, b, c, d are added into A, B, C, D on the basis of original respectively.That is a=a+A, b=b+
B, c=c+C, d=d+D,
Then algorithm above is continued to run with next packet data, until having handled all packet datas.
Finally, local server obtains tetra- groups of 32 information blocks outputs of a, b, c and d, they are stitched together from beginning to end,
That is a+b+c+d forms 128 hashed values, which is exactly Web content digest value.Local server passes through splicing net
Corresponding four groups of 32 information blocks of network file form 128 hash arrays, can enhance " digital finger-print " of network file
Representative and uniqueness.
File ID is the mark to distinguish in local repository different files, lead to it is commonly used digital and it is alphabetical be indicated,
Letter indicates website name, digital representation file serial number, for example, the text for the local resource packet of Sina website, in the resource packet
Part can be indicated with SINA001.
In step S40, local server can obtain the corresponding network file of each network file by default digest algorithm
It identifies and is recorded in file status list, be conducive to subsequent local server and be based on this document status list and each local file
Mark compares, and the network file without extracting each target network address is specifically compared with the network file being locally stored,
Simplify comparison process, accelerates the speed for determining the network file by updating.
S50. the corresponding local file mark of each file ID is obtained from local repository, judges that same file ID is corresponding
Local file mark identified whether with network file it is consistent.
Wherein, to be that each file ID is corresponding with network file mark store local file mark on local server
Local content digest value.
Specifically, local server can obtain the corresponding local file of this document ID based on file ID in local repository
Mark.Identify whether that identical (each network file can only correspond to uniquely with network file by comparison local file mark
Synopsis value) can determine that whether network file is updated in target network address.
In step S50, local server only needs the corresponding local file mark of comparison same file ID and network file mark
Whether knowledge is identical, can confirm whether the corresponding network file including weak projectivity data of this document ID carries out more in targeted website
Newly, validation testing is simple and reliable.
Preferably, as shown in Fig. 2, after step S50, judging the corresponding local file mark of same file ID and net
After whether network file identification is consistent, data calling method further include:
If S501. the corresponding local file mark of same file ID is consistent with network file mark, from local repository
It is middle to call local file corresponding with file ID, local file is shown on a web browser.
Specifically, local server can pass through local file mark of the comparison network file in file status list and mesh
Whether the network file mark recorded in mark network address determines the network file by updating.It is to be appreciated that if same file ID
Corresponding network file including weak projectivity data identify with local file mark identical namely Web content digest value with
Local content digest value is identical, illustrates update of the network file in target network address without website personnel, is somebody's turn to do in subsequent load
When target network address, the corresponding local file in local repository of this document ID can be loaded directly into.
It is to be appreciated that network file is updated without target network address for a long time, it was demonstrated that the network file has stable storage
State namely the network file belong to weak projectivity data, for example, online calculator or perpetual calendar etc..For data storage capacity
Big weak projectivity data can effectively add if local server can be loaded directly into and be shown to browser based on local repository
The load of the fast page and display time, improve page loading efficiency.
If S60. the corresponding local file mark of same file ID and network file mark are inconsistent, according to target network address
The corresponding network file including weak projectivity data of file ID is obtained, shows network file on a web browser, and using network text
Part updates local file corresponding with file ID in local repository.
Wherein, the corresponding network file including weak projectivity data of file ID is the network file for including weak projectivity data.
In the present embodiment, determine that the corresponding local file mark of same file ID and network file identify whether that consistent meaning just exists
In determining weak projectivity data, i.e., have no strict demand to real-time property, data are permanently effective and will not be frequent in the short time
The change even data that do not change whether in target network address to be updated.If if target network address has updated real time data, it is necessary to
Local server re-downloads the corresponding network file of target network address, if real-time update real time data and being shown on browser.
And if for not in target network address carry out content update real time data, if because there may be the numbers of real time data
It is big according to amount, for example, network perpetual calendar or network calculator etc., it is downloaded to browser above and below target network address carries out display and need to spend
Excessive load time, local server can call correspondence directly from the corresponding local resource packet of target network address in local repository
The local file including weak projectivity data shown to browser, the time of load networks file can be saved, simultaneously
Network flow is saved, network load is mitigated.
Specifically, if the corresponding network file mark and local file including weak projectivity data of same file ID identifies not
Identical namely Web content digest value and local content digest value have differences, and illustrate the network file in target network address
The update for having been subjected to website personnel should load corresponding with file ID in target network address in the subsequent load target network address
Network file, to obtain the network file of latest edition.
In step S60, browsing is shown to by the network file updated in local server selection load target network address
Device can ensure that target network address provides the real-time and reliability of content.
In data calling method provided by the present embodiment, local server can have been stored by preset list of websites
Target network address, while obtain the corresponding request response time of target network address and network file mark, can quickly confirm load
The loading path of the corresponding network file of target network address;Local server can directly extract not updated network file and be loaded into
Browser is shown, to save network flow and the load time from target network address load networks file;Local server is same
When the network file by updating loaded to browser by target network address, the real-time of target network address offer content can be provided simultaneously
Property and reliability.
Further, as shown in figure 3, after step slo, that is, judging whether target network address is stored in preset network address column
After in table, which also specifically comprises the following steps:
If S101. target network address is not stored in preset list of websites, obtained from the corresponding targeted sites of target network address
The corresponding network file packet of target network address is taken, network file packet includes at least one network file file, network file file packet
Include file ID, network file mark and network file.
Wherein, network file packet is the file for including all types of file summations in the corresponding targeted sites of target network address
Packet.Wherein all types of file packets of targeted sites include flash file packet, picture file packet, multimedia file packet,
Javaxcript script file packet and css (Cascading Style Sheets, cascading style sheets) file packet etc., do not make herein
It is described in detail.
Network file mark is the corresponding Web content digest value obtained by presetting digest algorithm of each network file.
In the present embodiment, file ID can be numbered based on the preservation sequence of the file packet of each type, and be based on current file packet pair
The noun for the target network address answered generates the corresponding file ID of this document packet, such as SINA001 with suitable number is saved jointly.
Network file is exactly the All Files of the type for including in each file packet, is said by taking picture file packet as an example
It is bright, the corresponding all picture files of the target network address are saved in picture file packet.
Specifically, local server can by logging in FTP the Link tool, by target network address input the FTP the Link tool with
The network file packet stored in the corresponding targeted sites of linking objective network address.
In step S101, when target network address is not stored in preset list of websites, local server just obtains target network
The corresponding network file packet in location avoids each local server that from will obtaining the corresponding network file packet of target network address, has money
The repetition in source obtains and waste memory space.
S102. the backup network file packet in local repository, to form local resource packet, local resource packet includes at least
One local resource file corresponding with network file file, local resource file include file ID and network file mark pair
The local file mark answered and local file corresponding with network file.
Wherein, local resource packet is that the file of local data base is arrived in the storage that local server duplicate network file packet obtains
Packet.IndexedDB database can be used in local data base in the present embodiment.
IndexedDB is a kind of database of storage configuration data in a browser, and the thought of IndexedDB is creation
A set of API facilitates preservation and reads JavaScript object, while supporting to inquire and search for.The greatest feature of IndexedDB is
Data are saved using object.One IndexedDB database is exactly the set of one group of object being located under identical NameSpace.
Meanwhile data can be persistently stored in IndexedDB in a browser, no matter whether network can be used, IndexedDB can be created and be had
The web of powerful data query ability is applied, these applications can be networking or offline.IndexedDB is suitable for depositing
The application (such as the register in DVD disk taxi library) for storing up mass data and the application run that do not need persistently to network are (for example, postal
Part client, backlog, annotation plate) etc..
In step S102, local server can be locally downloading by Internet resources packet acquired in step s101
It is saved in IndexedDB database, to form local resource packet, local resource can be enhanced using IndexedDB database
Data are searched in packet and store the ability of mass data, improve the performance of local server subsequent calls weak projectivity data.
S103. target network address is added in preset list of websites, associated objects network address and corresponding with target network address
Ground resource packet.
It is to be appreciated that calling directly for the ease of subsequent local server, to have stored local target network address corresponding
Target network address should be added in preset list of websites by local resource packet, local server in time, and the preset net is arrived in storage
Target network address and local resource packet in the list of location carry out hyperlink association.
Specifically, after local server can choose storage to the target network address in preset list of websites, for the target network
Hyperlink is established in location, using the storage address of the corresponding local resource packet of the target network address as the linked object of hyperlink
Completion is established target network address and is associated with the hyperlink of local resource packet.
In step S103, local server in time by preset list of websites target network address and local resource packet surpass
Link association, reinitializes after choosing the target network address in list of websites conducive to subsequent local server, can be based on the target in time
Network address can obtain corresponding local resource packet, without searching the storage position of the corresponding local resource packet of the target network address again
It sets, saves and search the time.
Step S101 is into S103, and when target network address is not stored in preset list of websites, local server is just obtained
The corresponding network file packet of target network address avoids each local server that from will obtaining the corresponding network file packet of target network address,
The repetition of existing resource obtains and waste memory space.Local server can download Internet resources packet acquired in step s101
It carries out saving into local IndexedDB database and forms local resource packet, local money can be enhanced using IndexedDB database
Data are searched in the packet of source and store the ability of mass data, improve the performance of local server subsequent calls weak projectivity data.
Local server by the target network address and the progress hyperlink association of local resource packet in preset list of websites, is conducive to subsequent in time
Ground server reinitializes the target network address is chosen in list of websites after, can obtain corresponding based on the target network address in time
Ground resource packet is saved without searching the storage location of the corresponding local resource packet of the target network address again and searches the time.
Further, as shown in figure 4, after step s 103, i.e., in associated objects network address and target network address corresponding
After ground resource packet, which further includes following steps:
S1031. capacity monitor request is obtained, capacity monitor request includes that task type and resources bank identify.
Wherein, capacity monitor request is memory capacity of the local server to the local resource packet stored in local data base
The request being monitored.In order to improve the application efficiency of local data base, local server should in time be carried out local data base
Capacity monitor to carry out processing processing according to capacity monitor result, such as local resource packet not invoked for a long time is deleted.
Task type is the mode for triggering capacity monitor request, including is triggered in real time and clocked flip.Triggering is this in real time
Ground server calls the mode of the capacity monitor triggered in real time request through user, and clocked flip is the specified of local server setting
Mode of the time to local data base triggering capacity monitor request.
Resources bank mark is mark of the local server to distinguish the different local repositories stored in memory.In
The present embodiment, local server can be requested based on capacity monitor in resources bank identifier lookup to corresponding local repository, with
Implement the task of capacity monitor.
In step S1031, local server can task based access control type to capacity monitor request in specify resources bank mark
Local repository carries out capacity monitor, clears up the local capacity of local repository in time conducive to local server, and it is empty to save storage
Between, and improve the recall precision retrieved subsequently through local repository.
If S1032. task type is real-time task, it is corresponding with resources bank mark to trigger the cleaning of file cleaning means
Local repository.
Wherein, real-time task is the task for the real-time starting capacity monitoring request that user is initiated by local server, is used
Capacity monitor can be carried out to database at any time, do not limited by specified time.
File cleaning means is the tool for clearing up local repository, and several cleaning conditions that set in market can be used
Cleaning means, such as key cleaning system rubbish, super file crushing machine, Hardwipe (strength file deletes tool) etc..
Specifically, key cleaning system rubbish can clear up (removing) recently using document, clear up (removing) IE temporary file,
Cleaning (removing) online trace and cleaning (removing) system rubbish and cleaning (removing) have accessed website historical record etc..
Super file crushing machine supports right-click menu shredding documents, and a variety of crushing algorithms and addition is supported to automaticly inspect update
Function etc..
Hardwipe (strength file delete tool) be specially design be used to quickly delete and can not be deleted on driver
File.The tool can handle any trace that file in fixed disc driver leaves, and must not be allowed to and restores, effective protection
Privacy and trade secret etc..
Local server can be selected according to the actual situation based on the different function of each file cleaning means to local
Resources bank is cleared up.
In step S1032, local server can trigger in real time the task of capacity monitor request by real-time task, ensure this
Ground server can carry out capacity monitor to database at any time or when necessary, do not limited, improved by specified time
Clear up the flexibility of local repository.
If S1033. task type is timed task, triggered time monitoring tools, so that the current time in system reaches appearance
When the clocked flip time carried in amount monitor task, triggering file cleaning means cleans local corresponding with resources bank mark
Resources bank.
Wherein, timed task is the task of the at the appointed time triggering capacity monitor request of local server setting, is used for
Capacity monitor at the appointed time is carried out to database automatically, improves the automated cleaning ability of local repository, effective guarantee is local
The recall precision of resources bank.The clocked flip time is for triggering the specified time for executing timed task.
Time monitoring tool is the tool that timed task is triggered when local server reaches specified time to monitoring period.
Java Timer timer can be used as time monitoring tool in the present embodiment.
Specifically, local server can be used in JDK (Java Development Kit, Java software development kit)
Java Timer timer as time monitoring tool to realize timed task.It is fixed to java Timer with regard to its principle below
When device parsed:
A complete timed task needs are cooperated completion by two classes of Timer, TimerTask in java.Java
Both be defined as in API (Application Programming Interface, application programming interface),
Timer: a kind of tool, thread arrange executing in background thread later for task with it.Task execution can be arranged primary, or
Repeat at periodic or other desired execution.It is arranged to be primary executing or repeating for task by TimerTask:Timer.Namely Timer is a kind of
Timer Utility is used in a background thread plan execution appointed task, and mono- abstract class of TimerTask, its subclass
Represent being planned by Timer for a task.
Timer class: in tool-class Timer, four building methods are provided, each building method starts timer
Thread, while Timer class can guarantee that multiple threads can share single Timer object without carrying out external sync, so
Timer class is thread-safe.But be single background thread since each Timer object is corresponding, for sequentially executing
All timer tasks, the time consumed by thread task execution should be very short under normal circumstances, but due to special feelings
Condition cause some task of timer execute time it is too long, then can " exclusive " timer task execution thread, thereafter own
Thread all has to wait for it and has executed, this will postpone the execution of follow-up work, is packed together these tasks.
After Timer is completed in program initialization, timed task will go to execute according to the time of setting, and Timer is provided
Schedule method, this method has more middle heavily loaded modes to adapt to different situations, as follows:
Schedule (TimerTask task, Date time): arrangement executes specified task at the appointed time.
Schedule (TimerTask task, Date firstTime, long period): specified task is arranged to exist
The specified time starts to carry out duplicate fixed delay execution.
Schedule (TimerTask task, long delay): specified task is executed after being arranged in specified delay.
Schedule (TimerTask task, long delay, long period): arrange specified task from specified
Delay after start to carry out duplicate fixed delay execution.
Also heavy duty scheduleAtFixedRate method, scheduleAtFixedRate method and schedule simultaneously
Identical, only emphasis is different.Schedule method stresses to save the stabilization of interval time, and
ScheduleAtFixedRate method more lays particular emphasis on the stabilization for keeping executing frequency.It can be because of before in schedule method
The delay of one task and cause timed task to be behind delayed, and scheduleAtFixedRate method then will not, if
N-th of task, which executes overlong time, leads to systemCurrentTime >=scheduledExecutionTime (n+1), then not
Any waiting can be done, and he can be immediately performed (n+1)th task, so scheduleAtFixedRate method executes the calculating of time
Method is different from schedule, but scheduledExecutionTime (n)=firstExecuteTime+n*
PeriodTime, the calculation method remain unchanged forever.So scheduleAtFixedRate more lays particular emphasis on holding and executes frequency
The stabilization of rate.
ScheduleAtFixedRate (TimerTask task, Date firstTime, long period): arrangement refers to
Fixed task starts to carry out duplicate fixed rate execution at the appointed time.
ScheduleAtFixedRate (TimerTask task, long delay, long period): it arranges specified
Task starts to carry out duplicate fixed rate execution after specified delay.
TimerTask class: TimerTask class is an abstract class, is once executed or is repeated by Timer arrangement
Task.It has abstract method run () method, and this method is for executing corresponding timer task operation to be performed.Therefore
Each specific task class must inherit TimerTask, then rewrite run () method.
In addition there are two non-abstract methods for TimerTask class:
Boolean cancel (): cancel this timer task.
Long scheduledExecutionTime (): it returns to the arrangement that this task actually executes recently and executes the time.
To sum up, the present embodiment can consume considerably less multithreading resource using java Timer timer, and can be across
Thread uses resource, easy to use.Wherein, java Timer timer clocked flip file cleaning means to local repository into
The process of row cleaning is identical as step S1032, and in order to avoid repeating, details are not described herein again.
In step S1033, time monitoring tool settings timed task is can be used in local server, is existed to local server
Specified time trigger capacity monitor request task, automatically to database carry out capacity monitor, with improve local repository from
Dynamic cleaning capacity and automatization level save memory space, and the recall precision of effective guarantee local repository.
Step S1031 into S1033, local server can task based access control type to capacity monitor request in specify resources bank
The local repository of mark carries out capacity monitor, clears up the local capacity of local repository in time conducive to local server, improves
The recall precision retrieved subsequently through local repository.Local server can trigger in real time capacity monitor by real-time task
The task of request ensures that local server can carry out capacity monitor to database at any time or when necessary, is not referred to
The limitation fixed time improves the flexibility of cleaning local repository.Time monitoring tool settings timing can be used in local server
Task at the appointed time triggers the task of capacity monitor request to local server, carries out capacity monitor to database automatically,
To improve the automated cleaning ability and automatization level of local repository, the recall precision of effective guarantee local repository.
Further, local file further includes the local update time;Network file further includes the online updating time.Such as Fig. 5
It is shown, after step S60, if that is, same file ID corresponding local file mark and network file mark it is inconsistent it
Afterwards, which further includes following steps:
If S601. the local update time is more than the online updating time, it includes weak projectivity data that it is corresponding, which to obtain file ID,
Network file and local file, merge network file and local file and formed and update file.
Wherein, the local update time be local repository to specified in local repository the corresponding local file of file ID into
The renewal time that row updates.Correspondingly, the online updating time is exactly that portal management personnel pass through targeted sites to Internet resources
The renewal time that the corresponding network file including weak projectivity data of same file ID is updated in library.
Updating file is local server by the corresponding network file and local including weak projectivity data of same file ID
The file that file obtains after merging.
It specifically, is more than same file ID corresponding including weak projectivity data when the local file corresponding local update time
Network file corresponding online updating time when, illustrate that the corresponding local file of same file ID is by more in local repository
Newly, at the same there may be the case where include: the corresponding network file including weak projectivity data of same file ID be also updated or
Person does not update, in order to keep the real-time of the corresponding network file or local file including weak projectivity data of same file ID,
It needs to merge local file at this time and network file forms and updates file.
In step S601, local server the local update time be more than the online updating time when, merge network file and
Local file, which is formed, updates file, can ensure the real-time and reliability for updating file.
S602. show on a web browser update file, and using update file update local repository in file ID pair
The local file answered, and update the network file including weak projectivity data corresponding with file ID in target network address.
It is to be appreciated that in step S601 local server caching generate corresponding the updates file of same file ID and
Local file and network file are different from, at this point, local server should be carried out in the update file that browser loads latest edition
It has been shown that, at the same in local repository and network file packet to the corresponding local file of same file ID and network file into
Row replacement, replaces with newest update file.
In step S602, local server is by the newly-generated corresponding update file of same file ID simultaneously in local resource
It is replaced in library and network file packet, can ensure the real-time and reliability for updating file;It shows on a web browser more simultaneously
New file, also Logistics networks server shows the content to match with update file in time.
For step S601 into S602, local server merges network when the local update time being more than the online updating time
File and local file, which are formed, updates file, can ensure the real-time and reliability for updating file.Local server will be newly-generated
The corresponding update file of same file ID simultaneously be replaced in local repository and network file packet, can ensure update text
The real-time and reliability of part;It shows on a web browser simultaneously and updates file, also Logistics networks server shows in time and updates
The content that file matches.
Data calling method provided in this embodiment obtains stored target network address by preset list of websites, simultaneously
The corresponding request response time of target network address and network file mark are obtained, can quickly confirm the corresponding net of load target network address
The loading path of network file;Local server, which can directly extract not updated network file and be loaded into browser, to be shown,
To save network flow and the load time from target network address load networks file;Local server passes through target network address simultaneously and adds
The network file by updating is carried to browser, can ensure that target network address provides the real-time and reliability of content simultaneously.
Further, when target network address is not stored in preset list of websites, local server just obtains target network address
Corresponding network file packet avoids each local server that from will obtaining the corresponding network file packet of target network address, has resource
Repetition obtain and waste memory space.Local server can be locally downloading by Internet resources packet acquired in step s101
It carries out saving in IndexedDB database and forms local resource packet, can be enhanced in local resource packet using IndexedDB database
It searches data and stores the ability of mass data, improve the performance of local server subsequent calls weak projectivity data.Local clothes
Device be engaged in time by the target network address and the progress hyperlink association of local resource packet in preset list of websites, is conducive to subsequent local service
Device reinitializes the target network address is chosen in list of websites after, corresponding local resource can be obtained based on the target network address in time
Packet is saved without searching the storage location of the corresponding local resource packet of the target network address again and searches the time.
Further, local server can task based access control type to capacity monitor request in specify resources bank mark local
Resources bank carries out capacity monitor, clears up the local capacity of local repository in time conducive to local server, improves subsequently through this
The recall precision that ground resources bank is retrieved.Local server can trigger in real time appointing for capacity monitor request by real-time task
Business ensures that local server can carry out capacity monitor to database at any time or when necessary, not by specified time
Limitation improves the flexibility of cleaning local repository.Time monitoring tool settings timed task can be used in local server, to
Local server at the appointed time triggers the task of capacity monitor request, carries out capacity monitor to database automatically, to improve this
The automated cleaning ability and automatization level of ground resources bank, the recall precision of effective guarantee local repository.
Further, local server merges network file and this when the local update time being more than the online updating time
Ground file, which is formed, updates file, can ensure the real-time and reliability for updating file.Local server is by newly-generated same text
The corresponding update file of part ID is replaced in local repository and network file packet simultaneously, can be ensured and be updated the real-time of file
Property and reliability;It shows on a web browser simultaneously and updates file, also Logistics networks server shows in time and updates file phase
The content matched.
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 data call device is provided, data tune in the data call device and above-described embodiment
It is corresponded with method.As shown in fig. 6, the data call device includes obtaining load request module 10, obtaining response message mould
Block 20 judges time threshold module 30, obtains status list module 40, obtains file identification module 50 and obtains network file mould
Block 60, detailed description are as follows for each functional module:
Load request module 10 is obtained, for obtaining the page load request for carrying target network address, judges that target network address is
It is no to be stored in preset list of websites.
Response message module 20 is obtained, if being stored in preset list of websites for target network address, to target network address pair
The targeted sites answered send connecting test request, obtain the response message that targeted sites are returned based on connecting test request.
Judge time threshold module 30, for determining request response time based on response message, judges request response time
Whether preset time threshold is less than.
Status list module 40 is obtained, if being less than preset time threshold for request response time, obtains target network address
Corresponding file status list, file status list include at least one file status record, and each file status record includes
File ID and network file mark.
File identification module 50 is obtained, for obtaining the corresponding local file mark of each file ID from local repository
Know, it is consistent to judge that the corresponding local file mark of same file ID is identified whether with network file.
Network file module 60 is obtained, if not for the corresponding local file mark of same file ID and network file mark
Unanimously, then the corresponding network file including weak projectivity data of file ID is obtained according to target network address, shows net on a web browser
Network file, and local file corresponding with file ID in local repository is updated using network file.
Preferably, which further includes load networks file packet module 101, forms local resource packet module
102 and addition target network address module 103.
Load networks file packet module 101, if being not stored in preset list of websites for target network address, from target network
The corresponding network file packet of target network address is obtained in the corresponding targeted sites in location, network file packet includes at least one network file
File, network file file include file ID, network file mark and network file.
Local resource packet module 102 is formed, for the backup network file packet in local repository, to form local resource
Packet, local resource packet include at least one local resource file corresponding with network file file, and local resource file includes text
Part ID and network file identify corresponding local file mark and local file corresponding with network file.
Add target network address module 103, for target network address to be added in preset list of websites, associated objects network address and
The corresponding local resource packet of target network address.
Preferably, which further includes obtaining monitoring request module, triggering cleaning means module and triggering prison
Control tool model.
Monitoring request module is obtained, for obtaining capacity monitor request, capacity monitor request includes task type and resource
Library mark.
Cleaning means module is triggered, if being real-time task for task type, triggers the cleaning of file cleaning means and money
Source library identifies corresponding local repository.
Monitoring tools module is triggered, if being timed task, triggered time monitoring tools, so that system for task type
When current time reaches the clocked flip time carried in capacity monitor task, the cleaning of triggering file cleaning means and resources bank mark
Sensible corresponding local repository.
Preferably, which further includes being formed to update file module and update network file module.
It is formed and updates file module, if being more than the online updating time for the local update time, it is corresponding to obtain file ID
The network file and local file including weak projectivity data, merge network file and local file and formed and update file.
Network file module is updated, updates file for showing on a web browser, and update local money using file is updated
Local file corresponding with file ID in the library of source, and update the net including weak projectivity data corresponding with file ID in target network address
Network file.
Specific about data call device limits the restriction that may refer to above for data calling method, herein not
It repeats again.Modules in above-mentioned data call device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal structure
Figure can be as shown in Figure 7.The computer equipment includes processor, the memory, network interface sum number connected by system bus
According to library.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes
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
The database of machine equipment is used for the relevant data of data calling method.The network interface of the computer equipment is used for and external end
End passes through network connection communication.To realize a kind of data calling method when the computer program is executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory and can
The computer program run on a processor, processor realize above-described embodiment data calling method when executing computer program,
Such as S10 shown in Fig. 2 to step S60.Alternatively, processor realizes that data call fills in above-described embodiment when executing computer program
The function for each module/unit set, such as module 10 shown in Fig. 6 is to the function of module 60.It is no longer superfluous herein to avoid repeating
It states.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer journey are stored thereon with
Above-described embodiment data calling method is realized when sequence is executed by processor, such as S10 shown in Fig. 2 to step S60.Alternatively, the meter
The function of each module/unit in data call device in above-mentioned apparatus embodiment, example are realized when calculation machine program is executed by processor
Module 10 as shown in Figure 6 to module 60 function.To avoid repeating, details are not described herein again.
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
Relevant hardware is instructed to complete by computer program, it is readable which can be stored in a non-volatile computer
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 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 that read-only memory (ROM), programming ROM (PROM), electricity can be compiled
Journey 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), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect 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 described device is divided into different functional unit or module, more than completing
The all or part of function of description.
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 data calling method characterized by comprising
The page load request for carrying target network address is obtained, judges whether the target network address is stored in preset list of websites;
If the target network address is stored in the preset list of websites, sent to the corresponding targeted sites of the target network address
Connecting test request obtains the response message that the targeted sites are returned based on connecting test request;
Request response time is determined based on the response message, judges whether the request response time is less than preset time threshold
Value;
If the request response time is less than preset time threshold, the corresponding file status list of the target network address is obtained,
The file status list includes at least one file status record, and each file status record includes file ID and network
File identification;
The corresponding local file mark of each file ID is obtained from local repository, judges that the same file ID is corresponding
The local file mark identified whether with network file it is consistent;
If the corresponding local file mark of the same file ID and network file mark are inconsistent, according to the target
Network address obtains the corresponding network file including weak projectivity data of the file ID, shows the network file on a web browser,
And local file corresponding with the file ID in the local repository is updated using the network file.
2. data calling method as described in claim 1, which is characterized in that judge whether the target network address stores described
After in preset list of websites, the data calling method further include:
If the target network address is not stored in the preset list of websites, from the corresponding targeted sites of the target network address
The corresponding network file packet of the target network address is obtained, the network file packet includes at least one network file file, described
Network file file includes file ID, network file mark and network file;
The network file packet is backed up in the local repository, to form local resource packet, the local resource packet includes
At least one local resource file corresponding with the network file file, the local resource file includes file ID and institute
It states network file and identifies corresponding local file mark and local file corresponding with the network file;
The target network address is added in the preset list of websites, be associated with the target network address and with the target network address pair
The local resource packet answered.
3. data calling method as claimed in claim 2, which is characterized in that in the association target network address and the mesh
After marking the corresponding local resource packet of network address, the data calling method further include:
Capacity monitor request is obtained, the capacity monitor request includes that task type and resources bank identify;
If the task type is real-time task, the cleaning of file cleaning means is triggered with the resources bank and identifies corresponding
Ground resources bank;
If the task type is timed task, triggered time monitoring tools, so that the current time in system reaches the capacity
When the clocked flip time carried in monitor task, triggering file cleaning means cleaning identifies corresponding with the resources bank
Ground resources bank.
4. data calling method as described in claim 1, which is characterized in that whether judge the request response time described
After preset time threshold, the data calling method further include:
If the request response time is not less than preset time threshold, the target network address is loaded in the local repository
Corresponding local resource packet.
5. data calling method as described in claim 1, which is characterized in that corresponding in the same file ID of judgement
Local file mark and network file identify whether it is consistent after, the data calling method further include:
If the corresponding local file mark of the same file ID is consistent with network file mark, from the local resource
Local file corresponding with the file ID is called in library, shows the local file on a web browser.
6. data calling method as described in claim 1, which is characterized in that when the local file further includes local update
Between;The network file further includes the online updating time;
Described after if the corresponding local file mark of the same file ID and network file mark are inconsistent
Data calling method further include:
If the local update time is more than the online updating time, it includes weak projectivity number that it is corresponding, which to obtain the file ID,
According to network file and local file, merge the network file and the local file and formed and update file;
Show the update file on a web browser, and using in the updates file update local repository with the text
The corresponding local file of part ID, and update the network including weak projectivity data corresponding with the file ID in the target network address
File.
7. a kind of data call device characterized by comprising
Load request module is obtained, for obtaining the page load request for carrying target network address, whether judges the target network address
It is stored in preset list of websites;
Response message module is obtained, if being stored in the preset list of websites for the target network address, to the target
The corresponding targeted sites of network address send connecting test request, obtain what the targeted sites were returned based on connecting test request
Response message;
Time threshold module is judged, for determining request response time based on the response message, when judging request response
Between whether be less than preset time threshold;
Status list module is obtained, if being less than preset time threshold for the request response time, obtains the target network
The corresponding file status list in location, the file status list include at least one file status record, each file shape
State record includes that file ID and network file identify;
File identification module is obtained, for obtaining the corresponding local file mark of each file ID from local repository,
It is consistent to judge that the corresponding local file mark of the same file ID is identified whether with network file;
Network file module is obtained, if being used for the corresponding local file mark of the same file ID and network file mark
It is inconsistent, then the corresponding network file including weak projectivity data of the file ID is obtained according to the target network address, browsed
The network file is shown on device, and using corresponding with the file ID in the network file update local repository
Local file.
8. data call device as claimed in claim 7, which is characterized in that the data call device further include:
Load networks file packet module, if being not stored in the preset list of websites for the target network address, from described
The corresponding network file packet of the target network address is obtained in the corresponding targeted sites of target network address, the network file packet includes extremely
A few network file file, the network file file include file ID, network file mark and network file;
Local resource packet module is formed, for backing up the network file packet in the local repository, to form local money
Source packet, the local resource packet includes at least one local resource file corresponding with the network file file, the local
Resource file includes that file ID and the network file identify corresponding local file mark and corresponding with the network file
Local file;
It adds target network address module and is associated with the target for the target network address to be added in the preset list of websites
Network address and the corresponding local resource packet of the target network address.
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 6 data calling methods.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization data calling method as described in any one of claim 1 to 6 when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910048966.5A CN109871503A (en) | 2019-01-18 | 2019-01-18 | Data calling method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910048966.5A CN109871503A (en) | 2019-01-18 | 2019-01-18 | Data calling method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871503A true CN109871503A (en) | 2019-06-11 |
Family
ID=66917747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910048966.5A Pending CN109871503A (en) | 2019-01-18 | 2019-01-18 | Data calling method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871503A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314175A (en) * | 2020-02-14 | 2020-06-19 | 西安广和通无线通信有限公司 | Communication device performance testing device, system and method |
CN112579542A (en) * | 2020-12-17 | 2021-03-30 | 海信视像科技股份有限公司 | Display device and page drawing method |
CN112596770A (en) * | 2020-12-24 | 2021-04-02 | 潍柴动力股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112667586A (en) * | 2021-01-26 | 2021-04-16 | 浪潮通用软件有限公司 | Method, system, device and medium for data synchronization based on stream processing |
CN114221953A (en) * | 2021-11-29 | 2022-03-22 | 平安证券股份有限公司 | Resource acquisition method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6952723B1 (en) * | 1999-02-02 | 2005-10-04 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and system for correcting invalid hyperlink address within a public network |
CN104462591A (en) * | 2014-12-31 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Method for avoiding repeated download and mobile terminal |
CN106790687A (en) * | 2017-02-17 | 2017-05-31 | 和创(北京)科技股份有限公司 | Webpage display method, web data processing method and server |
CN107784086A (en) * | 2017-10-09 | 2018-03-09 | 中国平安人寿保险股份有限公司 | A kind of loading method of webpage, terminal device and computer-readable recording medium |
-
2019
- 2019-01-18 CN CN201910048966.5A patent/CN109871503A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6952723B1 (en) * | 1999-02-02 | 2005-10-04 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and system for correcting invalid hyperlink address within a public network |
CN104462591A (en) * | 2014-12-31 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Method for avoiding repeated download and mobile terminal |
CN106790687A (en) * | 2017-02-17 | 2017-05-31 | 和创(北京)科技股份有限公司 | Webpage display method, web data processing method and server |
CN107784086A (en) * | 2017-10-09 | 2018-03-09 | 中国平安人寿保险股份有限公司 | A kind of loading method of webpage, terminal device and computer-readable recording medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314175A (en) * | 2020-02-14 | 2020-06-19 | 西安广和通无线通信有限公司 | Communication device performance testing device, system and method |
CN111314175B (en) * | 2020-02-14 | 2022-05-31 | 西安广和通无线通信有限公司 | Communication device performance testing device, system and method |
CN112579542A (en) * | 2020-12-17 | 2021-03-30 | 海信视像科技股份有限公司 | Display device and page drawing method |
CN112596770A (en) * | 2020-12-24 | 2021-04-02 | 潍柴动力股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112596770B (en) * | 2020-12-24 | 2023-08-18 | 潍柴动力股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112667586A (en) * | 2021-01-26 | 2021-04-16 | 浪潮通用软件有限公司 | Method, system, device and medium for data synchronization based on stream processing |
CN112667586B (en) * | 2021-01-26 | 2023-04-25 | 浪潮通用软件有限公司 | Method, system, equipment and medium for synchronizing data based on stream processing |
CN114221953A (en) * | 2021-11-29 | 2022-03-22 | 平安证券股份有限公司 | Resource acquisition method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109871503A (en) | Data calling method, device, computer equipment and storage medium | |
CN1811757B (en) | System and method for locating pages on the world wide web and for locating documents from a network of computers | |
EP2176783B1 (en) | Efficient updates for distributed file systems | |
US8719226B1 (en) | Database version control | |
US20150082438A1 (en) | System and server for detecting web page changes | |
CN102239476A (en) | Shared namespace for storage clusters | |
US11960443B2 (en) | Block data storage system in an event historian | |
CN106980699A (en) | A kind of data processing platform (DPP) and system | |
CN105550229A (en) | Method and device for repairing data of distributed storage system | |
CN106326025A (en) | Method and device for processing abnormality of browser | |
Shrivastava | A methodical study of web crawler | |
CN101355590B (en) | Method, system and apparatus for prompting download | |
WO2005045632A2 (en) | Utilizing cookies by a search engine robot for document retrieval | |
CN107896219A (en) | A kind of detection method, system and the relevant apparatus of website fragility | |
CN106202492A (en) | The Metadata Service optimization method of a kind of NFS and system | |
CN107070988A (en) | Message processing method and device | |
CN105956491B (en) | The data of publicly-owned cloud storage system are carried out with the method and system of more account backups | |
CN110069264A (en) | Construct method, apparatus, computer equipment and the storage medium of resource packet | |
US9658924B2 (en) | Event data merge system in an event historian | |
CN105306564A (en) | Database-based network disk file replication method and server | |
CN108243207B (en) | A kind of date storage method of network cloud disk | |
US20060080288A1 (en) | Interaction of static and dynamic data sets | |
CN104219271B (en) | Based on the asynchronous multiserver synchronous method for downloading the page of multithreading | |
CN106257895A (en) | The method and device of network addressing | |
CN105868384A (en) | Method, device and system for updating shared data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |