CN109543124A - A kind of page loading method, storage medium and server - Google Patents
A kind of page loading method, storage medium and server Download PDFInfo
- Publication number
- CN109543124A CN109543124A CN201811221689.5A CN201811221689A CN109543124A CN 109543124 A CN109543124 A CN 109543124A CN 201811221689 A CN201811221689 A CN 201811221689A CN 109543124 A CN109543124 A CN 109543124A
- Authority
- CN
- China
- Prior art keywords
- page
- typing
- information
- visitor
- person
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of page loading method, storage medium and servers, comprising: if the data input in current page detection to typing person instructs, obtains the typing person in the information of page typing and the identity information of the typing person;The page and the information of page typing are stored in cache database with after the binding of the identity information of the typing person respectively;The accessing page request for monitoring and capturing visitor searches whether exist and the associated typing person of the visitor according to the identity information for the visitor that the accessing page request carries in the cache database;If it exists with the associated typing person of the visitor, then the page of the identity information binding of the associated typing person of visitor described in the cache database and the information of page typing are loaded.The present invention loads the information of last time typing on this page when opening when user reopens the page, and page info efficiency of inputting can be improved, enhance interactive experience.
Description
Technical field
The present invention relates to technical field of information processing more particularly to a kind of page loading methods, storage medium and server.
Background technique
With the gradually universal of the multimedia network technologies such as javascript/html5 and develop, during web page browsing
Multimedia content gradually increases, and the requirement during web page browsing to network speed, hardware device also improves.User sets in terminal
When standby upper login page typing information, since the page is accidentally exited in suspension or system problem, when reentering the page, move back
The information needs of preceding typing re-type out, and interactive experience is poor.
Summary of the invention
The embodiment of the invention provides a kind of page loading method, storage medium and servers, to solve in the prior art,
User on the terminal device login page typing information when, since the page is accidentally exited in suspension or system problem, again into
When entering the page, the information needs of typing before exiting are re-typed, the problem of interactive experience difference.
The first aspect of the embodiment of the present invention provides a kind of page loading method, comprising:
If the data input in current page detection to typing person instructs, obtains the typing person and recorded in the page
The identity information of the information and the typing person that enter;
The page and the information of page typing are stored in after the binding of the identity information of the typing person respectively
Cache database;
The accessing page request of visitor is monitored and captures, the accessing page request carries the identity letter of the visitor
Breath;
According to the identity information of the visitor, searches whether to exist in the cache database and be closed with the visitor
The typing person of connection;
If in the cache database exist with the associated typing person of the visitor, load in the cache database
The page of the identity information binding of the associated typing person of visitor and the information of page typing.
The second aspect of the embodiment of the present invention provides a kind of server, including memory and processor, the storage
Device is stored with the computer program that can be run on the processor, and the processor is realized such as when executing the computer program
Lower step:
If the data input in current page detection to typing person instructs, obtains the typing person and recorded in the page
The identity information of the information and the typing person that enter;
The page and the information of page typing are stored in after the binding of the identity information of the typing person respectively
Cache database;
The accessing page request of visitor is monitored and captures, the accessing page request carries the identity letter of the visitor
Breath;
According to the identity information of the visitor, searches whether to exist in the cache database and be closed with the visitor
The typing person of connection;
If in the cache database exist with the associated typing person of the visitor, load in the cache database
The page of the identity information binding of the associated typing person of visitor and the information of page typing.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes following steps when being executed by processor:
If the data input in current page detection to typing person instructs, obtains the typing person and recorded in the page
The identity information of the information and the typing person that enter;
The page and the information of page typing are stored in after the binding of the identity information of the typing person respectively
Cache database;
The accessing page request of visitor is monitored and captures, the accessing page request carries the identity letter of the visitor
Breath;
According to the identity information of the visitor, searches whether to exist in the cache database and be closed with the visitor
The typing person of connection;
If in the cache database exist with the associated typing person of the visitor, load in the cache database
The page of the identity information binding of the associated typing person of visitor and the information of page typing.
In the embodiment of the present invention, if the data input in current page detection to typing person instructs, the typing is obtained
Person is in the information of page typing and the identity information of the typing person, by the page and page typing
Information is stored in cache database with after the binding of the identity information of the typing person respectively, saves user's typing on the page in real time
Information, then monitors and captures the accessing page request of visitor, and the accessing page request carries the identity of the visitor
Information, according to the identity information of the visitor, searched whether in the cache database exist be associated with the visitor
Typing person, if in the cache database exist with the associated typing person of the visitor, load the cache database
Described in the associated typing person of visitor identity information binding the page and page typing information, can avoid disconnected
Page info needs the problem of rerecording when net or system problem lead to exit the page, so that the information for improving user in the page is recorded
Enter efficiency, enhances the interactive experience of user and the page.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of page loading method provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of page loading method S102 provided in an embodiment of the present invention;
Fig. 3 is another specific implementation flow chart of page loading method S102 provided in an embodiment of the present invention;
Fig. 4 is the specific implementation flow chart of page loading method S105 provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of page loading device provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Fig. 1 shows the implementation process of page loading method provided in an embodiment of the present invention, and this method process includes step
S101 to S105.The specific implementation principle of each step is as follows:
S101: if the data input in current page detection to typing person instructs, the typing person is obtained in the page
The information of face typing and the identity information of the typing person.
Specifically, the data input instruction refers to detects input information in the message box of the current page.It is described
Typing person refers to the user of typing information.In embodiments of the present invention, typing information on the page that typing person opens at the terminal
It needs first to log in front of, logins successfully then detection information typing instruction, otherwise detection information typing is not instructed to reduce power consumption,
Wherein, it logins successfully and refers to that the account information of login is corresponding with the account information of backstage storage, the account information includes being used for
The identity information of identity user, such as account, identification card number, cell-phone number or face information.In current page detection to record
The person of entering obtains information and institute of the typing person in page typing in the information bank typing information of the current page
The identity information of typing person is stated, the account information when identity information of the typing person is according to typing person's login page is true
It is fixed.
In the present embodiment, the page refer to can typing information the page, for example, going out the data input of single process for vehicle insurance
The page includes the information of vehicles typing page, the owner information typing page, query page of insuring, the premium calculating page, throws warrantee
The data input page, the validation of information page of insuring, core Bao Shengsheng, which insure, single-page and opens single payment page, the information of vehicles
The typing page includes license plate, firstly mounts the information such as date, Vehicle Identify Number, vehicle model, motor number, kerb weight, capacity.
S102: by the page and the information of page typing respectively and after the binding of the identity information of the typing person
It is stored in cache database.
Specifically, described to bind the page and the information of page typing respectively at the identity information of the typing person
Refer to the mapping relations for establishing the identity information of the page and the typing person respectively, the information of page typing and institute
The mapping relations of the identity information of typing person are stated, the identity information of the same typing person corresponds at least one page, a page
Including at least one key message.
As an embodiment of the present invention, as shown in Fig. 2, above-mentioned S102 is specifically included:
A1: monitoring caching trigger event.Wherein, caching trigger event refers to the event of triggering caching page info, including
It page switching, page close and is moved back using dodging, if caching event triggering, all slow by the information of current page typing
It deposits, avoids re-type into the page needs next time, to save the time.
A2: if monitor caching trigger event, using the information of typing on the page and the page as with institute
The page of the identity information binding of typing person is stated, and obtains the inquiry code of the page, the inquiry code refers to be believed according to the page
The information code for being used to identify the page that breath generates.Specifically, when monitoring caching trigger event, by the page and institute
It states the information cache of typing on the page, and is associated with according to the identity information of the typing person page and described
The information of typing on the page.
A3: the inquiry code is associated with the identity information of the information of typing on the page and the typing person and is tied up
It is stored in cache database after fixed.Specifically, the corresponding page of the inquiry code can be called according to the inquiry code, pass through by
The inquiry code caches after being associated with binding with the information of typing on the page and the identity information of typing person, and load can be improved
Speed enhances user experience.
Optionally, the specific implementation flow of page loading method step A2 provided in an embodiment of the present invention, details are as follows:
A21: the interface message and page parameter of the page are obtained.Specifically, the interface message includes interface index,
The page parameter is webpage parameter.
A22: it is based on institute's interface message and page parameter, generates the inquiry code of the page.
In embodiments of the present invention, inquiry code is generated according to the interface message of the page and page parameter.Optionally, will
Page parameter serializing, and signature processing is carried out to the page parameter after serializing, corresponding signature value is generated, according to described
Interface message and signature value generate inquiry code, to improve the safety of the page.For example, using MD5 (Message-digest
Algorithm 5, message digest algorithm) it signs to the page parameter after serializing, then according to the interface message
Inquiry code is generated with the signature value.
In embodiments of the present invention, the information of the typing person that will acquire typing on the current page is all stored in data cached
When, the memory space of cache database is easy to take, therefore, as an embodiment of the present invention, as shown in figure 3, can be to institute
After stating typing person the information of typing being screened on the current page, then the identity information banding cache with the typing person,
The step S102 specifically comprises the following steps:
B1: whether the information for judging page typing is key message.The key message refers to preassigned
Information.For example, the key message of the information of vehicles typing page is appointed as license plate, vehicle model, motor number and firstly mounts the date,
B2: if the information of page typing is key message, by the page and the key message respectively with
Cache database is stored in after the identity information binding of the typing person.At this point, by the page and the page key message with it is described
It is cached after the identity information binding of typing person, to reduce the waste of the memory space of cache database, improves memory space benefit
With rate.
Optionally, the inquiry code for obtaining the page, by the inquiry code of the page and the key message respectively with institute
Cache database is stored in after stating the identity information binding of typing person.The inquiry code refers to be used to mark according to what page info generated
Know the information code of the page.It is described to believe the page (or inquiry code) and the key message respectively at the identity of the typing person
Breath binding refers to mapping relations, the key for the identity information for establishing the page (or inquiry code) and the typing person respectively
The mapping relations of the identity information of information and the typing person, the identity information of the same typing person correspond at least one page
(or inquiry code), at least one corresponding key message of a page (or inquiry code).
Optionally, when the typing information deposit cache database, the effective time of the typing information cache is set.When
When the effective time of the typing information reaches, the typing information is removed from the cache database, is reduced described slow
The memory space occupied in deposit data.
S103: monitoring and captures the accessing page request of visitor, and the accessing page request carries the visitor's
Identity information.
Specifically, the accessing page request includes network address input instruction, link clicks triggering command etc..Wherein, described
The identity information of visitor include account, identification card number, cell-phone number, face information or other can be used for identification access person's
Information.
Optionally, before the step S103, the detection page shares instruction, and the page is shared instruction and referred to the page
Share from first terminal to second terminal.In this embodiment, there are first terminal and second terminal, terminal can refer to intelligence
Equipment may also mean that user.When first terminal detects data input instruction, by the page of typing information and typing information
Cache database is stored in after being associated with the identity information that data input instruction carries;It detects the page and shares instruction, the page
Share the inquiry code and the transmission page point that the instruction carrying page shares the specified page to be shared shared of instruction in face
The sharing User ID for enjoying instruction, when detecting that the page shares instruction, the inquiry code of first terminal page to be shared according to
And the sharing User ID, generate the address of the page to be shared, and the address of the page to be shared is sent to the
Two terminals.It is monitored in the second terminal and captures the accessing page request of visitor.The second terminal is according to the page
The address of the page carried in access request determines the sharing User ID of the page.
S104: according to the identity information of the visitor, search whether exist and the visit in the cache database
The associated typing person of the person of asking.
In embodiments of the present invention, in embodiments of the present invention, the visitor and the typing person can be same use
Family determines whether the visitor and the typing person are same user according to identity information.If the identity of the visitor is believed
Breath is identical as the identity information of the typing person, then the two is same user.Optionally, the visitor and the typing person can
Think that different user, the identity information of the visitor are associated with the identity information of the typing person.For example, typing person is business
Member, visitor are the client of business personnel.
S105: if in the cache database exist with the associated typing person of the visitor, load the caching number
According to the identity information page bound of the associated typing person of visitor described in library and the information of page typing.
In embodiments of the present invention, judge the visitor identity information whether in typing in the cache database
Identity information is identical or association, if the identity in the identity information of the visitor and the cache database in typing is believed
Manner of breathing is same or is associated with, then loads the page of the identity information binding of the associated typing person of visitor described in the cache database
The information of face and page typing.
As an embodiment of the present invention, Fig. 4 shows page loading method S105's provided in an embodiment of the present invention
Specific implementation flow, details are as follows:
C1: if the page that the identity information of the associated typing person of the visitor is bound has multiple, acquisition and the access
The page priority valve of each page of the identity information binding of the associated typing person of person.It should be noted that in the present embodiment
The typing person identity information binding multiple pages and the page on typing information, centainly with the identity of the visitor
Information is also associated with, and the visitor haves no right access and typing on the not associated page of identity information and the page of the visitor
Information.
C2: multiple pages that the identity information of the associated typing person of the visitor is bound press the page priority valve
It successively sorts from big to small.
C3: the information of typing on the maximum page of the page priority valve and the page is loaded.
Optionally, the step B1 includes:
The page priority valve proprity of the page i is calculated according to the following formulai:
Wherein, FrequenceiIndicate the history access frequency of i-th of page, StimeiIndicate user in i-th page
History residence time, N indicate that user accesses the history access times of i-th of page, λiIndicate the preset value of i-th of page.
In the embodiment of the present invention, if the data input in current page detection to typing person instructs, the typing is obtained
Person is in the information of page typing and the identity information of the typing person, by the page and page typing
Information is stored in cache database with after the binding of the identity information of the typing person respectively, saves user's typing on the page in real time
Information, then monitors and captures the accessing page request of visitor, and the accessing page request carries the identity of the visitor
Information, according to the identity information of the visitor, searched whether in the cache database exist be associated with the visitor
Typing person, if in the cache database exist with the associated typing person of the visitor, load the cache database
Described in the associated typing person of visitor identity information binding the page and page typing information, can avoid disconnected
Page info needs the problem of rerecording when net or system problem lead to exit the page, meanwhile, the page can be shared from first terminal
It is reopened to second terminal, user is not necessarily to re-type the information of typing, the time is saved, to improve user in the page
Data input efficiency enhances the interactive experience of user and the page.
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.
Corresponding to page loading method described in foregoing embodiments, Fig. 5 shows the page provided by the embodiments of the present application and adds
The structural block diagram set is carried, for ease of description, illustrates only part relevant to the embodiment of the present application.
Referring to Fig. 5, which includes: information acquisition unit 51, and information cache unit 52 requests capturing unit
53, information searching unit 54, information loading unit 55, in which:
Information acquisition unit 51, if for the data input instruction in current page detection to typing person, described in acquisition
Typing person is in the information of page typing and the identity information of the typing person;
Information cache unit 52, for by the page and the information of page typing respectively with the typing person's
Cache database is stored in after identity information binding;
Capturing unit 53 is requested, for monitoring and capturing the accessing page request of visitor, the accessing page request is taken
Identity information with the visitor;
Information searching unit 54, for the identity information according to the visitor, searching in the cache database is
It is no to exist and the associated typing person of the visitor;
Information loading unit 55, if for exist in the cache database with the associated typing person of the visitor,
The page and the page for loading the identity information binding of the associated typing person of visitor described in the cache database have been recorded
The information entered.
Optionally, the information cache unit 52 includes:
Event monitoring module, for monitoring caching trigger event;
Inquiry code obtains module, if will record on the page and the page for monitoring caching trigger event
The information entered obtains the inquiry code of the page as the page with the binding of the identity information of the typing person, the inquiry
Code refers to the information code for being used to identify the page generated according to page info;
First information banding cache module, for by the information of the inquiry code and typing on the page and described
It is stored in cache database after the identity information association binding of typing person.
Optionally, the inquiry code obtains module and specifically includes:
Information parameter acquisition submodule, for obtaining the interface message and page parameter of the page;
Inquiry code generates submodule, for being based on institute's interface message and page parameter, generates the inquiry code of the page.
Optionally, the information cache unit 52 includes:
Key message judgment module, for judging whether the information of page typing is key message.
Second information banding cache module, if the information for page typing is key message, by the page
Face and the key message are stored in cache database with after the binding of the identity information of the typing person respectively.
Optionally, the information loading unit 55 includes:
Page priority valve obtains module, if the page that the identity information for the associated typing person of the visitor is bound
There is multiple, the page priority valve for each page that the identity information of acquisition and the associated typing person of the visitor are bound;
Sorting module, for multiple pages of the identity information binding of the associated typing person of the visitor to be pressed the page
Face priority valve successively sorts from big to small;
Signal load unit, for loading typing on the maximum page of the page priority valve and the page
Information.
Optionally, the page priority valve obtains module and specifically includes:
Priority valve computing module, for calculating the page priority valve of the page i according to the following formula
proprityi:
Wherein, FrequenceiIndicate the history access frequency of i-th of page, StimeiIndicate user in i-th page
History residence time, N indicate that user accesses the history access times of i-th of page, λiIndicate the preset value of i-th of page.
In the embodiment of the present invention, if the data input in current page detection to typing person instructs, the typing is obtained
Person is in the information of page typing and the identity information of the typing person, by the page and page typing
Information is stored in cache database with after the binding of the identity information of the typing person respectively, saves user's typing on the page in real time
Information, then monitors and captures the accessing page request of visitor, and the accessing page request carries the identity of the visitor
Information, according to the identity information of the visitor, searched whether in the cache database exist be associated with the visitor
Typing person, if in the cache database exist with the associated typing person of the visitor, load the cache database
Described in the associated typing person of visitor identity information binding the page and page typing information, can avoid disconnected
Page info needs the problem of rerecording when net or system problem lead to exit the page, so that the information for improving user in the page is recorded
Enter efficiency, enhances the interactive experience of user and the page.
Fig. 6 is the schematic diagram for the server that one embodiment of the invention provides.As shown in fig. 6, the server 6 of the embodiment wraps
It includes: processor 60, memory 61 and being stored in the computer that can be run in the memory 61 and on the processor 60
Program 62, such as page loading procedure.The processor 60 realizes that above-mentioned each page adds when executing the computer program 62
Step in support method embodiment, such as step 101 shown in FIG. 1 is to 105.Alternatively, the processor 60 executes the calculating
The function of each module/unit in above-mentioned each Installation practice, such as the function of unit 51 to 55 shown in Fig. 5 are realized when machine program 62
Energy.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 62 in the server 6 is described.
The server 6 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.
The server may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 is only
It is the example of server 6, does not constitute the restriction to server 6, may include than illustrating more or fewer components or group
Close certain components or different components, for example, the server can also include input-output equipment, network access equipment,
Bus etc..
The processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 61 can be the internal storage unit of the server 6, such as the hard disk or memory of server 6.
The memory 61 is also possible to the External memory equipment of the server 6, such as the plug-in type being equipped on the server 6 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 61 can also both include the internal storage unit of the server 6 or wrap
Include External memory equipment.The memory 61 is for other programs needed for storing the computer program and the server
And data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
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
It is included within protection scope of the present invention.
Claims (10)
1. a kind of page loading method characterized by comprising
If the data input in current page detection to typing person instructs, the typing person is obtained in page typing
The identity information of information and the typing person;
The page and the information of page typing are stored in caching with after the binding of the identity information of the typing person respectively
Database;
The accessing page request of visitor is monitored and captures, the accessing page request carries the identity information of the visitor;
According to the identity information of the visitor, search whether to exist in the cache database associated with the visitor
Typing person;
If in the cache database exist with the associated typing person of the visitor, load described in the cache database
The page of the identity information binding of the associated typing person of visitor and the information of page typing.
2. page loading method according to claim 1, which is characterized in that described to have recorded the page and the page
The information entered is stored in cache database with after the binding of the identity information of the typing person respectively, comprising:
Monitoring caching trigger event;
If monitor caching trigger event, using the information of typing on the page and the page as with the typing person
Identity information binding the page, and obtain the inquiry code of the page, the inquiry code refers to be generated according to page info
For identifying the information code of the page;
It is deposited after the inquiry code is associated with binding with the identity information of the information of typing on the page and the typing person
Enter in cache database.
3. page loading method according to claim 2, which is characterized in that the inquiry code for obtaining the page, packet
It includes:
Obtain the interface message and page parameter of the page;
Based on institute's interface message and page parameter, the inquiry code of the page is generated.
4. page loading method according to any one of claims 1 to 3, which is characterized in that if described data cached
In library exist with the associated typing person of the visitor, then load the associated typing person of visitor described in the cache database
Identity information binding the page and page typing information, comprising:
If the page that the identity information of the associated typing person of visitor is bound have it is multiple, obtain it is associated with the visitor
The page priority valve of each page of the identity information binding of typing person;
Multiple pages that the identity information of the associated typing person of the visitor is bound by the page priority valve from greatly to
It is small successively to sort;
Load the information of typing on the maximum page of the page priority valve and the page.
5. page loading method according to claim 4, which is characterized in that the acquisition and the associated record of the visitor
The page priority valve of each page of the identity information binding for the person of entering, comprising:
The page priority valve proprity of the page i is calculated according to the following formulai:
Wherein, FrequenceiIndicate the history access frequency of i-th of page, StimeiIndicate user in the history of i-th of page
Residence time, N indicate that user accesses the history access times of i-th of page, λiIndicate the preset value of i-th of page.
6. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the step of realization page loading method as described in any one of claims 1 to 5 when the computer program is executed by processor
Suddenly.
7. a kind of server, including memory, processor and storage can transport in the memory and on the processor
Capable computer program, which is characterized in that the processor realizes following steps when executing the computer program:
If the data input in current page detection to typing person instructs, the typing person is obtained in page typing
The identity information of information and the typing person;
The page and the information of page typing are stored in caching with after the binding of the identity information of the typing person respectively
Database;
The accessing page request of visitor is monitored and captures, the accessing page request carries the identity information of the visitor;
According to the identity information of the visitor, search whether to exist in the cache database associated with the visitor
Typing person;
If in the cache database exist with the associated typing person of the visitor, load described in the cache database
The page of the identity information binding of the associated typing person of visitor and the information of page typing.
8. server according to claim 7, which is characterized in that described by the page and the letter of page typing
Breath is stored in cache database with after the binding of the identity information of the typing person respectively, comprising:
Monitoring caching trigger event;
If monitor caching trigger event, using the information of typing on the page and the page as with the typing person
Identity information binding the page, and obtain the inquiry code of the page, the inquiry code refers to be generated according to page info
For identifying the information code of the page;
It is deposited after the inquiry code is associated with binding with the identity information of the information of typing on the page and the typing person
Enter in cache database.
9. according to the described in any item servers of claim 7 to 8, which is characterized in that if being deposited in the cache database
With the associated typing person of the visitor, then load the identity of the associated typing person of visitor described in the cache database
The page of information binding and the information of page typing, comprising:
If the page that the identity information of the associated typing person of visitor is bound have it is multiple, obtain it is associated with the visitor
The page priority valve of each page of the identity information binding of typing person;
Multiple pages that the identity information of the associated typing person of the visitor is bound by the page priority valve from greatly to
It is small successively to sort;
Load the information of typing on the maximum page of the page priority valve and the page.
10. server according to claim 9, which is characterized in that the acquisition and the associated typing person of the visitor
Identity information binding each page page priority valve, comprising:
The page priority valve proprity of the page i is calculated according to the following formulai:
Wherein, FrequenceiIndicate the history access frequency of i-th of page, StimeiIndicate user in the history of i-th of page
Residence time, N indicate that user accesses the history access times of i-th of page, λiIndicate the preset value of i-th of page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811221689.5A CN109543124B (en) | 2018-10-19 | 2018-10-19 | Page loading method, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811221689.5A CN109543124B (en) | 2018-10-19 | 2018-10-19 | Page loading method, storage medium and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109543124A true CN109543124A (en) | 2019-03-29 |
CN109543124B CN109543124B (en) | 2023-07-25 |
Family
ID=65844041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811221689.5A Active CN109543124B (en) | 2018-10-19 | 2018-10-19 | Page loading method, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109543124B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245309A (en) * | 2019-05-21 | 2019-09-17 | 深圳壹账通智能科技有限公司 | Page loading method and device |
CN111586164A (en) * | 2020-05-06 | 2020-08-25 | 上海达龙信息科技有限公司 | Sharing method and succession method of remote cloud desktop, information processing method and electronic equipment |
CN112749124A (en) * | 2020-12-28 | 2021-05-04 | 深圳壹账通创配科技有限公司 | Page information management method and device, computer equipment and readable storage medium |
CN112818649A (en) * | 2021-02-02 | 2021-05-18 | 北京首汽智行科技有限公司 | Data filling method and system for data filling page cache |
CN113064926A (en) * | 2021-03-16 | 2021-07-02 | 青岛海尔科技有限公司 | Data screening method and device, storage medium and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090327619A1 (en) * | 2008-04-18 | 2009-12-31 | International Business Machines Corporation | Access Speculation Predictor with Predictions Based on Memory Region Prior Requestor Tag Information |
US20110029899A1 (en) * | 2009-08-03 | 2011-02-03 | FasterWeb, Ltd. | Systems and Methods for Acceleration and Optimization of Web Pages Access by Changing the Order of Resource Loading |
US20110040777A1 (en) * | 2009-08-13 | 2011-02-17 | Yahoo! Inc. | Method and system for causing a browser to preload web page components |
CN102880616A (en) * | 2011-07-15 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Browser page loading method and device |
CN105512251A (en) * | 2015-12-01 | 2016-04-20 | 北京百度网讯科技有限公司 | Page cache method and device |
CN106294648A (en) * | 2016-08-03 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of processing method and processing device for page access path |
-
2018
- 2018-10-19 CN CN201811221689.5A patent/CN109543124B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090327619A1 (en) * | 2008-04-18 | 2009-12-31 | International Business Machines Corporation | Access Speculation Predictor with Predictions Based on Memory Region Prior Requestor Tag Information |
US20110029899A1 (en) * | 2009-08-03 | 2011-02-03 | FasterWeb, Ltd. | Systems and Methods for Acceleration and Optimization of Web Pages Access by Changing the Order of Resource Loading |
US20110040777A1 (en) * | 2009-08-13 | 2011-02-17 | Yahoo! Inc. | Method and system for causing a browser to preload web page components |
CN102880616A (en) * | 2011-07-15 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Browser page loading method and device |
CN105512251A (en) * | 2015-12-01 | 2016-04-20 | 北京百度网讯科技有限公司 | Page cache method and device |
CN106294648A (en) * | 2016-08-03 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of processing method and processing device for page access path |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245309A (en) * | 2019-05-21 | 2019-09-17 | 深圳壹账通智能科技有限公司 | Page loading method and device |
CN111586164A (en) * | 2020-05-06 | 2020-08-25 | 上海达龙信息科技有限公司 | Sharing method and succession method of remote cloud desktop, information processing method and electronic equipment |
CN111586164B (en) * | 2020-05-06 | 2023-08-15 | 上海达龙信息科技有限公司 | Sharing, succession and information processing method of remote cloud desktop and electronic equipment |
CN112749124A (en) * | 2020-12-28 | 2021-05-04 | 深圳壹账通创配科技有限公司 | Page information management method and device, computer equipment and readable storage medium |
CN112818649A (en) * | 2021-02-02 | 2021-05-18 | 北京首汽智行科技有限公司 | Data filling method and system for data filling page cache |
CN113064926A (en) * | 2021-03-16 | 2021-07-02 | 青岛海尔科技有限公司 | Data screening method and device, storage medium and electronic device |
CN113064926B (en) * | 2021-03-16 | 2022-12-30 | 青岛海尔科技有限公司 | Data screening method and device, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109543124B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109543124A (en) | A kind of page loading method, storage medium and server | |
CN110297689A (en) | Intelligent contract executes method, apparatus, equipment and medium | |
US10693877B2 (en) | Evaluating security of data access statements | |
US20160188723A1 (en) | Cloud website recommendation method and system based on terminal access statistics, and related device | |
CN110458559B (en) | Transaction data processing method, device, server and storage medium | |
CN109274632A (en) | A kind of recognition methods of website and device | |
CN107852412A (en) | For phishing and the system and method for brand protection | |
CN111797096A (en) | Data indexing method and device based on ElasticSearch, computer equipment and storage medium | |
US10474689B1 (en) | Model score recall for machine learning systems and applications | |
CN110535850B (en) | Processing method and device for account login, storage medium and electronic device | |
CN110213234A (en) | Developer's recognition methods, device, equipment and the storage medium of application file | |
CN108090153A (en) | A kind of searching method, device, electronic equipment and storage medium | |
CN109359237A (en) | It is a kind of for search for boarding program method and apparatus | |
CN109951469A (en) | A kind of method, apparatus, storage medium and server creating domain name black and white lists | |
CN111597168A (en) | Block chain capacity recovery scheme based on integrity value | |
CN112924921A (en) | Credible collection mechanism of smart electric meter quality data based on block chain | |
CN109144417A (en) | A kind of cloud storage method, system and equipment | |
CN106502875A (en) | A kind of daily record generation method and system based on cloud computing | |
CN107623732A (en) | A kind of date storage method based on cloud platform, device, equipment and storage medium | |
CN107180043A (en) | Paging implementation method and paging system | |
US8364776B1 (en) | Method and system for employing user input for website classification | |
Wen et al. | A performance evaluation of modular functions and state databases for Hyperledger Fabric blockchain systems | |
CN111444412B (en) | Method and device for scheduling web crawler tasks | |
CN103780592A (en) | Method and apparatus for determining being stolen of user account | |
Sun et al. | Security Attitude Prediction Model of Secret‐Related Computer Information System Based on Distributed Parallel Computing Programming |
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 | ||
GR01 | Patent grant |