CN108132959A - A kind of method and terminal for network access - Google Patents

A kind of method and terminal for network access Download PDF

Info

Publication number
CN108132959A
CN108132959A CN201611099565.5A CN201611099565A CN108132959A CN 108132959 A CN108132959 A CN 108132959A CN 201611099565 A CN201611099565 A CN 201611099565A CN 108132959 A CN108132959 A CN 108132959A
Authority
CN
China
Prior art keywords
terminal
network page
interactive content
network
user
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
CN201611099565.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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201611099565.5A priority Critical patent/CN108132959A/en
Publication of CN108132959A publication Critical patent/CN108132959A/en
Pending legal-status Critical Current

Links

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

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

The present invention relates to internet arenas, disclose a kind of method and terminal for network access, with solve in the prior art access network it is less efficient the technical issues of.This method includes:During network is accessed by first terminal, currently accessed Webpage is determined;It obtains when last time closing the Webpage, user is in interaction content caused by the Webpage;The interaction content is showed in the Webpage.The technique effect for improving network access efficiency is reached.

Description

Method and terminal for network access
Technical Field
The present invention relates to the field of internet, and in particular, to a method and a terminal for network access.
Background
With the continuous development of science and technology, electronic technology has also gained rapid development, and the variety of electronic products is also more and more, and people also enjoy various conveniences brought by the development of science and technology. People can enjoy comfortable life brought along with the development of science and technology through various client devices. For example, client devices such as notebook computers, desktop computers, smart phones, and tablet computers have become an important part of people's lives.
In general, terminals have a network access function, and access to a network can be realized through the network access function, for example: the prior art has the technical problems that after a network page is accessed through a terminal, if the network page is closed, data in front of the network page is lost, and the next time a user accesses the network, the data needs to be input again, so that the efficiency of accessing the network is low.
Disclosure of Invention
The invention provides a method and a terminal for network access, which aim to solve the technical problem of low network access efficiency in the prior art.
In a first aspect, an embodiment of the present invention provides a method for network access, including:
determining a currently accessed network page in the process of accessing a network through a first terminal;
obtaining interactive content generated by a user on the network page when the network page is closed last time;
and displaying the interactive content on the network page.
With reference to the first aspect, in a first optional embodiment, the interactive content includes: content that the user has not yet submitted.
With reference to the first aspect, in a second optional embodiment, the obtaining the interactive content generated on the web page by the user when the web page was last closed includes:
acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the first terminal last time; or,
and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the first terminal.
With reference to the second optional embodiment of the first aspect, in a third optional embodiment, in the process of obtaining the interactive content generated by the user on the web page when the web page is closed in the process of accessing the web page last time through the first terminal, the method further includes:
accessing the web page through the first terminal;
and when the operation of closing the network page is detected, recording the interactive content generated by the user on the network page.
With reference to the second optional embodiment of the first aspect, in a fourth optional embodiment, the obtaining interactive content generated by the user on the web page when the web page is closed in a process of accessing the web page through the second terminal last time includes:
initiating an information acquisition request to a server;
and receiving the interactive content sent by the server based on the information acquisition request, wherein the interactive content is generated after the user accesses the network page through the second terminal.
With reference to the fourth optional embodiment of the first aspect, in a fifth optional embodiment, the initiating an information acquisition request to a server includes:
initiating the information acquisition request carrying the account information of the user to a server so that the server returns the interactive content associated with the account information to the first terminal; or,
and initiating the information acquisition request carrying a data sharing identifier to a server so that the server returns the interactive content associated with the data sharing identifier to the first terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the first terminal.
With reference to the first aspect or any one of the first to fifth alternative embodiments of the first aspect, in a sixth alternative embodiment, the method further includes:
and when the operation of accessing the network page is detected, restoring the state of the network page to the state of closing the network page last time.
With reference to the sixth optional embodiment of the first aspect, in a seventh optional embodiment, the restoring the state of the network page to the state of the last time the network page was closed includes:
determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time;
and restoring the network page to a network page state through the source code information and the attribute information.
With reference to the sixth optional embodiment of the first aspect, in an eighth optional embodiment, the state includes: the operation state generated by the user in the operation area of the network page last time.
In a second aspect, an embodiment of the present invention provides a terminal, including:
the determining module is used for determining the currently accessed network page in the process of accessing the network through the terminal;
the obtaining module is used for obtaining interactive contents generated by a user on the network page when the network page is closed last time;
and the display module is used for displaying the interactive content on the network page.
With reference to the second aspect, in a first optional embodiment, the interactive content includes: content that the user has not yet submitted.
With reference to the second aspect, in a second optional embodiment, the obtaining module is configured to:
acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the terminal last time; or,
and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the terminal.
With reference to the second optional embodiment of the second aspect, in a third optional embodiment, the terminal further includes:
the access module is used for accessing the network page through the terminal;
and the recording module is used for recording the interactive content generated by the user on the network page when the operation of closing the network page is detected.
With reference to the second optional embodiment of the second aspect, in a fourth optional embodiment, the obtaining module includes:
the initiating unit is used for initiating an information acquisition request to the server;
a receiving unit, configured to receive the interactive content sent by the server based on the information acquisition request, where the interactive content is generated after the user accesses the web page through the second terminal.
With reference to the fourth optional embodiment of the second aspect, in a fifth optional embodiment, the initiating unit is configured to:
initiating the information acquisition request carrying the account information of the user to a server so that the server returns the interactive content associated with the account information to the terminal; or,
and initiating the information acquisition request carrying a data sharing identifier to a server so as to enable the server to return the interactive content associated with the data sharing identifier to the terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the terminal.
With reference to the second aspect or any one of the first to fifth optional embodiments of the second aspect, in a sixth optional embodiment, the terminal further includes:
and the recovery module is used for recovering the state of the network page to the state of closing the network page last time when the operation of accessing the network page is detected.
With reference to the sixth optional embodiment of the second aspect, in a seventh optional embodiment, the recovery module includes:
the determining unit is used for determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time;
and the recovery unit is used for recovering the network page into a network page state through the source code information and the attribute information.
In combination with the sixth alternative embodiment of the second aspect, in an eighth alternative embodiment, the status includes: the operation state generated by the user in the operation area of the network page last time.
In a third aspect, an embodiment of the present invention provides a terminal, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for:
determining a currently accessed network page in the process of accessing a network through the terminal;
obtaining interactive content generated by a user on the network page when the network page is closed last time;
and displaying the interactive content on the network page.
With reference to the third aspect, in a first optional embodiment, the interactive content includes: content that the user has not yet submitted.
In combination with the third aspect, in a second alternative embodiment, the terminal is further configured to execute the one or more programs by the one or more processors including instructions for:
acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the terminal last time; or,
and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the terminal.
In combination with the second optional embodiment of the third aspect, in a third optional embodiment, the terminal is further configured to execute the one or more programs by the one or more processors including instructions for:
accessing the web page through the terminal;
and when the operation of closing the network page is detected, recording the interactive content generated by the user on the network page.
In combination with the second optional embodiment of the third aspect, in a fourth optional embodiment, the terminal is further configured to execute the one or more programs by the one or more processors including instructions for:
initiating an information acquisition request to a server;
and receiving the interactive content sent by the server based on the information acquisition request, wherein the interactive content is generated after the user accesses the network page through the second terminal.
In combination with the fourth optional embodiment of the third aspect, in a fifth optional embodiment, the terminal is further configured to execute the one or more programs by the one or more processors including instructions for:
initiating the information acquisition request carrying the account information of the user to a server so that the server returns the interactive content associated with the account information to the terminal; or,
and initiating the information acquisition request carrying a data sharing identifier to a server so as to enable the server to return the interactive content associated with the data sharing identifier to the terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the terminal.
With reference to the third aspect or any one of the first to fifth alternative embodiments of the third aspect, in a sixth alternative embodiment, the terminal is further configured to execute, by the one or more processors, the one or more programs including instructions for:
and when the operation of accessing the network page is detected, restoring the state of the network page to the state of closing the network page last time.
In combination with the sixth optional embodiment of the third aspect, in a seventh optional embodiment, the terminal is further configured to execute the one or more programs by the one or more processors including instructions for:
determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time;
and restoring the network page to a network page state through the source code information and the attribute information.
With reference to the sixth alternative embodiment of the third aspect, in an eighth alternative embodiment, the state includes: the operation state generated by the user in the operation area of the network page last time.
The invention has the following beneficial effects:
in the embodiment of the invention, in the process of accessing the network through the first terminal, the currently accessed network page can be determined, and the interactive content generated by the user on the network page when the network page is closed last time is obtained; finally, the interactive content is displayed on the network page, that is, when the network page is opened again, the interactive content generated by the last user can be directly recovered without manual input again by the user, so that the technical effect of improving the network access efficiency is achieved.
Drawings
Fig. 1 is a flow chart of a method for network access according to a first aspect of the embodiments of the present invention;
fig. 2 is a block diagram of a terminal according to a second aspect of the embodiment of the present invention;
fig. 3 is a structural diagram of a terminal implementing the method for network access in an embodiment of the present invention.
Detailed Description
The invention provides a method and a terminal for network access, which aim to solve the technical problem of low network access efficiency in the prior art.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
in the process of accessing a network through a first terminal, determining a currently accessed network page, and obtaining interactive content generated by a user on the network page when the network page is closed last time; finally, the interactive content is displayed on the network page, that is, when the network page is opened again, the interactive content generated by the last user can be directly recovered without manual input again by the user, so that the technical effect of improving the network access efficiency is achieved.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
In a first aspect, an embodiment of the present invention provides a method for network access, please refer to fig. 1, including:
step S101: determining a currently accessed network page in the process of accessing a network through a first terminal;
step S102: obtaining interactive content generated by a user on the network page when the network page is closed last time;
step S103: and displaying the interactive content on the network page.
For example, the scheme may be applied to a first terminal with a network access function, where the first terminal is, for example: mobile phones, tablet computers, notebook computers, PCs (Personal computers), and the like.
In step S101, when accessing a network through a first terminal, the network may be accessed through various APPs, for example, if a user of the first terminal may access a web page through a browser, the web page is a web page accessed through the browser; for another example, the user of the first terminal may play a game through the game APP, in which case the web page may be a game interface accessed by the user, such as: a game login interface, a game clearance interface, and the like; for another example, the user of the first terminal may play music through the music APP, and the web page may be a page of the music APP, for example: a music lookup interface, a music play interface, etc. Of course, in the specific implementation process, the web page may also be another page, and the embodiment of the present invention is not illustrated in detail and is not limited.
In step S102, the network page may be closed by closing a tab of the network page, or may be closed by closing an application that opens the network page, which is not limited in the embodiments of the present invention.
In step S102, the interactive content is content generated by the user in the process of accessing the web page, which may be content that has not been submitted by the user in the process of accessing the web page, which may be registration information, form information, article information, blog information, and the like that have not been submitted by the user.
For example, user a may wish to register an account number at a website, receive a phone call from a friend during registration of registration information, and play at about the current time, and may save the registration information in order to subsequently continue to register based on the filled-in content, so that the subsequent user a may be provided with the filled-in but not yet submitted registration content by the first terminal while continuing to access the webpage, and thus user a does not need to re-fill the website once.
For another example, the user B logs in the browser through the account information, and when the work needs to learn a new technology through a web page and record a note through a blog on a work computer, the user B is ready to go home to continue learning after the next work, so that the user B saves the note recorded through the blog, and then the note can be passed through when the user records a note through the blog again, without the need of inputting again by the user.
For another example, if the user C writes a review article for a certain novel on a novel reading website, but the user C thinks that the review article still needs to be modified, but the user C does not have to modify the review article at the current time, the review article may be saved when the review page corresponding to the review article is closed, so that the review article may be provided for the user C next time without the user C inputting again.
In the implementation process, the first terminal may obtain the interactive content determined based on multiple ways, and two of the interactive content are listed below for description, and of course, in the implementation process, the interactive content is not limited to the following two cases.
First, the obtaining of the interactive content generated on the web page by the user in the last time the web page was closed includes: and obtaining interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the first terminal last time.
For example, when a web page is accessed through a first terminal, and then the web page is closed, the interactive contents generated by the user through the web page are recorded, and the interactive contents are provided to the terminal when the web page is accessed through the same terminal (for example, the first terminal) next time.
In this case, the interactive contents may be obtained by: accessing the web page through the first terminal; and when the operation of closing the network page is detected, recording the interactive content generated by the user on the network page.
For example, suppose that the user D of the first terminal last accessed the blog through a browser:www.blog.aaa.comthe blog, i.e., the web page, and user D entered the following blog content at the blog:
"blog, only transliteration, with english name Blogger, is a hybrid word of Web Log. Its formal name is weblog; and a website for posting new articles irregularly, which is usually managed by an individual, such as a clan box or a clan box. Articles on blogs are usually based on post time "
But does not click the submit button, and the user D closes the blog because of going out, in this case, the blog content generated by the user through the blog can be recorded and stored locally as the interactive content in the first terminal; or send it to a server. The page identifier of the web page may be stored in association with the interactive content, for example: the interactive content may be stored in a structured manner, in an object-serialized manner, and so on. The page identifier of the web page is, for example: network link information, unique coding information, etc. for a network page.
After detecting that the user D accesses the network page again through the first terminal, searching and obtaining interactive content associated with the network page from interactive contents of all network pages locally pre-stored in the first terminal through the page identifier of the network page; or, the page identifier of the network page is sent to the server, and the server obtains the interactive content of the network page based on the page identifier and returns the interactive content to the first terminal.
Secondly, the obtaining of the interactive content generated on the web page by the user in the last time the web page was closed includes: and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the first terminal.
For example, when the second terminal accesses the web page and then records the interactive content generated by the user through the web page when the web page is closed, the interactive content can be provided to other terminals (for example, the first terminal) accessing the web page, and the interactive content can be recovered on the first terminal.
In the implementation, the first terminal may obtain the interactive content generated based on the second terminal in various ways, and two of them are listed below for description, and of course, in the implementation, the following two cases are not limited.
The first way of obtaining the interactive content generated by the second terminal is as follows: initiating an information acquisition request to a server; and receiving the interactive content sent by the server based on the information acquisition request, wherein the interactive content is generated after the user accesses the network page through the second terminal.
In the specific implementation process, after a user of any terminal accesses the network page through the corresponding terminal, when the network page is closed, the interactive content generated by the user can be recorded and sent to the server, and then the subsequent server can send the interactive content to the corresponding terminal in response to the information acquisition request of the terminal with the acquisition permission. The first terminal may obtain the interactive content from the server based on a plurality of ways, and two of them are listed below for description, of course, in the specific implementation process, the following two cases are not limited.
(1) The method for the first terminal to initiate the information acquisition request to the server includes: and initiating the information acquisition request carrying the account information of the user to a server so as to enable the server to return the interactive content associated with the account information to the first terminal.
For example, a user may have multiple terminals, such as: the mobile phone, the tablet computer and the like, after the user accesses the network page through the second terminal (for example, the mobile phone), the network page is closed, in this case, the interactive content on the mobile phone can be recorded and sent to the server, and the server stores the account information of the user, the identification information of the network page and the corresponding relationship of the interactive content.
Then, the user accesses the network page through the first terminal (for example, a tablet computer), after detecting the operation of the user accessing the network page, the tablet computer sends an information acquisition request carrying the identification information of the network page and the account information of the user to the server, and after receiving the information acquisition request, the server searches for and obtains corresponding interactive content based on the identification information of the network page and the account information of the user and sends the interactive content to the first terminal.
Based on the scheme, the technical effect that the interactive content of the user accessing the network page can be shared among a plurality of terminals of the same user is achieved.
(2) The method for the first terminal to initiate the information acquisition request to the server includes: and initiating the information acquisition request carrying a data sharing identifier to a server so that the server returns the interactive content associated with the data sharing identifier to the first terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the first terminal.
For example, after the user accesses the web page through the second terminal and records the interactive content when the web page is closed, a data sharing identifier may be generated based on the interactive content, where the data sharing identifier is used to uniquely identify the interactive content, and may be a unique identification code or a storage address of the interactive content returned by the server, and then the user of the second terminal may share the data sharing identifier with the first terminal, for example: the data sharing identification is generated into a visual graphic code (such as a one-dimensional code, a two-dimensional code and the like), and the user of the first terminal obtains the visual graphic code in a code scanning mode and analyzes the data sharing identification from the visual graphic code.
After detecting that the user accesses the network page, the first terminal may send an information acquisition request carrying the data sharing identifier to the server, and after receiving the information acquisition request, the server obtains the data sharing identifier from the information acquisition request, searches for and obtains corresponding interactive content based on the data sharing identifier, and sends the interactive content to the first terminal.
Based on the scheme, the technical effect of acquiring the interactive content generated by other users on the network page is achieved.
The second way of obtaining the interactive content generated by the second terminal is as follows: and sending an information acquisition request to the second terminal so that the second terminal sends the interactive content to the first terminal after receiving the information acquisition request.
For example, when accessing a network page, a first terminal may initiate an information acquisition request to a second terminal through a short-range wireless transmission method, and after receiving the information acquisition request sent by the first terminal, the second terminal returns interactive content generated on the network page to the first terminal, where the short-range wireless transmission method is, for example: bluetooth, WIFI, infrared, etc. Based on the scheme, the technical effect of realizing the sharing of the interactive contents among the terminals without a network is achieved.
This scheme is often applied between multiple terminals of the same user, for example: the user E registers in a certain website through the mobile phone, but the page is too small to be seen clearly in the middle of registration, the website can be closed, and meanwhile, the mobile phone records the registration information input by the user E in the website; and then the user E starts the tablet computer, opens the browser and accesses the website, the user E sends an information acquisition request containing the page identifier of the network page to surrounding terminals in a short-distance wireless transmission mode, and the mobile phone sends the interactive content corresponding to the page identifier locally stored in the network page to the tablet computer if determining the interactive content corresponding to the page identifier locally stored in the network page, so that the user E does not need to input the registration information again on the tablet computer.
In step S103, the interactive content may be displayed in any area of the web page, and the user of the first terminal inputs the interactive content into the corresponding area through a selection operation or a copy and paste operation; as an optional embodiment, the presenting the interactive content on the web page includes: and displaying the interactive content in the area where the interactive content is located when the network page is closed last time. For example: if the interactive content is the registration information, each item in the interactive content is respectively displayed in each area in the registry; if the interactive content is blog information, the interactive content is displayed in an input box of the blog information, and the like, so as to further improve the network access efficiency.
As an alternative embodiment, the method further comprises: and when the operation of accessing the network page is detected, restoring the state of the network page to the state of closing the network page last time.
For example, the operation of accessing the web page is, for example: an operation of clicking an enter key after inputting a web link of a web page, an operation of clicking a jump link of the web page, and the like.
The restoring the web page to the state when the web page was last closed may be, for example: restoring the operation state generated by the user in the operation area of the network page last time, such as: restore to the last read article position, restore to the last viewed video data, restore to the last music playing position, and so on.
By the scheme, the network page can be restored to the last browsing state of the user without repeated operation of the user, so that the network access efficiency is further improved.
As an optional embodiment, the restoring the state of the network page to the state of the last time the network page was closed includes: determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time; and restoring the network page to the state of the network page when the network page is closed last time through the source code information and the attribute information.
For example, the attribute information of the source code information includes, for example: position information of a scroll bar, video playback position information, reading position information of an article, and the like. The original content of the network page can be displayed through the source code information, and then the original content is adjusted to the state of the network page visited by the user last time through the attribute information.
In a second aspect, based on the same inventive concept, an embodiment of the present invention provides a terminal, please refer to fig. 2, including:
a determining module 20, configured to determine a currently accessed network page in a process of accessing a network through the terminal;
an obtaining module 21, configured to obtain interactive content generated in the web page by a user when the web page is closed last time;
and the display module 22 is configured to display the interactive content on the web page.
Optionally, the interactive content includes: content that the user has not yet submitted.
Optionally, the obtaining module 21 is configured to:
acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the terminal last time; or,
and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the terminal.
Optionally, the terminal further includes:
the access module is used for accessing the network page through the terminal;
and the recording module is used for recording the interactive content generated by the user on the network page when the operation of closing the network page is detected.
Optionally, the obtaining module 21 includes:
the initiating unit is used for initiating an information acquisition request to the server;
a receiving unit, configured to receive the interactive content sent by the server based on the information acquisition request, where the interactive content is generated after the user accesses the web page through the second terminal.
Optionally, the initiating unit is configured to:
initiating the information acquisition request carrying the account information of the user to a server so that the server returns the interactive content associated with the account information to the terminal; or,
and initiating the information acquisition request carrying a data sharing identifier to a server so as to enable the server to return the interactive content associated with the data sharing identifier to the terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the terminal.
Optionally, the terminal further includes:
and the recovery module is used for recovering the state of the network page to the state of closing the network page last time when the operation of accessing the network page is detected.
Optionally, the recovery module includes:
the determining unit is used for determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time;
and the recovery unit is used for recovering the network page into a network page state through the source code information and the attribute information.
Optionally, the status includes: the operation state generated by the user in the operation area of the network page last time.
Since the terminal introduced in the second aspect of the present invention (i.e., the first terminal introduced in the first aspect of the embodiment of the present invention) is a terminal used for implementing the method for network access introduced in the first aspect of the embodiment of the present invention, based on the method for network access introduced in the first aspect of the embodiment of the present invention, a person skilled in the art can know a specific structure and a modification of the terminal introduced in the second aspect of the embodiment of the present invention, and therefore no further description is given here, and all terminals used for implementing the method for network access introduced in the first aspect of the embodiment of the present invention belong to the scope to be protected by the present invention.
In a third aspect, based on the same inventive concept, an embodiment of the present invention provides a terminal, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, where the one or more programs include instructions for:
determining a currently accessed network page in the process of accessing a network through the terminal;
obtaining interactive content generated by a user on the network page when the network page is closed last time;
and displaying the interactive content on the network page.
Optionally, the interactive content includes: content that the user has not yet submitted.
Optionally, the terminal is also configured to execute the one or more programs by the one or more processors including instructions for:
acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the terminal last time; or,
and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the terminal.
Optionally, the terminal is also configured to execute the one or more programs by the one or more processors including instructions for:
accessing the web page through the terminal;
and when the operation of closing the network page is detected, recording the interactive content generated by the user on the network page.
Optionally, the terminal is also configured to execute the one or more programs by the one or more processors including instructions for:
initiating an information acquisition request to a server;
and receiving the interactive content sent by the server based on the information acquisition request, wherein the interactive content is generated after the user accesses the network page through the second terminal.
Optionally, the terminal is also configured to execute the one or more programs by the one or more processors including instructions for:
initiating the information acquisition request carrying the account information of the user to a server so that the server returns the interactive content associated with the account information to the terminal; or,
and initiating the information acquisition request carrying a data sharing identifier to a server so as to enable the server to return the interactive content associated with the data sharing identifier to the terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the terminal.
Optionally, the terminal is also configured to execute the one or more programs by the one or more processors including instructions for:
and when the operation of accessing the network page is detected, restoring the state of the network page to the state of closing the network page last time.
Optionally, the terminal is also configured to execute the one or more programs by the one or more processors including instructions for:
determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time;
and restoring the network page to a network page state through the source code information and the attribute information.
Optionally, the status includes: the operation state generated by the user in the operation area of the network page last time.
Since the terminal introduced in the third aspect of the present invention (i.e., the first terminal introduced in the first aspect of the embodiment of the present invention) is a terminal used for implementing the method for network access introduced in the first aspect of the embodiment of the present invention, based on the method for network access introduced in the first aspect of the embodiment of the present invention, a person skilled in the art can know a specific structure and a modification of the terminal introduced in the third aspect of the embodiment of the present invention, and therefore no further description is given here, and all terminals used for implementing the method for network access introduced in the first aspect of the embodiment of the present invention belong to the scope to be protected by the present invention.
Fig. 3 is a block diagram of a terminal 800 illustrating a method for network access according to an example embodiment. The terminal, that is, the first terminal described in the first aspect of the embodiment of the present invention, for example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, terminal 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 800.
The multimedia component 808 includes a screen providing an output interface between the terminal 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for terminal 800. For example, sensor assembly 814 can detect the open/closed state of device 800, the relative positioning of components, such as a display and keypad of terminal 800, sensor assembly 814 can also detect a change in position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, orientation or acceleration/deceleration of terminal 800, and a change in temperature of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal 800 and other devices in a wired or wireless manner. The terminal 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the terminal 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of a terminal, enable the terminal to perform a method for network access, the method comprising:
determining a currently accessed network page in the process of accessing a network through a first terminal;
obtaining interactive content generated by a user on the network page when the network page is closed last time;
and displaying the interactive content on the network page.
One or more embodiments of the invention have at least the following beneficial effects:
in the embodiment of the invention, in the process of accessing the network through the first terminal, the currently accessed network page can be determined, and the interactive content generated by the user on the network page when the network page is closed last time is obtained; finally, the interactive content is displayed on the network page, that is, when the network page is opened again, the interactive content generated by the last user can be directly recovered without manual input again by the user, so that the technical effect of improving the network access efficiency is achieved.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, 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, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
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 (11)

1. A method for network access, comprising:
determining a currently accessed network page in the process of accessing a network through a first terminal;
obtaining interactive content generated by a user on the network page when the network page is closed last time;
and displaying the interactive content on the network page.
2. The method of claim 1, wherein the interactive content comprises: content that the user has not yet submitted.
3. The method of claim 1, wherein obtaining interactive content generated on the web page by a user the last time the web page was closed comprises:
acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through the first terminal last time; or,
and acquiring interactive content generated by the user on the network page when the network page is closed in the process of accessing the network page through a second terminal last time, wherein the second terminal is different from the first terminal.
4. The method of claim 3, wherein in the obtaining of the interactive content generated at the web page by the user when closing the web page in the last access of the web page through the first terminal, the method further comprises:
accessing the web page through the first terminal;
and when the operation of closing the network page is detected, recording the interactive content generated by the user on the network page.
5. The method of claim 3, wherein the obtaining of the interactive content generated on the web page by the user when the web page is closed in the process of accessing the web page through the second terminal last time comprises:
initiating an information acquisition request to a server;
and receiving the interactive content sent by the server based on the information acquisition request, wherein the interactive content is generated after the user accesses the network page through the second terminal.
6. The method of claim 5, wherein the initiating an information acquisition request to a server comprises:
initiating the information acquisition request carrying the account information of the user to a server so that the server returns the interactive content associated with the account information to the first terminal; or,
and initiating the information acquisition request carrying a data sharing identifier to a server so that the server returns the interactive content associated with the data sharing identifier to the first terminal, wherein the data sharing identifier is generated by the second terminal obtaining the interactive content and is provided for the first terminal.
7. The method of any of claims 1-6, further comprising:
and when the operation of accessing the network page is detected, restoring the state of the network page to the state of closing the network page last time.
8. The method of claim 7, wherein the restoring the state of the network page to the state of the last time the network page was closed comprises:
determining webpage source code information of the network page and attribute information of the source code information when the network page is closed last time;
and restoring the network page to a network page state through the source code information and the attribute information.
9. The method of claim 7, wherein the state comprises: the operation state generated by the user in the operation area of the network page last time.
10. A terminal, comprising:
the determining module is used for determining the currently accessed network page in the process of accessing the network through the terminal;
the obtaining module is used for obtaining interactive contents generated by a user on the network page when the network page is closed last time;
and the display module is used for displaying the interactive content on the network page.
11. A terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by one or more processors to perform the one or more programs including instructions for:
determining a currently accessed network page in the process of accessing a network through the terminal;
obtaining interactive content generated by a user on the network page when the network page is closed last time;
and displaying the interactive content on the network page.
CN201611099565.5A 2016-12-01 2016-12-01 A kind of method and terminal for network access Pending CN108132959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611099565.5A CN108132959A (en) 2016-12-01 2016-12-01 A kind of method and terminal for network access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611099565.5A CN108132959A (en) 2016-12-01 2016-12-01 A kind of method and terminal for network access

Publications (1)

Publication Number Publication Date
CN108132959A true CN108132959A (en) 2018-06-08

Family

ID=62387773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611099565.5A Pending CN108132959A (en) 2016-12-01 2016-12-01 A kind of method and terminal for network access

Country Status (1)

Country Link
CN (1) CN108132959A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457535A (en) * 2010-10-22 2012-05-16 江苏真云计算科技有限公司 Offline data processing method for mobile Internet
CN102508700A (en) * 2011-09-30 2012-06-20 广州市动景计算机科技有限公司 Method and device for quickly recovering webpage of mobile terminal
CN102510384A (en) * 2011-11-23 2012-06-20 深圳市无线开锋科技有限公司 Personal data sharing interactive processing method and server
CN102789454A (en) * 2011-05-16 2012-11-21 腾讯科技(北京)有限公司 Immediate storage method and system for content in input box of browser webpage
CN103034724A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for carrying out input data recovery in browser
CN105898544A (en) * 2016-05-23 2016-08-24 乐视控股(北京)有限公司 Video playing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457535A (en) * 2010-10-22 2012-05-16 江苏真云计算科技有限公司 Offline data processing method for mobile Internet
CN102789454A (en) * 2011-05-16 2012-11-21 腾讯科技(北京)有限公司 Immediate storage method and system for content in input box of browser webpage
CN102508700A (en) * 2011-09-30 2012-06-20 广州市动景计算机科技有限公司 Method and device for quickly recovering webpage of mobile terminal
CN102510384A (en) * 2011-11-23 2012-06-20 深圳市无线开锋科技有限公司 Personal data sharing interactive processing method and server
CN103034724A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for carrying out input data recovery in browser
CN105898544A (en) * 2016-05-23 2016-08-24 乐视控股(北京)有限公司 Video playing method and device

Similar Documents

Publication Publication Date Title
RU2640729C2 (en) Method and device for presentation of ticket information
US20160179899A1 (en) Method of providing content and electronic apparatus performing the method
CN105095427A (en) Search recommendation method and device
CN106886540B (en) Data searching method and device for data searching
KR20160059455A (en) Method and device for identifying encoding of web page
CN106897937A (en) A kind of method and apparatus for showing social sharing information
TW201743195A (en) Display method, device, equipment and system for dynamic lists
RU2734780C1 (en) Method of presenting information, device and storage medium for information therefor
CN113986574A (en) Comment content generation method and device, electronic equipment and storage medium
CN104951445B (en) Webpage processing method and device
CN113901241B (en) Page display method and device, electronic equipment and storage medium
CN108268507B (en) Browser-based processing method and device and electronic equipment
CN106776990B (en) Information processing method and device and electronic equipment
CN110633391A (en) Information searching method and device
CN108241438B (en) Input method, input device and input device
CN107784037B (en) Information processing method and device, and device for information processing
CN106886541B (en) Data searching method and device for data searching
CN110213062B (en) Method and device for processing message
CN106502639A (en) A kind of Refresh Data display device and method
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN104537111B (en) The loading method and device of Web page picture
CN113918661A (en) Knowledge graph generation method and device and electronic equipment
CN104111980B (en) Extracting method, device and the terminal of web page contents
CN103942313B (en) Method and device for displaying web page and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180608