CN109358794A - WEB application program page furbishing method, device, computer equipment and storage medium - Google Patents
WEB application program page furbishing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109358794A CN109358794A CN201811177465.9A CN201811177465A CN109358794A CN 109358794 A CN109358794 A CN 109358794A CN 201811177465 A CN201811177465 A CN 201811177465A CN 109358794 A CN109358794 A CN 109358794A
- Authority
- CN
- China
- Prior art keywords
- page
- parameter
- application program
- web application
- refresh
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a kind of WEB application program page furbishing method, device, computer equipment and storage mediums.The embodiment of the present invention is after the event for generating triggering refresh page, whether the address by monitoring the page that WEB application program will be gone to matches with the address of the page refreshed to determine whether refresh to the page that needs refresh at once, to prevent generate each time triggering refresh the same page event it is all primary to same page furbishing, the page furbishing of primary entirety is only carried out for the event that the same page repeatedly triggers refreshing, by improving mobile terminal technology development work, the refreshing frequency for controlling the same page, economizes on resources.
Description
Technical field
The present invention relates to Mobile Development technical field more particularly to a kind of WEB application program page furbishing method, device,
Computer equipment and storage medium.
Background technique
It is general to the flush mechanism of the page of WEB application program in WEB application program are as follows: when with refresh page
Refresh page immediately when trigger event.
This flush mechanism has a problem that, if certain operations that user carries out in the different WEB application program pages
The refreshing to another page with a part or different piece content can be triggered, then the generation of trigger event can all cause each time
The refreshing of another page, it is each to the refreshing unaware each time of another page although user is not in another page
Secondary refreshing is implicitly present in, and refreshing each time all can waste of resource.
Summary of the invention
The embodiment of the invention provides a kind of WEB application program page furbishing method, device, computer equipment and storages to be situated between
Matter, it is intended to which the frequency for controlling refreshing, preventing from repeatedly refreshing leads to the wasting of resources.
In a first aspect, the embodiment of the invention provides a kind of WEB application program page furbishing methods, this method comprises: if
Detect that triggering refreshes the event of the second page of the WEB application program in the first page of WEB application program, according to described
Event generates the page parameter for refreshing the second page;Refresh parameter, the refresh parameter are obtained according to the page parameter
Page address and interface parameters including the second page;The page address and interface parameters are saved in memory;Inspection
That surveys the page that the WEB application program will be gone to goes to address;If described go to address consistent with the page address, root
Refresh the second page according to the interface parameters saved in memory.
Second aspect, the embodiment of the invention also provides a kind of WEB application program page refreshing apparatus, the WEB applications
Program page refreshing apparatus includes for realizing the unit of WEB application program page furbishing method described in first aspect.
The third aspect, the embodiment of the invention also provides a kind of computer equipments, including memory, and with the storage
The connected processor of device;The memory is used to store the computer program for realizing WEB application program page furbishing method;It is described
Processor is for running the computer program stored in the memory, to execute the method as described in above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of storage medium, the storage medium is stored with one or one
A above computer program, the one or more computer program can be held by one or more than one processor
Row, to realize method described in above-mentioned first aspect.
WEB application program page furbishing method, device, computer equipment and storage medium provided in an embodiment of the present invention,
After the event for generating triggering refresh page, by monitoring the address of the page that WEB application program will be gone to and needing to carry out
Whether the address of the page of refreshing matches to determine whether refresh to the page that needs refresh, to prevent generating each time at once
The event that triggering refreshes the same page is all primary to same page furbishing, for the same page repeatedly trigger the event of refreshing only into
The primary whole page furbishing of row, controls the refreshing frequency of the same page, economizes on resources.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram for WEB application program page furbishing method that one embodiment of the invention provides;
Fig. 2 is a kind of sub-process schematic diagram for WEB application program page furbishing method that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides a kind of WEB application program page furbishing method sub-process schematic diagram;
Fig. 4 be another embodiment of the present invention provides a kind of WEB application program page furbishing method sub-process schematic diagram;
Fig. 5 be another embodiment of the present invention provides a kind of WEB application program page furbishing method flow diagram;
Fig. 6 is a kind of schematic block diagram for WEB application program page refreshing apparatus that one embodiment of the invention provides;
Fig. 7 is a kind of schematic frame of subelement for WEB application program page refreshing apparatus that one embodiment of the invention provides
Figure;
Fig. 8 be another embodiment of the present invention provides a kind of WEB application program page refreshing apparatus subelement it is schematic
Block diagram;
Fig. 9 be another embodiment of the present invention provides a kind of WEB application program page refreshing apparatus subelement it is schematic
Block diagram;
Figure 10 is a kind of schematic block diagram for WEB application program page refreshing apparatus that one embodiment of the invention provides;
Figure 11 is a kind of structural representation block diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that referring in description of the invention to term "and/or" used in the appended claims related
Join any combination and all possible combinations of one or more of item listed, and including these combinations.
It will also be understood that these elements are not answered although term first, second etc. can be used to describe various elements herein
This is limited to these terms, these terms are only used to for these elements being distinguished from each other out.
Fig. 1 is a kind of flow diagram of WEB application program page furbishing method provided in an embodiment of the present invention, this method
Including step S101~S105.
If S101, detecting that triggering refreshes the second page of the WEB application program in the first page of WEB application program
Event, the page parameter for refreshing the second page is generated according to the event.
The a certain page of user's operation WEB application program may cause another page display content of WEB application program
Variation, for example, user refunds in the refund page of the credit card WEB application program of a certain bank, the refund operation of user
The account page that will lead to WEB application program changes, such as the account page can show debt before refunding, and account after refunding
The page can show that debt has been paid off or debt is 0, therefore user triggers in the refund operation of the refund page to the account page
Refresh.
First page and second page merely to distinguish WEB application program in two different html5 pages, work as detection
Trigger event has been carried out in a html5 page to user, which html5 page needed to update according to trigger event
Which part (interface) data, then issue the refresh notice message for refreshing respective page content, include in refresh notice message
Which html5 pages the corresponding page parameter of the html5 page for needing to refresh be by need to refresh known to the page parameter
The data of which interface in face and the html5 page.
S102, refresh parameter is obtained according to the page parameter, the refresh parameter includes the page of the second page
Address and interface parameters.
Page parameter includes two parts, which html5 one (be identified as the page identification parameter of the html5 page itself
The page), one is the interface identification parameter for identifying interface.
The software systems (IOS system and android system) of terminal are unable to the page identification ginseng of the Direct Recognition html page
Several and interface identification parameter, so needing to obtain the parameter that software systems can identify by parsing the two parameters.
In one embodiment, as shown in Fig. 2, step S102 includes step S1021-S1023.
S1021, default mapping table is read.
Refresh parameter includes page address and interface parameters, will be specific especially by one default mapping table of creation
The page identification parameter and interface identification parameter of the html5 page are mapped in different software system can be by corresponding software system
The page address of identification and interface parameters can directly know which html5 is correspondence be by the page address and interface parameters
Which interface in the page and the corresponding html5 page.
S1022, judge that the page parameter whether there is in the default mapping table.
If S1023, the page parameter are present in the default mapping table, according to the default mapping table identification
The corresponding refresh parameter of page parameter.
Only when the page parameter in the mapping table just can corresponding page to WEB application program, corresponding interface carry out
Refresh operation, otherwise, because and refresh operation to the page or the interface is not configured, do not allow to carry out the interface of the page
Refresh.
S103, the page address and interface parameters are saved in memory.
In the present embodiment, page address and interface parameters are saved in memory, once page address and interface parameters
It is present in memory, illustrates the subsequent corresponding interface progress refresh operation needed to the corresponding html5 page, the html5 page is just
It is to be refreshed waiting.
The page that S104, the detection WEB application program will be gone to goes to address.
The address for the html5 page that real time monitoring WEB application program will be gone to, is known as the address to go to address.It is logical
It crosses and calls viewwillappear method that can monitor the page that WEB application program currently shows or returns in real time.
If S105, it is described go to address consistent with the page address, according to saving the interface parameters in memory
Refresh the second page.
If WEB application program goes to address consistent with the page address of the html5 page to be refreshed, that is, monitor to need
The page opened or will opened is second page, then refreshes second page, therefore, no matter there are how many times to second page
Trigger refresh event, need to refresh is the data of which interface in second page, only when opening the second page into
The primary whole refreshing of row, the wasting of resources caused by preventing the same page from repeatedly refreshing.
In one embodiment, as shown in figure 3, step S105 includes step S1051-S1054.
S1051, load simultaneously show the second page before refreshing.
In one embodiment, it when WEB application program goes to second page, first shows in the interface before second page refreshes
Hold, starts to refresh second page later again.
S1052, the interface parameters is read from memory.
S1053, the latest data for obtaining the corresponding interface of the interface parameters.
S1054, the former data that the latest data is replaced to the interface.
The WEB application program servers of WEB application program operators can correspond in more new database depending on the user's operation
The data of corresponding interface, such as user have transferred accounts and have paid off whole debts, then in database corresponding debt data should be zeroed,
Credit residue amount is restored to original amount etc..
Terminal obtains the data updated from database by corresponding interface and replaces original data after data update, such as
Become that debt has been paid off, debt 0 or account balance are the contents such as specific credit line from original practical debt item,
Visually to the perception of user one refreshing, enhance impression of the user to refreshing content.
In another embodiment, as shown in figure 4, step S105 includes step S1151-S1154.
The page framework of S1151, the load second page, the page framework includes at least one page area, often
A page area includes at least one interface.
In this embodiment, the page framework of second page is first loaded, then what be new needed for page framework is loaded
Out.The page framework of any page includes one or more page areas, and each page area connects with one or more
Mouthful.
S1152, the interface parameters is read from memory.
Other interfaces in S1153, the latest data for obtaining the corresponding interface of the interface parameters and the second page
Initial data.
The WEB application program servers of WEB application program operators can correspond in more new database depending on the user's operation
The data of corresponding interface, such as user have transferred accounts and have paid off whole debts, then in database corresponding debt data should be zeroed,
Credit residue amount is restored to original amount etc..
Due to needing to directly display the interface content after refreshing, terminal needs to obtain total interface in second page
Data, the initial data including the latest data of interface and other interfaces not refreshed that are refreshed.
S1154, acquired latest data and initial data are shown that the corresponding interface in the second page is corresponding
On page area.
In the present embodiment, when opening the second page of WEB application program, updated interface before display is not needed
Content directly displays the interface after refreshing.The flow consuming of user can be reduced by directly displaying the content after refreshing.
The WEB application program page furbishing method of the embodiment of the present invention passes through after the event for generating triggering refresh page
The address for the page that monitoring WEB application program will be gone to judges to be with whether the address of the page refreshed matches
The no page refreshed to needs refreshes at once, refreshes the event of the same page all to same one page to prevent generating triggering each time
Face is refreshed once, and the page furbishing of primary entirety is only carried out for the event that the same page repeatedly triggers refreshing, is controlled same
The refreshing frequency of the page can economize on resources.
In other embodiments, as shown in figure 5, step S105 after further include step S106: by the refresh parameter from
It is deleted in the memory.
Complete to the refreshing of second page after, page parameter and interface parameters are deleted from memory, page parameter and
Interface parameters is no longer stored in memory, illustrates that second page is subsequent and does not have refreshing requirement, if by page parameter and do not connect
Mouthful parameter is deleted from memory, then even if there be no the trigger event of refreshing, when user is subsequent again from other pages back to the
When two pages, second page can also be refreshed, but the content of second page does not change, this will cause customer flow
Waste and the pressure for increasing CPU.
Fig. 6 is a kind of schematic block diagram of WEB application program page refreshing apparatus 100 provided in an embodiment of the present invention.It should
WEB application program page refreshing apparatus 100 includes generation unit 101, acquiring unit 102, storage unit 103, detection unit 104
And refresh unit 105.
If generation unit 101 is used to detect that triggering refreshes the WEB application program in the first page of WEB application program
Second page event, the page parameter for refreshing the second page is generated according to the event.
Acquiring unit 102 is used to obtain refresh parameter according to the page parameter, and the refresh parameter includes described second
The page address of the page and interface parameters.
Storage unit 103 is used to save the page address and interface parameters in memory.
What detection unit 104 was used to detect the page that the WEB application program will be gone to goes to address.
If refresh unit 105 goes to address consistent with the page address for described, according to the institute saved in memory
It states interface parameters and refreshes the second page.
In one embodiment, as shown in fig. 7, the acquiring unit 102 includes following subelement:
First reading subunit 1021, for reading default mapping table;
Judgment sub-unit 1022, for judging that the page parameter whether there is in the default mapping table;And
Subelement 1023 is identified, if being present in the default mapping table for the page parameter, according to described default
Mapping table identifies the corresponding refresh parameter of the page parameter.
In one embodiment, as shown in figure 8, the refresh unit 105 includes following subelement:
Loaded and displayed subelement 1051, for loading and showing the second page before refreshing;
Second reading subunit 1052, for reading the interface parameters from memory;
First obtains subelement 1053, for obtaining the latest data of the corresponding interface of the interface parameters;And
Subelement 1054 is replaced, for the latest data to be replaced to the former data of the interface.
In another embodiment, as shown in figure 9, the refresh unit 105 includes following subelement:
Subelement 1151 is loaded, for loading the page framework of the second page, the page framework includes at least one
A page area, each page area include at least one interface;
Third reading subunit 1152, for reading the interface parameters from memory;
Second obtains subelement 1153, for obtaining the latest data and described the of the corresponding interface of the interface parameters
The initial data of other interfaces in two pages;And
Subelement 1154 is shown, for acquired latest data and initial data to be shown to pair in the second page
It answers on the corresponding page area of interface.
In one embodiment, as shown in Figure 10, the WEB application program page refreshing apparatus 100 further includes deleting unit
106, the unit 106 of deleting is used to refresh described the according to the interface parameters in memory is saved in refresh unit 105
After two pages, the refresh parameter is deleted from the memory.
Above-mentioned WEB application program page refreshing apparatus 100 is corresponding with aforementioned WEB application program page furbishing method, this reality
Applying in example can refer to preceding method embodiment to the not detailed place of WEB application program page refreshing apparatus 100, not do herein superfluous
It states.
Above-mentioned WEB application program page refreshing apparatus 100 can be implemented as a kind of form of computer program, computer journey
Sequence can be run in computer equipment as shown in figure 11.
Figure 11 is a kind of structural representation block diagram of computer equipment 200 provided in an embodiment of the present invention.The computer is set
Standby 200, which can be terminal, wherein terminal can be smart phone, tablet computer, laptop,
Desktop computer, personal digital assistant and wearable device etc. have the electronic equipment of communication function.
The computer equipment 200, including processor 202, memory and the network interface connected by system bus 201
205, wherein memory may include non-volatile memory medium 203 and built-in storage 204.
The non-volatile memory medium 203 of the computer equipment 200 can storage program area 2031 and computer program
2032, which is performed, and processor 202 may make to execute a kind of WEB application program page furbishing method.
The built-in storage 204 provides environment for the operation of the computer program 2032 in non-volatile memory medium 203.The computer is set
Standby 200 processor 202 supports the operation of entire computer equipment 200 for providing calculating and control ability.Computer equipment
200 network interface 205 is for carrying out network communication, such as transmission, reception data.
It will be understood by those skilled in the art that the embodiment of computer equipment shown in Figure 11 is not constituted to computer
The restriction of equipment specific composition, in other embodiments, computer equipment may include components more more or fewer than diagram, or
Person combines certain components or different component layouts.For example, in some embodiments, computer equipment can only include depositing
Reservoir and processor, in such embodiments, the structure and function of memory and processor are consistent with embodiment illustrated in fig. 11,
Details are not described herein.
Processor 202 run non-volatile memory medium 203 in computer program 2032 when, processor 202 execute with
Lower step: if the first page in WEB application program detects that triggering refreshes the thing of the second page of the WEB application program
Part generates the page parameter for refreshing the second page according to the event;Refresh parameter, institute are obtained according to the page parameter
State the page address and interface parameters that refresh parameter includes the second page;The page address and interface parameters are stored in
In memory;That detects the page that the WEB application program will be gone to goes to address;If described go to address with the page
Location is consistent, refreshes the second page according to the interface parameters saved in memory.
In one embodiment, the processor 202 is executing the step that refresh parameter is obtained according to the page parameter
When rapid, following steps are specifically executed: reading default mapping table;Judge that the page parameter whether there is in the default mapping table
In;If the page parameter is present in the default mapping table, the page parameter pair is identified according to the default mapping table
The refresh parameter answered.
In one embodiment, the processor 202 is executing the interface parameters brush according to preservation in memory
When the step of the new second page, specifically executes following steps: loading and show the second page before refreshing;It is read from memory
Take the interface parameters;Obtain the latest data of the corresponding interface of the interface parameters;It will be connect described in latest data replacement
The former data of mouth.
In one embodiment, the processor 202 is executing the interface parameters brush according to preservation in memory
When the step of the new second page, specifically executes following steps: loading the page framework of the second page, the page frame
Frame includes at least one page area, and each page area includes at least one interface;The interface parameters is read from memory;
Obtain the initial data of other interfaces in the latest data and the second page of the corresponding interface of the interface parameters;By institute
The latest data and initial data of acquisition are shown on the corresponding page area of corresponding interface of the second page.
In one embodiment, the processor 202 is executing the interface parameters brush according to preservation in memory
After the step of new second page, also executes following steps: the refresh parameter is deleted from the memory.
It should be appreciated that in the embodiment of the present application, processor 202 can be central processing unit (Central
Processing Unit, CPU), which 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) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process,
It is that relevant hardware can be instructed to complete by computer program.The computer program includes program instruction, computer journey
Sequence can be stored in a storage medium, which is computer readable storage medium.The program instruction is by the department of computer science
At least one processor in system executes, to realize the process step of the embodiment of the above method.
Therefore, the present invention also provides a kind of storage medium, the storage medium is stored with one or more than one calculating
Machine program, the one or more computer program can be executed by one or more than one processor, it can be achieved that
Following steps: if the first page in WEB application program detects that triggering refreshes the thing of the second page of the WEB application program
Part generates the page parameter for refreshing the second page according to the event;Refresh parameter, institute are obtained according to the page parameter
State the page address and interface parameters that refresh parameter includes the second page;The page address and interface parameters are stored in
In memory;That detects the page that the WEB application program will be gone to goes to address;If described go to address with the page
Location is consistent, refreshes the second page according to the interface parameters saved in memory.
In one embodiment, when realizing the step for obtaining refresh parameter according to the page parameter, specific implementation
Following steps: default mapping table is read;Judge that the page parameter whether there is in the default mapping table;If the page
Parameter is present in the default mapping table, identifies the corresponding refresh parameter of the page parameter according to the default mapping table.
In one embodiment, the interface parameters refreshing second page according to preservation in memory is being realized
Step when, implement following steps: load and show refresh before second page;The interface ginseng is read from memory
Number;Obtain the latest data of the corresponding interface of the interface parameters;The latest data is replaced to the former data of the interface.
In one embodiment, the interface parameters refreshing second page according to preservation in memory is being realized
Step when, implement following steps: load the page framework of the second page, the page framework includes at least one
Page area, each page area include at least one interface;The interface parameters is read from memory;Obtain the interface ginseng
The initial data of other interfaces in the latest data of the corresponding interface of number and the second page;By acquired latest data
On page area corresponding with the corresponding interface that initial data is shown in the second page.
In one embodiment, the interface parameters refreshing second page according to preservation in memory is being realized
The step of after, also perform the steps of and delete the refresh parameter from the memory.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), magnetic disk
Or the various computer readable storage mediums that can store program code such as CD.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.This hair
Unit in bright embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the present invention
Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with
It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can store in one storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing skill
The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, terminal or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (10)
1. a kind of WEB application program page furbishing method characterized by comprising
If detecting that triggering refreshes the event of the second page of the WEB application program, root in the first page of WEB application program
The page parameter for refreshing the second page is generated according to the event;
Refresh parameter is obtained according to the page parameter, the refresh parameter includes page address and the interface of the second page
Parameter;
The page address and interface parameters are saved in memory;
That detects the page that the WEB application program will be gone to goes to address;
If described go to address consistent with the page address, refresh described the according to the interface parameters in memory is saved
Two pages.
2. WEB application program page furbishing method according to claim 1, which is characterized in that described according to the page
Parameter obtains refresh parameter, comprising:
Read default mapping table;
Judge that the page parameter whether there is in the default mapping table;
If the page parameter is present in the default mapping table, the page parameter pair is identified according to the default mapping table
The refresh parameter answered.
3. WEB application program page furbishing method according to claim 1, which is characterized in that in the basis is stored in
The interface parameters in depositing refreshes the second page, comprising:
It loads and shows the second page before refreshing;
The interface parameters is read from memory;
Obtain the latest data of the corresponding interface of the interface parameters;
The latest data is replaced to the former data of the interface.
4. WEB application program page furbishing method according to claim 1, which is characterized in that in the basis is stored in
The interface parameters in depositing refreshes the second page, comprising:
The page framework of the second page is loaded, the page framework includes at least one page area, each page area
Including at least one interface;
The interface parameters is read from memory;
Obtain the initial data of other interfaces in the latest data and the second page of the corresponding interface of the interface parameters;
Acquired latest data and initial data are shown on the corresponding page area of corresponding interface of the second page.
5. WEB application program page furbishing method according to claim 1, which is characterized in that in the basis is stored in
The interface parameters deposited refreshes after the second page, further includes:
The refresh parameter is deleted from the memory.
6. a kind of WEB application program page refreshing apparatus characterized by comprising
Generation unit, if for detecting that triggering refreshes the second of the WEB application program in the first page of WEB application program
The event of the page generates the page parameter for refreshing the second page according to the event;
Acquiring unit, for obtaining refresh parameter according to the page parameter, the refresh parameter includes the second page
Page address and interface parameters;
Storage unit, for saving in memory the page address and interface parameters;
Detection unit goes to address for detect the page that the WEB application program will be gone to;
Refresh unit, if going to address consistent with the page address for described, according to the interface saved in memory
Parameter refreshes the second page.
7. WEB application program page refreshing apparatus according to claim 6, which is characterized in that the acquiring unit includes:
First reading subunit, for reading default mapping table;
Judgment sub-unit, for judging that the page parameter whether there is in the default mapping table;
It identifies subelement, if being present in the default mapping table for the page parameter, is known according to the default mapping table
The corresponding refresh parameter of not described page parameter.
8. WEB application program page refreshing apparatus according to claim 6, which is characterized in that further include:
Delete unit, for refresh unit according to save the interface parameters in memory refresh the second page it
Afterwards, the refresh parameter is deleted from the memory.
9. a kind of computer equipment, which is characterized in that including memory, and the processor being connected with the memory;
The memory is used to store the computer program for realizing WEB application program page furbishing method;
The processor is for running the computer program stored in the memory, to execute such as any one of claim 1 to 5
The method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with one or more than one computer program,
The one or more computer program can be executed by one or more than one processor, to realize as right is wanted
Seek 1 to 5 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811177465.9A CN109358794B (en) | 2018-10-10 | 2018-10-10 | WEB application program page refreshing method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811177465.9A CN109358794B (en) | 2018-10-10 | 2018-10-10 | WEB application program page refreshing method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109358794A true CN109358794A (en) | 2019-02-19 |
CN109358794B CN109358794B (en) | 2022-04-22 |
Family
ID=65348929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811177465.9A Active CN109358794B (en) | 2018-10-10 | 2018-10-10 | WEB application program page refreshing method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358794B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988291A (en) * | 2019-12-17 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Page event management method and device, computer readable medium and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130139096A1 (en) * | 2011-11-30 | 2013-05-30 | Jason E. Rist | Multi-pane graphical user interface with dynamic panes to present web data |
CN103260260A (en) * | 2013-05-28 | 2013-08-21 | 华为数字技术(苏州)有限公司 | Method for mobile equipment to access network and relevant device and system |
CN105897754A (en) * | 2016-06-03 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Data processing system, data pulling method and client |
CN106021512A (en) * | 2016-05-24 | 2016-10-12 | 乐视控股(北京)有限公司 | Page refresh method and apparatus |
CN106598964A (en) * | 2015-10-14 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Page loading method and apparatus |
CN106874328A (en) * | 2016-07-08 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment |
CN107818101A (en) * | 2016-09-12 | 2018-03-20 | 北京新唐思创教育科技有限公司 | The method and its device of page jump |
CN108021564A (en) * | 2016-10-31 | 2018-05-11 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of page reorientation |
CN108172176A (en) * | 2018-01-22 | 2018-06-15 | 青岛海信移动通信技术股份有限公司 | For the page furbishing method and device of ink screen |
CN108399222A (en) * | 2018-02-11 | 2018-08-14 | 北京奇艺世纪科技有限公司 | A kind of page furbishing method and device |
US20180278671A1 (en) * | 2015-11-27 | 2018-09-27 | Alibaba Group Holding Limited | Page jump method and apparatus |
-
2018
- 2018-10-10 CN CN201811177465.9A patent/CN109358794B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130139096A1 (en) * | 2011-11-30 | 2013-05-30 | Jason E. Rist | Multi-pane graphical user interface with dynamic panes to present web data |
CN103260260A (en) * | 2013-05-28 | 2013-08-21 | 华为数字技术(苏州)有限公司 | Method for mobile equipment to access network and relevant device and system |
CN103260260B (en) * | 2013-05-28 | 2015-10-21 | 华为数字技术(苏州)有限公司 | A kind of method of mobile device accesses network and relevant apparatus and system |
CN106598964A (en) * | 2015-10-14 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Page loading method and apparatus |
US20180278671A1 (en) * | 2015-11-27 | 2018-09-27 | Alibaba Group Holding Limited | Page jump method and apparatus |
CN106021512A (en) * | 2016-05-24 | 2016-10-12 | 乐视控股(北京)有限公司 | Page refresh method and apparatus |
CN105897754A (en) * | 2016-06-03 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Data processing system, data pulling method and client |
CN106874328A (en) * | 2016-07-08 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment |
CN107818101A (en) * | 2016-09-12 | 2018-03-20 | 北京新唐思创教育科技有限公司 | The method and its device of page jump |
CN108021564A (en) * | 2016-10-31 | 2018-05-11 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of page reorientation |
CN108172176A (en) * | 2018-01-22 | 2018-06-15 | 青岛海信移动通信技术股份有限公司 | For the page furbishing method and device of ink screen |
CN108399222A (en) * | 2018-02-11 | 2018-08-14 | 北京奇艺世纪科技有限公司 | A kind of page furbishing method and device |
Non-Patent Citations (1)
Title |
---|
JOE CONWAY & AARON HILLEGRASS: "《IOS编程 第3版》", 31 March 2013, 华中科技大学出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988291A (en) * | 2019-12-17 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Page event management method and device, computer readable medium and electronic equipment |
CN112988291B (en) * | 2019-12-17 | 2024-05-03 | 腾讯科技(深圳)有限公司 | Page event management method and device, computer readable medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109358794B (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590654A (en) | A kind of method of on-line payment, terminal and computer-readable medium | |
CN106875178A (en) | A kind of electric paying method and terminal | |
CN109376071A (en) | Application software exception feedback method, device, computer equipment and storage medium | |
CN108509209A (en) | A kind of generation method, device, computer equipment and the storage medium of resource packet | |
US8660833B2 (en) | Method, computer program product and apparatus for providing an interactive network simulator | |
CN108073346A (en) | A kind of record screen method, terminal and computer readable storage medium | |
CN109815111A (en) | Gray scale test method, device, computer equipment and storage medium | |
CN106681587B (en) | A kind of the footmark processing method and terminal of application icon | |
US20080263504A1 (en) | Using code analysis for requirements management | |
CN107766310B (en) | Grid cell editing method and device | |
CN107491324A (en) | A kind of method and terminal for installing application program | |
CN109960633A (en) | A kind of data visualization buries point methods, storage medium and intelligent terminal | |
US20170316159A1 (en) | System And Method For Updating Customer Data | |
CN109118269A (en) | Configuration method, device, electronic equipment and the storage medium of commercial activities rule | |
CN106453904A (en) | Information reminding method and terminal | |
CN107729452A (en) | Webpage loading method, device, electronic equipment and computer-readable recording medium | |
CN106204208A (en) | A kind of bill generates method and mobile terminal | |
CN107390969A (en) | A kind of method and terminal for controlling suspended window | |
CN108153795A (en) | A kind of data processing method, system and the device of electronics red packet | |
CN105094811A (en) | Method can device for processing events | |
CN108829587A (en) | Test case parameter replacing method, device, computer equipment and storage medium | |
CN109358794A (en) | WEB application program page furbishing method, device, computer equipment and storage medium | |
CN108229980A (en) | A kind of method, apparatus and storage medium of problem feedback | |
CN111198908B (en) | Display method and device of power grid asset graph, storage medium and terminal | |
CN114693226A (en) | Approval process construction method, device, equipment and storage medium |
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 |