WO2015067142A1 - 网页显示方法及装置 - Google Patents

网页显示方法及装置 Download PDF

Info

Publication number
WO2015067142A1
WO2015067142A1 PCT/CN2014/089988 CN2014089988W WO2015067142A1 WO 2015067142 A1 WO2015067142 A1 WO 2015067142A1 CN 2014089988 W CN2014089988 W CN 2014089988W WO 2015067142 A1 WO2015067142 A1 WO 2015067142A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
text content
input text
currently accessed
saved
Prior art date
Application number
PCT/CN2014/089988
Other languages
English (en)
French (fr)
Inventor
林晓丹
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2015067142A1 publication Critical patent/WO2015067142A1/zh

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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a webpage display method and apparatus.
  • the existing mobile browser can provide the function of saving the account password, the corresponding saving solution has not been provided for other input contents on the webpage.
  • the embodiment of the invention provides a webpage display method and device to ensure that data input by a user in a webpage is not lost, and user operations are reduced.
  • the embodiment of the invention provides a webpage display method, including:
  • the embodiment of the invention further provides a webpage display device, comprising:
  • a URL obtaining module configured to obtain a web address of a webpage currently accessed by the client
  • a determining module configured to determine whether a web address of the currently accessed webpage is stored in a historical access record, and an input text content of the currently accessed webpage has been saved
  • a content obtaining module configured to: when the web address of the currently accessed webpage is stored in the historical access record, and the input text content of the currently accessed webpage has been saved, obtained from the saved input text content The last input text content;
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium having stored thereon computer executable instructions.
  • executable instructions When executed in the computer, the following steps are performed:
  • the browser webpage display method and device are provided by the embodiment of the present invention.
  • the terminal can save the content input by the user in real time, and display the last user input when the user visits the same webpage next time. The content, so as to ensure that the data is not lost, and to avoid repeated input by the user, reducing user operations.
  • FIG. 1 is a schematic flowchart of a webpage display method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an example of a webpage in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another webpage display method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart diagram of still another webpage display method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a webpage display device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a judging module in an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another webpage display apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another webpage display device according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a webpage display method, which can be applied to terminal devices such as computers, mobile phones, and tablet computers. As shown in FIG. 1, the method may include steps S101 to S104.
  • step S101 the web address of the webpage currently accessed by the client is obtained.
  • step S102 it is determined whether the web address of the currently accessed webpage is stored in the historical access record, and whether the input text of the currently accessed webpage has been saved; if the webpage of the currently accessed webpage is stored in the historical access record, and the current access is performed If the input text of the web page has been saved, the process proceeds to step S103; otherwise, the process proceeds to step S105.
  • the method provided in this embodiment can be implemented on a mobile terminal such as a mobile phone or a tablet computer through a browser.
  • the browser displays a webpage corresponding to the webpage according to the user's access request to the user.
  • the user can input the corresponding form content (ie, the input content in this embodiment) to obtain more access information.
  • the content of the above form may be general text information, and may also be an account number and password provided to the user in the prior art webpage.
  • FIG. 2 it is a ticket reservation search webpage, in which the user can input corresponding keywords in each text box to query the ticket information of the corresponding condition.
  • the browser In advance for the webpage accessed by the user, the content input by the user in the webpage is automatically saved locally in the terminal, and when the user enters the same page next time, the input content can be filled into the form of the webpage to ensure the information input by the user in the webpage. Not lost, to avoid repeated user input, reducing user operations.
  • the browser when the user accesses a certain webpage, the browser first obtains the web address of the current webpage according to the user's access request, and determines whether the webpage of the currently accessed webpage is stored in the historical access record, and the current access. Whether the input text content of the web page has been saved.
  • the URL of the webpage including the input text content saved in the historical access record is queried; then, the webpage of the currently accessed webpage is matched with the webpage of the webpage including the input text content stored in the queried historical access record, and Determine whether the URL of the currently visited webpage can match the saved webpage; if it matches, determine that the webpage of the currently visited webpage is stored in the historical access record, and the input text content of the currently accessed webpage has been saved.
  • step S103 the last input text content is obtained from the saved input text content.
  • step S104 the obtained last input text content is filled into the corresponding position in the currently accessed web page and the content-filled web page is displayed.
  • the final input text content is obtained, which may be as follows:
  • the browser only needs to obtain the last saved text input content when acquiring the saved input content.
  • the browser will input the user.
  • the text information is saved locally on the terminal.
  • the browser directly performs the URL matching.
  • the webpage content including the corresponding option information filled in the form shown in FIG. 2 is displayed.
  • step S105 the current web page is displayed.
  • the browser may decide how to display the content of the currently accessed webpage according to the webpage of the webpage accessed in advance and the input text content of the webpage;
  • the webpage URL is stored in the historical access record, and the input text content of the currently accessed webpage has been saved, then the last input text content is obtained from the saved input text content, and the obtained last input text content is filled into
  • the corresponding position in the webpage displays the webpage after the content is filled, thereby ensuring that the data is not lost, avoiding repeated input by the user, and reducing user operations.
  • the embodiment of the present invention provides another method for displaying a webpage.
  • the method may further include steps S90 to S100.
  • step S90 the text content input in the webpage when the client accesses the webpage is received.
  • step S100 the web address of the webpage and the text content input by the client in the webpage are saved.
  • the difference between the embodiment and the first embodiment is that the browser further includes the browser temporarily saving the text content input by the user in the terminal. Program.
  • the text content can be input in a corresponding position in the webpage according to the form option provided by the webpage.
  • the form options: "departure city”, “arrival city”, “departure date” initial value can be empty, when the user visits the web page, you can fill in the form options according to your needs. Enter the corresponding information, such as “departure city: Beijing”, “arrival city: Guangzhou”, “departure date: 2013-08-25 Sunday”.
  • the browser saves the text information input by the user and the corresponding URL in the terminal.
  • the browser inputs the text content and the corresponding web address according to the saved webpage to decide how to display the content of the webpage currently accessed by the user.
  • the user when the browser saves the text content input by the user, the user may separately save the input text content of the user, and the subsequent browser may obtain the saved input text content.
  • the text content input by the user saved in the webpage before the URL is retrieved, and the input text content last saved by the corresponding URL is extracted from the text content.
  • the browser can also use the latter storage content to overwrite the previous storage content, and the browser only needs to obtain the last saved input text content when obtaining the saved input content.
  • the browser can save the text content input by the user in the terminal in real time, and display the text content input by the user last time when the user accesses the same webpage. Thereby ensuring that data is not lost, and avoiding repeated input by the user, reducing user operations.
  • the embodiment of the present invention provides a webpage display method.
  • the method may further include steps S106 to S107.
  • step S106 new text content input by the client in the currently accessed webpage is received.
  • step S107 the input new text content is displayed, and the new text content is saved corresponding to the web address of the currently accessed web page.
  • the embodiment further includes a modification scheme of the user to access the content of the current webpage.
  • the method provided in this embodiment can be implemented on a device such as a terminal by using a browser.
  • the browser displays the text content input by the user when the user visits the webpage in the current webpage according to the matching policy, if the user displays the current webpage.
  • the text input content is not satisfactory, and the input text content can be modified and updated, the browser will display the new text content input by the user, and the new text content is also saved in the terminal corresponding to the webpage URL.
  • the browser can match the decision on how to display the content of the webpage currently accessed by the user according to the saved webpage input content and the corresponding webpage.
  • steps S106 and S107 may also be performed after step S105.
  • the terminal can save the text content input by the user in real time through the browser, and display the text content input by the user when the user visits the same webpage next time, thereby Ensure that data is not lost, and avoid user repeated input, reducing user operations.
  • the text input content of the current webpage can be modified according to the user's needs, thereby satisfying the different needs of the user and bringing convenience to the user operation.
  • the embodiment of the invention provides a webpage display device, which can be applied to a computer, a mobile phone, a tablet
  • the device may include: a website obtaining module 201, a determining module 202, a content obtaining module 203, and a matching display module 204, wherein:
  • the website obtaining module 201 is configured to obtain a web address of a webpage currently accessed by the client;
  • the determining module 202 is configured to determine whether a web address of the currently accessed webpage is stored in the historical access record, and whether the input text content of the currently accessed webpage has been saved;
  • the content obtaining module 203 is configured to: when the web address of the currently accessed webpage is stored in the historical access record, and the input text content of the currently accessed webpage has been saved, from the saved input text content Get the final input text content;
  • the matching display module 204 is configured to fill the acquired last input text content into a corresponding position in the currently accessed webpage and display the content-filled webpage.
  • the browser When the user accesses the webpage through the browser, the browser displays the webpage corresponding to the webpage according to the user's access request to the user.
  • the user can input the corresponding form content (ie, the input content in this embodiment) to obtain more access information.
  • the content of the above form may be general text information, and may also be an account number and password provided to the user in the prior art webpage.
  • FIG. 2 it is a ticket reservation search webpage, in which the user can input corresponding keywords in each text box to query the ticket information of the corresponding condition.
  • the terminal automatically saves the content input by the user in the webpage locally, and can input the content when the user enters the same page next time.
  • the content is populated into the form of the webpage, ensuring that the information entered by the user in the webpage is not lost, thereby avoiding repeated input by the user and reducing user operations.
  • the page display device when the user accesses a certain webpage, the page display device first obtains the web address of the current webpage according to the user's access request, and determines whether the webpage of the currently accessed webpage is stored in the historical access record, and the current Whether the input text content of the accessed web page has been saved.
  • the URL of the webpage including the input text content saved in the historical access record is queried; then, the webpage of the currently accessed webpage is matched with the webpage of the webpage including the input text content stored in the queried historical access record, and Determine whether the URL of the currently visited webpage can match the saved webpage; if it matches, determine that the webpage of the currently visited webpage is stored in the historical access record, and the input text content of the currently accessed webpage has been saved.
  • the last input text content is obtained from the saved input text content, specifically, the following may be adopted the way:
  • the page display device only needs to obtain the last saved text input content when acquiring the saved input content.
  • the browser will input the user.
  • the text information is saved locally on the terminal.
  • the browser directly performs the URL matching.
  • the webpage content including the corresponding option information filled in the form shown in FIG. 2 is displayed.
  • the webpage corresponding to the webpage is displayed to the user.
  • an embodiment of the present invention provides another page display device, where the determining module 202 can include: a query unit 2021, a matching unit 2022, and a determining unit 2023, where:
  • the query unit 2021 is configured to query a web address of the webpage including the input text content stored in the historical access record;
  • the matching unit 2022 is configured to match a web address of the currently accessed webpage with a webpage of the webpage including the input text content stored in the queried historical access record;
  • a determining unit 2023 configured to determine, when the web address of the currently accessed webpage matches the webpage of the webpage that includes the input text content stored in the historical access record that is queried, to determine the webpage of the currently accessed webpage Stored in the historical access record, and the input text content of the currently accessed web page has been saved.
  • the page display device may decide how to display the content of the currently accessed webpage according to the webpage of the webpage accessed in advance and the input text content of the webpage; if the currently accessed webpage is The URL is stored in the historical access record, and the input text content of the currently accessed webpage has been saved, then the last input text content is obtained from the saved input text content, and the obtained final input text content is filled into the webpage. Corresponding location and displaying the webpage after the content is filled, thereby ensuring that the data is not lost, avoiding repeated input by the user, and reducing user operations.
  • the embodiment of the present invention provides a page display device.
  • the device further includes:
  • the receiving module 219 is configured to receive text content input in the webpage when the user accesses the webpage.
  • the saving module 200 is configured to save the web address of the webpage and the text content input by the user end in the webpage.
  • the embodiment further includes a scheme in which the page display device saves the content input by the user in real time in the terminal.
  • the text content may be input in a corresponding position in the webpage according to the form option provided by the webpage.
  • the form options: "departure city”, “arrival city”, “departure date” initial value can be empty, when the user visits the web page, you can fill in the form options according to your needs. Enter the corresponding information, such as “departure city: Beijing”, “arrival city: Guangzhou”, “departure date: 2013-08-25 Sunday”.
  • the page display device saves the text information input by the user and the corresponding web address locally in the terminal.
  • the browser inputs the text content and the corresponding web address according to the saved webpage to decide how to display the content of the webpage currently accessed by the user.
  • the page display device may save the input text content of the user each time when the text content input by the user is saved, and the subsequent page display device may obtain the user saved by the corresponding URL when acquiring the saved input text content.
  • the page display device can also use the latter storage content to cover the previous storage content. For example, when the page display device obtains the saved input text content, it only needs to obtain the last input text content saved.
  • the page display device can save the text content input by the user in the terminal in real time, and display the text content input by the user the next time the user visits the same webpage. In order to ensure that the data is not lost, and to avoid repeated input by the user, reducing user operations.
  • the embodiment of the present invention further provides another page display device. Based on the embodiment shown in FIG. 7, the method further includes:
  • the update module 205 is configured to receive new text content input by the user end in the currently accessed webpage; display the input new text content, and save the new text content corresponding to the web address of the currently accessed webpage.
  • the embodiment further includes a modification scheme of the user's current access to the webpage content.
  • the page display device displays the text content input when the user accesses the webpage in the current webpage according to the matching policy
  • the input text content may also be
  • the page display device displays the text content updated by the user, and also saves the new text content corresponding to the web address of the webpage in the terminal locality, so that the next time the user visits the webpage again, the page display device can According to the saved webpage input content and the corresponding webpage, the matching decision is made to display the content of the webpage currently accessed by the user.
  • the page display device can save the text content input by the user in the terminal in real time, and display the text content input by the user last time when the user accesses the same webpage. Thereby ensuring that data is not lost, and avoiding repeated input by the user, reducing user operations.
  • the text input content of the current webpage can be modified according to the user's needs, thereby satisfying the different needs of the user and bringing convenience to the user operation.
  • the embodiment of the present invention provides a terminal.
  • FIG. 9 it is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal may be used to implement the webpage display method provided in the foregoing embodiment.
  • the terminal 600 may include a radio frequency (RF) circuit 910, a memory 920 including one or more computer readable storage media, an input unit 930, a display unit 940, A sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980 including one or more processing cores, and a power supply 990 and the like.
  • RF radio frequency
  • the RF circuit 910 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 980. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a low noise amplifier (Low Noise). Amplifier, LNA), duplexer, etc.
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • Code Division Multiple Access Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing by running software programs and modules stored in the memory 920.
  • the memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 900 (such as audio data, phone book, etc.) and the like.
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 920 may also include a memory controller to provide access to memory 920 by processor 980 and input unit 930.
  • the input unit 930 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 930 can include touch-sensitive surface 931 as well as other input devices 932.
  • Touch-sensitive surface 931 also known as a touch display or trackpad, collects touch operations on or near the user (such as a user)
  • any suitable object or accessory such as a finger, stylus, or the like
  • the touch sensitive surface 931 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 980 is provided and can receive commands from the processor 980 and execute them.
  • the touch sensitive surface 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 930 can also include other input devices 932.
  • other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 940 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 900, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 940 can include a display panel 941.
  • the display panel 941 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch-sensitive surface 931 can cover the display panel 941, and when the touch-sensitive surface 931 detects a touch operation thereon or nearby, it is transmitted to the processor 980 to determine the type of the touch event, and then the processor 980 according to the touch event The type provides a corresponding visual output on display panel 941.
  • touch-sensitive surface 931 and display panel 941 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 931 can be integrated with display panel 941 for input. And output function.
  • Terminal 900 can also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may close the display panel 941 when the terminal 900 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal 900 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the terminal 900.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961, and convert it into a sound signal output by the speaker 961.
  • the microphone 962 converts the collected sound signal into an electrical signal, and the audio circuit 960 After receiving, it is converted into audio data, and then processed by the audio data output processor 980, transmitted to the terminal, for example, via the RF circuit 910, or outputted to the memory 920 for further processing.
  • the audio circuit 960 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 900.
  • WiFi is a short-range wireless transmission technology
  • the terminal 900 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides wireless broadband Internet access for users.
  • FIG. 9 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the terminal 900, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 980 is the control center of terminal 900, which connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in memory 920, and recalling data stored in memory 920, The various functions and processing data of the terminal 900 are performed to perform overall monitoring of the mobile phone.
  • the processor 980 may include one or more processing cores; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
  • the terminal 900 also includes a power source 990 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 980 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 990 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 900 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 780 included in the terminal is further configured to:
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a cell phone, a computer, a server, or a network device, etc.
  • the program instructions corresponding to the browsers illustrated in FIG. 5 to FIG. 8 may be stored in a readable storage medium of the terminal and executed by at least one of the processors to implement FIG. 1, FIG. 3 and FIG.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及一种浏览器网页显示方法及页面显示装置,其方法包括:获取用户端当前访问的网页的网址;判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;将获取的最后的输入文本内容填充到当前访问的网页中的对应位置并显示内容填充后的网页。根据本发明实施例所提供的技术方案,终端可以实时保存用户所输入的内容,在用户下次访问同样的网页时,展示上次用户所输入的内容,从而保证数据不丢失,而且避免用户重复输入,减少了用户操作。

Description

网页显示方法及装置
本申请要求于2013年11月11日提交中国专利局、申请号为201310558154.8、发明名称为“浏览器网页显示方法及浏览器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网技术领域,尤其涉及一种网页显示方法及装置。
背景技术
目前,用户在使用手机浏览器浏览网页时,在打开某网页输入内容后,如果不小心关闭了该网页或者浏览器发生故障,用户在重新进入该网页后,又得重新输入网页上的表单等内容,由此给用户带来很大的麻烦。
虽然,现有的手机浏览器可提供保存帐号密码功能,但是,对于网页上的其它输入内容,尚未提供相应的保存解决方案。
发明内容
本发明实施例提供一种网页显示方法及装置,以确保用户在网页中输入的数据不丢失,减少用户操作。
本发明实施例提出一种网页显示方法,包括:
获取客户端当前访问的网页的网址;
判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;
当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
本发明实施例还提出一种网页显示装置,包括:
网址获取模块,用于获取客户端当前访问的网页的网址;
判断模块,用于判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容已被保存;
内容获取模块,用于当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
匹配显示模块,用于将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
本发明实施例还提供了一种非瞬时性的计算机可读存储介质,其上存储有计算机可执行指令,当计算机中运行这些可执行指令时,执行如下步骤:
获取客户端当前访问的网页的网址;
判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容已被保存;
当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
本发明实施例提出的一种浏览器网页显示方法及装置,用户在网页上键入内容后,终端可以实时保存用户所输入的内容,在用户下次访问同样的网页时,展示上次用户所输入的内容,从而保证数据不丢失,而且避免用户重复输入,减少了用户操作。
附图说明
图1是本发明实施例所提供的一种网页显示方法的流程示意图;
图2是本发明实施例中一种网页实例示意图;
图3是本发明实施例所提供的另一种网页显示方法的流程示意图;
图4是本发明实施例所提供的再一种网页显示方法的流程示意图;
图5是本发明实施例所提供的一种网页显示装置的结构示意图;
图6是本发明实施例中判断模块的结构示意图;
图7是本发明实施例所提供的另一种网页显示装置的结构示意图;
图8是本发明实施例所提供的再一种网页显示装置的结构示意图;以及
图9是本发明实施例所提供的一种终端的结构示意图。
为了使本发明的技术方案更加清楚、明了,下面将结合附图作进一步详述。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例提出一种网页显示方法,该方法可应用于电脑、手机、平板电脑等终端设备上。如图1所示,该方法可以包括步骤S101至步骤S104。
在步骤S101中,获取用户端当前访问的网页的网址。
在步骤S102中,判断当前访问的网页的网址是否存储在历史访问记录中,以及当前访问的网页的输入文本是否已被保存;若当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本已被保存,则进入步骤S103;否则,进入步骤S105。
本实施例所提供的方法可以通过浏览器在手机、平板电脑等移动终端上实现。
例如,通常在用户通过浏览器访问网页时,浏览器会根据用户的访问请求打开对应网址的网页显示给用户。在一些网页中,用户可以输入相应的表单内容(即本实施例所称输入内容),以得到更多的访问信息。上述表单内容可以为普遍的文本信息,也可以为现有技术网页中提供给用户输入的帐号和密码等。
如图2所示,其为一种机票预订搜索网页,在该搜索网页中,用户可以在各文本框中输入相应的关键字,以此来查询对应条件的机票信息。
由于现有技术中,针对图2所示的网页,无法实时保存网页中用户输入的文本内容,当用户不小心关闭了该网页或者浏览器发生故障,用户在重新进入该网页后,又得重新输入网页上的表单等内容,由此给用户带来很大的麻烦。
为此,当通过浏览器在终端等设备上实现本实施例所提供方法时,浏览器 预先针对用户访问的网页,会在终端本地自动保存用户在网页中输入的内容,当用户下次进入同样的页面时能够将输入的内容填充至网页的表单中,确保用户在网页中输入的信息不丢失,以避免用户重复输入,减少了用户操作。
在本实施例中,当用户访问某一网页时,浏览器首先根据用户的访问请求,获取该当前网页的网址,并判断该当前访问的网页的网址是否存储在历史访问记录中,以及当前访问的网页的输入文本内容是否已被保存。
在本实施例中,判断当前访问的网页的网址是否存储在历史访问记录中,以及当前访问的网页的输入文本内容是否已被保存时,可以采用以下方式:
首先查询历史访问记录中所保存的包括输入文本内容的网页的网址;然后,将当前访问的网页的网址与查询到的历史访问记录中所存储的包括输入文本内容的网页的网址进行匹配,并判断当前访问的网页的网址是否能匹配到已保存的网址;若能匹配到,则确定当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本内容已被保存。
在步骤S103中,从已保存的输入文本内容中获取最后的输入文本内容。
在步骤S104中,将获取的最后的输入文本内容填充到当前访问的网页中的对应位置并显示内容填充后的网页。
当确定当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本内容已被保存时,获取最后的输入文本内容,具体可以采用以下方式:
获取已保存的当前访问的网页的输入文本内容,并从中提取最后的输入文本内容。当然,若采用后一次存储的输入文本内容覆盖前一次存储的输入文本内容的方式,则浏览器在获取保存的输入内容时,仅需获取上次保存的文本输入内容即可。
如图2所示,若图2所示的网页中表单选项:“出发城市”、“到达城市”、“出发日期”在用户之前访问该网页时已输入过,则浏览器会将用户输入的文本信息保存在终端本地。当用户再次访问该网页时,浏览器会直接进行网址匹配,当匹配成功后,则显示图2所示的包括填充有表单相应选项信息的网页内容。
在步骤S105,显示当前网页。
当当前访问的网页的网址没有存储在历史访问记录中,或者,尽管当前访问的网页的网址存储在历史访问记录中,但并没有当前访问的网页的输入文本内容的保存记录,则可以直接向用户显示该网址对应的网页。
通过本实施例所提供的上述方案,在用户访问网页时,浏览器可以根据预先保存历史访问的网页的网址以及该网页的输入文本内容,来决策如何显示当前访问网页的内容;若当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本内容已被保存,则从已保存的输入文本内容中获取最后的输入文本内容,并将获取的最后的输入文本内容填充到网页中的对应位置并显示内容填充后的网页,由此,保证了数据不丢失,避免用户重复输入,减少了用户操作。
如图3所示,本发明实施例提出另外一种网页显示方法,在上述实施例的基础上,在步骤S101之前,该方法还可以包括步骤S90至步骤S100。
在步骤S90中,接收用户端访问网页时在所述网页中输入的文本内容。
在步骤S100中,保存所述网页的网址及用户端在所述网页中输入的文本内容。
当本实施例所提供的方法通过浏览器在终端等设备上实现时,本实施例与上述第一实施例的区别在于,本实施例还包括浏览器在终端实时保存用户所输入的文本内容的方案。
例如,当用户访问某一网页时,可以根据该网页提供的表单选项,在该网页中对应位置输入文本内容。
如图2所示的网页,其中的表单选项:“出发城市”、“到达城市”、“出发日期”初始值可以为空,当用户访问该网页时,可以根据自己需要在各表单选项中填入相应的信息,比如可以为“出发城市:北京”、“到达城市:广州”、“出发日期:2013-08-25星期日”等。
之后,浏览器会将用户输入的文本信息及对应的网址保存在终端本地。以便后续用户再次访问该网页时,浏览器根据保存的网页输入文本内容和对应的网址,来决策如何显示用户当前访问网页的内容。
在本实施例中,浏览器在保存用户输入的文本内容时,可以对用户每一次的输入文本内容分别保存,后续浏览器在获取保存的输入文本内容时,可以获 取之前对应该网址所保存的用户在网页中输入的文本内容,从中提取对应网址最后保存的输入文本内容。
当然,浏览器也可以采用后一次存储内容覆盖前一次存储内容的方式,则浏览器在获取保存的输入内容时,仅需获取上次保存的输入文本内容即可。
本实施例通过上述方案,用户在任一网页上键入内容后,浏览器可以在终端实时保存用户所输入的文本内容,在用户下次访问同样的网页时,展示上次用户所输入的文本内容,从而保证数据不丢失,而且避免用户重复输入,减少了用户操作。
如图4所示,本发明实施例提出再一种网页显示方法,在上述第二实施例的基础上,在步骤S104之后,该方法还可以包括步骤S106至步骤S107。
在步骤S106中,接收用户端在当前访问的网页中输入的新的文本内容。
在步骤S107中,显示所输入的新的文本内容,并将新的文本内容与所述当前访问的网页的网址对应保存。
本实施例与上述第二实施例的区别在于,本实施例还包括用户对当前访问网页内容的修改方案。
本实施例所提供的方法可以通过浏览器在终端等设备上实现,当浏览器根据匹配策略,将用户之前访问该网页时输入的文本内容显示在当前网页中时,若用户对当前网页上显示的文本输入内容不满意,还可以对该输入文本内容进行修改更新,浏览器会将用户所输入的新的文本内容进行显示,同时还会将该新的文本内容与网页的网址对应保存在终端本地,以便下次用户再访问该网页时,浏览器可以根据保存的网页输入内容和对应的网址,来匹配决策如何显示用户当前访问网页的内容。
需要说明的是,上述步骤S106和步骤S107还可以在步骤S105之后执行。
本实施例通过上述方案,用户在网页上键入内容后,终端可以通过浏览器实时保存用户所输入的文本内容,在用户下次访问同样的网页时,展示上次用户所输入的文本内容,从而保证数据不丢失,而且避免用户重复输入,减少了用户操作。此外,还可以根据用户需要修改更新当前网页的文本输入内容,从而满足了用户的不同需求,为用户操作带来方便。
本发明实施例提出一种网页显示装置,该装置可应用于电脑、手机、平板 电脑等终端设备上,如图1所示,该装置可以包括:网址获取模块201、判断模块202、内容获取模块203及匹配显示模块204,其中:
网址获取模块201,用于获取用户端当前访问的网页的网址;
判断模块202,用于判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;
内容获取模块203,用于当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
匹配显示模块204,用于将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
用户在通过浏览器访问网页时,浏览器会根据用户的访问请求打开对应网址的网页显示给用户。在一些网页中,用户可以输入相应的表单内容(即本实施例所称输入内容),以得到更多的访问信息。上述表单内容可以为普遍的文本信息,也可以为现有技术网页中提供给用户输入的帐号和密码等。
如图2所示,其为一种机票预订搜索网页,在该搜索网页中,用户可以在各文本框中输入相应的关键字,以此来查询对应条件的机票信息。
由于现有技术中,针对例如图2所示的网页,无法实时保存网页中用户输入的文本内容,当用户不小心关闭了该网页或者浏览器发生故障,用户在重新进入该网页后,又得重新输入网页上的表单等内容,由此给用户带来很大的麻烦。
为此,当通过浏览器在终端等设备上实现本实施例所提供的技术方案时,终端会在本地自动保存用户在网页中输入的内容,当用户下次进入同样的页面时能够将输入的内容填充至网页的表单中,确保用户在网页中输入的信息不丢失,以避免用户重复输入,减少了用户操作。
在本实施例中,当用户访问某一网页时,页面显示装置首先根据用户的访问请求,获取该当前网页的网址,并判断该当前访问的网页的网址是否存储在历史访问记录中,以及当前访问的网页的输入文本内容是否已被保存。
在本实施例中,在当前访问的网页的网址是否存储在历史访问记录中,以及当前访问的网页的输入文本内容是否已被保存时,可以采用以下方式:
首先查询历史访问记录中所保存的包括输入文本内容的网页的网址;然后,将当前访问的网页的网址与查询到的历史访问记录中所存储的包括输入文本内容的网页的网址进行匹配,并判断当前访问的网页的网址是否能匹配到已保存的网址;若能匹配到,则确定当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本内容已被保存。
当确定当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本内容已被保存时,从所述已保存的输入文本内容中获取最后的输入文本内容,具体可以采用以下方式:
获取已保存的输入文本内容,并从中提取当前访问的网页的最后的输入文本内容。当然,若采用后一次存储的输入文本内容覆盖前一次存储的输入文本内容的方式,则页面显示装置在获取保存的输入内容时,仅需获取上次保存的文本输入内容即可。
如图2所示,若图2所示的网页中表单选项:“出发城市”、“到达城市”、“出发日期”在用户之前访问该网页时已输入过,则浏览器会将用户输入的文本信息保存在终端本地。当用户再次访问该网页时,浏览器会直接进行网址匹配,当匹配成功后,则显示图2所示的包括填充有表单相应选项信息的网页内容。
当确定当前访问的网页的网址在历史访问记录中未在网页中输入内容时,则向用户显示该网址对应的网页。
如图6所示,本发明实施例提供了另一种页面显示装置,其中,判断模块202可以包括:查询单元2021、匹配单元2022及确定单元2023,其中:
查询单元2021,用于查询历史访问记录中所存储的包括输入文本内容的网页的网址;
匹配单元2022,用于将当前访问的网页的网址与所查询到的所述历史访问记录中所存储的包括输入文本内容的网页的网址进行匹配;
确定单元2023,用于当所述当前访问的网页的网址与所述查询到的所述历史访问记录中所存储的包括输入文本内容的网页的网址相匹配,确定所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存。
本实施例通过上述方案,在用户访问网页时,页面显示装置可以根据预先保存历史访问的网页的网址以及该网页的输入文本内容,来决策如何显示当前访问网页的内容;若当前访问的网页的网址存储在历史访问记录中,且当前访问的网页的输入文本内容已被保存,则从已保存的输入文本内容中获取最后的输入文本内容,并将获取的最后的输入文本内容填充到网页中的对应位置并显示内容填充后的网页,由此,保证了数据不丢失,避免用户重复输入,减少了用户操作。
如图7所示,本发明实施例提供了在一中页面显示装置,在如图6所示装置的基础上,该装置还包括:
接收模块219,用于接收用户端访问网页时在所述网页中输入的文本内容;以及
保存模块200,用于保存所述网页的网址及用户端在所述网页中输入的文本内容。
本实施例与图6所示实施例的区别在于,本实施例还包括页面显示装置在终端实时保存用户所输入的内容的方案。
具体地,当用户访问某一网页时,可以根据该网页提供的表单选项,在该网页中对应位置输入文本内容。
如图2所示的网页,其中的表单选项:“出发城市”、“到达城市”、“出发日期”初始值可以为空,当用户访问该网页时,可以根据自己需要在各表单选项中填入相应的信息,比如可以为“出发城市:北京”、“到达城市:广州”、“出发日期:2013-08-25星期日”等。
之后,页面显示装置会将用户输入的文本信息及对应的网址保存在终端本地。以便后续用户再次访问该网页时,浏览器根据保存的网页输入文本内容和对应的网址,来决策如何显示用户当前访问网页的内容。
其中,页面显示装置在保存用户输入的文本内容时,可以对用户每一次的输入文本内容分别保存,后续页面显示装置在获取保存的输入文本内容时,可以获取之前对应该网址所保存的用户在网页中输入的文本内容,从中提取对应网址最后保存的输入文本内容。
当然,页面显示装置也可以采用后一次存储内容覆盖前一次存储内容的方 式,则页面显示装置在获取保存的输入文本内容时,仅需获取上次保存的输入文本内容即可。
本实施例通过上述方案,用户在任一网页上键入内容后,页面显示装置可以在终端实时保存用户所输入的文本内容,在用户下次访问同样的网页时,展示上次用户所输入的文本内容,从而保证数据不丢失,而且避免用户重复输入,减少了用户操作。
如图8所示,本发明实施例还提供了另一种页面显示装置,在图7所示实施例的基础上,还包括:
更新模块205,用于接收用户端在当前访问的网页中输入的新的文本内容;显示所输入的新的文本内容,并将新的文本内容与所述当前访问的网页的网址对应保存。
本实施例与图7所示实施例的区别在于,本实施例还包括用户对当前访问网页内容的修改方案。
具体地,当页面显示装置根据匹配策略,将用户之前访问该网页时输入的文本内容显示在当前网页中时,若用户对当前网页上显示的文本输入内容不满意,还可以对该输入文本内容进行修改更新,页面显示装置会将用户更新的文本内容进行显示,同时还会将该新的文本内容与网页的网址对应保存在终端本地,以便下次用户再访问该网页时,页面显示装置可以根据保存的网页输入内容和对应的网址,来匹配决策如何显示用户当前访问网页的内容。
本实施例通过上述方案,用户在网页上键入内容后,页面显示装置可以在终端实时保存用户所输入的文本内容,在用户下次访问同样的网页时,展示上次用户所输入的文本内容,从而保证数据不丢失,而且避免用户重复输入,减少了用户操作。此外,还可以根据用户需要修改更新当前网页的文本输入内容,从而满足了用户的不同需求,为用户操作带来方便。
本发明实施例提供了一种终端,请参考图9,其示出了本发明实施例所涉及的终端的结构示意图,该终端可以用于实施上述实施例中提供的网页显示方法。
终端600可以包括射频(Radio Frequency,RF)电路910、包括有一个或一个以上计算机可读存储介质的存储器920、输入单元930、显示单元940、 传感器950、音频电路960、无线保真(Wireless Fidelity,WiFi)模块970、包括有一个或者一个以上处理核心的处理器980、以及电源990等部件。本领域技术人员可以理解,图9中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路910可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器980处理;另外,将涉及上行的数据发送给基站。通常,RF电路910包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(Subscriber Identity Module,SIM)卡、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端900的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器920还可以包括存储器控制器,以提供处理器980和输入单元930对存储器920的访问。
输入单元930可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元930可包括触敏表面931以及其他输入设备932。触敏表面931,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户 使用手指、触笔等任何适合的物体或附件在触敏表面931上或在触敏表面931附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面931。除了触敏表面931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及终端900的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元940可包括显示面板941,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。进一步的,触敏表面931可覆盖显示面板941,当触敏表面931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图9中,触敏表面931与显示面板941是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面931与显示面板941集成而实现输入和输出功能。
终端900还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在终端900移动到耳边时,关闭显示面板941和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端900还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路960、扬声器961,传声器962可提供用户与终端900之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910以发送给比如另一终端,或者将音频数据输出至存储器920以便进一步处理。音频电路960还可能包括耳塞插孔,以提供外设耳机与终端900的通信。
WiFi属于短距离无线传输技术,终端900通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块970,但是可以理解的是,其并不属于终端900的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器980是终端900的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行终端900的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理核心;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。
终端900还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理***与处理器980逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。电源990还可以包括一个或一个以上的直流或交流电源、再充电***、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端900还可以包括摄像头、蓝牙模块等,在此不再赘述。在本发明实施例中,该终端所包括的处理器780还可以用于:
获取用户端当前访问的网页的网址;
判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;
当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。具体地,图5至图8所述的浏览器所对应的程序指令可以存储在终端的可读存储介质中,并被其中的至少一个处理器执行,以实现图1、图3及图4所述的网页显示方法。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (11)

  1. 一种浏览器网页显示方法,其特征在于,包括:
    获取用户端当前访问的网页的网址;
    判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;
    当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
    将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
  2. 根据权利要求1所述的方法,其特征在于,获取用户端当前访问的网页的网址的步骤之前还包括:
    接收用户端访问网页时在所述网页中输入的文本内容;以及
    保存所述网页的网址及用户端在所述网页中输入的文本内容。
  3. 根据权利要求2所述的方法,其特征在于,所述判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容已被保存,包括:
    查询所述历史访问记录中所存储的包括输入文本内容的网页的网址;
    将所述当前访问的网页的网址与所查询到的所述历史访问记录中所存储的包括输入文本内容的网页的网址进行匹配;
    当所述当前访问的网页的网址与所述查询到的所述历史访问记录中所存储的包括输入文本内容的网页的网址相匹配,则确定所述当前访问的网页的网址存储在所述历史访问记录中,以及所述当前访问的网页的输入文本内容已被保存。
  4. 根据权利要求3所述的方法,其特征在于,所述从所述已保存的输入文本内容中获取最后的输入文本内容,包括:
    获取已保存的所述当前访问的网页的输入文本内容;以及
    从所获取的输入文本内容中获取所述最后的输入文本内容。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述将获取的最后的输入文本内容填充到所述当前访问的网页中对应位置并显示内容填充后的网页之后,还包括:
    接收所述用户端在所述当前访问的网页中输入的新的文本内容;以及
    显示所述新的文本内容,并将所述新的文本内容与所述当前访问的网页的网址对应保存。
  6. 一种页面显示装置,其特征在于,包括:
    网址获取模块,用于获取用户端当前访问的网页的网址;
    判断模块,用于判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;
    内容获取模块,用于当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;以及
    匹配显示模块,用于将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位置并显示内容填充后的网页。
  7. 根据权利要求6所述的页面显示装置,其特征在于,还包括:
    接收模块,用于接收用户端访问网页时在所述网页中输入的文本内容;以及
    保存模块,用于保存所述网页的网址及用户端在所述网页中输入的文本内容。
  8. 根据权利要求7所述的页面显示装置,其特征在于,所述判断模块包括:
    查询单元,用于查询所述历史访问记录中所存储的包括输入文本内容的网 页的网址;
    匹配单元,用于将当前访问的网页的网址与所查询到的所述历史访问记录中所存储的包括输入文本内容的网页的网址进行匹配;以及
    确定单元,用于当所述当前访问的网页的网址与所述查询到的所述历史访问记录中所存储的包括输入文本内容的网页的网址相匹配,确定所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存。
  9. 根据权利要求8所述的页面显示装置,其特征在于,所述内容获取模块包括:
    获取单元,用于获取已保存的所述当前访问的网页的输入文本内容;以及
    提取单元,用于从所获取的输入文本内容中获取所述最后的输入文本内容。
  10. 根据权利要求6-9中任一项所述的页面显示装置,其特征在于,还包括:
    更新模块,用于接收所述用户端在所述当前访问的网页中输入的新的文本内容,以及显示所述新的文本内容,并将所述新的文本内容与所述当前访问的网页的网址对应保存。
  11. 一种非瞬时性的计算机可读存储介质,其上存储有计算机可执行指令,当计算机中运行这些可执行指令时,执行如下步骤:
    获取用户端当前访问的网页的网址;
    判断所述当前访问的网页的网址是否存储在历史访问记录中,以及所述当前访问的网页的输入文本内容是否已被保存;
    当所述当前访问的网页的网址存储在所述历史访问记录中,且所述当前访问的网页的输入文本内容已被保存,从所述已保存的输入文本内容中获取最后的输入文本内容;
    将获取的最后的输入文本内容填充到所述当前访问的网页中的对应位 置并显示内容填充后的网页。
PCT/CN2014/089988 2013-11-11 2014-10-31 网页显示方法及装置 WO2015067142A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310558154.8 2013-11-11
CN201310558154.8A CN104636374A (zh) 2013-11-11 2013-11-11 浏览器网页显示方法及浏览器

Publications (1)

Publication Number Publication Date
WO2015067142A1 true WO2015067142A1 (zh) 2015-05-14

Family

ID=53040892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089988 WO2015067142A1 (zh) 2013-11-11 2014-10-31 网页显示方法及装置

Country Status (2)

Country Link
CN (1) CN104636374A (zh)
WO (1) WO2015067142A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110110875A (zh) * 2019-05-15 2019-08-09 常州纺织服装职业技术学院 国土资源测绘业务预约***

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677390A (zh) * 2015-12-28 2016-06-15 国云科技股份有限公司 一种用于大表单的录入与保存方法
CN107526678B (zh) * 2016-06-22 2020-08-25 平安科技(深圳)有限公司 Web应用程序的测试方法和装置
CN114519156A (zh) * 2016-08-15 2022-05-20 创新先进技术有限公司 一种网页展示方法、操作事件记录方法及装置
CN110399579A (zh) * 2018-04-20 2019-11-01 李娜 一种网页访问方法及浏览器
CN112947834A (zh) * 2021-01-27 2021-06-11 维沃移动通信有限公司 信息输入方法、装置及电子设备
CN112818205B (zh) * 2021-01-27 2023-10-31 游艺星际(北京)科技有限公司 页面处理方法、装置、电子设备、存储介质及产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700644A (zh) * 2004-05-22 2005-11-23 乐金电子(中国)研究开发中心有限公司 一种用于网站自动登录的移动通信终端及其方法
CN103036887A (zh) * 2012-12-18 2013-04-10 北京奇虎科技有限公司 实现网站登录的***和方法
CN103152373A (zh) * 2011-12-07 2013-06-12 现代自动车株式会社 在车辆平台中利用近场通信终端的网络登陆***

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239682A1 (en) * 2006-04-06 2007-10-11 Arellanes Paul T System and method for browser context based search disambiguation using a viewed content history
US20080162506A1 (en) * 2007-01-03 2008-07-03 Stephenson Janette W Device and method for world wide web organization
CN101894157A (zh) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 网页呈现方法和装置
CN101930475A (zh) * 2010-09-14 2010-12-29 中兴通讯股份有限公司 网页显示方法及浏览器
CN101963844B (zh) * 2010-09-26 2013-07-03 百度在线网络技术(北京)有限公司 一种表单输入的方法和设备
CN103365889A (zh) * 2012-03-31 2013-10-23 腾讯科技(深圳)有限公司 处理历史记录的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700644A (zh) * 2004-05-22 2005-11-23 乐金电子(中国)研究开发中心有限公司 一种用于网站自动登录的移动通信终端及其方法
CN103152373A (zh) * 2011-12-07 2013-06-12 现代自动车株式会社 在车辆平台中利用近场通信终端的网络登陆***
CN103036887A (zh) * 2012-12-18 2013-04-10 北京奇虎科技有限公司 实现网站登录的***和方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110110875A (zh) * 2019-05-15 2019-08-09 常州纺织服装职业技术学院 国土资源测绘业务预约***

Also Published As

Publication number Publication date
CN104636374A (zh) 2015-05-20

Similar Documents

Publication Publication Date Title
US10831161B2 (en) Method and device for sending communication message
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
WO2015067142A1 (zh) 网页显示方法及装置
US9489469B2 (en) Page display method, apparatus and terminal
WO2014206143A1 (zh) 未读消息数目显示方法、装置和设备
CN105975190B (zh) 一种图形界面的处理方法、装置及***
WO2015043189A1 (zh) 一种显示消息的方法、装置及终端设备
CN105302452B (zh) 一种基于手势交互的操作方法及装置
US10956653B2 (en) Method and apparatus for displaying page and a computer storage medium
CN109284144B (zh) 一种快应用处理方法及移动终端
CN108984066B (zh) 一种应用程序图标显示方法及移动终端
WO2014206138A1 (zh) 一种更新网页数据的方法、装置和终端设备
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
WO2014194688A1 (en) Webpage processing method and terminal device
WO2013185565A1 (zh) 移动终端浏览器弱光源下浏览网页的方法及装置
WO2015000430A1 (zh) 智能选词的方法和装置
EP2876539A1 (en) Method, device and terminal apparatus for responding to a sliding operation
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN104281621A (zh) 网页浏览方法及装置
WO2015003636A1 (zh) 一种页面元素的拦截方法和装置
CN104951215A (zh) 一种页面操作的处理方法和装置
CN106339391B (zh) 一种网页显示方法,及终端设备
US20160283047A1 (en) Login interface displaying method and apparatus
CN108234275B (zh) 一种发布通讯信息的方法和装置
WO2015067206A1 (zh) 一种文件查找的方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14860563

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.10.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14860563

Country of ref document: EP

Kind code of ref document: A1