CN107835249B - Web page updating device and method - Google Patents
Web page updating device and method Download PDFInfo
- Publication number
- CN107835249B CN107835249B CN201711143068.5A CN201711143068A CN107835249B CN 107835249 B CN107835249 B CN 107835249B CN 201711143068 A CN201711143068 A CN 201711143068A CN 107835249 B CN107835249 B CN 107835249B
- Authority
- CN
- China
- Prior art keywords
- web page
- refreshing
- target web
- session information
- timing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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]
-
- 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/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- 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
-
- 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/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (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)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a web page updating device and method; the device comprises: the receiving module is used for receiving session information sent by the client, and the session information carries a configuration file; the processing module is used for acquiring the refreshing interval time described in the configuration file and sending the refreshing interval time to the timing module; the timing module is used for timing according to the refreshing interval time and sending a refreshing signal to the processing module when the timing is reached; the processing module is also used for searching a target web page according to the refreshing signal and the session information and refreshing the target web page. The invention can set and refresh the target web page by timing according to the refresh interval time set by the client, replaces manual refreshing of the page, and is very convenient.
Description
Technical Field
The invention mainly relates to the technical field of information processing, in particular to a web page updating device and method.
Background
Sometimes, a certain web page (web page) is refreshed all the time, so that the web page is displayed more smoothly, or different contents are updated to achieve a certain purpose, generally, the web page is refreshed manually, the manual refreshing is too troublesome and takes a long time, and how to automatically refresh the page according to a time interval set by the page is a direction needing to be researched at present.
Disclosure of Invention
The present invention provides a web page updating apparatus and method for overcoming the above technical problems.
The technical scheme for solving the technical problems is as follows: a web page updating apparatus comprising:
the receiving module is used for receiving session information sent by a client, and the session information carries a configuration file;
the processing module is used for acquiring the refreshing interval time described in the configuration file and sending the refreshing interval time to the timing module;
the timing module is used for timing according to the refreshing interval time, and sending a refreshing signal to the processing module when the timing is reached;
and the processing module is also used for searching a target web page according to the refreshing signal and the session information and refreshing the target web page.
The invention has the beneficial effects that: the method can be used for setting and timing the refreshing target web page according to the refreshing interval time set by the client, replaces manual refreshing of the web page, and is very convenient.
On the basis of the technical scheme, the invention can be further improved as follows.
The client terminal further comprises a sending module, wherein the sending module is used for establishing connection with the client terminal;
and the processing module is also used for calling the refreshed web page to the sending module to be sent to the client when the refreshing is finished.
Further, the session information includes target web page information, and the processing module is specifically configured to search a corresponding target web page from a server according to the target web page information, and refresh the target web page.
The beneficial effect of adopting the further scheme is that: refreshing of local or non-local web pages can be supported.
Another technical solution of the present invention for solving the above technical problems is as follows: a web page update method, comprising:
receiving session information sent by a client, wherein the session information carries a configuration file;
obtaining the refreshing interval time described in the configuration file;
timing according to the refreshing interval time;
and when the timing is reached, searching a target web page according to the session information, and refreshing the target web page.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the method also comprises the following steps: when the refresh is completed, sending the refreshed web page to the client.
Further, searching a target web page according to the session information, and refreshing the target web page specifically includes: and the session information comprises target web page information, searching a corresponding target web page from a server according to the target web page information, and refreshing the target web page.
Drawings
FIG. 1 is a block diagram of a web page update apparatus according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for updating a web page according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a voting information processing method according to an embodiment of the present invention;
as shown in fig. 1, a web page updating apparatus includes:
the receiving module is used for receiving session information sent by a client, and the session information carries a configuration file;
the processing module is used for acquiring the refreshing interval time described in the configuration file and sending the refreshing interval time to the timing module;
the timing module is used for timing according to the refreshing interval time, and sending a refreshing signal to the processing module when the timing is reached;
and the processing module is also used for searching a target web page according to the refreshing signal and the session information and refreshing the target web page.
Specifically, the session information sent by the client includes that the refresh interval time is refreshed once every 10 seconds, and the address or the set number of the target web page, the processing module performs setting according to the content of the session information, and sends the timing module to perform timing, when the timing is reached, a refresh signal is sent to the processing module, and the processing module refreshes the target web page according to the refresh signal and the address or the number; it should be understood that the refresh described above is only a process of refreshing a page;
specifically, the receiving module is further configured to receive refresh stop information sent by the client, and the processing module stops refreshing according to the refresh stop information; if the refresh stop information sent by the client is not received, the page refreshing process is repeatedly executed.
In the embodiment, the target web page can be set and refreshed in a timing mode according to the refreshing interval time set by the client, manual page refreshing is replaced, and the method is very convenient.
Optionally, as another embodiment of the present invention, the present invention further includes a sending module, where the sending module is configured to establish a connection with the client;
and the processing module is also used for calling the refreshed web page to the sending module to be sent to the client when the refreshing is finished.
Optionally, as another embodiment of the present invention, the session information includes target web page information, and the processing module is specifically configured to search a corresponding target web page from a server according to the target web page information, and refresh the target web page.
In the above embodiments, the refreshing of native or non-native web pages can be supported.
FIG. 2 is a flowchart of a method for updating a web page according to an embodiment of the present invention;
as shown in fig. 2, a web page updating method includes:
receiving session information sent by a client, wherein the session information carries a configuration file;
obtaining the refreshing interval time described in the configuration file;
timing according to the refreshing interval time;
and when the timing is reached, searching a target web page according to the session information, and refreshing the target web page.
Optionally, as another embodiment of the present invention, the method further includes the steps of: when the refresh is completed, sending the refreshed web page to the client.
Optionally, as another embodiment of the present invention, searching for a target web page according to the session information, and refreshing the target web page specifically includes: and the session information comprises target web page information, searching a corresponding target web page from a server according to the target web page information, and refreshing the target web page.
The reader should understand that in the description of this specification, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-accessible storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (4)
1. A web page updating apparatus, comprising:
the receiving module is used for receiving session information sent by a client, and the session information carries a configuration file;
the processing module is used for acquiring the refreshing interval time described in the configuration file and sending the refreshing interval time to the timing module;
the timing module is used for timing according to the refreshing interval time, and sending a refreshing signal to the processing module when the timing is reached;
the processing module is further used for searching a target web page according to the refreshing signal and the session information and refreshing the target web page;
the session information includes target web page information, and the processing module is specifically configured to search a corresponding target web page from a server according to the target web page information, and refresh the target web page.
2. The web page updating apparatus according to claim 1, further comprising a sending module, wherein the sending module is configured to establish a connection with the client;
and the processing module is also used for calling the refreshed web page to the sending module to be sent to the client when the refreshing is finished.
3. A web page update method, comprising:
receiving session information sent by a client, wherein the session information carries a configuration file;
obtaining the refreshing interval time described in the configuration file;
timing according to the refreshing interval time;
when the timing is reached, searching a target web page according to the session information, and refreshing the target web page;
searching a target web page according to the session information, and refreshing the target web page specifically comprises: and the session information comprises target web page information, searching a corresponding target web page from a server according to the target web page information, and refreshing the target web page.
4. A web page updating method according to claim 3, further comprising the steps of: when the refresh is completed, sending the refreshed web page to the client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711143068.5A CN107835249B (en) | 2017-11-17 | 2017-11-17 | Web page updating device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711143068.5A CN107835249B (en) | 2017-11-17 | 2017-11-17 | Web page updating device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107835249A CN107835249A (en) | 2018-03-23 |
CN107835249B true CN107835249B (en) | 2021-06-18 |
Family
ID=61652758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711143068.5A Active CN107835249B (en) | 2017-11-17 | 2017-11-17 | Web page updating device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107835249B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1914612A (en) * | 2004-03-04 | 2007-02-14 | 国际商业机器公司 | Timely update of a web page |
CN101477573A (en) * | 2009-01-16 | 2009-07-08 | 艾默生网络能源有限公司 | System and method for automatically refreshing web page data |
CN101894136A (en) * | 2010-06-13 | 2010-11-24 | 优视科技有限公司 | Page refreshing processing method based on mobile terminal and system thereof |
CN102402518A (en) * | 2010-09-09 | 2012-04-04 | 中国移动通信有限公司 | Method and device for accessing webpage |
CN103106201A (en) * | 2011-11-10 | 2013-05-15 | 周宝娟 | Method of substituting for user to refresh page |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7000008B2 (en) * | 2001-04-16 | 2006-02-14 | Sun Microsystems, Inc. | Method, system, and program for providing data updates to a page including multiple regions of dynamic content |
-
2017
- 2017-11-17 CN CN201711143068.5A patent/CN107835249B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1914612A (en) * | 2004-03-04 | 2007-02-14 | 国际商业机器公司 | Timely update of a web page |
CN101477573A (en) * | 2009-01-16 | 2009-07-08 | 艾默生网络能源有限公司 | System and method for automatically refreshing web page data |
CN101894136A (en) * | 2010-06-13 | 2010-11-24 | 优视科技有限公司 | Page refreshing processing method based on mobile terminal and system thereof |
CN102402518A (en) * | 2010-09-09 | 2012-04-04 | 中国移动通信有限公司 | Method and device for accessing webpage |
CN103106201A (en) * | 2011-11-10 | 2013-05-15 | 周宝娟 | Method of substituting for user to refresh page |
Also Published As
Publication number | Publication date |
---|---|
CN107835249A (en) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140298313A1 (en) | Method, server, client and system for updating data | |
EP2824590A1 (en) | Content sharing method, terminal, server, and system, and computer storage medium | |
US10127955B2 (en) | Memory activation method and apparatus, and memory controller | |
CN106528578B (en) | Information display method and device | |
CN107679214B (en) | Link positioning method, device, terminal and computer readable storage medium | |
US11262883B2 (en) | Associating browser with application | |
CN105468764A (en) | Data processing method and apparatus and cluster service system | |
US20180191649A1 (en) | Message presenting method, device, and system | |
CN106302099B (en) | Session processing method and device in instant messaging | |
CN108829809A (en) | A kind of information displaying method and its terminal device, the network equipment | |
CN105893558B (en) | Recommended data display method and system | |
US10923072B2 (en) | Method and device for displaying non-standard resolution data | |
CN109299376A (en) | It is a kind of that method and device is searched for generally based on education cloud operating system | |
CN107835249B (en) | Web page updating device and method | |
CN106682044B (en) | Data processing method and device | |
JP6246710B2 (en) | Method and apparatus for ranking candidate characters and method and device for entering characters | |
CN105897824A (en) | Hint copywriting sharing and configuration method and device and sharing system | |
CN109032747B (en) | Data updating method and device | |
US20240220105A1 (en) | Data Processing Method and Device | |
CN110941610B (en) | Excel data file processing method and device | |
CN108268594B (en) | Data query method and device | |
CN115361589B (en) | Page display method and device, electronic equipment and storage medium | |
CN108959214B (en) | Lesson preparation courseware generation method and system | |
CN111383038A (en) | Advertisement display method and device of mobile terminal, mobile terminal and storage medium | |
CN105162842A (en) | Display method and device for application in application wall |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |