CN110909271A - Communication terminal, server interconnected with communication terminal and control method - Google Patents

Communication terminal, server interconnected with communication terminal and control method Download PDF

Info

Publication number
CN110909271A
CN110909271A CN201911095776.5A CN201911095776A CN110909271A CN 110909271 A CN110909271 A CN 110909271A CN 201911095776 A CN201911095776 A CN 201911095776A CN 110909271 A CN110909271 A CN 110909271A
Authority
CN
China
Prior art keywords
webpage
page
information
server
communication terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911095776.5A
Other languages
Chinese (zh)
Inventor
刘飞龙
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201911095776.5A priority Critical patent/CN110909271A/en
Publication of CN110909271A publication Critical patent/CN110909271A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The embodiment of the invention provides a communication terminal, a server interconnected with the communication terminal and a control method, which are used for meeting the requirement of a user on later reading of a dynamic webpage. The communication terminal includes: the touch control unit receives touch control operation of a user key; a first communication unit communicating with a first server for providing a web browsing service; a second communication unit communicating with a second server for previously storing web page information of the dynamic web page; a display unit; the control unit is used for responding to the touch operation of a user on a key for triggering the collected webpage content received by the touch unit, controlling the first communication unit to acquire the page identifier of the webpage from the first server, controlling the second communication unit to send a request message to the second server when the webpage is determined to be a dynamic webpage, receiving webpage information returned by the second server, adding the page identifier into a pre-created collection list, and establishing and storing the corresponding relation between the page identifier and the received webpage information.

Description

Communication terminal, server interconnected with communication terminal and control method
Technical Field
The invention relates to the technical field of computers, in particular to a communication terminal, a server interconnected with the communication terminal and a control method.
Background
With the development of the information age, later reading becomes a choice of more and more users, but due to different reading website content structures, limitation of the processing capacity of a terminal CPU and the like, the reading content supporting article collection at present is very limited, and the reading range is smaller.
Specifically, in the prior art, the requirement of continuing to browse the web page when the user is free or in a network-free state is met by storing the web address, acquiring the web page information such as title, abstract, content and the like, and storing the web page information to the local. However, the above scheme cannot directly access a dynamic web page through a fixed website, and cannot meet the requirement of a user for reading later.
In summary, the prior art cannot satisfy the requirement of the user for reading the dynamic web page later.
Disclosure of Invention
The embodiment of the invention provides a communication terminal, a server interconnected with the communication terminal and a control method, which are used for meeting the requirement of a user on later reading of a dynamic webpage.
In a first aspect, an embodiment of the present invention provides a communication terminal, including:
the touch control unit is configured to receive touch control operation of a user;
a first communication unit configured to communicate with a first server for providing a web browsing service;
a second communication unit configured to communicate with a second server for previously storing web page information of the dynamic web page;
a display unit; and a control unit configured to, in response to the touch unit receiving a touch operation of a user on a key displayed in a display interface of the communication terminal for triggering collection of web page content, control the first communication unit to acquire a page identifier of a web page from the first server, and, when the web page is determined to be a dynamic web page, control the second communication unit to send a request message for acquiring web page information to the second server, the request message including the page identifier and receiving web page information returned from the second server, the web page information being determined by the second server based on a correspondence between a pre-stored page identifier and the web page information and the page identifier included in the request message, and adding the page identifier to a pre-created collection list, establishing and storing the correspondence between the page identifier and the received web page information, for when the communication terminal is not connected to a network and the touch unit receives a touch operation of the user on a target page identifier in the collection list, and controlling the display unit to display the target webpage information corresponding to the target page identifier in the display interface, wherein the target page identifier is any page identifier in the favorite list.
In the communication terminal provided by the embodiment of the invention, the touch unit is configured to receive touch operation of a user; a first communication unit configured to communicate with a first server for providing a web browsing service; a second communication unit configured to communicate with a second server for previously storing web page information of the dynamic web page; a display unit; the control unit is configured to respond to the touch operation of the touch unit on a key displayed in a display interface of the communication terminal for triggering the content of the collected webpage, control the first communication unit to acquire the page identifier of the webpage from the first server, and if the webpage is determined to be the dynamic webpage, the web page information of the dynamic web page is acquired by sending a request message containing the page identification to the second server, when receiving the web page information returned by the second server, establishing and storing the corresponding relation between the page identification of the dynamic web page and the web page information, so that when the subsequent communication terminal is not connected with the network and the user initiates a continuous reading request based on the page identification, and searching webpage information corresponding to the page identification and displaying the webpage information to the user to realize later reading of the dynamic webpage.
Wherein the page identification comprises one or more of the following: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
It should be noted that the page identifier is used to uniquely identify a web page, and the web page is identified by using one or more of an application name of an application program to which the page belongs, a title of the web page display content, a summary of the web page display content, and one or more content segments of the web page display content, so that different pages can be distinguished conveniently.
In a possible embodiment, the control unit is further configured to:
when the webpage is determined to be the static webpage, the first communication unit is controlled to acquire the page information of the webpage from the first server, the page identifier is added into a pre-created collection list, and the corresponding relation between the page identifier and the acquired page information is established and stored.
In specific implementation, if the control unit determines that the webpage is a static webpage, the control unit may directly acquire the page information of the webpage, add the page identifier into a pre-created collection list, and establish and store a corresponding relationship between the page identifier and the acquired webpage information, so that when a subsequent user initiates a continuous reading request based on the page identifier, the webpage information corresponding to the page identifier is searched and displayed to the user, thereby implementing later reading for the static webpage.
In a possible embodiment, the control unit is further configured to:
the method comprises the steps that after a touch unit receives a touch operation of a user on a key displayed in a display interface and used for triggering collection of webpage content, a first communication unit is controlled to send a request message for obtaining a webpage address of a webpage to a first server after the first communication unit obtains the webpage identifier of the webpage from the first server, if the webpage address returned by the first server is received within a preset time length, the webpage is determined to be a static webpage, and if the webpage address returned by the first server is not received within the preset time length, the webpage is determined to be a dynamic webpage.
In a second aspect, an embodiment of the present invention provides a server interconnected with a communication terminal, where the server includes:
the communication unit is configured to receive a request message which is sent by the communication terminal and used for acquiring webpage information, wherein the request message comprises a webpage identifier;
the processing unit is configured to determine webpage information corresponding to the page identifier based on a corresponding relation between the page identifier and the webpage information which is stored in advance;
and the control unit is configured to control the communication unit to send the determined webpage information to the communication terminal.
In one possible implementation, the processing unit establishes a correspondence between the pre-stored page identifier and the web page information in the following manner:
periodically traversing the pre-configured websites to acquire webpage information corresponding to each website;
analyzing the webpage information to obtain a webpage identifier of the webpage aiming at each webpage information, and establishing and storing a corresponding relation between the webpage identifier and the webpage information;
the page identification includes one or more of: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
In a third aspect, an embodiment of the present invention provides a method for controlling a communication terminal, including:
when the communication terminal is connected with a first server and a webpage is displayed in a display interface, responding to touch operation of a user on a key displayed in the display interface and used for triggering the collection of webpage content, and acquiring a webpage identifier of the webpage from the first server;
if the webpage is determined to be the dynamic webpage, sending a request message for acquiring webpage information to a second server, wherein the request message comprises a page identifier;
receiving webpage information returned by the second server, wherein the webpage information is determined by the second server based on the corresponding relation between the pre-stored webpage identifier and the webpage information and the webpage identifier contained in the request message;
the method comprises the steps of adding a page identifier into a pre-created collection list, establishing and storing a corresponding relation between the page identifier and received webpage information, and displaying target webpage information corresponding to the target page identifier in a display interface of a communication terminal when the communication terminal is not connected with a network and receives touch operation of a user on the target page identifier in the collection list, wherein the target page identifier is any page identifier in the collection list.
In one possible implementation, the method for controlling a communication terminal further includes:
if the webpage is determined to be the static webpage, acquiring the page information of the webpage from the first server, adding the page identifier into a pre-created collection list, and establishing and storing a corresponding relation between the page identifier and the acquired page information.
In a fourth aspect, an embodiment of the present invention further provides a method for controlling a server interconnected with a communication terminal, where the method includes:
receiving a request message which is sent by a communication terminal and used for acquiring webpage information, wherein the request message comprises a page identifier;
determining webpage information corresponding to the page identification based on the corresponding relation between the page identification and the webpage information which are stored in advance;
and sending the determined webpage information to the communication terminal.
In one possible implementation, the correspondence between the pre-stored page identifier and the web page information is established in the following manner:
periodically traversing the pre-configured websites to acquire webpage information corresponding to each website;
analyzing the webpage information to obtain a webpage identifier of the webpage aiming at each webpage information, and establishing and storing a corresponding relation between the webpage identifier and the webpage information;
the page identification includes one or more of: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a communication terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server interconnected with a communication terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a control method of a communication terminal according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for controlling a server interconnected with a communication terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating interaction among a server, a communication terminal, and a user according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a communication terminal displaying webpage data and collecting keys according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a favorite list established by a communication terminal according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of a control method of another communication terminal according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of a control method of another server according to an embodiment of the present invention;
fig. 10 is a schematic flowchart of a control method of another communication terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. The term "terminal" in the embodiments of the present invention refers to a computer device that can be used in mobile, that is, a mobile phone, a tablet, and the like.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems. In the description of the present invention, the term "plurality" means two or more unless otherwise specified.
In view of the problem that only static web pages can be read later in the prior art, the embodiment of the invention provides a communication terminal for meeting the requirement of a user on reading later dynamic web pages.
Fig. 1 shows a schematic architecture diagram of a communication terminal to which an embodiment of the present invention is applied. As shown in fig. 1, a communication terminal 100 according to an embodiment of the present invention includes: radio Frequency (RF) circuit 110, power supply 120, processor 130, memory 140, input unit 150, display unit 160, camera 170, communication interface 180, and WiFi module 190. Those skilled in the art will appreciate that the configuration of the communication terminal shown in fig. 1 does not constitute a limitation of the communication terminal, and that the communication terminal provided in the embodiments of the present application may include more or less components than those shown, or may combine some components, or may be arranged in different components.
The following describes each component of the communication terminal 100 in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 110 sends the downlink data of the base station to the processor 130 for processing after receiving the downlink data; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuitry 110 may also communicate with networks and other communication terminals via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the communication terminal 100 can connect to an Access Point (AP) through a WiFi module 190, thereby implementing Access to a data network. The WiFi module 190 may be used for receiving and transmitting data during communication.
The communication terminal 100 may be physically connected to other communication terminals through the communication interface 180. In some embodiments, the communication interface 180 is connected to the communication interface of the other communication terminal through a cable, so as to realize data transmission between the communication terminal 100 and the other communication terminal.
In the embodiment of the present application, the communication terminal 100 is capable of implementing a communication service and sending information to other contacts, so that the communication terminal 100 needs to have a data transmission function, that is, the communication terminal 100 needs to include a communication module inside. Although fig. 1 shows communication modules such as the RF circuit 110, the WiFi module 190, and the communication interface 180, it is understood that at least one of the above components or other communication modules (such as a bluetooth module) for implementing communication exist in the communication terminal 100 for data transmission.
For example, when the communication terminal 100 is a mobile phone, the communication terminal 100 may include the RF circuit 110 and may further include the WiFi module 190; when the communication terminal 100 is a computer, the communication terminal 100 may include the communication interface 180 and may further include the WiFi module 190; when the communication terminal 100 is a tablet computer, the communication terminal 100 may include the WiFi module.
The memory 140 may be used to store software programs and modules. The processor 130 executes various functional applications and data processing of the communication terminal 100 by executing the software programs and modules stored in the memory 140, and after the processor 130 executes the program codes in the memory 140, part or all of the processes in fig. 3 of the embodiments of the present disclosure can be implemented.
In some embodiments, the memory 140 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the communication terminal, etc.
Further, the memory 140 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 150 may be used to receive numeric or character information input by a user and to generate key signal inputs related to user settings and function control of the communication terminal 100.
In some embodiments, the input unit 150 may include a touch panel 151 and other input communication terminals 152.
The touch panel 151, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 151 (for example, an operation performed by the user on or near the touch panel 151 using any suitable object or accessory such as a finger, a stylus, etc.), and drive a corresponding connection device according to a preset program. In some embodiments, the touch panel 151 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 130, and can receive and execute commands sent by the processor 130. In addition, the touch panel 151 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
In some embodiments, the other input communication terminals 152 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 160 may be used to display information input by a user or information provided to a user and various menus of the communication terminal 100. The display unit 160 is a display system of the communication terminal 100, and is used for presenting an interface to implement human-computer interaction.
Further, the touch panel 151 may cover the display panel 161, and when the touch panel 151 detects a touch operation on or near the touch panel, the touch panel transmits the touch operation to the processor 130 to determine the type of the touch event, and then the processor 130 provides a corresponding visual output on the display panel 161 according to the type of the touch event.
Although the touch panel 151 and the display panel 161 are shown in fig. 1 as two separate components to implement the input and output functions of the communication terminal 100, in some embodiments, the touch panel 151 and the display panel 161 may be integrated to implement the input and output functions of the communication terminal 100.
The processor 130 is a control center of the communication terminal 100, connects various components using various interfaces and lines, and performs various functions of the communication terminal 100 and processes data by running or executing software programs and/or modules stored in the memory 140 and calling data stored in the memory 140, thereby implementing various services based on the communication terminal.
In some embodiments, the processor 130 may include one or more processors. In some embodiments, the processor 130 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, application programs, and the like, and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 130.
The camera 170 is configured to implement a shooting function of the communication terminal 100, and shoot pictures or videos. The camera 170 may also be used to implement a scanning function of the communication terminal 100, and scan a scanned object (two-dimensional code/barcode).
The communication terminal 100 further comprises a power supply 120, such as a battery, for powering the various components. In some embodiments, the power supply 120 may be logically connected to the processor 130 through a power management system, so as to manage charging, discharging, and power consumption functions through the power management system.
Although not shown, the communication terminal 100 may further include at least one sensor, an audio circuit, and the like, which are not described in detail herein.
Based on the terminal architecture shown in fig. 1, an embodiment of the present invention provides a communication terminal, including:
a touch unit configured to receive a touch operation of a user, which may correspond to the touch panel 151, based on implementing the same function;
a first communication unit, which may correspond to the communication interface 180, configured to communicate with a first server for providing a web browsing service;
a second communication unit corresponding to the communication interface 180 with the first communication unit, configured to communicate with a second server for previously storing web page information of a dynamic web page;
a display unit corresponding to the display unit 160;
a control unit corresponding to a processor in the communication terminal and configured to, in response to the touch unit receiving a touch operation of a user on a key displayed in a display interface of the communication terminal for triggering collection of web page content, control the first communication unit to acquire a page identifier of a web page from the first server, and when the web page is determined to be a dynamic web page, control the second communication unit to send a request message for acquiring web page information to the second server, the request message including the page identifier and receive web page information returned from the second server, the web page information being determined by the second server based on a pre-stored correspondence between the page identifier and the web page information and a page identifier included in the request message, and add the page identifier to a pre-created collection list, establish and store a correspondence between the page identifier and the received web page information, for connecting the network to the communication terminal, And when the touch control unit receives a touch control operation of a user on a target page identifier in the favorite list, the touch control unit controls the display unit to display target webpage information corresponding to the target page identifier in the display interface, wherein the target page identifier is any page identifier in the favorite list.
Wherein the page identification comprises one or more of the following: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
In a possible embodiment, the control unit is further configured to:
when the webpage is determined to be the static webpage, the first communication unit is controlled to acquire the page information of the webpage from the first server, the page identifier is added into a pre-created collection list, and the corresponding relation between the page identifier and the acquired page information is established and stored.
In a possible embodiment, the control unit is further configured to:
the method comprises the steps that after a touch unit receives a touch operation of a user on a key displayed in a display interface and used for triggering collection of webpage content, a first communication unit is controlled to send a request message for obtaining a webpage address of a webpage to a first server after the first communication unit obtains the webpage identifier of the webpage from the first server, if the webpage address returned by the first server is received within a preset time length, the webpage is determined to be a static webpage, and if the webpage address returned by the first server is not received within the preset time length, the webpage is determined to be a dynamic webpage.
As shown in fig. 2, an embodiment of the present invention provides a server 200 interconnected with a communication terminal, including:
a communication unit 210 configured to receive a request message sent by a communication terminal and used for acquiring webpage information, wherein the request message includes a webpage identifier;
the processing unit 220 is configured to determine, based on a correspondence between a pre-stored page identifier and web page information, web page information corresponding to the page identifier;
a control unit 230 configured to control the communication unit 210 to transmit the determined web page information to the communication terminal.
In one possible implementation, the processing unit 220 establishes the correspondence between the pre-stored page identifier and the web page information in the following manner:
periodically traversing the pre-configured websites to acquire webpage information corresponding to each website;
analyzing the webpage information to obtain a webpage identifier of the webpage aiming at each webpage information, and establishing and storing a corresponding relation between the webpage identifier and the webpage information;
the page identification includes one or more of: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
Based on the same inventive concept, an embodiment of the present invention provides a method for controlling a communication terminal, as shown in fig. 3, which may include the following steps:
step 301, when the communication terminal is connected to a first server and a web page is displayed in a display interface, acquiring a page identifier of the web page from the first server in response to a touch operation of a user on a key displayed in the display interface and used for triggering the collection of the content of the web page.
The first server is configured to receive a web browsing request sent by the communication terminal, and send web data to the communication terminal, where the web data displays web information in a display interface of the communication terminal.
Step 302, if the web page is determined to be a dynamic web page, sending a request message for acquiring web page information to the second server, where the request message includes a page identifier.
It should be noted that the second server is configured to traverse a preconfigured web address, obtain a page identifier and page information of a web page corresponding to the web address, establish a corresponding relationship between the page information and the page identifier, and return the page information corresponding to the page identifier when receiving a request message containing the page identifier sent by the communication terminal. In practical applications, the first server and the second server may be the same server or different servers, which is not limited in the embodiment of the present invention.
In specific implementation, whether the webpage is a dynamic webpage or a static webpage is determined, and judgment can be performed according to whether the webpage address of the webpage can be acquired or not. Specifically, after the page identifier of the web page is obtained in step 101, a request message for obtaining a web page address of the web page may be sent to the first server, if the web page address returned by the first server is received within the preset time period, the web page is determined to be a static web page, and if the web page address returned by the first server is not received within the preset time period, the web page is determined to be a dynamic web page. The preset time period may be set according to an actual empirical value, for example, 2 seconds.
Certainly, in other embodiments of the present invention, in order to avoid that the web address returned by the first server is not received due to network congestion, when the web address returned by the first server is not received within the preset time period, the request message for acquiring the web address of the web page may be repeatedly sent to the first server, and when the web address returned by the first server is not received in all times of retries, the web page is determined to be a dynamic web page.
Step 303, receiving the web page information returned by the second server, where the web page information is determined by the second server based on the pre-stored correspondence between the page identifier and the web page information and the page identifier included in the request message.
Step 304, adding the page identifier into a pre-created collection list, establishing and storing a corresponding relationship between the page identifier and the received webpage information, and displaying the target webpage information corresponding to the target page identifier in a display interface of the communication terminal when the communication terminal is not connected with a network and receives a touch operation of a user on the target page identifier in the collection list, wherein the target page identifier is any page identifier in the collection list.
In specific implementation, when the communication terminal is not connected with a network and receives a touch operation of a user on a target page identifier in a favorite list, target webpage information corresponding to the target page identifier is searched in a corresponding relation between the stored page identifier and the received webpage information, and then the target webpage information corresponding to the target page identifier is displayed in a display interface of the communication terminal.
It should be noted that, the communication terminal is not connected to the network, that is, the communication terminal is in the "offline" mode, which may include two cases, that the communication terminal is not connected to the communication network (for example, the communication terminal is in the flight mode or the communication terminal is in the non-service area) and the communication terminal is not connected to the data network, and that the communication terminal is in the "online" mode when the corresponding communication terminal is connected to the data network.
Of course, in the embodiment of the present invention, after the corresponding relationship between the page identifier and the received web page information is established and stored, not only the target web page information corresponding to the target page identifier can be displayed in the display interface of the communication terminal in the "offline" mode and when the touch operation of the user on the target page identifier in the favorite list is received, but also the target web page information corresponding to the target page identifier can be displayed in the display interface of the communication terminal when the communication terminal is in the "online" mode and the touch operation of the user on the target page identifier in the favorite list is received, which is not limited in the embodiment of the present invention.
By the scheme, the communication terminal can also acquire the webpage information of the dynamic webpage by sending the request message containing the page identifier to the second server aiming at the dynamic webpage, and establish and store the corresponding relation between the page identifier of the dynamic webpage and the webpage information, so that when a subsequent user initiates a continuous reading request based on the page identifier, the webpage information corresponding to the page identifier is searched and displayed to the user, and later reading aiming at the dynamic webpage is realized.
In addition, by the scheme, the operation of acquiring the webpage information is performed in the second server aiming at the dynamic webpage, and the communication terminal can acquire the webpage information of the dynamic webpage by sending the request according to the page identifier of the dynamic webpage, so that the requirement on a communication terminal CPU is reduced, and the cost of the communication terminal is reduced.
Wherein the page identification comprises one or more of the following: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
In one possible embodiment, the method further comprises: if the webpage is determined to be the static webpage, acquiring the page information of the webpage from the first server, adding the page identifier into a pre-created collection list, and establishing and storing a corresponding relation between the page identifier and the acquired page information.
Based on the same inventive concept, an embodiment of the present invention further provides a method for controlling a server interconnected with a communication terminal, as shown in fig. 4, which may include the following steps:
step 401, receiving a request message sent by a communication terminal for acquiring webpage information, where the request message includes a webpage identifier.
Step 402, determining webpage information corresponding to the page identifier based on the corresponding relationship between the page identifier and the webpage information stored in advance.
And step 403, sending the determined webpage information to the communication terminal.
According to the scheme, the server stores the corresponding relation between the page identifications of the multiple webpages and the webpage information in advance, when a request message for acquiring the webpage information sent by the communication terminal is received, the webpage information corresponding to the page identification contained in the request message is determined based on the corresponding relation between the page identifications stored in advance and the webpage information, and the determined webpage information is sent to the communication terminal, so that the communication terminal can acquire the webpage information of the dynamic webpage, later reading of the dynamic webpage is achieved in the communication terminal, and the requirement of a user for later reading of the dynamic webpage is met.
In one possible implementation, the correspondence between the pre-stored page identifier and the web page information is established in the following manner: periodically traversing the pre-configured websites to acquire webpage information corresponding to each website; and analyzing the webpage information to obtain a webpage identifier of the webpage aiming at each webpage information, and establishing and storing a corresponding relation between the webpage identifier and the webpage information.
Wherein the page identification comprises one or more of the following: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
In specific implementation, when the communication terminal responds to a key operation which is displayed in the display interface and used for triggering the collected webpage content, the page identifier of the webpage is obtained, and then when the webpage is judged to be the dynamic webpage, a request message for obtaining the webpage information is sent to the server.
The method comprises the steps that when a server determines that a later reading switch in any terminal communicated with the server is started, a timing task is started, a preset website is traversed periodically, webpage information corresponding to each website is obtained, webpage information is analyzed according to each webpage information to obtain a webpage identifier of each webpage, and the corresponding relation between the webpage identifier and the webpage information is established and stored. After receiving the request information containing the page identification, determining the webpage information corresponding to the page identification contained in the request information, and sending the determined webpage information to the communication terminal.
When the communication terminal receives the webpage information returned by the server, the page identification is added into the pre-created collection list, and the corresponding relation between the page identification and the received webpage information is established and stored, so that when a subsequent user initiates a continuous reading request based on the page identification, the webpage information corresponding to the page identification is searched and displayed to the user, and later reading is realized.
It should be noted that, in the embodiment of the present invention, the server and the communication terminal both need to establish and store the corresponding relationship between the page identifier and the web page information, and for the server and the communication terminal, the standards for acquiring the page identifier are the same, in other words, for the same web page, the page identifiers acquired by the server and the communication terminal are the same.
The following describes in detail a process of implementing a reading-later implementation scheme provided by an embodiment of the present invention, with reference to the accompanying drawings and a specific embodiment, taking an interaction process among a server, a communication terminal, and a user as an example.
As shown in fig. 5, a user 50 accesses a web page a through a communication terminal 51, the communication terminal 51 sends an access request to a server 52 to request web page data of the web page a, the server 52 returns the web page data corresponding to the requested website to the communication terminal 51, the communication terminal 51 presents the web page content of the web page a to the user 50 based on the received web page data and presents a "collection" key for triggering collection of the web page content, and the specific communication terminal 51 presents schematic diagrams of the web page data and the "collection" key, as shown in fig. 6.
The user 50 triggers a collection key in the display interface shown in fig. 6 of the communication terminal 51, the communication terminal 51 obtains a page identifier of the web page content, and sends a request for obtaining the website of the web page a to the server 52, if the server 52 returns the website of the web page a within the preset time period, the communication terminal 51 determines that the web page a is a static web page, and if the server 52 does not return the website of the web page a within the preset time period, the communication terminal 51 determines that the web page a is a dynamic web page.
For the case that the web page a is a static web page, the communication terminal 51 directly obtains the page information of the web page a, adds the page identifier to a pre-created collection list, and establishes and stores a corresponding relationship between the page identifier and the obtained page information.
In the case where the web page a is a dynamic web page, the communication terminal 51 transmits a request message for acquiring web page information to the server 53, where the request message includes a page identifier of the web page a. After the server 53 performs periodic traversal on the preconfigured web addresses, the web page information corresponding to each web address and the page identifier obtained by analyzing each web address are obtained, and the correspondence between the web page information and the page identifier of all the preconfigured web addresses is established and stored in the database. After receiving the request message sent by the communication terminal 51, the server 53 returns the web page information corresponding to the page identifier included in the request message. After receiving the web page information returned by the server 53, the communication terminal 51 adds the page identifier to a pre-created collection list, establishes a corresponding relationship between the page identifier of the collected website and the received web page information, and stores the corresponding relationship in a local database, so that when a subsequent user initiates a continuous reading request based on the page identifier, the web page information corresponding to the page identifier is searched and displayed to the user.
As shown in fig. 7, for the favorite list established by the communication terminal 51, after the user 50 clicks the target page identifier in the favorite list, since the communication terminal 51 has stored all the page identifiers and the corresponding relations with the page information in the favorite list, when the communication terminal 51 is not connected to the network, the page identifier and the corresponding relation with the page information stored in the local database are retrieved, and the target page information corresponding to the target page identifier shown in fig. 6 is displayed to the user 50, so that the user 50 can read later.
The following describes a method for controlling a communication terminal and a method for controlling a server according to an embodiment of the present invention in detail with reference to fig. 5, 6, 7 and embodiments.
First embodiment, a communication terminal collects webpage content in response to touch operation of a key of a user collecting the webpage content
As shown in fig. 8, the method for controlling a communication terminal according to this embodiment may include the following steps:
step 801, a user browses a webpage on line through a communication terminal, and performs touch operation on a key displayed in a display interface and used for triggering collected webpage content.
Step 802, the communication terminal obtains the page identifier of the current webpage and judges whether the website of the current webpage can be obtained, if yes, step 806 is executed, otherwise, step 803 is executed.
In specific implementation, if the communication terminal can directly acquire the website of the current webpage, the current webpage is indicated as a static webpage, otherwise, if the communication terminal cannot directly acquire the website of the current webpage, the current webpage is indicated as a dynamic webpage.
Step 803, the communication terminal sends a request message to the server, where the request message includes a page identifier of the web page.
Wherein the page identification comprises one or more of the following: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
Step 804, the communication terminal determines whether web page information returned by the server is received, if yes, step 807 is executed, otherwise, step 805 is executed.
Step 805, if the communication terminal determines that the web page information returned by the server is not received, it is determined that the web page information of the current web page cannot be acquired, and the web page content collection fails.
It should be noted that, when the communication terminal determines that the web page information returned by the server is not received, the determination may be performed based on that the web page information returned by the server is not received within a preset time period (for example, 5 seconds), or may be performed based on that the request message sent to the server repeatedly for multiple times (for example, 5 times) is not received, or may be performed based on that a response message sent by the server for representing that the web page information is not queried is received, which is not limited in the embodiment of the present invention.
In step 806, the communication terminal obtains the web page information of the current web page.
In step 807, after the communication terminal obtains the web page information of the current web page, a mapping relationship between the page identifier and the web page information is established.
Step 808, the communication terminal stores the mapping relationship between the page identifier and the web page information in a local database, and adds the page identifier to a pre-established collection list.
Second, the server establishes the corresponding relation between the page identification and the web page information, and responds to the request of the communication terminal
As shown in fig. 9, the method for controlling a server according to this embodiment may include the following steps:
in step 901, the server determines that any terminal in communication with the server starts a read-later function.
Step 902, the server starts a timing task and periodically traverses the pre-configured website.
Step 903, the server obtains and analyzes the web page information corresponding to the website, and determines the page identifier of each piece of web page information.
In step 904, the server establishes a mapping relationship between the page identifier and the web page information.
Step 905, the server stores the mapping relationship between the page identifier and the web page information in a server database.
Step 906, the server receives a request message for requesting web page information sent by the communication terminal, wherein the request message includes a page identifier.
In step 907, the server queries the local database, and determines whether the local database includes the web page information corresponding to the page identifier included in the request message, if so, step 708 is executed, otherwise, step 709 is executed.
Step 908, the server returns the web page information corresponding to the page identifier contained in the queried request message to the communication terminal.
In step 909, the server returns a response message for characterizing the information that is not queried about the web page to the communication terminal.
Third embodiment, user initiates read-later
As shown in fig. 10, when the user initiates a read-later operation, the control method of the communication terminal may include the steps of:
step 1001, a user opens a favorite list in the communication terminal and performs touch operation on any target page identifier.
In step 1002, the communication terminal determines target web page information corresponding to the target web page identifier by querying a local database, that is, by querying a corresponding relationship between the web page identifier and the web page information stored in the local database.
And 1003, the communication terminal acquires the target webpage information and displays the target webpage information to the user through the display interface so that the user can read the target webpage information.
An embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes a program code, and when the program code runs on a computing communication terminal, the program code is configured to enable the computing communication terminal to execute the steps of the method for implementing the embodiment of the present invention as described above in the later reading of the embodiment of the present invention.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or communications terminal.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A communication terminal, comprising:
the touch control unit is configured to receive touch control operation of a user;
a first communication unit configured to communicate with a first server for providing a web browsing service;
a second communication unit configured to communicate with a second server for previously storing web page information of the dynamic web page;
a display unit; and a control unit configured to, in response to the touch unit receiving a touch operation of a user on a key displayed in a display interface of the communication terminal for triggering collection of web page content, control the first communication unit to acquire a page identifier of the web page from the first server, and when the web page is determined to be a dynamic web page, control the second communication unit to send a request message for acquiring web page information to the second server, the request message including the page identifier and receive web page information returned from the second server, the web page information being determined by the second server based on a pre-stored correspondence between the page identifier and the web page information and a page identifier included in the request message, and add the page identifier to a pre-created collection list, and establish and store a correspondence between the page identifier and the received web page information, the display unit is used for controlling the display unit to display target webpage information corresponding to a target page identifier in a display interface when the communication terminal is not connected with a network and the touch control unit receives a touch control operation of a user on the target page identifier in the favorite list, wherein the target page identifier is any page identifier in the favorite list.
2. The communication terminal of claim 1, wherein the page identification comprises one or more of: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
3. The communication terminal of claim 1, wherein the control unit is further configured to:
and when the webpage is determined to be a static webpage, controlling the first communication unit to acquire the page information of the webpage from the first server, adding the page identifier into a pre-created collection list, and establishing and storing a corresponding relation between the page identifier and the acquired page information.
4. The communication terminal according to any of claims 1-3, wherein the control unit is further configured to:
and in response to the touch control unit receiving a touch control operation of a user on a key displayed in the display interface and used for triggering the collection of the webpage content, controlling the first communication unit to send a request message for obtaining a webpage address of the webpage to the first server after the first communication unit obtains the webpage identifier of the webpage from the first server, determining that the webpage is a static webpage if the webpage address returned by the first server is received within a preset time period, and determining that the webpage is a dynamic webpage if the webpage address returned by the first server is not received within the preset time period.
5. A server interconnected with a communication terminal, the server comprising:
the communication unit is configured to receive a request message which is sent by a communication terminal and used for acquiring webpage information, wherein the request message comprises a webpage identifier;
the processing unit is configured to determine webpage information corresponding to the page identifier based on a corresponding relation between the page identifier and the webpage information which is stored in advance;
and the control unit is configured to control the communication unit to send the determined webpage information to the communication terminal.
6. The server according to claim 5, wherein the processing unit establishes the correspondence between the pre-stored page identifier and the web page information by:
periodically traversing the pre-configured websites to acquire webpage information corresponding to each website;
analyzing the webpage information to obtain a webpage identifier of the webpage aiming at each webpage information, and establishing and storing a corresponding relation between the webpage identifier and the webpage information;
the page identification includes one or more of: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
7. A control method of a communication terminal, the control method comprising:
when the communication terminal is connected with a first server and a webpage is displayed in a display interface, responding to touch operation of a user on a key displayed in the display interface and used for triggering the collection of webpage content, and acquiring a page identifier of the webpage from the first server;
if the webpage is determined to be a dynamic webpage, sending a request message for acquiring webpage information to a second server, wherein the request message comprises the webpage identifier;
receiving webpage information returned by the second server, wherein the webpage information is determined by the second server based on the corresponding relation between the pre-stored webpage identifier and the webpage information and the webpage identifier contained in the request message;
and adding the page identifier into a pre-created collection list, establishing and storing a corresponding relation between the page identifier and the received webpage information, and displaying target webpage information corresponding to the target page identifier in a display interface of the communication terminal when the communication terminal is not connected with a network and receives a touch operation of a user on the target page identifier in the collection list, wherein the target page identifier is any page identifier in the collection list.
8. The method of claim 7, wherein the method further comprises:
and if the webpage is determined to be a static webpage, acquiring the page information of the webpage from the first server, adding the page identifier into a pre-created collection list, and establishing and storing a corresponding relation between the page identifier and the acquired page information.
9. A control method of a server interconnected with a communication terminal, the control method comprising:
receiving a request message which is sent by a communication terminal and used for acquiring webpage information, wherein the request message comprises the webpage identifier;
determining webpage information corresponding to the page identification based on a corresponding relation between the page identification and the webpage information which are stored in advance;
and sending the determined webpage information to the communication terminal.
10. The method of claim 9, wherein the correspondence between the pre-stored page identifier and the web page information is established as follows:
periodically traversing the pre-configured websites to acquire webpage information corresponding to each website;
analyzing the webpage information to obtain a webpage identifier of the webpage aiming at each webpage information, and establishing and storing a corresponding relation between the webpage identifier and the webpage information;
the page identification includes one or more of: the method comprises the steps of obtaining the application name of an application program to which a page belongs, the title of webpage display content, the abstract of the webpage display content and one or more content segments of the webpage display content.
CN201911095776.5A 2019-11-11 2019-11-11 Communication terminal, server interconnected with communication terminal and control method Pending CN110909271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911095776.5A CN110909271A (en) 2019-11-11 2019-11-11 Communication terminal, server interconnected with communication terminal and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911095776.5A CN110909271A (en) 2019-11-11 2019-11-11 Communication terminal, server interconnected with communication terminal and control method

Publications (1)

Publication Number Publication Date
CN110909271A true CN110909271A (en) 2020-03-24

Family

ID=69816642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911095776.5A Pending CN110909271A (en) 2019-11-11 2019-11-11 Communication terminal, server interconnected with communication terminal and control method

Country Status (1)

Country Link
CN (1) CN110909271A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080295018A1 (en) * 2007-05-24 2008-11-27 Nokia Corporation Apparatus, method and computer program product providing an adaptive forward button for a browser application
CN102915363A (en) * 2012-10-18 2013-02-06 北京奇虎科技有限公司 Website storing method and system
CN102929985A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Method and system for displaying collected webpage
CN103678321A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Webpage element determination method and device and user behavior route determination method and device
CN103685514A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method for storing page in webpage favorite and browser
WO2015055125A1 (en) * 2013-10-18 2015-04-23 腾讯科技(深圳)有限公司 Webpage information processing method and device
CN108881396A (en) * 2018-05-24 2018-11-23 平安普惠企业管理有限公司 Loading method, device, equipment and the computer storage medium of network data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080295018A1 (en) * 2007-05-24 2008-11-27 Nokia Corporation Apparatus, method and computer program product providing an adaptive forward button for a browser application
CN103678321A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Webpage element determination method and device and user behavior route determination method and device
CN102915363A (en) * 2012-10-18 2013-02-06 北京奇虎科技有限公司 Website storing method and system
CN102929985A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Method and system for displaying collected webpage
WO2015055125A1 (en) * 2013-10-18 2015-04-23 腾讯科技(深圳)有限公司 Webpage information processing method and device
CN103685514A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method for storing page in webpage favorite and browser
CN108881396A (en) * 2018-05-24 2018-11-23 平安普惠企业管理有限公司 Loading method, device, equipment and the computer storage medium of network data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘强;郭景峰;: "基于用户访问路径分析的页面推荐模型", no. 01 *
易连双等: "《Dreamwearver cs5 网页设计与制作技能基础教程》", 易连双等, pages: 2 - 3 *

Similar Documents

Publication Publication Date Title
US11449955B2 (en) Information processing method and apparatus
CN104978267B (en) webpage test method, terminal and server
CN110020293B (en) Multimedia data display method, device and storage medium
CN108184143B (en) Method and device for acquiring resources
CN109948090B (en) Webpage loading method and device
CN111143543A (en) Object recommendation method, device, equipment and medium
CN110837398A (en) Method and terminal for displaying card of quick application
CN111597542A (en) Verification information sharing method and device, electronic equipment and storage medium
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
CN107992615B (en) Website recommendation method, server and terminal
CN112579264B (en) Application program jumping method, terminal and computer storage medium
CN112749074B (en) Test case recommending method and device
WO2014146450A1 (en) Method, device and system for data searching
CN111316618B (en) Network page storage method and terminal
CN110555155A (en) article information recommendation method, device and storage medium
CN106339402B (en) Method, device and system for pushing recommended content
CN110532231B (en) File query method, file query device and terminal equipment
CN106034065B (en) Information display method and device
CN110213597B (en) Method and device for entering live broadcast room through browser
CN108804434B (en) Message query method, server and terminal equipment
CN112925878A (en) Data processing method and device
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN107798008B (en) Content pushing system, method and device
CN110909271A (en) Communication terminal, server interconnected with communication terminal and control method
CN111274463B (en) Information display method, device and storage medium based on IM contact person grouping setting

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