CN109960767A - Page display method, device, computer installation and computer readable storage medium - Google Patents
Page display method, device, computer installation and computer readable storage medium Download PDFInfo
- Publication number
- CN109960767A CN109960767A CN201910075876.5A CN201910075876A CN109960767A CN 109960767 A CN109960767 A CN 109960767A CN 201910075876 A CN201910075876 A CN 201910075876A CN 109960767 A CN109960767 A CN 109960767A
- Authority
- CN
- China
- Prior art keywords
- page
- network
- webpage
- container
- local
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000009434 installation Methods 0.000 title claims abstract description 29
- 238000001514 detection method Methods 0.000 claims abstract description 19
- 230000002159 abnormal effect Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 21
- 230000006870 function Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000003068 static effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of page display method, device, computer installation and computer readable storage medium.The page display method passes through creation first network container and the second web container, wherein the first network containers store has the local page page;The first network container is called, shows the local page page;Obtain the click commands to the local page page of user's input;Whether detection network connection is normal;And if so, calling second web container, hides the local page page and load networks Webpage.The present invention relates to WEB front-end performances to optimize field, solves the problems, such as not showing Webpage in the absence of a network.
Description
Technical field
The present invention relates to data processing field more particularly to a kind of page display method, device, computer installation and calculating
Machine readable storage medium storing program for executing.
Background technique
This part intends to provides background for the embodiments of the present invention stated in claims and specific embodiment
Or context.Description herein recognizes it is the prior art not because not being included in this section.
With universal, the demand day that user passes through the client access webpage on mobile terminal device of mobile terminal device
Benefit increases.However, since client display network page generally requires just to can be carried out in the case where there is network.Therefore, how
Display network page is a problem to be solved in the case where no net.
Summary of the invention
In view of above-mentioned, the present invention provides a kind of page display method, device, computer installation and computer-readable storage medium
Matter solves the problems, such as not showing Webpage in the absence of a network.
One embodiment of the application provides a kind of page display method, which comprises
Create first network container and the second web container, wherein the first network containers store has local page page
Face;
The first network container is called, shows the local page page;
Obtain the click commands to the local page page of user's input;
Whether detection network connection is normal;And
If so, calling second web container, the local page page and load networks Webpage are hidden.
It is described in one of the embodiments, to call the first network container, show the step of the local page page
Before rapid, the method also includes:
When the instruction for exiting Webpage for getting user's input, or the operation of user is not detected within a preset time
When instruction, Webpage when user's last time is operated is stored in the first network container;And
Webpage when user's last time is operated is as the local page page.
In one of the embodiments, the click commands be by Webpage carry out key triggering, touch triggering or
Person inputs phonetic order and triggers to obtain.
Whether normal step includes: for the detection network connection in one of the embodiments,
According to the click commands, second web container is called to send the connection signal of request network access, it is described
Click commands carry the unique identification of access network request;And
If receiving the connection signal, determine to be connected to the network successfully, if not receiving the connection signal, determine
Network connection failure.
If described in one of the embodiments, do not receive the connection signal, the step of network connection failure is determined
After rapid, the method also includes:
The option of " Network Abnormal please reconnect ", " Network Abnormal display local page " is popped up in the Webpage;
And
When receiving the click commands of " Network Abnormal display local page " of user's input, then the local network is shown
The page page.
It is described in one of the embodiments, to call second web container, it hides the local page page and adds
After the step of carrying the web page page, which comprises
Detect whether the web page page normally shows;And
If it is not, then hiding the web page page, the local page page is shown.
It is described in one of the embodiments, to detect that the step of whether the web page page normally shows includes:
Detect whether the web page page shows completely, if so, determining that the Webpage is shown normally, if not
Then determine that the Webpage display is abnormal.
A kind of page display device, described device include:
Creation module, for creating first network container and the second web container, wherein the first network containers store
There is the local page page;
Display module shows the local page page for calling the first network container;
Module is obtained, for obtaining the click commands to the local page page of user's input;
Whether detection module is normal for detecting network connection;And
Loading module hides the local page page and load networks webpage for calling second web container
The page.
One embodiment of the application provides a kind of computer installation, and the computer installation includes processor and memory,
Several computer programs are stored on the memory, the processor is for when executing the computer program stored in memory
The step of realizing page display method as elucidated before.
One embodiment of the application provides a kind of computer readable storage medium, is stored thereon with computer program, described
The step of page display method as elucidated before is realized when computer program is executed by processor.
Above-mentioned page display method, device, computer installation and computer readable storage medium are passed by obtaining camera
The video sent;The video code flow of the video is parsed, to be decoded to the video;To the default monitoring in decoded video
Target is positioned, and tracks the default monitoring objective;Judge whether the default monitoring objective falls into default monitoring event
In;And if so, handle the corresponding monitoring event of the default monitoring objective, and show processing result.To realize
Higher flexibility, resource allocation are reasonable and save the effect of system resource.
Detailed description of the invention
It, below will be to required in embodiment description in order to illustrate more clearly of the technical solution of embodiment of the present invention
The attached drawing used is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow chart for the page display method that the embodiment of the present invention one provides.
Fig. 2 is the functional block diagram in page display device preferred embodiment provided by Embodiment 2 of the present invention.
Fig. 3 is the schematic diagram for the computer installation that the embodiment of the present invention three provides.
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention will be described in detail.It should be noted that in the absence of conflict, presently filed embodiment and reality
The feature applied in mode can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment
Only some embodiments of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this field
Those of ordinary skill's every other embodiment obtained without making creative work, belongs to guarantor of the present invention
The range of shield.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, page display method of the invention is applied in one or more computer installation.The computer
Device is that one kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing,
Hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated
Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit
(Digital Signal Processor, DSP), embedded device etc..
The computer installation can be the calculating such as desktop PC, laptop, tablet computer, server and set
It is standby.The computer installation can carry out people by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices with user
Machine interaction.
Embodiment one:
Fig. 1 is the step flow chart of page display method preferred embodiment of the present invention.The process according to different requirements,
The sequence of step can change in figure, and certain steps can be omitted.
As shown in fig.1, the page display method specifically includes following steps.
Step S1, first network container and the second web container are created, wherein the first network containers store has local
Webpage.
Wherein, the first network container and second web container are a kind of service routines.In JAVA
Tomcat container, IIS container or PWS container in ASP etc..And the number of the first network container and second web container
Amount can be multiple.
In one embodiment, the creation first network container and second web container of user terminal input are received
Request instruction.According to the request instruction, the program of respective service is called, and creates the first network container and described
Two web containers.Wherein, the first network container is called, the local page page can be opened, second network is called to hold
Device can pass through network load networks Webpage.
Step S2, the first network container is called, shows the local page page.
Wherein, the local page page is to be pre-stored in the first network container, and having network, network different
The page that can normally show in the case where often and without network.
In one embodiment, when the instruction for exiting the Webpage for getting user's input, or in preset time
When the operational order of user is inside not detected, Webpage when user's last time is operated, which is stored in the first network, to be held
In device.And Webpage when being operated using user's last time covers the stored local page page, it is raw
The local page page of Cheng Xin.When user opens the Webpage next time, the new local page page is shown.When connecing
When receiving user and starting the operational order of the Webpage, the corresponding application program of the first network container is called, is issued
Open the request of the local page page.
Step S3, the click commands to the local page page of user's input are obtained.
In the present embodiment, the click commands are by carrying out key triggering to Webpage, touching and trigger or input language
Sound instruction triggers obtain.
In one embodiment, the click commands carry the unique identification of access network request, when detecting this only
When one mark, the connection signal of the concurrent SCN Space Cable Network access request of the second web container is called.Believe when receiving the connection
Number when, be connected to the network, if receiving the connection signal, determine to be connected to the network successfully.If not receiving the connection
Signal then determines network connection failure.When determining network connection failure, then in Webpage pop-up, " Network Abnormal is asked
The option of reconnect ", " Network Abnormal display local page ", for selection by the user.
Step S4, whether detection network connection is normal.
In the present embodiment, when receiving the connection signal of the click commands triggering, it is connected to the network, if receiving
The connection signal then determines to be connected to the network successfully.If not receiving the connection signal, network connection failure is determined.
In one embodiment, after getting the click commands, piecemeal detection is carried out to the Webpage.Inspection
Whether the page for surveying each piecemeal in the Webpage normally shows.If detecting the piecemeal page of the Webpage just
It is normal then to determine network connection for often display, if detecting the presence of the abnormal piecemeal page of display, determines to be connected to the network different
Often.
Step S5, second web container is called, the local page page and load networks Webpage are hidden.
In one embodiment, judge whether the page is shown complete.If complete display, hides local page page
Face calls second web container, and shows the web page page, and according to network to the web page page into
Row real-time update.If the page shows imperfect, incomplete part is replaced by the local page page, or closes institute
The web page page is stated, the first network container is called, shows the local page page.
In one embodiment, whether changed with network dynamic according to Webpage, piecemeal is carried out to the Webpage.
Wherein, to static page region is not known as with the region that network dynamic changes, dynamic is known as to the region changed with network dynamic
Page area.The static page region keeps the display local page page constant, and the dynamic change region is with network state
Real-time update.When detecting the web page page and whether normally showing, without checking the display state of the whole network page, only
It need to judge whether the dynamic page region normally shows.When dynamic page region is normally shown, hide
The corresponding region in dynamic page region described in the local page page, shows dynamic page described in the web page page
The corresponding region in face region, and the content shown according to network change real-time update.When dynamic page region is non-just
Often when display, the page of the display comprising webpage exception information or the display local page page.Wherein, the exception information is net
Network abnormal cause or other exception informations, such as caused by application program obstruction.
In another embodiment, described the step of calling the first network container, showing the local page page
Before, the method also includes:
When the instruction for exiting Webpage for getting user's input, or the operation of user is not detected within a preset time
When instruction, Webpage when user's last time is operated is stored in the first network container;And
Webpage when user's last time is operated is as the local page page.
In another embodiment, whether normal step includes: for the detection network connection
According to the click commands, second web container is called to send the connection signal of request network access, it is described
Click commands carry the unique identification of access network request;And
If receiving the connection signal, determine to be connected to the network successfully, if not receiving the connection signal, determine
Network connection failure.
In another embodiment, if described do not receive the connection signal, the step of determining network connection failure
Later, the method also includes:
The option of " Network Abnormal please reconnect ", " Network Abnormal display local page " is popped up in the Webpage;
And
When receiving the click commands of " Network Abnormal display local page " of user's input, then the local network is shown
The page page.
In another embodiment, described to call second web container, it hides the local page page and loads
After the step of web page page, which comprises
Detect whether the web page page normally shows;And
If it is not, then hiding the web page page, the local page page is shown.
In another embodiment, described to detect that the step of whether the web page page normally shows includes:
Detect whether the web page page shows completely, if so, determining that the Webpage is shown normally, if not
Then determine that the Webpage display is abnormal.
To sum up, above-mentioned page display method passes through creation first network container and the second web container, wherein described the
One web container stores the local page page;The first network container is called, shows the local page page;It obtains and uses
The click commands to the local page page of family input;Whether detection network connection is normal;And if so, call described the
Two web containers hide the local page page and load networks Webpage.To solve in the absence of a network
The problem of can not showing Webpage.
Embodiment two:
Fig. 2 is the functional block diagram of page display device preferred embodiment of the present invention.
As shown in fig.2, the page display device 20 may include creation module 201, display module 202, obtain mould
Block 203, detection module 204 and loading module 205.
The creation module 201 is for creating first network container and the second web container, wherein the first network holds
Device stores the local page page.
Wherein, the first network container and second web container are a kind of service routines.In JAVA
Tomcat container, IIS container or PWS container in ASP etc..And the number of the first network container and second web container
Amount can be multiple.
In one embodiment, the creation module 201 receive user terminal input the creation first network container and
The request instruction of second web container.According to the request instruction, the program of respective service is called, and creates described first
Web container and second web container.Wherein, the first network container is called, the local page page can be opened, is adjusted
With second web container, network load networks Webpage can be passed through.
The display module 202 shows the local page page for calling the first network container.
Wherein, the local page page is to be pre-stored in the first network container, and having network, network different
The page that can normally show in the case where often and without network.
In one embodiment, when the display module 202 gets the finger for exiting the Webpage of user's input
When enabling, or the operational order of user being not detected within a preset time, Webpage when user's last time is operated is stored
In the first network container.And Webpage when being operated using user's last time is to stored local page
The page is covered, and the new local page page is generated.When user opens the Webpage next time, the new sheet is shown
Ground Webpage.When receiving user and starting the operational order of the Webpage, call the first network container corresponding
Application program, issue the request for opening the local page page.
The click commands to the local page page for obtaining module 203 and being used to obtain user's input.
In the present embodiment, the click commands are by carrying out key triggering to Webpage, touching and trigger or input language
Sound instruction triggers obtain.
In one embodiment, the click commands carry the unique identification of access network request, when detecting this only
When one mark, the connection signal for obtaining module 203 and calling the concurrent SCN Space Cable Network access request of second web container.When connecing
It when receiving the connection signal, is connected to the network, if receiving the connection signal, determines to be connected to the network successfully.If not
The connection signal is received, then determines network connection failure.When determining network connection failure, then in the Webpage bullet
Out " Network Abnormal please reconnect ", " Network Abnormal display local page " option, for selection by the user.
Whether the detection module 204 is normal for detecting network connection.
In the present embodiment, when receiving the connection signal of the click commands triggering, it is connected to the network, if receiving
The connection signal then determines to be connected to the network successfully.If not receiving the connection signal, network connection failure is determined.
In one embodiment, after the detection module 204 gets the click commands, to the Webpage
Carry out piecemeal detection.Whether the page for detecting each piecemeal in the Webpage normally shows.If detecting the webpage page
The piecemeal page in face is normally shown, then it is normal to determine network connection, if detecting the presence of the abnormal piecemeal page of display,
Then determine that network connection is abnormal.
The loading module 205 hides the local page page and loads net for calling second web container
Network Webpage.
In one embodiment, the loading module 205 judges whether the page is shown complete.If complete display,
The local page page is hidden, calls second web container, and show the web page page, and according to network to described
The web page page carries out real-time update.If the page show it is imperfect, by incomplete part by the local page page
Replacement, or the web page page is closed, the first network container is called, shows the local page page.
In one embodiment, whether the loading module 205 changes with network dynamic according to Webpage, to the net
The page page carries out piecemeal.Wherein, to static page region is not known as with the region that network dynamic changes, change to network dynamic
Region be known as dynamic page region.The static page region keeps the display local page page constant, the dynamic change
Region is with network state real-time update.When detecting the web page page and whether normally showing, do not have to check whole network page
The display state in face, need to only judge whether the dynamic page region normally shows.When dynamic page region
When normal display, the corresponding region in dynamic page region described in the local page page is hidden, shows the web page
The corresponding region of dynamic page region described in the page, and the content shown according to network change real-time update.When described
When the improper display in dynamic page region, the page of the display comprising webpage exception information or the display local page page.Wherein,
The exception information is abnormal network cause or other exception informations, such as is caused by application program obstruction.
In another embodiment, described the step of calling the first network container, showing the local page page
Before, the method also includes:
When the instruction for exiting Webpage for getting user's input, or the operation of user is not detected within a preset time
When instruction, Webpage when user's last time is operated is stored in the first network container;And
Webpage when user's last time is operated is as the local page page.
In another embodiment, whether normal step includes: for the detection network connection
According to the click commands, second web container is called to send the connection signal of request network access, it is described
Click commands carry the unique identification of access network request;And
If receiving the connection signal, determine to be connected to the network successfully, if not receiving the connection signal, determine
Network connection failure.
In another embodiment, if described do not receive the connection signal, the step of determining network connection failure
Later, the method also includes:
The option of " Network Abnormal please reconnect ", " Network Abnormal display local page " is popped up in the Webpage;
And
When receiving the click commands of " Network Abnormal display local page " of user's input, then the local network is shown
The page page.
In another embodiment, described to call second web container, it hides the local page page and loads
After the step of web page page, which comprises
Detect whether the web page page normally shows;And
If it is not, then hiding the web page page, the local page page is shown.
In another embodiment, described to detect that the step of whether the web page page normally shows includes:
Detect whether the web page page shows completely, if so, determining that the Webpage is shown normally, if not
Then determine that the Webpage display is abnormal.
To sum up, above-mentioned page display device passes through creation first network container and the second web container, wherein described the
One web container stores the local page page;The first network container is called, shows the local page page;It obtains and uses
The click commands to the local page page of family input;Whether detection network connection is normal;And if so, call described the
Two web containers hide the local page page and load networks Webpage.To solve in the absence of a network
The problem of can not showing Webpage.
Embodiment three
Fig. 3 is the schematic diagram of computer installation preferred embodiment of the present invention.
The computer installation 30 includes memory 31, processor 32 and is stored in the memory 31 and can be in institute
The computer program 33 run on processor 32 is stated, such as the page shows program.The processor 32 executes the computer journey
The step in above-mentioned page display method embodiment, such as step S1~S5 shown in FIG. 1 are realized when sequence 33.Alternatively, the place
Reason device 32 realizes the function of each module in above-mentioned page display device embodiment, such as Fig. 2 when executing the computer program 33
In module 201~205.
Illustratively, the computer program 33 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 32, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, and described instruction section is used
In implementation procedure of the description computer program 33 in the computer installation 30.For example, the computer program 33 can
With creation module 201, display module 202, acquisition module 203, detection module 204 and the loading module being divided into Fig. 2
205.Each module concrete function is referring to embodiment two.
The computer installation 30 can be the calculating such as desktop PC, notebook, palm PC and cloud server
Equipment.It will be understood by those skilled in the art that the schematic diagram is only the example of computer installation 30, do not constitute to calculating
The restriction of machine device 30 may include perhaps combining certain components or different portions than illustrating more or fewer components
Part, such as the computer installation 30 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 32 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor 32 is also possible to any conventional processing
Device etc., the processor 32 are the control centres of the computer installation 30, are entirely calculated using various interfaces and connection
The various pieces of machine device 30.
The memory 31 can be used for storing the computer program 33 and/or module/unit, and the processor 32 passes through
Operation executes the computer program and/or module/unit being stored in the memory 31, and calls and be stored in memory
Data in 31 realize the various functions of the computer installation 30.The memory 31 can mainly include storing program area and
Storage data area, wherein storing program area can application program needed for storage program area, at least one function etc.;Store number
It can be stored according to area and created data etc. are used according to computer installation 30.In addition, memory 31 may include that high speed is random
Memory is accessed, can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk
Memory device, flush memory device or other volatile solid-state parts.
If the integrated module/unit of the computer installation 30 is realized in the form of SFU software functional unit and as independence
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention
It realizes all or part of the process in above-described embodiment method, can also instruct relevant hardware come complete by computer program
At the computer program can be stored in a computer readable storage medium, and the computer program is held by processor
When row, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, institute
Stating computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..It is described
Computer-readable medium may include: any entity or device, recording medium, U that can carry the computer program code
Disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs
It is bright, the content that the computer-readable medium includes can according in jurisdiction make laws and patent practice requirement into
Row increase and decrease appropriate, such as do not include electric load according to legislation and patent practice, computer-readable medium in certain jurisdictions
Wave signal and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed computer installation and method, it can be with
It realizes by another way.For example, computer installation embodiment described above is only schematical, for example, described
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in same treatment unit
It is that each unit physically exists alone, can also be integrated in same unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.It is stated in computer installation claim
Multiple units or computer installation can also be implemented through software or hardware by the same unit or computer installation.The
One, the second equal words are used to indicate names, and are not indicated any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of page display method, which is characterized in that the described method includes:
Create first network container and the second web container, wherein the first network containers store has the local page page;
The first network container is called, shows the local page page;
Obtain the click commands to the local page page of user's input;
Whether detection network connection is normal;And
If so, calling second web container, the local page page and load networks Webpage are hidden.
2. page display method as described in claim 1, which is characterized in that described to call the first network container, display
Before the step of local page page, the method also includes:
When the instruction for exiting Webpage for getting user's input, or the operational order of user is not detected within a preset time
When, Webpage when user's last time is operated is stored in the first network container;And
Webpage when user's last time is operated is as the local page page.
3. page display method as described in claim 1, which is characterized in that the click commands are by carrying out to Webpage
Key triggering touches triggering or inputs phonetic order and triggers to obtain.
4. page display method as described in claim 1, which is characterized in that detection network connection whether normal step
Include:
According to the click commands, second web container is called to send the connection signal of request network access, the click
Instruction carries the unique identification of access network request;And
If receiving the connection signal, determine to be connected to the network successfully, if not receiving the connection signal, determines network
Connection failure.
5. page display method as claimed in claim 4, which is characterized in that if described do not receive the connection signal,
After the step of determining network connection failure, the method also includes:
The option of " Network Abnormal please reconnect ", " Network Abnormal display local page " is popped up in the Webpage;And
When receiving the click commands of " Network Abnormal display local page " of user's input, then the local page page is shown
Face.
6. page display method as described in claim 1, which is characterized in that it is described to call second web container, it hides
After the step of local page page and load networks Webpage, which comprises
Detect whether the web page page normally shows;And
If it is not, then hiding the web page page, the local page page is shown.
7. page display method as claimed in claim 6, which is characterized in that just whether the detection web page page
Often display the step of include:
Detect whether the web page page shows completely, if so, determining that the Webpage is shown normally, if it is not, then
Determine that the Webpage display is abnormal.
8. a kind of page display device, which is characterized in that described device includes:
Creation module, for creating first network container and the second web container, wherein the first network containers store has this
Ground Webpage;
Display module shows the local page page for calling the first network container;
Module is obtained, for obtaining the click commands to the local page page of user's input;
Whether detection module is normal for detecting network connection;And
Loading module hides the local page page and load networks Webpage for calling second web container.
9. a kind of computer installation, which is characterized in that the computer installation includes processor and memory, and the processor is used
Realize that the page as claimed in any of claims 1 to 7 in one of claims is aobvious when executing the computer program stored in the memory
Show method.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium
It is, the computer program realizes page display side as claimed in any of claims 1 to 7 in one of claims when being executed by processor
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075876.5A CN109960767A (en) | 2019-01-25 | 2019-01-25 | Page display method, device, computer installation and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075876.5A CN109960767A (en) | 2019-01-25 | 2019-01-25 | Page display method, device, computer installation and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109960767A true CN109960767A (en) | 2019-07-02 |
Family
ID=67023488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910075876.5A Pending CN109960767A (en) | 2019-01-25 | 2019-01-25 | Page display method, device, computer installation and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109960767A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111639281A (en) * | 2020-05-29 | 2020-09-08 | 海信视像科技股份有限公司 | Page resource display method and display equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185554A1 (en) * | 2012-06-11 | 2013-12-19 | 腾讯科技(深圳)有限公司 | Method, device and computer storage media for offline web page browsing |
WO2014187159A1 (en) * | 2013-05-23 | 2014-11-27 | Tencent Technology (Shenzhen) Company Limited | A method and an apparatus for performing offline access to web pages |
CN106446174A (en) * | 2016-09-28 | 2017-02-22 | 江西博瑞彤芸科技有限公司 | Method for page loading in application |
CN107122192A (en) * | 2017-04-27 | 2017-09-01 | 北京三快在线科技有限公司 | Webpage view methods of exhibiting, device, computing device and storage medium |
CN108132814A (en) * | 2017-12-22 | 2018-06-08 | 平安养老保险股份有限公司 | Page loading method, device, computer equipment and the storage medium of application program |
-
2019
- 2019-01-25 CN CN201910075876.5A patent/CN109960767A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185554A1 (en) * | 2012-06-11 | 2013-12-19 | 腾讯科技(深圳)有限公司 | Method, device and computer storage media for offline web page browsing |
WO2014187159A1 (en) * | 2013-05-23 | 2014-11-27 | Tencent Technology (Shenzhen) Company Limited | A method and an apparatus for performing offline access to web pages |
CN106446174A (en) * | 2016-09-28 | 2017-02-22 | 江西博瑞彤芸科技有限公司 | Method for page loading in application |
CN107122192A (en) * | 2017-04-27 | 2017-09-01 | 北京三快在线科技有限公司 | Webpage view methods of exhibiting, device, computing device and storage medium |
CN108132814A (en) * | 2017-12-22 | 2018-06-08 | 平安养老保险股份有限公司 | Page loading method, device, computer equipment and the storage medium of application program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111639281A (en) * | 2020-05-29 | 2020-09-08 | 海信视像科技股份有限公司 | Page resource display method and display equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11151024B2 (en) | Dynamic automation of DevOps pipeline vulnerability detecting and testing | |
CN110826071B (en) | Software vulnerability risk prediction method, device, equipment and storage medium | |
US10635437B1 (en) | Techniques to deploy an application as a cloud computing service | |
US10673707B2 (en) | Systems and methods for managing lifecycle and reducing power consumption by learning an IoT device | |
CN102289615B (en) | Based on the diagnostic scan of system state | |
US11520556B2 (en) | Application replication platform | |
CN110018765A (en) | Page display method, device, terminal and storage medium | |
CN113805962B (en) | Application page display method and device and electronic equipment | |
CN109960767A (en) | Page display method, device, computer installation and computer readable storage medium | |
CN109889432A (en) | Information processing method, device, computer installation and computer readable storage medium | |
CN113220367A (en) | Applet running method and device, electronic equipment and storage medium | |
CN107292614A (en) | Pay class application management method, device and mobile terminal | |
CN111459542A (en) | Method, device and system for determining recommended configuration index, storage medium and equipment | |
CN104951325B (en) | A kind of information display method and electronic equipment | |
CN111179057A (en) | Resource allocation method and device and electronic equipment | |
CN106251120A (en) | A kind of method of information management and terminal | |
CN111859985B (en) | AI customer service model test method and device, electronic equipment and storage medium | |
US20220122038A1 (en) | Process Version Control for Business Process Management | |
US11681949B2 (en) | Power awareness systems and processes | |
CN114282940A (en) | Method and apparatus for intention recognition, storage medium, and electronic device | |
CN107450805A (en) | Display control method, device, computer installation and computer-readable recording medium | |
CN109766266A (en) | Testing tool selection method, device, computer installation and readable storage medium storing program for executing | |
CN111950770A (en) | Method and device for managing resource return auxiliary strategy and electronic equipment | |
CN107291512B (en) | Application program multi-opening method and device, terminal equipment and storage medium | |
CN113448668B (en) | Method and device for skipping popup window and electronic equipment |
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: 20190702 |