CN105630974A - Method and device for refreshing page and equipment - Google Patents
Method and device for refreshing page and equipment Download PDFInfo
- Publication number
- CN105630974A CN105630974A CN201510992321.9A CN201510992321A CN105630974A CN 105630974 A CN105630974 A CN 105630974A CN 201510992321 A CN201510992321 A CN 201510992321A CN 105630974 A CN105630974 A CN 105630974A
- Authority
- CN
- China
- Prior art keywords
- network
- page
- network signal
- server
- furbishing request
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and device for refreshing a page and equipment. The method comprises the steps that when it is detected that the equipment is disconnected from the network, the network state is monitored; if the network state is that network signals exist, a page refreshing request is sent to a server and used for refreshing the page after the server responds. According to the method and device for refreshing the page and the equipment, user experience can be improved.
Description
Technical field
It relates to the communications field, particularly relate to the method for refreshing of the page, device and equipment.
Background technology
Along with the development of science and technology, network to be applied in daily life very general, and the application of network is also for the life of user brings great convenience.
In the related, user, in the process using the H5 page, often can encounter the situation not smooth without network or network; at this moment, terminating unit loading failed information by there will be the page, user will manually click refreshing; when network recovers, to reload this page.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides the method for refreshing of a kind of page, device and equipment.
First aspect according to disclosure embodiment, it is provided that the method for refreshing of a kind of page, comprising:
When detecting that the connection with network disconnects, monitor network state;
If described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, the page on terminating unit is refreshed by server according to the page furbishing request received, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user.
In conjunction with first aspect, in the first possible implementation of first aspect, described monitoring network state, comprising:
The interface provided by local application NativeAPP, monitors network state.
The interface provided by local application NativeAPP monitors network state so that the mode obtaining network state is simpler.
In conjunction with first aspect, in the 2nd kind of possible implementation of first aspect, described network signal comprises mobile data network signal or wireless network signal.
In conjunction with first aspect, in the third possible implementation of first aspect, if the quantity of described network signal has multiple;
Described to server transmission page furbishing request, comprising:
Priority according to the network signal pre-set, sends described page furbishing request to the server that the network that priority is high is corresponding.
When the quantity of network signal has multiple, server corresponding for the network higher to priority is sent page furbishing request, thus it is possible not only to the handiness improving network connection, and improves the success ratio of page furbishing.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, if the quantity of described network signal has multiple;
Described to server transmission page furbishing request, comprising:
Detect the intensity of each network signal, obtain detected result;
According to described detected result, send described page furbishing request to the server that the network that network signal is the strongest is corresponding.
When the quantity of network signal has multiple, server corresponding for the network the strongest to network signal is sent page furbishing request, thus it is possible not only to the handiness improving network connection, and improves the success ratio of page furbishing.
Second aspect according to disclosure embodiment, it is provided that the refreshing apparatus of a kind of page, comprising:
Monitor module, it is configured to when detecting that the connection with network disconnects, monitor network state;
Sending module, is configured to when described network state is for existing network signal, sends page furbishing request to server, and described page furbishing request is used for being refreshed by the page after described server responds.
In conjunction with second aspect, in the first possible implementation of second aspect, described monitoring module comprises:
Monitor submodule block, the interface provided by local application NativeAPP is provided, monitor network state.
In conjunction with second aspect, in the 2nd kind of possible implementation of second aspect, described network signal comprises mobile data network signal or wireless network signal.
In conjunction with second aspect, in the third possible implementation of second aspect, if the quantity of described network signal has multiple;
Described sending module comprises:
First transmission submodule block, is configured to the priority according to the network signal pre-set, sends described page furbishing request to the server that the network that priority is high is corresponding.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, if the quantity of described network signal has multiple;
Described sending module comprises:
Detection sub-module, is configured to detect the intensity of each network signal, obtains detected result;
2nd transmission submodule block, is configured to send described page furbishing request according to described detected result to the server that the network that network signal is the strongest is corresponding.
The third aspect according to disclosure embodiment, it is provided that a kind of terminating unit, comprising:
Transmitter;
Treater;
It is configured to the storer that storage of processor can perform instruction;
Wherein, described treater is configured to:
When detecting that the connection with network disconnects, monitor network state;
Described transmitter is configured to:
If described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
The technical scheme that embodiment of the present disclosure provides can comprise following useful effect:
By when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, this page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is by being incorporated in specification sheets and forms the part of this specification sheets, shows embodiment according to the invention, and is used from the principle explaining the present invention with specification sheets one.
Fig. 1 is the schema of the method for refreshing of a kind of page according to an exemplary embodiment;
Fig. 2 is the schema of the method for refreshing of a kind of page according to another exemplary embodiment;
Fig. 3 is the schema of the method for refreshing of a kind of page Gen Ju an exemplary embodiment again;
Fig. 4 is the block diagram of the refreshing apparatus of a kind of page according to an exemplary embodiment;
Fig. 5 is the block diagram of the refreshing apparatus of a kind of page according to another exemplary embodiment;
Fig. 6 is the block diagram of the refreshing apparatus of a kind of page Gen Ju an exemplary embodiment again;
Fig. 7 is the block diagram of the refreshing apparatus of a kind of page Gen Ju an exemplary embodiment again;
Fig. 8 is the block diagram of the entity of a kind of terminating unit according to an exemplary embodiment;
Fig. 9 is the block diagram of a kind of refreshing apparatus for the page according to an exemplary embodiment.
Embodiment
Here exemplary embodiment being described in detail, its example representation is in the accompanying drawings. When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or similar key element. Enforcement mode described in exemplary embodiment does not represent all enforcement modes consistent with the present invention below. On the contrary, they only with as in appended claims describe in detail, the example of device that some aspects of the present invention are consistent and method.
Fig. 1 is the schema of the method for refreshing of a kind of page according to an exemplary embodiment, as shown in Figure 1, the method for refreshing of the page that the present embodiment relates to is in terminating unit, this terminating unit is the equipment that can load WEB page, can be such as mobile phone, personal digital assistant (PersonalDigitalAssistant is called for short PDA), computer etc. The method for refreshing of this page comprises the following steps.
In step s 11, when detecting that the connection with network disconnects, monitor network state.
In step s 12, if described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
In the related, at network state labile or without network, when causing the connection of terminating unit and network to disconnect, user can only refresh manually repeatedly, when network recovers, to reload the page, but, user can not expect when the page can load successfully usually, and the experience of user can be caused so very not good. In addition, if when switching back this page again after user's switch application program, even if network recovers, this page also cannot show normally, now, still needs user manually to refresh, not only cause the efficiency of page furbishing lower, and the experience making user is not good.
For this problem, in the disclosed embodiments, terminating unit is when detecting that the connection of itself and network disconnects, network state will be monitored in real time, there is network signal if listening to, and after terminating unit heavily connects network again, the server corresponding to network is sent page furbishing request, the page on terminating unit, after receiving page furbishing request, is refreshed by server according to this page furbishing request.
The method for refreshing of the page of the present embodiment, by when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, this page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user.
Can selection of land, embodiment as above, monitor network state the interface provided by local application NativeAPP is provided, monitor network state.
Realize in process concrete, NativeAPP is that WEB page increases an interface by addJavascriptInterface method, to be monitored the function of network state by this Interface realization, when network state changes, NativeAPP will notify WEB page, current network state, wherein, network state comprises the situation that there is network signal and there is not network signal, and network signal comprises mobile data network signal or wireless network signal. For example, when the NativeAPP in terminating unit by listen to network state by do not exist network signal be changed to there is network signal time, this change will be notified to WEB page, and by the network state WEB page that is sent in terminating unit after change. In addition, if the NativeAPP in terminating unit is wireless network signal by listening to network state by mobile data network signal intensity, or when being changed to mobile data network signal by wireless network signal, WEB page can also be notified.
The interface provided by local application NativeAPP monitors network state so that the mode obtaining network state is simpler.
Fig. 2 is the schema of the method for refreshing of a kind of page according to another exemplary embodiment, the method is used in terminating unit, the present embodiment is on basis embodiment illustrated in fig. 1, if when the quantity of the network signal listened to is had multiple simultaneously, the embodiment of page furbishing request is sent to server, doing to illustrate in detail, as shown in Figure 2, the method for refreshing of this page comprises the following steps.
In the step s 21, when detecting that the connection with network disconnects, monitor network state.
In step S22, if for there is network signal in described network state, then according to the priority of the network signal pre-set, sending described page furbishing request to the server that the network that priority is high is corresponding, described page furbishing request is used for being refreshed by the page after described server responds.
In the disclosed embodiments, when terminating unit detects that the connection of itself and network disconnects, network state will be monitored, if for there is network signal in network state, and the quantity of network signal is when being multiple, will according to the priority of the network signal pre-set, the server corresponding to the network that priority is the highest sends page furbishing request. Such as: if the priority of the wireless network signal pre-set is higher than the priority of mobile data network signal, and terminating unit gets and there is mobile data network number and during wireless network signal simultaneously, terminating unit will send page furbishing request to the server that the wireless network that priority is higher is corresponding, after this server receives page furbishing request, the page of terminating unit will be carried out refresh operation.
The method for refreshing of the page of the present embodiment, by when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user. In addition, when the quantity of network signal has multiple, server corresponding for the network higher to priority is sent page furbishing request, thus it is possible not only to the handiness improving network connection, and improves the success ratio of page furbishing.
Fig. 3 is the schema of the method for refreshing of a kind of page Gen Ju an exemplary embodiment again, the method is used in terminating unit, the present embodiment is on basis embodiment illustrated in fig. 1, if when the quantity of the network signal listened to is had multiple simultaneously, the embodiment of page furbishing request is sent to server, doing to illustrate in detail, the present embodiment is with difference embodiment illustrated in fig. 2: in the present embodiment, server corresponding for the network the strongest to network signal is sent page furbishing request. As shown in Figure 3, the method for refreshing of this page comprises the following steps.
In step S31, when detecting that the connection with network disconnects, monitor network state.
In step s 32, if described network state is for existing network signal, then detect the intensity of each network signal, obtain detected result.
In step S33, according to described detected result, sending described page furbishing request to the server that the network that network signal is the strongest is corresponding, described page furbishing request is used for being refreshed by the page after described server responds.
In the disclosed embodiments, when terminating unit detects that the connection of itself and network disconnects, network state will be monitored, if for there is network signal in network state, and the quantity of network signal is when being multiple, the intensity of each network signal will be detected, and send page furbishing request to the server that the network that network signal is the strongest is corresponding. For example, if terminating unit gets there is mobile data network signal and wireless network signal simultaneously, and detect that the strength of signal of mobile data network signal is for-90dBm, the strength of signal of wireless network signal is-60dBm, then the server corresponding to wireless network is sent page furbishing request by terminating unit, after this server receives page furbishing request, carry out refresh operation by the page on terminating unit.
The method for refreshing of the page of the present embodiment, by when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, this page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user. In addition, when the quantity of network signal has multiple, server corresponding for the network the strongest to network signal is sent page furbishing request, thus it is possible not only to the handiness improving network connection, and improves the success ratio of page furbishing.
The foregoing describe the page method for refreshing realize process, this process can be realized by the refreshing apparatus of the page, is described to built-in function and the structure of this device below.
Fig. 4 is the block diagram of the refreshing apparatus of a kind of page according to an exemplary embodiment. As shown in Figure 4, the refreshing apparatus of this page comprises monitoring module 11 and sending module 12.
Monitoring module 11 is configured to when detecting that the connection with network disconnects, and monitors network state;
Sending module 12 is configured to when described network state is for existing network signal, sends page furbishing request to server, and described page furbishing request is used for being refreshed by the page after described server responds.
In the related, at network state labile or without network, when causing the connection of terminating unit and network to disconnect, user can only refresh manually repeatedly, when network recovers, to reload the page, but, user can not expect when the page can load successfully usually, and the experience of user can be caused so very not good. In addition, if when switching back this page again after user's switch application program, even if network recovers, this page also cannot show normally, now, still needs user manually to refresh, not only cause the efficiency of page furbishing lower, and the experience making user is not good.
For this problem, in the disclosed embodiments, monitor module 11 when detecting that the connection of itself and network disconnects, network state will be monitored in real time, network signal is there is, and after terminating unit heavily connects network again, the server corresponding to network is sent page furbishing request by sending module 12 if listening to, the page on terminating unit, after receiving page furbishing request, is refreshed by server according to this page furbishing request.
The refreshing apparatus of the page of the present embodiment, by when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, this page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user.
Wherein, as shown in Figure 5, Fig. 5 is the block diagram of the refreshing apparatus of a kind of page according to another exemplary embodiment, and on basis embodiment illustrated in fig. 4, described monitoring module 11 comprises monitors submodule block 111.
Monitor the interface that submodule block 111 is configured to be provided by local application NativeAPP, monitor network state.
Realize in process concrete, NativeAPP is that WEB page increases an interface by addJavascriptInterface method, to be monitored the function of network state by this Interface realization, when network state changes, NativeAPP will notify WEB page, current network state, wherein, network state comprises the situation that there is network signal and there is not network signal, and network signal comprises mobile data network signal or wireless network signal. For example, when the NativeAPP monitored in submodule block 111 by listen to network state by do not exist network signal be changed to there is network signal time, this change will be notified to WEB page, and by the network state WEB page that is sent in terminating unit after change. In addition, if the NativeAPP monitored in submodule block 111 is wireless network signal by listening to network state by mobile data network signal intensity, or when being changed to mobile data network signal by wireless network signal, WEB page can also be notified.
The interface provided by local application NativeAPP monitors network state so that the mode obtaining network state is simpler.
Can selection of land, described network signal comprises mobile data network signal or wireless network signal.
In addition, as shown in Figure 6, Fig. 6 is the block diagram of the refreshing apparatus of a kind of page Gen Ju an exemplary embodiment again, on basis embodiment illustrated in fig. 4, if the quantity of described network signal has multiple; Described sending module 12 comprises the first transmission submodule block 121.
First transmission submodule block 121 is configured to the priority according to the network signal pre-set, and sends described page furbishing request to the server that the network that priority is high is corresponding.
In the disclosed embodiments, when monitoring module 11 and its connection disconnection with network detected, network state will be monitored, if for there is network signal in network state, and the quantity of network signal is when being multiple, first transmission submodule block 121 will according to the priority of the network signal pre-set, and the server corresponding to the network that priority is the highest sends page furbishing request. Such as: if the priority of the wireless network signal pre-set is higher than the priority of mobile data network signal, and monitor module 11 and listen to and there is mobile data network number and during wireless network signal simultaneously, first transmission submodule block 121 will send page furbishing request to the server that the wireless network that priority is higher is corresponding, after this server receives page furbishing request, the page of terminating unit will be carried out refresh operation.
The refreshing apparatus of the page of the present embodiment, by when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, this page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user. In addition, when the quantity of network signal has multiple, server corresponding for the network higher to priority is sent page furbishing request, thus it is possible not only to the handiness improving network connection, and improves the success ratio of page furbishing.
In addition, as shown in Figure 7, Fig. 7 is the block diagram of the refreshing apparatus of a kind of page Gen Ju an exemplary embodiment again, on basis embodiment illustrated in fig. 4, if the quantity of described network signal has multiple; Described sending module 12 comprises detection sub-module 122 and the 2nd transmission submodule block 123.
Detection sub-module 122 is configured to detect the intensity of each network signal, obtains detected result;
2nd transmission submodule block 123 is configured to send described page furbishing request according to described detected result to the server that the network that network signal is the strongest is corresponding.
In the disclosed embodiments, when monitoring module 11 and its connection disconnection with network detected, network state will be monitored, if for there is network signal in network state, and the quantity of network signal is when being multiple, detection sub-module 122 will detect the intensity of each network signal, and the 2nd transmission submodule block 123 sends page furbishing request to the server that the network that network signal is the strongest is corresponding. For example, if monitoring module 11 listens to there is mobile data network signal and wireless network signal simultaneously, and detection sub-module 122 detects that the strength of signal of mobile data network signal is for-90dBm, the strength of signal of wireless network signal is-60dBm, then the server corresponding to wireless network is sent page furbishing request by the 2nd transmission submodule block 123, after this server receives page furbishing request, carry out refresh operation by the page on terminating unit.
The refreshing apparatus of the page of the present embodiment, by when detecting that the connection with network disconnects, monitoring network state, if this network state is for existing network signal, then sending page furbishing request to server, this page furbishing request is used for being refreshed by the page after server responds. Due to when detecting that the connection with network disconnects, if for there is network signal in the network state got, then send page furbishing request to server, so that the page on terminating unit is refreshed by server, the phenomenon of user's continuous refresh page manually can be avoided like this, thus can improve the experience of user. In addition, when the quantity of network signal has multiple, server corresponding for the network the strongest to network signal is sent page furbishing request, thus it is possible not only to the handiness improving network connection, and improves the success ratio of page furbishing.
About the device in above-described embodiment, wherein the concrete mode of each module executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The foregoing describing built-in function module and the structure signal of terminating unit, Fig. 8 is the block diagram of the entity of a kind of terminating unit according to an exemplary embodiment, and with reference to Fig. 8, this terminating unit can be implemented as:
Transmitter;
Treater;
It is configured to the storer that storage of processor can perform instruction;
Wherein, described treater is configured to:
When detecting that the connection with network disconnects, monitor network state;
Described transmitter is configured to:
If described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
Fig. 9 is the block diagram of a kind of refreshing apparatus for the page according to an exemplary embodiment. Such as, device 800 can be mobile telephone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical facilities, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 800 can comprise following one or more assembly: processing components 802, storer 804, electric power assembly 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The overall operation of the usual control device 800 of processing components 802, such as with display, the operation that telephone call, data corresponding, camera operation and recording operation are associated. Processing components 802 can comprise one or more treater 820 to perform instruction, to complete all or part of step of above-mentioned method. In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual. Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of equipment 800. The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc. Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, such as static RAM (SRAM), electrically erasable read-only storage (EEPROM), erasable programmable read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magneticstorage, flash device, disk or CD.
The various assembly that electric power assembly 806 is device 800 provides electric power. Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other generate, manage and distribute, with for device 800, the assembly that electric power is associated.
The screen that an output interface is provided that multimedia groupware 808 is included between described device 800 and user. In certain embodiments, screen can comprise liquid-crystal display (LCD) and touch panel (TP). If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user. Touch panel comprises one or more touch sensing device with the gesture on sensing touch, slip and touch panel. Described touch sensing device can the border of not only sensing touch or sliding action, but also the detection time length relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or rearmounted camera. When equipment 800 is in operator scheme, during such as screening-mode or video pattern, front-facing camera and/or rearmounted camera can receive outside multi-medium data. Each front-facing camera and rearmounted camera can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal. Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during such as calling pattern, record pattern and speech recognition pattern, microphone is configured to receive external audio signal. The sound signal received can be stored in storer 804 further or be sent via communications component 816. In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc. These buttons can include but not limited to: home button, volume button, startup button and locking button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of all respects for device 800. Such as, sensor module 814 can detect the opening/closing state of equipment 800, the relative location of assembly, such as described assembly is indicating meter and the keypad of device 800, the position that sensor module 814 can also detect device 800 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800. Sensor module 814 can comprise close to sensor, be configured to without any physical contact time detection near the existence of object. Sensor module 814 can also comprise optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transmitter or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 800 and other equipment. Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In an exemplary embodiment, communications component 816 receives the broadcast signal from outside broadcasting management systems or broadcast related information via broadcast channel. In an exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote short distance communication. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized by one or more application specific unicircuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device part (PLD), field-programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for performing aforesaid method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform aforesaid method by the treater 820 of device 800. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage media is performed by the treater of terminating unit so that terminating unit can perform the method for refreshing of a kind of page, and described method comprises:
When detecting that the connection with network disconnects, monitor network state;
If described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
Wherein, described monitoring network state, comprising:
The interface provided by local application NativeAPP, monitors network state.
Wherein, described network signal comprises mobile data network signal or wireless network signal.
Wherein, if the quantity of described network signal has multiple;
Described to server transmission page furbishing request, comprising:
Priority according to the network signal pre-set, sends described page furbishing request to the server that the network that priority is high is corresponding.
Wherein, if the quantity of described network signal has multiple;
Described to server transmission page furbishing request, comprising:
Detect the intensity of each network signal, obtain detected result;
According to described detected result, send described page furbishing request to the server that the network that network signal is the strongest is corresponding.
Those skilled in the art, after considering specification sheets and putting into practice invention disclosed herein, will easily expect other embodiment of the present invention. The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the present invention and comprised the unexposed common practise in the art of the disclosure or conventional techniques means. Specification sheets and embodiment are only regarded as exemplary, and the true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to accurate structure described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope. The scope of the present invention is only limited by appended claim.
Claims (11)
1. the method for refreshing of a page, it is characterised in that, comprising:
When detecting that the connection with network disconnects, monitor network state;
If described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
2. method according to claim 1, it is characterised in that, described monitoring network state, comprising:
The interface provided by local application NativeAPP, monitors network state.
3. method according to claim 1, it is characterised in that, described network signal comprises mobile data network signal or wireless network signal.
4. method according to claim 1, it is characterised in that, if the quantity of described network signal has multiple;
Described to server transmission page furbishing request, comprising:
Priority according to the network signal pre-set, sends described page furbishing request to the server that the network that priority is high is corresponding.
5. method according to claim 1, it is characterised in that, if the quantity of described network signal has multiple;
Described to server transmission page furbishing request, comprising:
Detect the intensity of each network signal, obtain detected result;
According to described detected result, send described page furbishing request to the server that the network that network signal is the strongest is corresponding.
6. the refreshing apparatus of a page, it is characterised in that, comprising:
Monitor module, it is configured to when detecting that the connection with network disconnects, monitor network state;
Sending module, is configured to when described network state is for existing network signal, sends page furbishing request to server, and described page furbishing request is used for being refreshed by the page after described server responds.
7. device according to claim 6, it is characterised in that, described monitoring module comprises:
Monitor submodule block, the interface provided by local application NativeAPP is provided, monitor network state.
8. device according to claim 6, it is characterised in that, described network signal comprises mobile data network signal or wireless network signal.
9. device according to claim 6, it is characterised in that, if the quantity of described network signal has multiple;
Described sending module comprises:
First transmission submodule block, is configured to the priority according to the network signal pre-set, sends described page furbishing request to the server that the network that priority is high is corresponding.
10. device according to claim 6, it is characterised in that, if the quantity of described network signal has multiple;
Described sending module comprises:
Detection sub-module, is configured to detect the intensity of each network signal, obtains detected result;
2nd transmission submodule block, is configured to send described page furbishing request according to described detected result to the server that the network that network signal is the strongest is corresponding.
11. 1 kinds of terminating units, it is characterised in that, comprising:
Transmitter;
Treater;
It is configured to the storer that storage of processor can perform instruction;
Wherein, described treater is configured to:
When detecting that the connection with network disconnects, monitor network state;
Described transmitter is configured to:
If described network state is for existing network signal, then sending page furbishing request to server, described page furbishing request is used for being refreshed by the page after described server responds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510992321.9A CN105630974A (en) | 2015-12-24 | 2015-12-24 | Method and device for refreshing page and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510992321.9A CN105630974A (en) | 2015-12-24 | 2015-12-24 | Method and device for refreshing page and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105630974A true CN105630974A (en) | 2016-06-01 |
Family
ID=56045907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510992321.9A Pending CN105630974A (en) | 2015-12-24 | 2015-12-24 | Method and device for refreshing page and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105630974A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109063211A (en) * | 2018-09-26 | 2018-12-21 | 惠州Tcl移动通信有限公司 | A kind of webpage opening control method, networked devices and storage medium |
CN109213560A (en) * | 2018-09-12 | 2019-01-15 | 上海连尚网络科技有限公司 | A kind of method and apparatus of information page presentation |
CN110704771A (en) * | 2018-06-22 | 2020-01-17 | 北京京东尚科信息技术有限公司 | Page abnormity monitoring method, system, device, electronic equipment and readable medium |
CN113452579A (en) * | 2021-06-29 | 2021-09-28 | 平安普惠企业管理有限公司 | H5 page loading method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060090023A1 (en) * | 2004-10-26 | 2006-04-27 | International Business Machines Corporation | Computer and method for on-demand network access control |
CN102045750A (en) * | 2009-10-10 | 2011-05-04 | 上海中兴通讯技术有限责任公司 | Method and system for performance monitoring and failure handling of WLAN (wireless local area network) |
CN103024036A (en) * | 2012-12-12 | 2013-04-03 | 北京奇虎科技有限公司 | Method and device for browsing web page |
CN103686899A (en) * | 2012-09-25 | 2014-03-26 | 东莞宇龙通信科技有限公司 | A switching method between a mobile data service network and a wifi network and a mobile terminal thereof |
CN104301318A (en) * | 2014-10-15 | 2015-01-21 | 北京国信灵通网络科技有限公司 | Network reconnection method and device used for instant messaging application |
-
2015
- 2015-12-24 CN CN201510992321.9A patent/CN105630974A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060090023A1 (en) * | 2004-10-26 | 2006-04-27 | International Business Machines Corporation | Computer and method for on-demand network access control |
CN102045750A (en) * | 2009-10-10 | 2011-05-04 | 上海中兴通讯技术有限责任公司 | Method and system for performance monitoring and failure handling of WLAN (wireless local area network) |
CN103686899A (en) * | 2012-09-25 | 2014-03-26 | 东莞宇龙通信科技有限公司 | A switching method between a mobile data service network and a wifi network and a mobile terminal thereof |
CN103024036A (en) * | 2012-12-12 | 2013-04-03 | 北京奇虎科技有限公司 | Method and device for browsing web page |
CN104301318A (en) * | 2014-10-15 | 2015-01-21 | 北京国信灵通网络科技有限公司 | Network reconnection method and device used for instant messaging application |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704771A (en) * | 2018-06-22 | 2020-01-17 | 北京京东尚科信息技术有限公司 | Page abnormity monitoring method, system, device, electronic equipment and readable medium |
CN110704771B (en) * | 2018-06-22 | 2024-03-01 | 北京京东尚科信息技术有限公司 | Page abnormality monitoring method, system, device, electronic equipment and readable medium |
CN109213560A (en) * | 2018-09-12 | 2019-01-15 | 上海连尚网络科技有限公司 | A kind of method and apparatus of information page presentation |
WO2020052510A1 (en) * | 2018-09-12 | 2020-03-19 | 上海连尚网络科技有限公司 | Method and device for displaying information page |
CN109063211A (en) * | 2018-09-26 | 2018-12-21 | 惠州Tcl移动通信有限公司 | A kind of webpage opening control method, networked devices and storage medium |
CN113452579A (en) * | 2021-06-29 | 2021-09-28 | 平安普惠企业管理有限公司 | H5 page loading method and device, computer equipment and storage medium |
CN113452579B (en) * | 2021-06-29 | 2022-04-19 | 平安普惠企业管理有限公司 | H5 page loading method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104318741A (en) | Bluetooth device control method and device | |
CN105228118A (en) | Call transferring method, device and terminal equipment | |
CN104853336A (en) | Method for discovering intelligent equipment, method for accessing to internet and devices thereof | |
CN104461510A (en) | Notification message displaying method and device | |
CN104301877A (en) | Short message prompting method and device | |
CN105407473A (en) | Wireless local area network discovery method and apparatus | |
CN106095407A (en) | icon arrangement method, device and mobile device | |
CN104601815A (en) | Answer device determining method and device | |
CN104468971A (en) | Method and device for connecting playing source | |
CN105636176A (en) | Network sharing method and device | |
CN106254192A (en) | Reminding method, suggestion device and prompt system | |
CN105391477A (en) | A communication method and device between bluetooth devices | |
CN105117899A (en) | Reminding method and apparatus | |
CN105376144A (en) | Information processing method and device | |
CN105511307A (en) | Control method and apparatus of electronic device | |
CN105554266A (en) | Message reminding processing method, device and equipment | |
CN105677164A (en) | Page selection method and device | |
CN105630974A (en) | Method and device for refreshing page and equipment | |
CN105491518A (en) | Method and device for social reminding based on wearable devices | |
CN104184888A (en) | Call transfer method, device and terminal | |
CN104615931A (en) | Prompt dialog box display control method and device | |
CN106358064A (en) | Method and equipment for controlling television | |
CN105630354A (en) | Application control method and device | |
CN105721283A (en) | Method and device for sending screenshot message and equipment | |
CN105450861A (en) | Information prompt method and information prompt device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160601 |