CN110147509A - Page furbishing method and device - Google Patents

Page furbishing method and device Download PDF

Info

Publication number
CN110147509A
CN110147509A CN201910270716.6A CN201910270716A CN110147509A CN 110147509 A CN110147509 A CN 110147509A CN 201910270716 A CN201910270716 A CN 201910270716A CN 110147509 A CN110147509 A CN 110147509A
Authority
CN
China
Prior art keywords
page
request data
user
request
timing
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
Application number
CN201910270716.6A
Other languages
Chinese (zh)
Inventor
潘信伍
林豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201910270716.6A priority Critical patent/CN110147509A/en
Publication of CN110147509A publication Critical patent/CN110147509A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of page furbishing method and devices, method includes: the first response of step, it receives and previous clicking operation is worked as to the user of preset control in the page, response user works as previous clicking operation, and display and associated first request data of preset control are updated in the page;Timed process, to user when previous clicking operation carries out timing processing, the instruction up to receiving stopping timing processing obtains timing and handles timing duration;Judgment step, judges whether timing duration is greater than preset duration interval, if so, executing the second response of step;If it is not, using user next time clicking operation as user work as previous clicking operation, execute the first response of step;Second response of step, the acquisition request for carrying the second request data of the first request data is sent to server, the second request data that server is obtained according to the first request data operation is received, page furbishing operation is executed, refreshes display and associated second request data of preset control in the page.

Description

Page furbishing method and device
Technical field
The present invention relates to software fields, and in particular to a kind of page furbishing method and device.
Background technique
User can carry out initiating to ask to server in multiple times when the page carries out frequent operation, according to the frequent operation of user It asks, to obtain the corresponding page data of operation.The page will do it refresh operation after the page data for receiving server return, Show page data.If user is in shopping page, quantity increase and decrease button is frequentlyed click on, the page receives the click behaviour of user Make, accordingly can initiate to request to server, obtain page data.Since user frequently clicks, it is multiple server to be received The page data of return, the page also can repeatedly be refreshed, so that page reaction is slack-off, influence page presentation effect.Further, The page can be in page data stress state the long period, show in the upper primary request back page data of waiting for server response Afterwards, just user is allowed to carry out clicking operation next time, influences user experience effect.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the page furbishing method and device of problem.
According to an aspect of the invention, there is provided a kind of page furbishing method comprising:
First response of step receives and works as previous clicking operation to the user of preset control in the page, and response user is when previous Clicking operation updates display and associated first request data of preset control in the page;Wherein, the first request data is user When the client end response data of previous clicking operation;
Timed process, to user when previous clicking operation carries out timing processing, until receiving the finger for stopping timing processing It enables, obtains timing and handle timing duration;Wherein, it includes when timing processing timing duration is greater than that triggering, which stops the instruction of timing processing, It preset duration interval and/or receives to the user of preset control in page clicking operation next time;
Judgment step, judges whether timing duration is greater than preset duration interval, if so, executing the second response of step;If it is not, Using user next time clicking operation as user work as previous clicking operation, execute the first response of step;
Second response of step sends the acquisition request for carrying the second request data of the first request data to server, The second request data that server is obtained according to the first request data operation is received, page furbishing operation is executed, is brushed in the page New display and associated second request data of preset control.
Optionally, timed process further comprises:
It is receiving to the user of preset control in the page when previous clicking operation, is being carried out at timing using page timer Reason;
When receiving the instruction for stopping timing processing, the timing duration of page timer output is obtained.
Optionally, the acquisition request for carrying the second request data of the first request data is sent to server specifically: It is sent to server and carries the first request data and user when the second request data of the operating time stamp of previous clicking operation Acquisition request;
Page furbishing operation is executed, refreshes display in the page and is further wrapped with associated second request data of preset control It includes:
When executing page furbishing operation, corresponding second request data of newest operating time stamp is searched;
Refresh display and associated second request data of preset control in the page.
Optionally, it is sent to server and carries the first request data and user when the operating time stamp of previous clicking operation The acquisition request of the second request data further comprise:
The first request data and user are carried when the operating time stamp of previous clicking operation sending every time to server The second request data acquisition request when, according to operating time stamp update server request time stamp;
When executing page furbishing operation, searches corresponding second request data of newest operating time stamp and further wrap It includes:
It searches and stabs consistent operating time stamp as newest operating time stamp with server request time.
Optionally, the page is the acknowledgement of orders page, and preset control is that commodity amount increaseds or decreases control;First number of request According to including commodity amount data;Second request data includes order value data.
Optionally, the second request data further include: order benefit data.
According to another aspect of the present invention, a kind of page furbishing device is provided comprising:
First respond module, suitable for receiving to the user of preset control in the page when previous clicking operation, response user works as Previous clicking operation updates display and associated first request data of preset control in the page;Wherein, the first request data is User works as the client end response data of previous clicking operation;
Timing module is suitable for user when previous clicking operation carries out timing processing, until receiving stopping timing processing Instruction, obtain timing processing timing duration;Wherein, it includes the timing when timing processing that triggering, which stops the instruction of timing processing, Duration is greater than preset duration interval and/or receives to the user of preset control in page clicking operation next time;
Judgment module, suitable for judging whether timing duration is greater than preset duration interval, if so, executing the second respond module; If it is not, using user next time clicking operation as user work as previous clicking operation, execute the first respond module;
Second respond module, the acquisition suitable for sending the second request data for carrying the first request data to server are asked It asks, receives the second request data that server is obtained according to the first request data operation, page furbishing operation is executed, in the page Refresh display and associated second request data of preset control.
Optionally, timing module is further adapted for:
It is receiving to the user of preset control in the page when previous clicking operation, is being carried out at timing using page timer Reason;
When receiving the instruction for stopping timing processing, the timing duration of page timer output is obtained.
Optionally, the second respond module is further adapted for:
The second of the operating time stamp for carrying the first request data and user when previous clicking operation is sent to server The acquisition request of request data;
When executing page furbishing operation, corresponding second request data of newest operating time stamp is searched;
Refresh display and associated second request data of preset control in the page.
Optionally, the second respond module is further adapted for:
The first request data and user are carried when the operating time stamp of previous clicking operation sending every time to server The second request data acquisition request when, according to operating time stamp update server request time stamp;
It searches and stabs consistent operating time stamp as newest operating time stamp with server request time.
Optionally, the page is the acknowledgement of orders page, and preset control is that commodity amount increaseds or decreases control;First number of request According to including commodity amount data;Second request data includes order value data.
Optionally, the second request data further include: order benefit data.
According to another aspect of the invention, provide a kind of electronic equipment, comprising: processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory makes processor execute above-mentioned page furbishing method for storing an at least executable instruction, executable instruction Corresponding operation.
In accordance with a further aspect of the present invention, a kind of computer storage medium is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor execute such as the corresponding operation of above-mentioned page furbishing method.
The page furbishing method and device provided according to the present invention, the first response of step are received to preset control in the page User work as previous clicking operation, response user work as previous clicking operation, in the page update display it is associated with preset control First request data;Wherein, the first request data is the client end response data that user works as previous clicking operation;Timed process, To user when previous clicking operation carries out timing processing, the instruction up to receiving stopping timing processing obtains timing processing and counts Shi Shichang;Wherein, triggering stop timing processing instruction include when timing processing timing duration be greater than preset duration interval and/or It receives to the user of preset control in page clicking operation next time;It is default to judge whether timing duration is greater than for judgment step Duration interval, if so, executing the second response of step;If it is not, using user next time clicking operation as user when previous click grasp Make, executes the first response of step;Second response of step sends the second request data for carrying the first request data to server Acquisition request, receive the second request data for obtaining according to the first request data operation of server, execute page furbishing operation, Refresh display and associated second request data of preset control in the page.By carrying out timing processing to user's clicking operation, User's clicking operation is delayed to send to server and is requested, is avoided receiving user in a short time when repeatedly clicking, to clothes Being engaged in caused by device transmission request, the page frequently refreshes, the page loaded the problems such as slow.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of page furbishing method according to an embodiment of the invention;
Fig. 2 shows the flow charts of page furbishing method in accordance with another embodiment of the present invention;
Fig. 3 shows the functional block diagram of page furbishing device according to an embodiment of the invention;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
To better understand the content of present invention, the page is illustrated by taking the acknowledgement of orders page as an example in following embodiment, But the page is not limited only to the acknowledgement of orders page, and any page may be applicable to the present invention.Preset control with commodity amount increase or It is illustrated for reduction control, but is not limited only to the control, without being carried out more according to server returned data after any operation New control is suitable for the present invention, such as date control, geographical location control.
Fig. 1 shows the flow chart of page furbishing method according to an embodiment of the invention.As shown in Figure 1, page brush New method specifically comprises the following steps:
Step S101, receives and works as previous clicking operation to the user of preset control in the page, and response user works as previous click Operation updates display and associated first request data of preset control in the page.
For the acknowledgement of orders page, user can increase or decrease the operation of control by clicking commodity amount in the page, To increase the commodity amount chosen.In the prior art when user clicks these preset controls, the meeting click each according to user Operation directly sends to server and requests, and carrys out corresponding refresh page to obtain the request data of server return, leads to page Face is frequently refreshed.In practical applications, when rushing to purchase certain commodity such as user, commodity amount is often repeatedly clicked within a short period of time Increase control;When the commodity amount for causing user to choose slowly because of page reaction speed is excessive, user can repeatedly click commodity number Amount reduces control to reduce commodity amount etc..Consider above situation, is receiving to the user of preset control in the page when previous After clicking operation, not using directly according to server send request by the way of, but by client end response user work as previous point Operation is hit, display and associated first request data of preset control are updated in the page.First request data is user when previous The client end response data of clicking operation, i.e. client can work as previous clicking operation directly in response to user, not need to service Device sends request, can directly update the first request data in client.First request data included such as commodity amount data, Commodity amount is clicked according to user and increaseds or decreases control, and client directly updates commodity amount data.
Step S102, to user when previous clicking operation carries out timing processing, until receiving the finger for stopping timing processing It enables, obtains the timing duration of timing processing.
Work as previous clicking operation in response user, after updating display with associated first request data of preset control, to Family carries out timing processing when previous clicking operation.I.e. since receiving user's timing when previous clicking operation, until receiving Stop the instruction of timing processing.Wherein, the instruction for stopping timing processing is triggered by client, unrelated with server.Specifically , the instruction that triggering stops timing processing includes being greater than preset duration interval, client touching such as the timing duration handled when timing Hair stops the instruction of timing processing.Alternatively, when client is received to the user of preset control in page clicking operation next time, Client triggering stops the instruction of timing processing.Any triggering instruction for stopping timing processing when meeting in the two.Such as work as meter When the timing duration that handles when being greater than preset duration interval, triggering stops the instruction of timing processing, stops timing processing, obtains meter When the timing duration that handles, the timing duration of the timing processing got at this time should be greater than preset duration interval.And due at this time Stopping timing processing is the instruction for stopping timing processing for being greater than preset duration interval due to timing duration and triggering, rather than therefore Receive the instruction for stopping timing processing of user's clicking operation triggering next time to preset control in the page.I.e. when default Long interval does not receive to the user of preset control in page clicking operation next time, it is believed that user is at preset duration interval Multiple clicking operation is not carried out to preset control in the page;Alternatively, when receiving one under the user to preset control in the page When secondary clicking operation, triggering stops the instruction of timing processing, stops timing processing, obtains the timing duration of timing processing, due to Stop the stopping timing processing for user's clicking operation triggering next time that timing processing is received to preset control in the page at this time Instruction, rather than because timing duration be greater than preset duration interval triggering stop timing processing instruction.Therefore, it gets Timing processing timing duration should be less than or be equal to preset duration interval.
Wherein, whether preset duration interval can use a shorter time interval, for confirming user when shorter It is interior that clicking operation repeatedly is carried out to the preset control in the page, as being divided into 300ms between preset duration.
Step S103, judges whether timing duration is greater than preset duration interval.
Judge whether the timing duration got at this time is greater than preset duration interval, if so, i.e. timing duration is greater than default Duration interval then illustrates that user does not carry out multiple clicking operation, Ke Yigen to preset control in the page at preset duration interval Work as previous click according to user, executes step S104;If it is not, being received in preset duration interval to preset control in the page User's clicking operation next time, since clicking operation will lead to the first request data and needs to ask according to first user next time It asks data to carry out the change for the second request data that operation obtains, therefore, there is no need to working as previous clicking operation to clothes to user Device of being engaged in sends request, directly using user next time clicking operation as user when previous clicking operation, re-execute the steps S101.
Step S104 sends the acquisition request for carrying the second request data of the first request data to server, receives The second request data that server is obtained according to the first request data operation, executes page furbishing operation, refreshes in the page aobvious Show and associated second request data of preset control.
When timing duration be greater than preset duration interval, i.e., be not received by preset duration interval to preset control in the page User's clicking operation next time, then work as the first number of request of previous clicking operation according to the response user for updating display in the page According to, to server send carry the first request data the second request data acquisition request.Wherein, the second request data by Server is obtained according to the first request data operation.Second request data has included such as order value data, order benefit data Deng.Order value data is by server according to the quotient in commodity master data, commodity benefit data etc. and the first request data Product incremental data is calculated.When in the second request data further including order benefit data, it is also necessary to by server root Hold benefit data etc. according to commodity benefit data, order value data, user to be calculated.If cargo price is 20 yuan, commodity Benefit data is that 3 yuan are directly made a price reduction on the basis of cargo price, and commodity amount data are 10, then order value data is (20- 3) * 10=170 member;Alternatively, cargo price is 20 yuan, commodity amount data are 10, and it is full for order that user holds benefit data The 150 yuan certificates that subtract 30, then order value data is 20*10=200 member, and order benefit data is 30 yuan etc..The above are for example, It is calculated with specific reference to performance.After the second request data is calculated by server, server returns second is received Request data.And page furbishing operation is executed, refresh display and associated second request data (first of preset control in the page Request data is being received to the user of preset control in the page when previous clicking operation, by client end response and in the page Update display).
The page furbishing method provided according to the present invention, by carrying out timing processing to user's clicking operation, by user's point It hits operation delay and is sent to server and requested, avoid receiving user in a short time when repeatedly clicking, be sent to server The page frequently refreshes, the page loaded the problems such as slow caused by request.
Fig. 2 shows the flow charts of page furbishing method in accordance with another embodiment of the present invention.As shown in Fig. 2, the page Method for refreshing specifically comprises the following steps:
Step S201, receives and works as previous clicking operation to the user of preset control in the page, and response user works as previous click Operation updates display and associated first request data of preset control in the page.
The description of the step step S101 in embodiment referring to Fig.1, details are not described herein.
Step S202 carries out timing processing using page timer.
It, can be by the way of page timer to user when previous clicking operation carries out timing processing.Specifically, Page timer is created in the page, is being received to the user of preset control in the page when previous clicking operation, by page meter When device carry out timing.The problems such as to avoid page timer that timing error occurs, can receive to preset control in the page When each clicking operation of user, the page is first judged with the presence or absence of page timer, if it is not, then creating and starting page timer and be User carries out timing processing when previous clicking operation.If so, can be zeroed out by the present timing to page timer After processing, again according to user when previous clicking operation carries out timing processing;It is re-created simultaneously alternatively, removing the page timer Start page timer and carry out timing processing, ensure that only one page timer of the page exists, so that timing processing is more acurrate.
Step S203 obtains the timing duration of page timer output when receiving the instruction for stopping timing processing.
When receiving the instruction for stopping timing processing, stops the timing processing of page timer, obtain page timer The current timing duration of output.The instruction of triggering stopping timing processing includes presetting as the timing duration handled when timing is greater than Duration interval, client triggering stop the instruction of timing processing.Alternatively, when client receives the use to preset control in the page Clicking operation, client triggering stop the instruction of timing processing, are specifically detailed in the description of step S102 next time at family.
Step S204, judges whether timing duration is greater than preset duration interval.
When the timing duration that judgement is got at this time is greater than preset duration interval, step S205 is executed;When judgement at this time The timing duration got is less than or equal to preset duration interval constantly, and directly using user, clicking operation is worked as user next time Previous clicking operation, re-execute the steps S201.
Step S205 sends to server and carries the first request data and user when the operating time of previous clicking operation The acquisition request of second request data of stamp receives the second request data that server is obtained according to the first request data operation.
Work as previous clicking operation timing duration greater than preset duration interval, meeting when receiving the user to preset control in the page The acquisition request for carrying the second request data of the first request data is sent to server, receives server according to the first request The second request data that data operation obtains.When receiving to the multiple clicking operation of the user of preset control in the page, and multiple point The timing duration for hitting operation is all larger than preset duration interval, corresponding can send to server and carry the of the first request data Multiple acquisition requests of two request datas receive multiple second number of requests that server is obtained according to the first request data operation According to.If carrying out page furbishing all in accordance with the second request data received every time, also results in the page and frequently refresh, page load The problems such as slow.It is also possible to existing, when executing page furbishing operation, multiple second that server return has been received are requested Data refresh a page using multiple second request datas and also result in the page and frequently refresh, and page load slowly etc. is asked Topic.And also need to consider currently to be updated the first request data correspondence problem of display in the second request data and the page.Cause This, need to find the second number of request corresponding with the first request data that the page has been updated display from multiple second request datas According to carrying out refresh page.
In view of above situation, asked in the acquisition for sending the second request data for carrying the first request data to server When asking, acquisition request also carries the operating time stamp that user works as previous clicking operation, facilitates corresponding to record acquisition request User works as previous clicking operation.Operating time stamp can be provided by page timer.Further, it is being taken every time to server transmission With the first request data and user when the acquisition request of the second request data of the operating time stamp of previous clicking operation, visitor Family end can update server request time stamp according to operating time stamp.Server request time stamp is global variable, After update, newest operating time stamp is only recorded.Newest operating time stamp is the use to preset control in the page received The newest one click in family operates corresponding operating time stamp, and the first request data that the page is currently shown is newest for response user First request data of one click operation.
Step S206 searches corresponding second request data of newest operating time stamp when executing page furbishing operation, Refresh display and associated second request data of preset control in the page.
When executing page furbishing operation, if multiple second request datas of server return have been received.At this point, needing Corresponding second request data of newest operating time stamp is searched from multiple second request datas.Specifically, by searching for Consistent operating time stamp is stabbed with server request time, as newest operating time stamp, when obtaining newest operation Between stab corresponding second request data, in the page refresh display with associated second request data of preset control.If receiving Server return second request data, at this point, corresponding second request data of newest operating time stamp i.e. this second Request data refreshes display and associated second request data of preset control in the page.
The page furbishing method provided according to the present invention, using page timer to user when previous clicking operation is counted When handle, ensure timing processing accuracy.Further, it when executing page furbishing operation, is returned if server has been received Multiple second request datas returned.Carry out refresh page using each second request data, will cause that the page frequently refreshes, the page adds The problems such as slow was carried, corresponding second request data of newest operating time stamp is searched, utilizes the second request data found Realize page furbishing.
Fig. 3 shows the functional block diagram of page furbishing device according to an embodiment of the invention.As shown in figure 3, the page Refreshing apparatus includes following module:
First respond module 310 is suitable for: receiving and works as previous clicking operation to the user of preset control in the page, responds user When previous clicking operation, display and associated first request data of preset control are updated in the page;Wherein, the first request data Work as the client end response data of previous clicking operation for user.
Timing module 320 is suitable for: to user when previous clicking operation carries out timing processing, until receiving at stopping timing The instruction of reason obtains the timing duration of timing processing;Wherein, it includes the meter when timing processing that triggering, which stops the instruction of timing processing, It is constantly long to be greater than preset duration interval and/or receive to the user of preset control in page clicking operation next time.
Judgment module 330 is suitable for: judging whether timing duration is greater than preset duration interval, if so, executing the second response mould Block 340;If it is not, using user next time clicking operation as user work as previous clicking operation, execute the first respond module 310.
Second respond module 340 is suitable for: obtaining for the second request data for carrying the first request data is sent to server Request is taken, the second request data that server is obtained according to the first request data operation is received, page furbishing operation is executed, in page Refresh display and associated second request data of preset control in face.
Optionally, timing module 320 is further adapted for: being received to the user of preset control in the page when previous click is grasped When making, timing processing is carried out using page timer;When receiving the instruction for stopping timing processing, the output of page timer is obtained Timing duration.
Optionally, the second respond module 340 is further adapted for: carrying the first request data and user to server transmission When the acquisition request of the second request data of the operating time stamp of previous clicking operation;When executing page furbishing operation, search Corresponding second request data of newest operating time stamp;Refresh display and associated second number of request of preset control in the page According to.
Optionally, the second respond module 340 is further adapted for: carrying the first request data to server transmission every time With user when the acquisition request of the second request data of the operating time stamp of previous clicking operation, updated according to operating time stamp Server request time stamp;It searches and stabs consistent operating time stamp as newest operating time stamp with server request time.
Corresponding description in the description reference method embodiment of above each module, details are not described herein.
Present invention also provides a kind of nonvolatile computer storage media, the computer storage medium is stored at least The page furbishing method in above-mentioned any means embodiment can be performed in one executable instruction, the computer executable instructions.
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention, and the present invention is specifically real Example is applied not limit the specific implementation of electronic equipment.
As shown in figure 4, the electronic equipment may include: processor (processor) 402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 402 can specifically execute the correlation in above-mentioned page furbishing method embodiment for executing program 410 Step.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes the page furbishing side in above-mentioned any means embodiment Method.The specific implementation of each step may refer to right in corresponding steps and unit in above-mentioned page furbishing embodiment in program 410 The description answered, this will not be repeated here.It is apparent to those skilled in the art that for convenience and simplicity of description, on The equipment of description and the specific work process of module are stated, can refer to corresponding processes in the foregoing method embodiment description, herein It repeats no more.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in page furbishing device according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of page furbishing method comprising:
First response of step, receives and works as previous clicking operation to the user of preset control in the page, and response user works as previous click Operation updates display and associated first request data of the preset control in the page;Wherein, first request data is The user works as the client end response data of previous clicking operation;
Timed process, to the user when previous clicking operation carries out timing processing, until receiving the stopping timing processing Instruction, obtain the timing duration of timing processing;Wherein, triggering the instruction for stopping the timing processing includes working as institute The timing duration for stating timing processing, which is greater than preset duration interval and/or receives, orders to the user of preset control in the page next time Hit operation;
Judgment step, judges whether the timing duration is greater than preset duration interval, if so, executing the second response of step;If it is not, Using user, clicking operation as user works as previous clicking operation next time, executes first response of step;
Second response of step sends the acquisition request for carrying the second request data of the first request data to server, receives The second request data that server is obtained according to the first request data operation executes page furbishing operation, brushes in the page New display and associated second request data of the preset control.
2. according to the method described in claim 1, wherein, the timed process further comprises:
It is receiving to the user of preset control in the page when previous clicking operation, is carrying out timing processing using page timer;
When receiving the instruction for stopping the timing processing, the timing duration of the page timer output is obtained.
3. method according to claim 1 or 2, wherein described send to server carries the of the first request data The acquisition request of two request datas specifically: carry the first request data and the user when previous click to server transmission The acquisition request of second request data of the operating time stamp of operation;
The execution page furbishing operation refreshes display and associated second request data of the preset control into one in the page Step includes:
When executing page furbishing operation, corresponding second request data of newest operating time stamp is searched;
Refresh display and associated second request data of the preset control in the page.
4. according to the method described in claim 3, wherein, described send to server carries the first request data and the use Family further comprises when the acquisition request of the second request data of the operating time stamp of previous clicking operation:
The first request data and the user are carried when the operating time stamp of previous clicking operation sending every time to server The second request data acquisition request when, according to the operating time stamp update server request time stamp;
It is described execute page furbishing operation when, search corresponding second request data of newest operating time stamp and further wrap It includes:
It searches and stabs consistent operating time stamp as newest operating time stamp with the server request time.
5. method according to any of claims 1-4, wherein the page is the acknowledgement of orders page, described default Control is that commodity amount increaseds or decreases control;First request data includes commodity amount data;Second number of request According to including order value data.
6. according to the method described in claim 5, wherein, second request data further include: order benefit data.
7. a kind of page furbishing device comprising:
First respond module, suitable for receiving to the user of preset control in the page when previous clicking operation, response user is when previous Clicking operation updates display and associated first request data of the preset control in the page;Wherein, first number of request According to the client end response data for working as previous clicking operation for the user;
Timing module is suitable for the user when previous clicking operation carries out timing processing, until receiving the stopping timing The instruction of processing obtains the timing duration of the timing processing;Wherein, triggering the instruction for stopping the timing processing includes When the timing duration of timing processing is greater than preset duration interval and/or receives to one under the user of preset control in the page Secondary clicking operation;
Judgment module, suitable for judging whether the timing duration is greater than preset duration interval, if so, executing the second respond module; If it is not, using user, clicking operation as user works as previous clicking operation next time, executes first respond module;
Second respond module, suitable for sending the acquisition request for carrying the second request data of the first request data to server, The second request data that server is obtained according to the first request data operation is received, page furbishing operation is executed, in the page Middle refreshing display and associated second request data of the preset control.
8. device according to claim 7, wherein the timing module is further adapted for:
It is receiving to the user of preset control in the page when previous clicking operation, is carrying out timing processing using page timer;
When receiving the instruction for stopping the timing processing, the timing duration of the page timer output is obtained.
9. a kind of electronic equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of page furbishing method described in any one of 1-6.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute such as the corresponding operation of page furbishing method of any of claims 1-6.
CN201910270716.6A 2019-04-04 2019-04-04 Page furbishing method and device Pending CN110147509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910270716.6A CN110147509A (en) 2019-04-04 2019-04-04 Page furbishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910270716.6A CN110147509A (en) 2019-04-04 2019-04-04 Page furbishing method and device

Publications (1)

Publication Number Publication Date
CN110147509A true CN110147509A (en) 2019-08-20

Family

ID=67589485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910270716.6A Pending CN110147509A (en) 2019-04-04 2019-04-04 Page furbishing method and device

Country Status (1)

Country Link
CN (1) CN110147509A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065080A (en) * 2019-12-12 2021-07-02 北京沃东天骏信息技术有限公司 Page display method and device
CN113744028A (en) * 2021-09-07 2021-12-03 北京沃东天骏信息技术有限公司 Method, apparatus, device, medium and program product for acquiring quantity of articles
CN114168077A (en) * 2021-12-07 2022-03-11 深圳忆联信息系统有限公司 Timestamp management method and device for solid state disk, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649301A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Data query method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649301A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Data query method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周贤伟等: "《移动IP与安全》", 30 September 2005, 国防工业出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065080A (en) * 2019-12-12 2021-07-02 北京沃东天骏信息技术有限公司 Page display method and device
CN113744028A (en) * 2021-09-07 2021-12-03 北京沃东天骏信息技术有限公司 Method, apparatus, device, medium and program product for acquiring quantity of articles
CN114168077A (en) * 2021-12-07 2022-03-11 深圳忆联信息系统有限公司 Timestamp management method and device for solid state disk, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110147509A (en) Page furbishing method and device
CN104838377B (en) It is handled using mapping reduction integration events
US10353882B2 (en) Packaging data science operations
CN109491916B (en) Test method, device, equipment, system and medium for operating system
EP2648106A1 (en) Method and web content management system for A/B testing or multivariate testing of websites on computers being connected to a web content management system
CN109360076A (en) The touching of businessman's order reaches method and device
CN102542379B (en) Method, system and device for processing scheduled tasks
CN108809704B (en) Data deduplication statistical method and device based on dynamic time window
CN107330119B (en) Caching data processing method, electronic equipment, computer storage media
CN105978966B (en) A kind of data transmission method and device of mobile terminal
CN110135938A (en) The processing method and processing device of the acknowledgement of orders page
CN110209798A (en) A kind of method for exhibiting data and device of redis database
CN109885729B (en) Method, device and system for displaying data
CN102999604B (en) The detection method and device of a kind of database performance
KR101652184B1 (en) Method and system for data filing systems
CN109684632A (en) It is a kind of nature semantic understanding method, apparatus, calculate equipment
CN107908775A (en) The dynamic of merchandise news shows method, electronic equipment, storage medium
CN109086430A (en) Data storage handling method, calculates equipment and computer storage medium at device
CN105100285B (en) A kind of data download method and device
CN109725862A (en) Data display method, device, computer equipment and storage medium
CN108062224A (en) Data read-write method, device and computing device based on file handle
CN108255875A (en) Message is stored to the method and apparatus of distributed file system
CN110097479A (en) Vegetable reminder method and device
CN109033158A (en) Data deduplication statistical method and device based on specified time window
CN107807993B (en) Method and device for realizing webpage history recording function

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190820