CN105808785A - Information processing method and terminal equipment - Google Patents

Information processing method and terminal equipment Download PDF

Info

Publication number
CN105808785A
CN105808785A CN201610203842.6A CN201610203842A CN105808785A CN 105808785 A CN105808785 A CN 105808785A CN 201610203842 A CN201610203842 A CN 201610203842A CN 105808785 A CN105808785 A CN 105808785A
Authority
CN
China
Prior art keywords
list
websites
address information
web page
page address
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.)
Granted
Application number
CN201610203842.6A
Other languages
Chinese (zh)
Other versions
CN105808785B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610203842.6A priority Critical patent/CN105808785B/en
Publication of CN105808785A publication Critical patent/CN105808785A/en
Application granted granted Critical
Publication of CN105808785B publication Critical patent/CN105808785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Abstract

The invention discloses an information processing method and terminal equipment.The method includes the steps that the terminal equipment operates a browser application including a first website list, the first website list is composed of N pieces of website address information capable of being preset in the browser application, and N is an integer; connection with a server is established, and a second website list is obtained from the server by means of the connection; the second website list comprises M pieces of website address information, M is an integer, and part of website address information in the second website list and first website list is different at a minimum; the first website list is updated based on the second website list, and the updated first website list is obtained.

Description

A kind of information processing method and terminal unit
Technical field
The present invention relates to the information processing technology, particularly relate to a kind of information processing method and terminal unit.
Background technology
The acquiescence bookmark (i.e. commercialization bookmark) of prior art is generally packaged in browser installation kit, and after only installing, acquiescence bookmark just can be imported to browser by first time startup.It will be apparent that this acquiescence bookmark being packaged in browser installation kit has following defects that 1) acquiescence bookmark renewal difficulty, it is necessary to the configuration file in change installation kit;2) acquiescence bookmark adds user's bookmark to and depends on the installation of browser, as after installing, first time starts and just can import, once after user deletes, if without installation next time to browser, deleted acquiescence bookmark cannot be added.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of information processing method and terminal unit for solving problems of the prior art.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of information processing method, and described method is applied to terminal unit, and described method includes:
Running the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;
Set up with server and be connected, get the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;
Based on described second list of websites, described first list of websites is updated, the first list of websites after being updated.
In such scheme, described based on described second list of websites, described first list of websites is updated, including:
M web page address information in described second list of websites is stored to registration table;
M web page address information in described registration table is resolved, obtains M uniform resource position mark URL;
Based on described M URL, described first list of websites is updated;
After updating described first list of websites, empty described registration table.
In such scheme, described based on described M URL, described first list of websites is updated, including:
URL in described second list of websites is compared with the URL in described first list of websites, it is determined that meet the first pre-conditioned web page address information;Wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;
The described first pre-conditioned web page address information that meets is added into described first list of websites.
In such scheme, described URL in URL in second list of websites and described first list of websites is compared after, described method also includes:
It is determined for compliance with the second pre-conditioned web page address information;Wherein, the URL that the web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites;
Meet the second pre-conditioned web page address information described in utilization the web page address information in described first list of websites is replaced.
In such scheme, before based on described second list of websites described first list of websites being updated, described method also includes:
Detect whether described browser application restarts;
If restarting, then based on described second list of websites, described first list of websites is updated.
The embodiment of the present invention also provides for a kind of terminal unit, and described terminal unit includes running module, acquisition module and more new module;
Described operation module, for running the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;
Described acquisition module, is connected for setting up with server, gets the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;
Described more new module, for described first list of websites being updated based on described second list of websites, the first list of websites after being updated.
In such scheme, described more new module includes memory element, resolution unit, updating block and empties unit;
Described memory element, for storing M web page address information in described second list of websites to registration table;
Described resolution unit, for M web page address information in described registration table is resolved, obtains M uniform resource position mark URL;
Described updating block, for based on described M URL, being updated described first list of websites;
Described empty unit, after being used for updating described first list of websites, empty described registration table.
In such scheme, described updating block includes comparer unit and adds subelement;
Described comparer unit, for comparing the URL in described second list of websites with the URL in described first list of websites, it is determined that meet the first pre-conditioned web page address information;Wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;
Described interpolation subelement, for being added into described first list of websites by the described first pre-conditioned web page address information that meets.
In such scheme, described updating block also includes replacing subelement;
Described comparer unit, for being determined for compliance with the second pre-conditioned web page address information;Wherein, the URL that the web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites;
Described replacement subelement, is replaced the web page address information in described first list of websites for meeting the second pre-conditioned web page address information described in utilizing.
In such scheme, described terminal unit also includes detection module;
Described detection module, is used for detecting whether described browser application restarts;
Described more new module, if being additionally operable to restart, is then updated described first list of websites based on described second list of websites.
In the embodiment of the present invention, terminal unit runs the browser application including the first list of websites, and wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;Set up with server and be connected, get the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;Based on described second list of websites, described first list of websites is updated, the first list of websites after being updated.So, it can be avoided that acquiescence network address in browser cannot the problem of quick-recovery soon after being deleted, and it also is able to be avoided by repeating amendment and can realize, by again installing browser, the problem that web page address information updates browser installation kit, thus the renewal process of the web page address information simplified in browser, effectively promote and update efficiency.
Accompanying drawing explanation
Fig. 1 be the embodiment of the present invention one information processing method realize schematic flow sheet;
Fig. 2 is embodiment of the present invention terminal unit with server set up be connected realize schematic flow sheet one;
Fig. 3 be the embodiment of the present invention two information processing method realize schematic flow sheet;
Fig. 4 is embodiment of the present invention terminal unit with server set up be connected realize schematic flow sheet two;
Fig. 5 is the form storage schematic diagram that embodiment of the present invention web page address information adopts key-value pair;
Fig. 6 be the embodiment of the present invention three information processing method realize schematic flow sheet;
Fig. 7 a be the embodiment of the present invention four information processing method realize schematic flow sheet;
Fig. 7 b is the composition structural representation of the first list of websites described in the embodiment of the present invention four;
Fig. 7 c is the composition structural representation of the second list of websites described in the embodiment of the present invention four;
Fig. 7 d is the composition structural representation of the first list of websites after updating described in the embodiment of the present invention four;
Fig. 7 e be the embodiment of the present invention 41 application example implement schematic flow sheet;
Fig. 8 is the composition structural representation of the embodiment of the present invention five terminal unit;
Fig. 9 is the hardware architecture diagram of terminal unit described in the embodiment of the present invention six;
Figure 10 is the composition structural representation of the embodiment of the present invention seven information processing system.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
Embodiment one:
The embodiment of the present invention provides a kind of information processing method, and described method is applied between terminal unit and network side server to carry out communication for coordination by cloud network, and as described in Figure 1, described method includes:
Step 101, described terminal unit run the browser application including the first list of websites;
Wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;Described N number of web page address information can when terminal unit first time starts and runs browser application, and acquiescence imports in the first list of websites of browser application.In actual applications, described first list of websites is generally shown in the display interface of terminal unit with the form of browser collection folder.
Step 102, described terminal unit are set up with server and are connected, and get the second list of websites by described connection from described server;
Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different.Described M web page address information is all web page address information that server is currently needed for that terminal unit correspondence browser application is added.
In actual applications, when server needs add or replace new web page address information to browser application, the all-network address information being currently needed for browser application importing can be formed the second list of websites by server;Further, after described terminal unit is connected with server foundation, terminal unit can get the second list of websites by described connection from described server, described first list of websites to be updated based on described second list of websites.
In an embodiment of the present invention, it is connected as in figure 2 it is shown, described terminal unit can be achieved by flow process foundation with server, and gets the second list of websites by described connection;
Step 1021: terminal unit initiates connection request to server, described connection request is used for indicating described server to send the second list of websites to terminal unit;
Step 1022: server responds described connection request, sends the second list of websites to terminal unit.
Here, server cannot be predicted due to terminal unit and form the opportunity of the second list of websites, therefore terminal unit timing can initiate connection request to server.Specifically, terminal unit is in the process running browser application, it is possible to timing sends connection request to server by HTML (Hypertext Markup Language) (HyperTextTransferProtocol, HTTP).
In another embodiment of the present invention, described server when forming the second list of websites, directly can be set up with terminal unit and be connected, and send the second list of websites by described connection to terminal unit.
Described first list of websites is updated by step 103, described terminal unit based on described second list of websites, the first list of websites after being updated.
Specifically, described terminal unit is compared with the N number of web page address information in described first list of websites based on M web page address information in described second list of websites, and determine that described first network list is updated by the mode adopting interpolation or replacement based on described second list of websites based on comparison situation, the first list of websites after being updated.
By information processing method described in the embodiment of the present invention, terminal unit runs the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;Set up with server and be connected, get the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;Based on described second list of websites, described first list of websites is updated, the first list of websites after being updated.So, it can be avoided that acquiescence network address in browser cannot the problem of quick-recovery soon after being deleted, and it also is able to be avoided by repeating amendment and can realize, by again installing browser, the problem that web page address information updates browser installation kit, thus the renewal process of the web page address information simplified in browser, effectively promote and update efficiency.
Embodiment two:
The embodiment of the present invention provides a kind of information processing method, and described method is applied between terminal unit and network side server to carry out communication for coordination by cloud network, and as described in Figure 3, described method includes:
Step 101, described terminal unit run the browser application including the first list of websites;
Wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;Described N number of web page address information can when terminal unit first time starts and runs browser application, and acquiescence imports in the first list of websites of browser application.In actual applications, described first list of websites is generally shown in the display interface of terminal unit with the form of browser collection folder.
Step 1021: terminal unit initiates connection request to server, described connection request is used for indicating described server to send the second list of websites to terminal unit;
Step 1022: server responds described connection request, sends the second list of websites to terminal unit.
Here, server cannot be predicted due to terminal unit and form the opportunity of the second list of websites, therefore terminal unit timing can initiate connection request to server.Specifically, terminal unit is in the process running browser application, it is possible to timing sends connection request to server by http.
M web page address information in described second list of websites is stored to registration table by step 1031, described terminal unit;
The embodiment of the present invention can pass through step 1021~step 1031, it is achieved and network address information issued process, as shown in Figure 4, specifically, terminal unit is in running browser process, timing can send http connection request to background server, to indicate described server to send the commercialization bookmark that background server configures, the second list of websites namely formed by M network address information to terminal unit;Background server issues described commercialization bookmark to terminal unit.
Here, server, in the process forming the second list of websites, utilizes pre-arranged code mode that the title in described web page address information and URL are encoded, so that described web page address information to be encrypted.Specifically, web page address information utilizes Base64 coded system title and URL are encoded, described web page address information is adopted the form storage of key-value pair.For example, as shown in Figure 5, described second list of websites includes following three web page address information, one hundred rises patent search system http://so.baiten.cn, webpage news flash storehouse http://go.Microsoft.com/login.dhtml, drug line http://www.drugfuture.com/Index.html;Utilize Base64 coded system that the title in three above web page address information and URL are encoded successively, obtain coding result as shown in Figure 5.
M web page address information in described registration table is resolved by step 1032, described terminal unit, obtains M URL (UniformResoureLocator, URL);
Specifically, M the web page address information stored to described registration table is resolved by described terminal unit based on the decoding process corresponding with described pre-arranged code mode, obtains M URL.
Described first list of websites, based on described M URL, is updated by step 1033, described terminal unit.
Specifically, the URL in described second list of websites is compared by described terminal unit with the URL in described first list of websites, it is determined that meet different pre-conditioned comparison result;Further, meet different pre-conditioned comparison result according to determined, select to adopt the mode added or replace to update the first list of websites.It is here, described that pre-conditioned at least to include first pre-conditioned and second pre-conditioned.Wherein, wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;The URL that web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites.
By information processing method described in the embodiment of the present invention, terminal unit is when running the browser application of the first list of websites including being made up of N number of web page address information, the amendment of browser installation kit can not be passed through, either directly through the connection with background server, acquire the second list of websites including M web page address information that background server configures and store to registration table;Resolve again through to described M the web page address information in described registration table, obtain M URL;The first list of websites is updated based on described M URL.So, it can be avoided that acquiescence network address in browser cannot the problem of quick-recovery soon after being deleted, and it also is able to be avoided by repeating amendment and can realize, by again installing browser, the problem that web page address information updates browser installation kit, thus the renewal process of the web page address information simplified in browser, effectively promote and update efficiency.
Embodiment three:
The embodiment of the present invention provides a kind of information processing method, and described method is applied to terminal unit, carries out communication for coordination by cloud network between described terminal unit and network side server, and as described in Figure 6, described method includes:
Step 601, operation include the browser application of the first list of websites;
Wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;Described N number of web page address information can when terminal unit first time starts and runs browser application, and acquiescence imports in the first list of websites of browser application.In actual applications, described first list of websites is generally shown in the display interface of terminal unit with the form of browser collection folder.
Step 602 is set up with server and is connected, and gets the second list of websites by described connection from described server;
Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different.Described M web page address information is all web page address information that server is currently needed for that terminal unit correspondence browser application is added.
In actual applications, when server needs add or replace new web page address information to browser application, the all-network address information being currently needed for browser application importing can be formed the second list of websites by server;Further, after described terminal unit is connected with server foundation, terminal unit can get the second list of websites by described connection from described server, described first list of websites to be updated based on described second list of websites.
Step 603, detect whether described browser application restarts;
Here, described terminal unit detects when restarting described browser application, then continue executing with subsequent step 604;Otherwise, if described terminal unit is not detected by restarting described browser application, then this flow process is terminated.
If step 604 is restarted, based on described second list of websites, described first list of websites is updated, the first list of websites after being updated.
Specifically, described terminal unit is compared with the N number of web page address information in described first list of websites based on M web page address information in described second list of websites, and determine that described first network list is updated by the mode adopting interpolation or replacement based on described second list of websites based on comparison situation, the first list of websites after being updated.
By information processing method described in the embodiment of the present invention, terminal unit is by being connected on the basis acquiring the second list of websites with server foundation, detection determines that described browser application is restarted, then based on described second list of websites, described first list of websites is updated.So, it can be avoided that acquiescence network address in browser cannot the problem of quick-recovery soon after being deleted, and it also is able to be avoided by repeating amendment and can realize, by again installing browser, the problem that web page address information updates browser installation kit, thus the renewal process of the web page address information simplified in browser, effectively promote and update efficiency.
Embodiment four:
The embodiment of the present invention provides a kind of information processing method, and described method is applied between terminal unit and network side server to carry out communication for coordination by cloud network, and as described in Fig. 7 a, described method includes:
Step 701, operation include the browser application of the first list of websites;
Wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;Described N number of web page address information can when terminal unit first time starts and runs browser application, and acquiescence imports in the first list of websites of browser application.In actual applications, described first list of websites is generally shown in the display interface of terminal unit with the form of browser collection folder.
Step 702 is set up with server and is connected, and gets the second list of websites by described connection from described server;
Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different.Described M web page address information is all web page address information that server is currently needed for that terminal unit correspondence browser application is added.
In actual applications, when server needs add or replace new web page address information to browser application, the all-network address information being currently needed for browser application importing can be formed the second list of websites by server;Further, after described terminal unit is connected with server foundation, terminal unit can get the second list of websites by described connection from described server, described first list of websites to be updated based on described second list of websites.
In an embodiment of the present invention, described terminal unit and server can pass through to initiate connection request to server, and described connection request is used for indicating described server to send the second list of websites to terminal unit;Server responds described connection request, sends the second list of websites to terminal unit.
Here, server cannot be predicted due to terminal unit and form the opportunity of the second list of websites, therefore terminal unit timing can initiate connection request to server.Specifically, terminal unit is in the process running browser application, it is possible to timing sends connection request to server by http.
In another embodiment of the present invention, described server when forming the second list of websites, directly can be set up with terminal unit and be connected, and send the second list of websites by described connection to terminal unit.
Step 703, M web page address information in described second list of websites is stored to registration table;
The embodiment of the present invention can pass through step 702~step 703, it is achieved and network address information issued process, as shown in Figure 4, specifically, terminal unit is in running browser process, timing can send http connection request to background server, to indicate described server to send the commercialization bookmark that background server configures, the second list of websites namely formed by M network address information to terminal unit;Background server issues described commercialization bookmark to terminal unit.
Here, server, in the process forming the second list of websites, utilizes pre-arranged code mode that the title in described web page address information and URL are encoded, so that described web page address information to be encrypted.Specifically, web page address information utilizes Base64 coded system title and URL are encoded, described web page address information is adopted the form storage of key-value pair.For example, as shown in Figure 5, described second list of websites includes following three web page address information, one hundred rises patent search system http://so.baiten.cn, webpage news flash storehouse http://go.Microsoft.com/login.dhtml, drug line http://www.drugfuture.com/Index.html;Utilize Base64 coded system that the title in three above web page address information and URL are encoded successively, obtain the coding result pointed by dotted arrow in Fig. 5.
Step 704, detect whether described browser application restarts;
Here, described terminal unit detects when restarting described browser application, then continue executing with subsequent step 705;Otherwise, if described terminal unit is not detected by restarting described browser application, then this flow process is terminated.
If step 705 is restarted, M web page address information in described registration table is resolved, obtains M URL;
Specifically, M the web page address information stored to described registration table is resolved by described terminal unit based on the decoding process corresponding with described pre-arranged code mode, obtains M URL.
Step 706, the URL in the URL in described second list of websites and described first list of websites is compared;
Here, if the URL in described second list of websites is compared with the URL in described first list of websites, determine and obtain meeting the first pre-conditioned web page address information, then continue executing with subsequent step 707, if it is determined that obtain meeting the second pre-conditioned web page address information, then continue executing with subsequent step 708;Wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;The URL that web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites.
Step 707, it is determined for compliance with the first pre-conditioned web page address information, the described first pre-conditioned web page address information that meets is added into described first list of websites;
Step 708, it is determined for compliance with the second pre-conditioned web page address information, meets the second pre-conditioned web page address information described in utilization and the web page address information in described first list of websites is replaced;
Step 709, empty described registration table.
Specifically, after updating described first list of websites by step 707 or step 708 either type, described terminal unit empties described registration table.So, by deleting the content in registration table, it is possible to perform when avoiding restarting next time browser application to the web page address information being stored in registration table repeat load.
What be described below in embodiment of the present invention step 706-708 described is updated described first list of websites based on the second list of websites, as shown in Fig. 7 b~7d, it is assumed that the first list of websites as shown in Figure 7b includes following five web page address information: the star http://www.patentstar.cn/ of patent;Chinese patent net http://www.cnpatent.com/search/zlss.asp;SOOPAThttp://www.soopat.com/tologin;BT patent search system http://so.baiten.cn/;Webpage news flash list http://go.Microsoft.com/login.dhtml;The second list of websites as shown in Figure 7 c includes following three web page address information: one hundred rises patent search system http://so.baiten.cn/;Webpage news flash storehouse http://go.Microsoft.com/login.dhtml;Drug line http://www.drugfuture.com/Index.html;After URL in URL in described second list of websites and described first list of websites is compared, it is determined that obtain meeting the first pre-conditioned web page address information as follows: drug line http://www.drugfuture.com/Index.html;Therefore add described web page address information drug line http://www.drugfuture.com/Index.html to described first list of websites;After comparison, also determine that to obtain meeting the second pre-conditioned web page address information as follows: one hundred rises patent search system http://so.baiten.cn/;Webpage news flash storehouse http://go.Microsoft.com/login.dhtml;Therefore utilize described web page address information one hundred to rise patent search system http://so.baiten.cn/;Web page address information BT patent search system http://so.baiten.cn/ in described first list of websites and webpage news flash list http://go.Microsoft.com/login.dhtml is replaced by webpage news flash storehouse http://go.Microsoft.com/login.dhtml, obtains the first list of websites after renewal as shown in figure 7d.
In the present invention one application example, terminal unit adopts mode as shown in Figure 2 to obtain bookmark to background server, namely includes the second list of websites of M web page address information.Specifically, as shown in figure 7e, information processing method described in application example of the present invention specifically includes:
Step 1, the browser process timing of terminal unit sends request to background server by http, if commercialization bookmark is configured with renewal, the bookmark after renewal is sent to terminal unit by background server.
Step 2, terminal unit gets the bookmark after renewal, is saved in registration table.
Step 3, after the browser process of terminal unit is restarted, reads bookmark in registration table.
Step 4, if not having bookmark in registration table, illustrates that backstage does not update, it is not necessary to adding and directly exit, namely bookmark loads unsuccessfully, process ends.
All bookmarks, if there being bookmark in registration table, are loaded in memory queue by step 5.
Step 6, travels through the bookmark in queue according to loading sequence, and the string value of the bookmark data loaded is used Base64 decoding, and decoded content is titleurl, goes out title and the url of bookmark according to symbol resolution.
Step 7, searches url in active user's bookmark.
Step 8, if there being url to exist, deletes the user's bookmark existed.
Step 9, adds to the bookmark traveled through in user's bookmark.
Step 10, it may be judged whether traversal terminates;If it is not, continue cycling through execution step 5~step 9.
Step 11, all bookmarks delete the data in registration table after adding completely, it is to avoid repeat when restarting browser process next time to load.
So, by information processing method described in the embodiment of the present invention, terminal unit can add at any time after bookmark after server update, and described adding procedure has only to the configuration of amendment backstage, thus cannot the problem of quick-recovery soon after avoiding the acquiescence network address in browser to be deleted, and it also is able to be avoided by repeating amendment and can realize, by again installing browser, the problem that web page address information updates browser installation kit, thus the renewal process of the web page address information simplified in browser, effectively promote and update efficiency.
Abbreviation and Key Term that the application relates to are as follows:
Process: be the basis of operating system configuration;It it is the execution of a secondary program;It is a program and the data activity that order occurs when performing on treaters thereof;Being the process run on a data acquisition system of program, it is the individual that system carries out Resource Distribution and Schedule.
Registration table: be an important data base in MicrosoftWindows, for storing the configuration information of system and application program.
URL: URL, is also referred to as web page address, is the address of the resource of standard on the Internet.
Bookmark: the network address that user preserves in a browser.
Browser: the Client browse program that WWW (Web) services.Various requests can be sent to WWW (Web) server, and the hypertext information sent from server and various multimedia data format are made an explanation, show and play.
Embodiment five:
Embodiments providing a kind of terminal unit, as shown in Figure 8, described terminal unit 80 includes running module 801, acquisition module 802 and more new module 803;
Described operation module 801, for running the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;
Described acquisition module 802, is connected for setting up with server, gets the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;
Described more new module 803, for described first list of websites being updated based on described second list of websites, the first list of websites after being updated.
In one example, as shown in Figure 8, described more new module includes memory element, resolution unit, updating block and empties unit;
Described memory element, for storing M web page address information in described second list of websites to registration table;
Described resolution unit, for M web page address information in described registration table is resolved, obtains M uniform resource position mark URL;
Described updating block, for based on described M URL, being updated described first list of websites;
Described empty unit, after being used for updating described first list of websites, empty described registration table.
In one example, as shown in Figure 8, described updating block includes comparer unit and adds subelement;
Described comparer unit, for comparing the URL in described second list of websites with the URL in described first list of websites, it is determined that meet the first pre-conditioned web page address information;Wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;
Described interpolation subelement, for being added into described first list of websites by the described first pre-conditioned web page address information that meets.
In one example, as shown in Figure 8, described updating block also includes replacing subelement;
Described comparer unit, is additionally operable to be determined for compliance with the second pre-conditioned web page address information;Wherein, the URL that the web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites;
Described replacement subelement, is replaced the web page address information in described first list of websites for meeting the second pre-conditioned web page address information described in utilizing.
In one example, as shown in Figure 8, described terminal unit also includes detection module 804;
Described detection module 804, is used for detecting whether described browser application restarts;
Described more new module 803, if being additionally operable to restart, are then updated described first list of websites based on described second list of websites.
In actual applications, unit included by operation module 801 included by described terminal unit, acquisition module 802, more new module 803 and detection module 804 and each module thereof and subelement concrete structure thereof may both correspond to processor.The concrete structure of described processor can be the set that central processor CPU, Micro-processor MCV, digital signal processor DSP or PLD PLC etc. have electronic devices and components or the electronic devices and components processing function.Wherein, described processor includes executable code, described executable code is stored in storage medium, described processor can pass through the communication interfaces such as bus and be connected with described storage medium, when performing the corresponding function of concrete each module, read from described storage medium and run described executable code.Described storage medium is preferably non-moment storage medium for the part storing described executable code.
Described operation module 801, acquisition module 802, more new module 803 and detection module 804 can be integrated corresponding to same processor, or processors corresponding different respectively;When integrated corresponding to same processor time, run the function of module 801, acquisition module 802, more new module 803 and detection module 804 correspondence when described processor adopts described in divisional processing.
Terminal unit described in the embodiment of the present invention five, the hardware implemented is provided for the method described in embodiment one to four, can be used for realizing technical scheme arbitrarily described in embodiment one to four, same, the amendment of browser installation kit can not be passed through, either directly through the connection with background server, obtain the second list of websites that background server configures, and updating the first list of websites based on described second list of websites, it is achieved the cloud control of web page address information is added.
Embodiment six:
The present embodiment provides a concrete hardware based on the terminal unit embodiment in above-described embodiment five, as it is shown in figure 9, described device includes processor 902, storage medium 904 and at least one external communication interface 901;Described processor 902, storage medium 904 and external communication interface 901 connect each through bus 903.Described processor 902 can be that microprocessor, central processing unit, digital signal processor or programmable logic array etc. have the electronic devices and components processing function.In described storage medium 904, storage has computer-executable code.
Described hardware can be described terminal unit.
When described hardware is described terminal unit, when described processor 902 performs described computer-executable code, at least can realize following functions;
Running the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;
Set up with server and be connected, get the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;
Based on described second list of websites, described first list of websites is updated, the first list of websites after being updated.
Embodiment seven:
As shown in Figure 10, the present embodiment provides a kind of information processing system, including server 1001 and terminal unit 1002;Described server 1001 and at least one terminal unit 1002 are connected by network;Described network can be wired network, wireless network or wired with wireless hybrid network.Described system is for performing the information processing method described in embodiment one or two.
In several embodiments provided herein, it should be understood that disclosed equipment and method, it is possible to realize by another way.Apparatus embodiments described above is merely schematic, such as, the division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, or is desirably integrated into another system, or some features can ignore, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, equipment or unit, it is possible to be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location;Both may be located at a place, it is also possible to be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, it is also possible to be that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in computer read/write memory medium, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: movable storage device, read only memory (Read-OnlyMemory, ROM), the various media that can store program code such as random access memory (RandomAccessMemory, RAM), magnetic disc or CD.
Or, if the above-mentioned integrated unit of the present invention realizes using the form of software function module and as independent production marketing or when using, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server or the network equipment etc.) performs all or part of of method described in each embodiment of the present invention.And aforesaid storage medium includes: the various media that can store program code such as movable storage device, ROM, RAM, magnetic disc or CDs.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (10)

1. an information processing method, described method is applied to terminal unit, it is characterised in that described method includes:
Running the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;
Set up with server and be connected, get the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;
Based on described second list of websites, described first list of websites is updated, the first list of websites after being updated.
2. method according to claim 1, it is characterised in that described based on described second list of websites, described first list of websites is updated, including:
M web page address information in described second list of websites is stored to registration table;
M web page address information in described registration table is resolved, obtains M uniform resource position mark URL;
Based on described M URL, described first list of websites is updated;
After updating described first list of websites, empty described registration table.
3. method according to claim 2, it is characterised in that described based on described M URL, is updated described first list of websites, including:
URL in described second list of websites is compared with the URL in described first list of websites, it is determined that meet the first pre-conditioned web page address information;Wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;
The described first pre-conditioned web page address information that meets is added into described first list of websites.
4. method according to claim 3, it is characterised in that described URL in URL in second list of websites and described first list of websites is compared after, described method also includes:
It is determined for compliance with the second pre-conditioned web page address information;Wherein, the URL that the web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites;
Meet the second pre-conditioned web page address information described in utilization the web page address information in described first list of websites is replaced.
5. the method according to any one of Claims 1-4, it is characterised in that before based on described second list of websites described first list of websites being updated, described method also includes:
Detect whether described browser application restarts;
If restarting, then based on described second list of websites, described first list of websites is updated.
6. a terminal unit, it is characterised in that described terminal unit includes running module, acquisition module and more new module;
Described operation module, for running the browser application including the first list of websites, wherein, described first list of websites is formed by including the N number of web page address information that can be preset in described browser application, and N is integer;
Described acquisition module, is connected for setting up with server, gets the second list of websites by described connection from described server;Wherein, described second list of websites includes M web page address information, and M is integer, and described second list of websites web page address information at least part of from described first list of websites is different;
Described more new module, for described first list of websites being updated based on described second list of websites, the first list of websites after being updated.
7. terminal unit according to claim 6, it is characterised in that described more new module includes memory element, resolution unit, updating block and empties unit;
Described memory element, for storing M web page address information in described second list of websites to registration table;
Described resolution unit, for M web page address information in described registration table is resolved, obtains M uniform resource position mark URL;
Described updating block, for based on described M URL, being updated described first list of websites;
Described empty unit, after being used for updating described first list of websites, empty described registration table.
8. terminal unit according to claim 7, it is characterised in that described updating block includes comparer unit and adds subelement;
Described comparer unit, for comparing the URL in described second list of websites with the URL in described first list of websites, it is determined that meet the first pre-conditioned web page address information;Wherein, the URL that the web page address information in described first described second list of websites of pre-conditioned sign is corresponding is not included in described first list of websites;
Described interpolation subelement, for being added into described first list of websites by the described first pre-conditioned web page address information that meets.
9. terminal unit according to claim 8, it is characterised in that described updating block also includes replacing subelement;
Described comparer unit, for being determined for compliance with the second pre-conditioned web page address information;Wherein, the URL that the web page address information in described second described second list of websites of pre-conditioned sign is corresponding is included in described first list of websites;
Described replacement subelement, is replaced the web page address information in described first list of websites for meeting the second pre-conditioned web page address information described in utilizing.
10. the terminal unit according to any one of claim 6 to 9, it is characterised in that described terminal unit also includes detection module;
Described detection module, is used for detecting whether described browser application restarts;
Described more new module, if being additionally operable to restart, is then updated described first list of websites based on described second list of websites.
CN201610203842.6A 2016-04-01 2016-04-01 Information processing method and terminal equipment Active CN105808785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203842.6A CN105808785B (en) 2016-04-01 2016-04-01 Information processing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203842.6A CN105808785B (en) 2016-04-01 2016-04-01 Information processing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN105808785A true CN105808785A (en) 2016-07-27
CN105808785B CN105808785B (en) 2021-01-05

Family

ID=56459915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203842.6A Active CN105808785B (en) 2016-04-01 2016-04-01 Information processing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN105808785B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116781425A (en) * 2023-08-21 2023-09-19 太平金融科技服务(上海)有限公司深圳分公司 Service data acquisition method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN102323931A (en) * 2011-08-25 2012-01-18 百度在线网络技术(北京)有限公司 Method for updating browser configuration information and equipment
CN102651021A (en) * 2012-03-31 2012-08-29 奇智软件(北京)有限公司 Icon content updating method and device
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103136316A (en) * 2012-02-29 2013-06-05 何劲 Website navigation system and method
CN104636367A (en) * 2013-11-11 2015-05-20 腾讯科技(深圳)有限公司 Bookmark recommendation method and device
US9251280B1 (en) * 2008-05-09 2016-02-02 Sprint Spectrum L.P. Method for bookmark detection and correction for a client device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9251280B1 (en) * 2008-05-09 2016-02-02 Sprint Spectrum L.P. Method for bookmark detection and correction for a client device
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN102323931A (en) * 2011-08-25 2012-01-18 百度在线网络技术(北京)有限公司 Method for updating browser configuration information and equipment
CN103136316A (en) * 2012-02-29 2013-06-05 何劲 Website navigation system and method
CN102651021A (en) * 2012-03-31 2012-08-29 奇智软件(北京)有限公司 Icon content updating method and device
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN104636367A (en) * 2013-11-11 2015-05-20 腾讯科技(深圳)有限公司 Bookmark recommendation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜伟南: "基于WebKit的手机浏览器的内核研究与资源加载优化", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116781425A (en) * 2023-08-21 2023-09-19 太平金融科技服务(上海)有限公司深圳分公司 Service data acquisition method, device, equipment and storage medium
CN116781425B (en) * 2023-08-21 2023-11-07 太平金融科技服务(上海)有限公司深圳分公司 Service data acquisition method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105808785B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN106708899B (en) Automatic point burying method and device
CN102663062B (en) Method and device for processing invalid links in search result
US10250526B2 (en) Method and apparatus for increasing subresource loading speed
RU2604326C2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
US20190065445A1 (en) Predictive resource identification and phased delivery of structured documents
RU2615057C2 (en) Method and device for access to web-page and router
CN102882991B (en) A kind of browser and carry out the method for domain name mapping
RU2608668C2 (en) System and method for control and organisation of web-browser cache for offline browsing
CN100367276C (en) Method and appts for searching within a computer network
RU2613531C2 (en) File sharing method, terminal and relay server
US10257110B2 (en) Using a template to update a stack of resources
CN105843815B (en) Page comment processing method and device and browser
CN109361754A (en) A kind of document transmission method and device based on browser
CN102663319B (en) Prompting method and device for download link security
CN102663135B (en) Method and device for implementing graphical bookmark for embedded browser, and terminal
CN101102313B (en) Network download system and method with automatically replaced proxy server
WO2007130594A2 (en) Techniques to perform gradual upgrades
CN104866534A (en) Page demonstration method and device
US9495469B2 (en) System and method to identify machine-readable codes
CN102855334B (en) A kind of browser and the method obtaining dns resolution data thereof
WO2014187159A1 (en) A method and an apparatus for performing offline access to web pages
CN103810176A (en) Pre-fetching accessing method and device of webpage information
CN102323937A (en) Method and equipment for providing search result
CN104978373A (en) Webpage display method and webpage display device
WO2015062292A1 (en) Page layout method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant