[go: up one dir, main page]

CN106874474A - A kind of invalid web pages processing method of web page storage, server and terminal - Google Patents

A kind of invalid web pages processing method of web page storage, server and terminal Download PDF

Info

Publication number
CN106874474A
CN106874474A CN201710083972.5A CN201710083972A CN106874474A CN 106874474 A CN106874474 A CN 106874474A CN 201710083972 A CN201710083972 A CN 201710083972A CN 106874474 A CN106874474 A CN 106874474A
Authority
CN
China
Prior art keywords
network address
terminal
state
invalid
server
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
CN201710083972.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.)
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710083972.5A priority Critical patent/CN106874474A/en
Publication of CN106874474A publication Critical patent/CN106874474A/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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • 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

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)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明提供一种网页收藏的无效网页处理方法、服务器及终端,该方法包括:接收终端上报的用户标识信息和对应的收藏网页的网络地址;建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。

The present invention provides a method for processing invalid webpages in webpage collection, a server and a terminal. The method includes: receiving user identification information reported by the terminal and the corresponding network address of the favorite webpage; establishing a link between the network address and the user identification information Association relationship, forming a mapping table; detecting the state information of all network addresses in the mapping table, and storing the detection result, the state information includes a valid state and an invalid state; according to the detection result, the state information of the network address sent to the corresponding terminal for the terminal to perform corresponding invalidation processing operations. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem that the user is inconvenient to use the invalid state web page.

Description

一种网页收藏的无效网页处理方法、服务器及终端Invalid webpage processing method, server and terminal for webpage collection

技术领域technical field

本发明涉及通信领域,尤其涉及一种网页收藏的无效网页处理方法、服务器及终端。The invention relates to the communication field, in particular to a method for processing invalid webpages in webpage collection, a server and a terminal.

背景技术Background technique

众所周知,我们在庞大的互联网中遨游的时候,常常会碰到一些自己喜欢、感兴趣、或者需要收藏待下次浏览的内容。“网页收藏”功能即应运而生。此功能是通过保存目标网页的网络地址,从而实现二次浏览时的精准定位连接。由于“网页收藏”存储的是网站的网络地址,而非网页本身。如果目标网页网络地址更换,或网页被开发者删除等情况。都会造成用户的收藏无效状态,而这些无效状态的收藏会一直停留在用户的收藏夹,只有待用户再次使用时才会发现进行了一个无意义的操作,这给用户的使用造成了不便。As we all know, when we roam the huge Internet, we often come across some content that we like, are interested in, or need to be saved for next browsing. The "web page collection" function came into being. This function is to save the network address of the target web page, so as to realize the precise positioning connection during the second browsing. Because "web page collection" stores the network address of the website, not the web page itself. If the network address of the target webpage is changed, or the webpage is deleted by the developer, etc. All can cause the invalid state of the user's collection, and the collection of these invalid states will always stay in the user's favorites, and only when the user uses it again will it be found that a meaningless operation has been carried out, which causes inconvenience to the user's use.

发明内容Contents of the invention

本发明实施例提供一种网页收藏的无效网页处理方法、服务器及终端,以解决无效状态网页造成用户使用不便的问题。Embodiments of the present invention provide a method for processing invalid webpages in webpage collection, a server and a terminal, so as to solve the problem of inconvenient use for users caused by invalid webpages.

第一方面,本发明实施例提供了一种网页收藏的无效网页处理方法,包括:In the first aspect, an embodiment of the present invention provides a method for processing invalid webpages in webpage collection, including:

接收终端上报的用户标识信息和对应的收藏网页的网络地址;receiving the user identification information reported by the terminal and the network address of the corresponding favorite web page;

建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;Establishing an association relationship between the network address and the user identification information to form a mapping table;

检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;Detecting state information of all network addresses in the mapping table, and storing detection results, the state information includes valid state and invalid state;

根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。According to the detection result, the state information of the network address is sent to the corresponding terminal, so that the terminal can perform corresponding invalidation processing operation.

第二方面,本发明实施例还提供了一种网页收藏的无效网页处理方法,包括:In the second aspect, the embodiment of the present invention also provides a method for processing invalid webpages in webpage collection, including:

向服务器上报用户标识信息和对应的收藏网页的网络地址;Report the user identification information and the network address of the corresponding favorite web page to the server;

接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;receiving status information detected by the server on the network address, where the status information includes a valid status and an invalid status;

根据所述网络地址的状态信息,执行相应的无效处理操作。According to the status information of the network address, corresponding invalidation processing operation is performed.

第三方面,本发明实施例还提供了一种服务器,包括:In a third aspect, the embodiment of the present invention also provides a server, including:

第一接收模块,用于接收终端上报的用户标识信息和对应的收藏网页的网络地址;The first receiving module is used to receive the user identification information reported by the terminal and the network address of the corresponding favorite web page;

关联模块,用于建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;An association module, configured to establish an association relationship between the network address and the user identification information to form a mapping table;

检测模块,用于检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;A detection module, configured to detect state information of all network addresses in the mapping table, and store detection results, the state information includes a valid state and an invalid state;

结果发送模块,用于根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。The result sending module is configured to send the status information of the network address to the corresponding terminal according to the detection result, so that the terminal can perform corresponding invalid processing operations.

第四方面,本发明实施例还提供了一种终端,包括:In a fourth aspect, an embodiment of the present invention further provides a terminal, including:

第一上报模块,用于向服务器上报用户标识信息和对应的收藏网页的网络地址;The first reporting module is used to report the user identification information and the corresponding network address of the favorite web page to the server;

第二接收模块,用于接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;The second receiving module is configured to receive status information detected by the server on the network address, where the status information includes a valid status and an invalid status;

执行模块,用于根据所述网络地址的状态信息,执行相应的无效处理操作。An executing module, configured to execute corresponding invalidation processing operations according to the state information of the network address.

这样,本发明实施例中,接收终端上报的用户标识信息和对应的收藏网页的网络地址;建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In this way, in the embodiment of the present invention, the user identification information reported by the terminal and the network address of the corresponding favorite webpage are received; the association relationship corresponding to the network address and the user identification information is established to form a mapping table; State information of all network addresses, and store detection results, the state information includes valid state and invalid state; according to the detection results, send the state information of the network address to the corresponding terminal for the terminal to execute corresponding Invalid processing operation for . Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明第一实施例提供的网页收藏的无效网页处理方法的流程图;FIG. 1 is a flow chart of a method for processing invalid webpages in webpage collection provided by the first embodiment of the present invention;

图2是本发明第二实施例提供的网页收藏的无效网页处理方法的流程图之一;2 is one of the flow charts of the method for processing invalid webpages in webpage collection provided by the second embodiment of the present invention;

图3是本发明第二实施例提供的网页收藏的无效网页处理方法的流程图之二;Fig. 3 is the second flow chart of the invalid webpage processing method for webpage collection provided by the second embodiment of the present invention;

图4是本发明第三实施例提供的网页收藏的无效网页处理方法的流程图;4 is a flow chart of a method for processing invalid webpages in webpage collection provided by the third embodiment of the present invention;

图5是本发明第四实施例提供的网页收藏的无效网页处理方法的流程图;5 is a flow chart of a method for processing invalid webpages in webpage collection provided by the fourth embodiment of the present invention;

图6是本发明第五实施例提供的服务器的结构图之一;Fig. 6 is one of the structural diagrams of the server provided by the fifth embodiment of the present invention;

图7是本发明第五实施例提供的服务器的结构图之二;FIG. 7 is the second structural diagram of the server provided by the fifth embodiment of the present invention;

图8是本发明第六实施例提供的终端的结构图之一;FIG. 8 is one of the structural diagrams of the terminal provided by the sixth embodiment of the present invention;

图9是本发明第六实施例提供的终端的结构图之二;FIG. 9 is the second structural diagram of the terminal provided by the sixth embodiment of the present invention;

图10是本发明第六实施例提供的终端的结构图之三;FIG. 10 is the third structural diagram of the terminal provided by the sixth embodiment of the present invention;

图11是本发明第七实施例提供的终端的结构图;FIG. 11 is a structural diagram of a terminal provided by a seventh embodiment of the present invention;

图12是本发明第八实施例提供的终端的结构图。FIG. 12 is a structural diagram of a terminal provided by an eighth embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

第一实施例first embodiment

参见图1,图1是本发明实施例提供的网页收藏的无效网页处理方法的流程图,如图1所示,包括以下步骤:Referring to Fig. 1, Fig. 1 is a flow chart of an invalid webpage processing method for webpage collection provided by an embodiment of the present invention, as shown in Fig. 1 , including the following steps:

步骤101,接收终端上报的用户标识信息和对应的收藏网页的网络地址。Step 101, receiving the user identification information reported by the terminal and the corresponding network address of the favorite web page.

该步骤中,上述终端可以包括手机、计算机等具有网页浏览功能的智能终端。在终端上安装有浏览器客户端,在浏览器客户端上设有收藏网页的功能。用户可以在浏览器客户端上浏览相应的网页,并将网页的网络地址(URL地址)添加到收藏夹中,从而完成网页收藏。In this step, the above-mentioned terminals may include mobile phones, computers and other smart terminals with a web browsing function. A browser client is installed on the terminal, and a function of collecting webpages is provided on the browser client. The user can browse the corresponding webpage on the browser client, and add the network address (URL address) of the webpage to the favorites, thereby completing the webpage collection.

终端在联网状态下可以将当前所有收藏网页的网络地址和用户标识信息上报到服务器中,也可以当用户添加新的收藏网页时,将新的收藏网页的网络地址上报用户标识信息上报到服务器。其中,用户标识信息用于标识用户身份,例如可以采用手机的IMEI号作为用户的唯一标示符,也可以采用用户ID等标识信息作为用户的唯一标示符。When the terminal is connected to the network, it can report the network addresses and user identification information of all current favorite webpages to the server, or when the user adds a new favorite webpage, report the network address of the new favorite webpage and the user identification information to the server. Wherein, the user identification information is used to identify the identity of the user. For example, the IMEI number of the mobile phone can be used as the unique identifier of the user, and identification information such as user ID can also be used as the unique identifier of the user.

步骤102,建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表。Step 102, establishing an association relationship between the network address and the user identification information to form a mapping table.

该步骤中,当服务器接收到终端上报的用户标识信息和对应的收藏网页的网络地址时,将会建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表。在映射表中,同一网络地址可以对应一个或者多个用户,具体的,如下表所示:In this step, when the server receives the user identification information reported by the terminal and the network address of the corresponding favorite web page, it will establish an association relationship between the network address and the user identification information to form a mapping table. In the mapping table, the same network address can correspond to one or more users, specifically, as shown in the following table:

步骤103,检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态。Step 103: Detect status information of all network addresses in the mapping table, and store the detection result, the status information includes valid status and invalid status.

该步骤中,服务器检测网络映射表中所有网络地址的状态信息的方式可以根据实际需要进行设置,例如,可以由服务器主动向网络地址发送访问请求从而确定网络地址的是否有效;还可以检测终端对网络地址上报的状态信息,从而确定映射表中网络地址的状态信息,并可以将该状态进行储存。本实施例中,在检测结果中对于各网络地址的状态信息可以直接储存在映射表中。In this step, the way the server detects the state information of all network addresses in the network mapping table can be set according to actual needs. For example, the server can actively send an access request to the network address to determine whether the network address is valid; The status information reported by the network address, so as to determine the status information of the network address in the mapping table, and store the status. In this embodiment, the state information of each network address in the detection result may be directly stored in the mapping table.

具体的,当网络地址能够正常响应打开,则确定该网络地址的状态信息为有效,当在访问的过程中网络地址出现访问错误、无响应、超时等访问不成功的情况,则确定该网络地址的状态信息为无效状态。Specifically, when the network address can normally respond to open, it is determined that the status information of the network address is valid, and when the network address has access errors, no response, timeout, etc. during the access process, the network address is determined to be The status information for is invalid.

步骤104,根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。Step 104: Send the status information of the network address to the corresponding terminal according to the detection result, so that the terminal can perform corresponding invalidation processing operations.

该步骤中,对于服务器发送网络地址的状态信息到终端的方式可以根据实际需要进行设置,例如可以由服务器进行主动推送,也可由终端进行查询获取该终端对应的用户标识信息所映射的所有网络地址的状态信息。In this step, the way the server sends the status information of the network address to the terminal can be set according to actual needs, for example, the server can actively push it, or the terminal can query to obtain all network addresses mapped to the user identification information corresponding to the terminal status information.

应理解,本实施例中,服务器发送每个终端对应的网络地址的状态信息的内容可以根据实际需要进行设置,例如,可以仅发送处于无效状态的网络地址的状态信息,也可以仅发送处于有效状态的网络地址的状态信息,也可以发送具有状态变化的网络地址的状态信息,还可以将所有网络地址的状态信息都发送给终端,在此不作进一步的限定。It should be understood that in this embodiment, the content of the server sending the state information of the network address corresponding to each terminal can be set according to actual needs, for example, only the state information of the network address in the invalid state can be sent, or only the state information of the network address in the The state information of the network address of the state may also send the state information of the network address with a state change, and may also send the state information of all network addresses to the terminal, which is not further limited here.

终端在接收到服务器发送的网络地址的状态信息,可以指向相应的无效处理操作。具体的,该无效处理操作的方式可以根据实际需要进行设置,例如可以对处于无效状态的网络地址进行标识或者删除,还可以解除从无效状态转化为有效状态的网络地址对应的标识。After receiving the status information of the network address sent by the server, the terminal may point to the corresponding invalid processing operation. Specifically, the manner of the invalidation processing operation can be set according to actual needs, for example, the network address in the invalid state can be marked or deleted, and the identification corresponding to the network address transformed from the invalid state to the valid state can also be released.

这样,本发明实施例中,接收终端上报的用户标识信息和对应的收藏网页的网络地址;建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In this way, in the embodiment of the present invention, the user identification information reported by the terminal and the network address of the corresponding favorite webpage are received; the association relationship corresponding to the network address and the user identification information is established to form a mapping table; State information of all network addresses, and store detection results, the state information includes valid state and invalid state; according to the detection results, send the state information of the network address to the corresponding terminal for the terminal to execute corresponding Invalid processing operation for . Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

第二实施例second embodiment

参照图2,图2是本发明实施例提供的网页收藏的无效网页处理方法的流程图,如图2所示,包括以下步骤:Referring to Fig. 2, Fig. 2 is a flow chart of an invalid webpage processing method for webpage collection provided by an embodiment of the present invention, as shown in Fig. 2, comprising the following steps:

步骤201,接收终端上报的用户标识信息和对应的收藏网页的网络地址。Step 201, receiving the user identification information reported by the terminal and the corresponding network address of the favorite web page.

该步骤中,上述终端可以包括手机、计算机等具有网页浏览功能的智能终端。在终端上安装有浏览器客户端,在浏览器客户端上设有收藏网页的功能。用户可以在浏览器客户端上浏览相应的网页,并将网页的网络地址(URL地址)添加到收藏夹中,从而完成网页收藏。In this step, the above-mentioned terminals may include mobile phones, computers and other smart terminals with a web browsing function. A browser client is installed on the terminal, and a function of collecting webpages is provided on the browser client. The user can browse the corresponding webpage on the browser client, and add the network address (URL address) of the webpage to the favorites, thereby completing the webpage collection.

终端在联网状态下可以将当前所有收藏网页的网络地址和用户标识信息上报到服务器中,也可以当用户添加新的收藏网页时,将新的收藏网页的网络地址上报用户标识信息上报到服务器。其中,用户标识信息用于标识用户身份,例如可以采用手机的IMEI号作为用户的唯一标示符,也可以采用用户ID等标识信息作为用户的唯一标示符。When the terminal is connected to the network, it can report the network addresses and user identification information of all current favorite webpages to the server, or when the user adds a new favorite webpage, report the network address of the new favorite webpage and the user identification information to the server. Wherein, the user identification information is used to identify the identity of the user. For example, the IMEI number of the mobile phone can be used as the unique identifier of the user, and identification information such as user ID can also be used as the unique identifier of the user.

步骤202,建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表,所述映射表中包含所述网络地址的状态信息。Step 202, establishing an association relationship between the network address and the user identification information to form a mapping table, the mapping table including state information of the network address.

该步骤中,当服务器接收到终端上报的用户标识信息和对应的收藏网页的网络地址时,将会建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表。在映射表中,同一网络地址可以对应一个或者多个用户,具体的,如下表所示:In this step, when the server receives the user identification information reported by the terminal and the network address of the corresponding favorite web page, it will establish an association relationship between the network address and the user identification information to form a mapping table. In the mapping table, the same network address can correspond to one or more users, specifically, as shown in the following table:

步骤203,检测终端上报的网络地址的状态信息。Step 203, detecting the status information of the network address reported by the terminal.

该步骤中,可以检测终端对网络地址上报的状态信息,从而确定映射表中网络地址的状态信息,并可以将该状态进行储存。In this step, the state information reported by the terminal to the network address can be detected, so as to determine the state information of the network address in the mapping table, and store the state.

步骤204,将上报的网络地址的状态信息更新至所述映射表中,以储存检测结果。Step 204, updating the status information of the reported network address into the mapping table to store the detection result.

具体的,例如用户A上报网络地址的状态信息有两个,其中一个为:http://www.baidu.com.cn,另一个为http://www.Funtouch.com;用户B上报网络地址的状态信息有一个:http://www.bbk.net。假设在初始状态下,各终端检测到的网络地址对应的状态信息均为有效状态,即各终端的网页收藏中所有的网络地址均为有效地址,在进行上报后,服务器记录各网络地址的状态信息如下表所示:Specifically, for example, user A reports two status information of the network address, one of which is: http://www.baidu.com.cn, and the other is http://www.Funtouch.com; user B reports the network address The status information has a: http://www.bbk.net. Assume that in the initial state, the status information corresponding to the network addresses detected by each terminal is valid, that is, all the network addresses in the webpage collection of each terminal are valid addresses, and after reporting, the server records the status of each network address The information is shown in the table below:

步骤205,根据检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。Step 205: Send the state information of the network address to the corresponding terminal according to the detection result, so that the terminal can perform corresponding invalidation processing operations.

该步骤中,对于服务器发送网络地址的状态信息到终端的方式可以根据实际需要进行设置,例如可以由服务器进行主动推送,也可由终端进行查询获取该终端对应的用户标识信息所映射的所有网络地址的状态信息。In this step, the way the server sends the status information of the network address to the terminal can be set according to actual needs, for example, the server can actively push it, or the terminal can query to obtain all network addresses mapped to the user identification information corresponding to the terminal status information.

应理解,本实施例中,服务器发送每个终端对应的网络地址的状态信息的内容可以根据实际需要进行设置,例如,可以仅发送处于无效状态的网络地址的状态信息,也可以仅发送处于有效状态的网络地址的状态信息,也可以发送具有状态变化的网络地址的状态信息,还可以将所有网络地址的状态信息都发送给终端。与此同时,可以由服务器主动推送网络地址的状态信息到终端,也可以由终端进行查询获取服务器中对应储存的络地址的状态信息,以下对此进行详细说明:It should be understood that in this embodiment, the content of the server sending the state information of the network address corresponding to each terminal can be set according to actual needs, for example, only the state information of the network address in the invalid state can be sent, or only the state information of the network address in the The state information of the network address of the state may also be sent, and the state information of the network address with state change may also be sent to the terminal. At the same time, the server can actively push the status information of the network address to the terminal, or the terminal can query and obtain the status information of the corresponding stored network address in the server. The following details this:

在一实施例方式中,上述将所述网络地址的状态信息发送至对应的终端的步骤包括:将所述状态信息发生变化的网络地址的状态信息发送至对应的终端。In an embodiment, the above step of sending the state information of the network address to the corresponding terminal includes: sending the state information of the network address whose state information has changed to the corresponding terminal.

该步骤中,由服务器在在某一网络地址的状态信息发生变化时,将状态信息发生变化的网络地址的状态信息发送至对应的终端;或者周期性的将状态信息发生变化的网络地址的状态信息发送至对应的终端。In this step, when the status information of a certain network address changes, the server sends the status information of the network address whose status information changes to the corresponding terminal; or periodically sends the status information of the network address whose status information changes The information is sent to the corresponding terminal.

例如当用户A检测到网络地址http://www.baidu.com.cn的状态信息为无效状态时,将会将上述映射表更新为:For example, when user A detects that the status information of the network address http://www.baidu.com.cn is invalid, the above mapping table will be updated as follows:

此时,由于用户A已经获知了网络地址http://www.baidu.com.cn的状态信息为无效状态,此时服务器可以不用向用户A发送http://www.baidu.com.cn的状态信息,从而直接向用户B发送http://www.baidu.com.cn的状态信息,并告知用户B:http://www.baidu.com.cn为无效状态。从而由用户B对应的终端执行相应的无效处理操作即可。At this time, since user A has learned that the status information of the network address http://www.baidu.com.cn is invalid, the server does not need to send the http://www.baidu.com.cn to user A at this time. Status information, so as to directly send the status information of http://www.baidu.com.cn to user B, and inform user B that http://www.baidu.com.cn is invalid. Therefore, the terminal corresponding to user B only needs to execute the corresponding invalidation processing operation.

在另一实施例方式中,上述将所述网络地址的状态信息发送至对应的终端的步骤包括:In another embodiment, the above step of sending the status information of the network address to the corresponding terminal includes:

接收终端的查询请求;receiving the query request from the terminal;

根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息;According to the query request, query the state information of all network addresses of the user identification information corresponding to the terminal;

将查询获得的所有网络地址的状态信息发送至所述终端。and sending the status information of all network addresses obtained through the query to the terminal.

本实施例中,各终端可以将自己对收藏网页的访问情况上报到服务器,由服务器对上述映射表进行更新,以供其他终端进行状态信息的查询。具体的,终端可以在连入WIFI网络的状态下发送查询请求进行查询,从而避免流量浪费;此外还可以周期性(如整点)向服务器发送查询请求。In this embodiment, each terminal may report its access to the favorite webpage to the server, and the server may update the above mapping table for other terminals to query status information. Specifically, the terminal can send a query request for query while connected to the WIFI network, thereby avoiding traffic waste; in addition, it can also periodically (such as the hour) send the query request to the server.

在服务器接收到终端发送的查询请求后,可以将该终端所有的网络地址的状态信息均发送给终端,以供终端执行相应的无效处理操作。具体的,该无效处理操作的方式可以根据实际需要进行设置,例如可以对处于无效状态的网络地址进行标识或者删除,还可以解除从无效状态转化为有效状态的网络地址对应的标识。After the server receives the query request sent by the terminal, it can send the status information of all the network addresses of the terminal to the terminal, so that the terminal can perform corresponding invalidation processing operations. Specifically, the manner of the invalidation processing operation can be set according to actual needs, for example, the network address in the invalid state can be marked or deleted, and the identification corresponding to the network address transformed from the invalid state to the valid state can also be released.

例如,当用户A的http://www.baidu.com.cn从无效状态变更为有效状态时,用户A对于的终端可以将http://www.baidu.com.cn的无效标识进行删除,从而指示用户可以重新进行访问操作。For example, when user A's http://www.baidu.com.cn changes from an invalid state to a valid state, user A's terminal can delete the invalid logo of http://www.baidu.com.cn, This indicates to the user that the access operation can be resumed.

这样,本发明实施例中,接收终端上报的用户标识信息和对应的收藏网页的网络地址;建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测终端上报的网络地址的状态信息;将上报的网络地址的状态信息更新至所述映射表中;根据检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In this way, in the embodiment of the present invention, the user identification information reported by the terminal and the network address of the corresponding favorite web page are received; the association relationship corresponding to the network address and the user identification information is established to form a mapping table; the network address reported by the terminal is detected update the reported status information of the network address to the mapping table; send the status information of the network address to the corresponding terminal according to the detection result, so that the terminal can perform corresponding invalid processing operations. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

进一步的,参照图3,上述步骤204之后,上述方法还包括:Further, referring to FIG. 3, after the above step 204, the above method further includes:

步骤206,在预设周期时间内,按照预设间隔时间向目标网络地址发送访问请求;所述目标网络地址为所述映射表中由有效状态变化为无效状态的网络地址。Step 206 , within a preset cycle time, send an access request to a target network address according to a preset interval; the target network address is a network address in the mapping table that has changed from a valid state to an invalid state.

步骤207,当若访问成功,将所述目标网络地址的状态信息更新为有效状态。Step 207, if the access is successful, update the state information of the target network address to a valid state.

应理解,本实施例中,上述步骤206可以在上述步骤205之后,也可以在上述步骤205之前,对此不作进一步的限定,例如,在本实施例中,可以设置在步骤205之前。It should be understood that, in this embodiment, the above-mentioned step 206 may be after the above-mentioned step 205 or before the above-mentioned step 205, which is not further limited. For example, in this embodiment, it may be set before the above-mentioned step 205.

具体的,鉴于部分网络地址无法访问可能是临时性故障,本实施例中,为了优化对处于无效状态的网络地址的处理,服务器可以对映射表中处于无效状态的网络地址间歇性的发送访问请求,以进行访问连接,当若访问成功,可以将对应的网络地址的无效状态更新为有效状态。需要说明的是,上述预设周期时间和预设时间间隔的时间长度均可以根据实际需要进行设置,在此不做进一步的限定。Specifically, in view of the fact that the inaccessibility of some network addresses may be a temporary failure, in this embodiment, in order to optimize the processing of the network addresses in the invalid state, the server can intermittently send access requests to the network addresses in the invalid state in the mapping table , to perform an access connection, and if the access is successful, the invalid state of the corresponding network address may be updated to a valid state. It should be noted that the above-mentioned preset cycle time and the length of the preset time interval can be set according to actual needs, and no further limitation is made here.

第三实施例third embodiment

参见图4,图4是本发明实施例提供的网页收藏的无效网页处理方法的流程图,如图4所示,包括以下步骤:Referring to FIG. 4, FIG. 4 is a flowchart of a method for processing invalid webpages in webpage collection provided by an embodiment of the present invention. As shown in FIG. 4, it includes the following steps:

步骤401,向服务器上报用户标识信息和对应的收藏网页的网络地址。Step 401, reporting user identification information and the corresponding network address of the favorite web page to the server.

该步骤中,上述终端可以包括手机、计算机等具有网页浏览功能的智能终端。在终端上安装有浏览器客户端,在浏览器客户端上设有收藏网页的功能。用户可以在浏览器客户端上浏览相应的网页,并将网页的网络地址(URL地址)添加到收藏夹中,从而完成网页收藏。In this step, the above-mentioned terminals may include mobile phones, computers and other smart terminals with a web browsing function. A browser client is installed on the terminal, and a function of collecting webpages is provided on the browser client. The user can browse the corresponding webpage on the browser client, and add the network address (URL address) of the webpage to the favorites, thereby completing the webpage collection.

终端在联网状态下可以将当前所有收藏网页的网络地址和用户标识信息上报到服务器中,也可以当用户添加新的收藏网页时,将新的收藏网页的网络地址上报用户标识信息上报到服务器。其中,用户标识信息用于标识用户身份,例如可以采用手机的IMEI号作为用户的唯一标示符,也可以采用用户ID等标识信息作为用户的唯一标示符。When the terminal is connected to the network, it can report the network addresses and user identification information of all current favorite webpages to the server, or when the user adds a new favorite webpage, report the network address of the new favorite webpage and the user identification information to the server. Wherein, the user identification information is used to identify the identity of the user. For example, the IMEI number of the mobile phone can be used as the unique identifier of the user, and identification information such as user ID can also be used as the unique identifier of the user.

步骤402,接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态。Step 402, receiving status information detected by the server on the network address, where the status information includes a valid status and an invalid status.

该步骤中,当服务器接收到终端上报的用户标识信息和对应的收藏网页的网络地址时,将会建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表。在映射表中,同一网络地址可以对应一个或者多个用户,具体的,如下表所示:In this step, when the server receives the user identification information reported by the terminal and the network address of the corresponding favorite web page, it will establish an association relationship between the network address and the user identification information to form a mapping table. In the mapping table, the same network address can correspond to one or more users, specifically, as shown in the following table:

服务器检测网络映射表中所有网络地址的状态信息的方式可以根据实际需要进行设置,例如,可以由服务器主动向网络地址发送访问请求从而确定网络地址的是否有效;还可以检测终端对网络地址上报的状态信息,从而确定映射表中网络地址的状态信息,并可以将该状态进行储存。本实施例中,在检测结果中对于各网络地址的状态信息可以直接储存在映射表中。The way the server detects the status information of all network addresses in the network mapping table can be set according to actual needs. For example, the server can actively send an access request to the network address to determine whether the network address is valid; it can also detect the network address reported by the terminal. State information, so as to determine the state information of the network address in the mapping table, and store the state. In this embodiment, the state information of each network address in the detection result may be directly stored in the mapping table.

具体的,当网络地址能够正常响应打开,则确定该网络地址的状态信息为有效,当在访问的过程中网络地址出现访问错误、无响应、超时等访问不成功的情况,则确定该网络地址的状态信息为无效状态。Specifically, when the network address can normally respond to open, it is determined that the status information of the network address is valid, and when the network address has access errors, no response, timeout, etc. during the access process, the network address is determined to be The status information for is invalid.

需要说明的是,对于服务器发送网络地址的状态信息到终端的方式可以根据实际需要进行设置,例如可以由服务器进行主动推送,也可由终端进行查询获取该终端对应的用户标识信息所映射的所有网络地址的状态信息。It should be noted that the way the server sends the status information of the network address to the terminal can be set according to actual needs, for example, the server can actively push it, or the terminal can query to obtain all the network addresses mapped by the user identification information corresponding to the terminal. Status information for the address.

应理解,本实施例中,服务器发送每个终端对应的网络地址的状态信息的内容可以根据实际需要进行设置,例如,可以仅发送处于无效状态的网络地址的状态信息,也可以仅发送处于有效状态的网络地址的状态信息,也可以发送具有状态变化的网络地址的状态信息,还可以将所有网络地址的状态信息都发送给终端,在此不作进一步的限定。It should be understood that in this embodiment, the content of the server sending the state information of the network address corresponding to each terminal can be set according to actual needs, for example, only the state information of the network address in the invalid state can be sent, or only the state information of the network address in the The state information of the network address of the state may also send the state information of the network address with a state change, and may also send the state information of all network addresses to the terminal, which is not further limited here.

步骤403,根据所述网络地址的状态信息,执行相应的无效处理操作。Step 403, according to the status information of the network address, perform a corresponding invalidation processing operation.

终端在接收到服务器发送的网络地址的状态信息,可以指向相应的无效处理操作。具体的,该无效处理操作的方式可以根据实际需要进行设置,例如可以对处于无效状态的网络地址进行标识或者删除,还可以解除从无效状态转化为有效状态的网络地址对应的标识。即在本实施例中,上述步骤403包括:标识处于无效状态的网络地址和/或解除从无效状态转化为有效状态的网络地址对应的标识。After receiving the status information of the network address sent by the server, the terminal may point to the corresponding invalid processing operation. Specifically, the manner of the invalidation processing operation can be set according to actual needs, for example, the network address in the invalid state can be marked or deleted, and the identification corresponding to the network address transformed from the invalid state to the valid state can also be released. That is, in this embodiment, the above step 403 includes: identifying the network address that is in an invalid state and/or canceling the identification corresponding to the network address that is transformed from an invalid state to a valid state.

这样,本发明实施例中,向服务器上报用户标识信息和对应的收藏网页的网络地址;接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;根据所述网络地址的状态信息,执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In this way, in the embodiment of the present invention, the user identification information and the network address of the corresponding favorite web page are reported to the server; the state information detected by the server to the network address is received, and the state information includes a valid state and an invalid state; according to the network The status information of the address, perform the corresponding invalid processing operation. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

第四实施例Fourth embodiment

参照图5,图5是本发明实施例提供的网页收藏的无效网页处理方法的流程图,如图5所示,在上述步骤401之后,所述方法还包括:Referring to FIG. 5 , FIG. 5 is a flow chart of a method for processing invalid webpages in webpage collection provided by an embodiment of the present invention. As shown in FIG. 5 , after the above step 401, the method further includes:

步骤404,若接收到用户输入的网络地址访问操作,向所述网络地址发送访问请求。Step 404, if a network address access operation input by the user is received, send an access request to the network address.

该步骤中,上述网络地址为网页收藏中的网络地址,各终端的用户进行网络地址访问时,向网络地址发送访问请求,以建立访问连接,此时将会监测访问的结果。In this step, the above-mentioned network address is the network address in the web page collection, and when the user of each terminal accesses the network address, an access request is sent to the network address to establish an access connection, and the result of the access will be monitored at this time.

步骤405,根据访问的结果确定所述网络地址的状态信息。Step 405, determine the status information of the network address according to the access result.

当若访问成功,则可以记录该网络地址的状态信息为有效状态。当访问失败时,则可以记录该网络地址的状态信息为无效状态。If the access is successful, the status information of the network address can be recorded as valid. When the access fails, the state information of the network address may be recorded as an invalid state.

步骤406,向服务器上报所述网络地址的状态信息。Step 406, report the status information of the network address to the server.

每一终端将会把自身记录的网页收藏的所有网络地址的状态信息上报给服务器,从而对服务器中的映射表的所有网络地址的状态信息进行更新。Each terminal will report the state information of all network addresses in the web page collection recorded by itself to the server, thereby updating the state information of all network addresses in the mapping table in the server.

应理解,本实施例中,由各终端对网络地址的状态信息进行检测,在其他实施例中,还可以采用服务器进行网络地址的状态信息检测。由于在本实施例中,采用各终端进行网络地址的状态信息检测,从而可以减少网络地址的访问次数,只有当各终端有需求访问时,才会发送访问请求到相应的网络地址。It should be understood that, in this embodiment, each terminal detects the state information of the network address, and in other embodiments, the server may also be used to detect the state information of the network address. In this embodiment, each terminal is used to detect the state information of the network address, thereby reducing the number of visits to the network address, and only when each terminal needs access, the access request will be sent to the corresponding network address.

本实施例中,服务器发送每个终端对应的网络地址的状态信息的内容可以根据实际需要进行设置,例如,可以仅发送处于无效状态的网络地址的状态信息,也可以仅发送处于有效状态的网络地址的状态信息,也可以发送具有状态变化的网络地址的状态信息,还可以将所有网络地址的状态信息都发送给终端。与此同时,可以由服务器主动推送网络地址的状态信息到终端,也可以由终端进行查询获取服务器中对应储存的络地址的状态信息,以下将以终端进行查询的方式进行详细说明:In this embodiment, the content of the status information sent by the server to the network address corresponding to each terminal can be set according to actual needs. For example, only the status information of the network address in the invalid state can be sent, or only the network address in the valid state can be sent. The state information of the address may also send the state information of the network address with state change, and may also send the state information of all network addresses to the terminal. At the same time, the server can actively push the status information of the network address to the terminal, and the terminal can also query and obtain the status information of the corresponding stored network address in the server. The following will describe in detail how the terminal queries:

可选的,在上述步骤401之后,上述方法还包括:向所述服务器发送查询请求,以供所述服务器根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息。Optionally, after the above step 401, the above method further includes: sending a query request to the server, so that the server can query the status information of all network addresses of the user identification information corresponding to the terminal according to the query request .

本实施例中,各终端可以将自己对收藏网页的访问情况上报到服务器,由服务器对上述映射表进行更新,以供其他终端进行状态信息的查询。具体的,终端可以在连入WIFI网络的状态下发送查询请求进行查询,从而避免流量浪费;此外还可以周期性(如整点)向服务器发送查询请求。In this embodiment, each terminal may report its access to the favorite webpage to the server, and the server may update the above mapping table for other terminals to query status information. Specifically, the terminal can send a query request for query while connected to the WIFI network, thereby avoiding traffic waste; in addition, it can also periodically (such as the hour) send the query request to the server.

第五实施例fifth embodiment

参见图6,图6是本发明实施提供的服务器的结构图,能够实现第一至第二实施例中网页收藏的无效网页处理方法的细节,并达到相同的效果。如图6所示,服务器600包括第一接收模块601、关联模块602、检测模块603和结果发送模块604,其中:Referring to FIG. 6, FIG. 6 is a structural diagram of a server provided by the present invention, which can realize the details of the methods for processing invalid webpages in the webpage collection in the first to second embodiments, and achieve the same effect. As shown in Figure 6, the server 600 includes a first receiving module 601, an association module 602, a detection module 603 and a result sending module 604, wherein:

第一接收模块601,用于接收终端上报的用户标识信息和对应的收藏网页的网络地址;The first receiving module 601 is used to receive the user identification information reported by the terminal and the network address of the corresponding favorite web page;

关联模块602,用于建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;An association module 602, configured to establish an association relationship between the network address and the user identification information to form a mapping table;

检测模块603,用于检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;A detection module 603, configured to detect state information of all network addresses in the mapping table, and store detection results, the state information includes a valid state and an invalid state;

结果发送模块604,用于根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。The result sending module 604 is configured to send the status information of the network address to the corresponding terminal according to the detection result, so that the terminal can perform corresponding invalidation processing operations.

可选的,所述映射表中包含所述网络地址的状态信息;所述检测模块603包括:Optionally, the mapping table includes state information of the network address; the detection module 603 includes:

检测单元,用于检测终端上报的网络地址的状态信息;a detection unit, configured to detect the state information of the network address reported by the terminal;

更新单元,用于将上报的网络地址的状态信息更新至所述映射表中。An updating unit, configured to update the reported state information of the network address into the mapping table.

可选的,参照图7,所述服务器600还包括:Optionally, referring to FIG. 7, the server 600 further includes:

第一请求发送模块605,用于在预设周期时间内,按照预设间隔时间向目标网络地址发送访问请求;所述目标网络地址为所述映射表中由有效状态变化为无效状态的网络地址;The first request sending module 605 is configured to send an access request to a target network address according to a preset interval within a preset cycle time; the target network address is a network address in the mapping table that changes from a valid state to an invalid state ;

更新模块606,用于若访问成功,将所述目标网络地址的状态信息更新为有效状态。An updating module 606, configured to update the state information of the target network address to a valid state if the access is successful.

可选的,所述结果发送模块604具体用于:将所述状态信息发生变化的网络地址的状态信息发送至对应的终端。Optionally, the result sending module 604 is specifically configured to: send the status information of the network address where the status information changes to the corresponding terminal.

可选的,所述结果发送模块604包括:Optionally, the result sending module 604 includes:

接收单元,用于接收终端的查询请求;a receiving unit, configured to receive a query request from a terminal;

查询单元,用于根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息;A query unit, configured to query the status information of all network addresses of the user identification information corresponding to the terminal according to the query request;

发送单元,用于将查询获得的所有网络地址的状态信息发送至所述终端。A sending unit, configured to send the state information of all network addresses obtained through query to the terminal.

本发明实施例中,接收终端上报的用户标识信息和对应的收藏网页的网络地址;建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In the embodiment of the present invention, the user identification information reported by the terminal and the network address of the corresponding favorite web page are received; the association relationship between the network address and the user identification information is established to form a mapping table; all network addresses in the mapping table are detected State information of the address, and store detection results, the state information includes a valid state and an invalid state; according to the detection results, send the state information of the network address to the corresponding terminal for the terminal to perform corresponding invalidation Processing operations. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

第六实施例Sixth embodiment

参见图8,图8是本发明实施提供的终端的结构图,能够实现第三至第四实施例中网页收藏的无效网页处理方法的细节,并达到相同的效果。如图8所示,终端800包括第一上报模块801、第二接收模块802和执行模块803,其中:Referring to FIG. 8 , FIG. 8 is a structural diagram of a terminal provided by the present invention, which can realize the details of the method for processing invalid webpages in the webpage collection in the third to fourth embodiments, and achieve the same effect. As shown in FIG. 8, the terminal 800 includes a first reporting module 801, a second receiving module 802, and an execution module 803, wherein:

第一上报模块801,用于向服务器上报用户标识信息和对应的收藏网页的网络地址;The first reporting module 801 is configured to report the user identification information and the corresponding network address of the favorite web page to the server;

第二接收模块802,用于接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;The second receiving module 802 is configured to receive status information detected by the server on the network address, where the status information includes a valid status and an invalid status;

执行模块803,用于根据所述网络地址的状态信息,执行相应的无效处理操作。The execution module 803 is configured to execute a corresponding invalidation processing operation according to the state information of the network address.

可选的,参照图9,所述终端800还包括:Optionally, referring to FIG. 9, the terminal 800 further includes:

第二请求发送模块804,用于若接收到用户输入的网络地址访问操作,向所述网络地址发送访问请求;The second request sending module 804 is configured to send an access request to the network address if a network address access operation input by the user is received;

确定模块805,用于根据访问的结果确定所述网络地址的状态信息;A determining module 805, configured to determine the state information of the network address according to the access result;

第二上报模块806,用于向服务器上报所述网络地址的状态信息。The second reporting module 806 is configured to report the state information of the network address to the server.

可选的,所述执行模块803具体用于:标识处于无效状态的网络地址和/或解除从无效状态转化为有效状态的网络地址对应的标识。Optionally, the execution module 803 is specifically configured to: identify the network address in the invalid state and/or cancel the identification corresponding to the network address transformed from the invalid state to the valid state.

可选的,参照图10,所述终端800还包括:Optionally, referring to FIG. 10, the terminal 800 further includes:

查询请求发送模块807,用于向所述服务器发送查询请求,以供所述服务器根据所述查询请求,查询所述终端800对应的用户标识信息的所有网络地址的状态信息。The query request sending module 807 is configured to send a query request to the server, so that the server can query the status information of all network addresses of the user identification information corresponding to the terminal 800 according to the query request.

本发明实施例中,向服务器上报用户标识信息和对应的收藏网页的网络地址;接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;根据所述网络地址的状态信息,执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In the embodiment of the present invention, the user identification information and the corresponding network address of the favorite web page are reported to the server; the state information detected by the server for the network address is received, and the state information includes a valid state and an invalid state; Status information, perform the corresponding invalid processing operation. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

第七实施例Seventh embodiment

参见图11,图11是本发明实施例提供的移动终端的结构图,能够实现第三至第四实施例中网页收藏的无效网页处理方法的细节,并达到相同的效果。如图11所示,移动终端1100包括:至少一个处理器1101、存储器1102、至少一个网络接口1104和用户接口1103。移动终端1100中的各个组件通过总线系统1105耦合在一起。可理解,总线系统1105用于实现这些组件之间的连接通信。总线系统1105除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图11中将各种总线都标为总线系统1105。Referring to FIG. 11 , FIG. 11 is a structural diagram of a mobile terminal provided by an embodiment of the present invention, which can realize the details of the method for processing invalid web pages in web page collection in the third to fourth embodiments, and achieve the same effect. As shown in FIG. 11 , a mobile terminal 1100 includes: at least one processor 1101 , a memory 1102 , at least one network interface 1104 and a user interface 1103 . Various components in the mobile terminal 1100 are coupled together through the bus system 1105 . It can be understood that the bus system 1105 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1105 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled bus system 1105 in FIG. 11 for clarity of illustration.

其中,用户接口1103可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。Wherein, the user interface 1103 may include a display, a keyboard or a pointing device (for example, a mouse, a track ball (track ball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器1102可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器1102旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1102 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). Memory 1102 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器1102存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统11021和应用程序11022。In some implementations, the memory 1102 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 11021 and an application program 11022 .

其中,操作系统11021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序11022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序11022中。Among them, the operating system 11021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 11022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be contained in the application program 11022 .

在本发明实施例中,通过调用存储器1102存储的程序或指令,具体的,可以是应用程序11022中存储的程序或指令,网络接口1104用于:接收终端上报的用户标识信息和对应的收藏网页的网络地址;处理器1101用于:建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。In the embodiment of the present invention, by calling the program or instruction stored in the memory 1102, specifically, the program or instruction stored in the application program 11022, the network interface 1104 is used to: receive the user identification information and the corresponding favorite web page reported by the terminal the network address; the processor 1101 is configured to: establish an association relationship between the network address and the user identification information to form a mapping table; detect the state information of all network addresses in the mapping table, and store the detection result, the The state information includes a valid state and an invalid state; according to the detection result, the state information of the network address is sent to a corresponding terminal, so that the terminal can perform a corresponding invalid processing operation.

上述本发明实施例揭示的方法可以应用于处理器1101中,或者由处理器1101实现。处理器1101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1101可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1102,处理器1101读取存储器1102中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1101 or implemented by the processor 1101 . The processor 1101 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1101 or instructions in the form of software. The aforementioned processor 1101 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选的,所述映射表中包含所述网络地址的状态信息;处理器1101还用于:检测终端上报的网络地址的状态信息;将上报的网络地址的状态信息更新至所述映射表中。Optionally, the mapping table includes state information of the network address; the processor 1101 is further configured to: detect the state information of the network address reported by the terminal; update the state information of the reported network address into the mapping table .

可选的,网络接口1104还用于:在预设周期时间内,按照预设间隔时间向目标网络地址发送访问请求;所述目标网络地址为所述映射表中由有效状态变化为无效状态的网络地址;处理器1101还用于:若访问成功,将所述目标网络地址的状态信息更新为有效状态。Optionally, the network interface 1104 is also used to: send an access request to a target network address according to a preset interval within a preset cycle time; Network address; the processor 1101 is further configured to: if the access is successful, update the state information of the target network address to a valid state.

可选的,处理器1101还用于:将所述状态信息发生变化的网络地址的状态信息发送至对应的终端。Optionally, the processor 1101 is further configured to: send the status information of the network address whose status information changes to a corresponding terminal.

可选的,网络接口1104还用于:接收终端的查询请求;处理器1101还用于:根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息;将查询获得的所有网络地址的状态信息发送至所述终端。Optionally, the network interface 1104 is also used to: receive a query request from the terminal; the processor 1101 is also used to: according to the query request, query the status information of all network addresses of the user identification information corresponding to the terminal; The state information of all network addresses of the network is sent to the terminal.

本发明实施例中,向服务器上报用户标识信息和对应的收藏网页的网络地址;接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;根据所述网络地址的状态信息,执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In the embodiment of the present invention, the user identification information and the corresponding network address of the favorite web page are reported to the server; the state information detected by the server for the network address is received, and the state information includes a valid state and an invalid state; Status information, perform the corresponding invalid processing operation. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

第八实施例Eighth embodiment

请参阅图12,图12是本发明实施例提供的终端的结构图,能够实现第三至第四实施例中网页收藏的无效网页处理方法的细节,并达到相同的效果。如图12所示,终端1200包括射频(Radio Frequency,RF)电路1210、存储器1220、输入单元1230、显示单元1240、处理器1250、音频电路1260、通信模块1270、和电源1280,还包括摄像头(图中未示出)。Please refer to FIG. 12 . FIG. 12 is a structural diagram of a terminal provided by an embodiment of the present invention, which can implement the details of the methods for processing invalid webpages in webpage collection in the third to fourth embodiments, and achieve the same effect. As shown in FIG. 12, a terminal 1200 includes a radio frequency (Radio Frequency, RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a processor 1250, an audio circuit 1260, a communication module 1270, and a power supply 1280, and also includes a camera ( not shown in the figure).

其中,输入单元1230可用于接收用户输入的数字或字符信息,以及产生与移动终端1200的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元1230可以包括触控面板1231。触控面板1231,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1231上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1231可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器1250,并能接收处理器1250发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1231。除了触控面板1231,输入单元1230还可以包括其他输入设备1232,其他输入设备1232可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 1230 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 1200 . Specifically, in the embodiment of the present invention, the input unit 1230 may include a touch panel 1231 . The touch panel 1231, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 1231 using any suitable object or accessory such as a finger and a stylus), and perform the operation according to preset settings. The specified program drives the corresponding connected device. Optionally, the touch panel 1231 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1250, and can receive and execute commands sent by the processor 1250. In addition, the touch panel 1231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1231, the input unit 1230 may also include other input devices 1232, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元1240可用于显示由用户输入的信息或提供给用户的信息以及移动终端1200的各种菜单界面。显示单元1240可包括显示面板1241,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1241。Wherein, the display unit 1240 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 1200 . The display unit 1240 may include a display panel 1241, and optionally, the display panel 1241 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板1231可以覆盖显示面板1241,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器1250以确定触摸事件的类型,随后处理器1250根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 1231 can cover the display panel 1241 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 1250 to determine the type of the touch event, and then the processor 1250 provides corresponding visual output on the touch display screen according to the type of the touch event.

其中处理器1250是移动终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器1221内的软件程序和/或模块,以及调用存储在第二存储器1222内的数据,执行移动终端1200的各种功能和处理数据,从而对移动终端1200进行整体监控。可选的,处理器1250可包括一个或多个处理单元。Wherein the processor 1250 is the control center of the mobile terminal 1200, which uses various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes software programs and/or modules stored in the first memory 1221, and calls stored in the second The data in the memory 1222 executes various functions of the mobile terminal 1200 and processes data, so as to monitor the mobile terminal 1200 as a whole. Optionally, the processor 1250 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器1221内的软件程序和/或模块和/或该第二存储器1222内的数据,通信模块1270用于:接收终端上报的用户标识信息和对应的收藏网页的网络地址;处理器1250用于:建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 1221 and/or the data in the second memory 1222, the communication module 1270 is used to: receive the user identification information and corresponding The network address of the favorite web page; the processor 1250 is configured to: establish the association relationship between the network address and the user identification information to form a mapping table; detect the state information of all network addresses in the mapping table, and store the detection result , the state information includes a valid state and an invalid state; according to the detection result, sending the state information of the network address to a corresponding terminal, so that the terminal can perform a corresponding invalid processing operation.

可选的,所述映射表中包含所述网络地址的状态信息;处理器1250还用于:检测终端上报的网络地址的状态信息;将上报的网络地址的状态信息更新至所述映射表中。Optionally, the mapping table includes state information of the network address; the processor 1250 is further configured to: detect the state information of the network address reported by the terminal; update the state information of the reported network address into the mapping table .

可选的,通信模块1270还用于:在预设周期时间内,按照预设间隔时间向目标网络地址发送访问请求;所述目标网络地址为所述映射表中由有效状态变化为无效状态的网络地址;处理器1250还用于:若访问成功,将所述目标网络地址的状态信息更新为有效状态。Optionally, the communication module 1270 is also used to: send an access request to the target network address according to the preset interval within the preset cycle time; Network address; the processor 1250 is further configured to: if the access is successful, update the state information of the target network address to a valid state.

可选的,处理器1250还用于:将所述状态信息发生变化的网络地址的状态信息发送至对应的终端。Optionally, the processor 1250 is further configured to: send the status information of the network address whose status information changes to a corresponding terminal.

可选的,通信模块1270还用于:接收终端的查询请求;处理器1250还用于:根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息;将查询获得的所有网络地址的状态信息发送至所述终端。Optionally, the communication module 1270 is further configured to: receive a query request from the terminal; the processor 1250 is also configured to: query the status information of all network addresses of the user identification information corresponding to the terminal according to the query request; The state information of all network addresses of the network is sent to the terminal.

本发明实施例中,向服务器上报用户标识信息和对应的收藏网页的网络地址;接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;根据所述网络地址的状态信息,执行相应的无效处理操作。由于对网页收藏的网络地址进行了检测,并可以对无效的网络地址进行了相应的处理,从而避免了无效地网络地址带来的无效操作,因此解决无效状态网页造成用户使用不便的问题。In the embodiment of the present invention, the user identification information and the corresponding network address of the favorite web page are reported to the server; the state information detected by the server for the network address is received, and the state information includes a valid state and an invalid state; Status information, perform the corresponding invalid processing operation. Since the network address of the web page collection is detected, and the invalid network address can be dealt with accordingly, the invalid operation caused by the invalid network address is avoided, thus solving the problem of user inconvenience caused by the invalid state web page.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (18)

1.一种网页收藏的无效网页处理方法,其特征在于,包括:1. An invalid web page processing method for web page collection, characterized in that, comprising: 接收终端上报的用户标识信息和对应的收藏网页的网络地址;receiving the user identification information reported by the terminal and the network address of the corresponding favorite web page; 建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;Establishing an association relationship between the network address and the user identification information to form a mapping table; 检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;Detecting state information of all network addresses in the mapping table, and storing detection results, the state information includes valid state and invalid state; 根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。According to the detection result, the state information of the network address is sent to the corresponding terminal, so that the terminal can perform corresponding invalidation processing operation. 2.根据权利要求1所述的方法,其特征在于,所述映射表中包含所述网络地址的状态信息;2. The method according to claim 1, wherein the mapping table includes state information of the network address; 所述检测所述映射表中所有网络地址的状态信息,并储存检测结果的步骤,包括:The step of detecting the status information of all network addresses in the mapping table and storing the detection results includes: 检测终端上报的所述网络地址的状态信息;Detecting status information of the network address reported by the terminal; 将上报的所述网络地址的状态信息更新至所述映射表中。and updating the reported state information of the network address into the mapping table. 3.根据权利要求2所述的方法,其特征在于,所述将上报的网络地址的状态信息更新至所述映射表中的步骤之后,所述方法还包括:3. The method according to claim 2, wherein after the step of updating the status information of the reported network address into the mapping table, the method further comprises: 在预设周期时间内,按照预设间隔时间向目标网络地址发送访问请求;所述目标网络地址为所述映射表中由有效状态变化为无效状态的网络地址;Within the preset cycle time, send an access request to the target network address according to the preset interval time; the target network address is a network address in the mapping table that changes from a valid state to an invalid state; 若访问成功,将所述目标网络地址的状态信息更新为有效状态。If the access is successful, update the state information of the target network address to a valid state. 4.根据权利要求1所述的方法,其特征在于,所述根据所述检测结果,将所述网络地址的状态信息发送至对应的终端的步骤包括:4. The method according to claim 1, wherein the step of sending the state information of the network address to the corresponding terminal according to the detection result comprises: 将所述状态信息发生变化的所述网络地址的状态信息发送至对应的终端。and sending the state information of the network address whose state information has changed to a corresponding terminal. 5.根据权利要求1所述的方法,其特征在于,所述根据检测结果,将所述网络地址的状态信息发送至对应的终端的步骤包括:5. The method according to claim 1, wherein the step of sending the status information of the network address to the corresponding terminal according to the detection result comprises: 接收终端的查询请求;receiving the query request from the terminal; 根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息;According to the query request, query the state information of all network addresses of the user identification information corresponding to the terminal; 将查询获得的所有网络地址的状态信息发送至所述终端。and sending the status information of all network addresses obtained through the query to the terminal. 6.一种网页收藏的无效网页处理方法,其特征在于,包括:6. An invalid web page processing method for web page collection, characterized in that it comprises: 向服务器上报用户标识信息和对应的收藏网页的网络地址;Report the user identification information and the network address of the corresponding favorite web page to the server; 接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;receiving status information detected by the server on the network address, where the status information includes a valid status and an invalid status; 根据所述网络地址的状态信息,执行相应的无效处理操作。According to the status information of the network address, corresponding invalidation processing operation is performed. 7.根据权利要求6所述的方法,其特征在于,所述向服务器上报用户标识信息和对应的收藏网页的网络地址的步骤之后,所述方法还包括:7. The method according to claim 6, characterized in that, after the step of reporting the user identification information and the corresponding network address of the favorite web page to the server, the method further comprises: 若接收到用户输入的网络地址访问操作,向所述网络地址发送访问请求;If a network address access operation input by the user is received, an access request is sent to the network address; 根据访问的结果确定所述网络地址的状态信息;determining the state information of the network address according to the access result; 向服务器上报所述网络地址的状态信息。Report the status information of the network address to the server. 8.根据权利要求6所述的方法,其特征在于,所述执行相应的无效处理操作的步骤,包括:8. The method according to claim 6, wherein the step of performing the corresponding invalidation processing operation comprises: 标识处于无效状态的网络地址和/或解除从无效状态转化为有效状态的网络地址对应的标识。Identifying network addresses that are in an invalid state and/or de-identifying corresponding network addresses that are transitioning from an invalid state to a valid state. 9.根据权利要求6所述的方法,其特征在于,所述向服务器上报用户标识信息和对应的收藏网页的网络地址的步骤之后,所述方法还包括:9. The method according to claim 6, characterized in that, after the step of reporting the user identification information and the corresponding network address of the favorite web page to the server, the method further comprises: 向所述服务器发送查询请求,以供所述服务器根据所述查询请求,查询终端对应的用户标识信息的所有网络地址的状态信息。Sending a query request to the server, so that the server can query the status information of all network addresses of the user identification information corresponding to the terminal according to the query request. 10.一种服务器,其特征在于,包括:10. A server, characterized in that, comprising: 第一接收模块,用于接收终端上报的用户标识信息和对应的收藏网页的网络地址;The first receiving module is used to receive the user identification information reported by the terminal and the network address of the corresponding favorite web page; 关联模块,用于建立所述网络地址与所述用户标识信息对应的关联关系,形成映射表;An association module, configured to establish an association relationship between the network address and the user identification information to form a mapping table; 检测模块,用于检测所述映射表中所有网络地址的状态信息,并储存检测结果,所述状态信息包括有效状态和无效状态;A detection module, configured to detect state information of all network addresses in the mapping table, and store detection results, the state information includes a valid state and an invalid state; 结果发送模块,用于根据所述检测结果,将所述网络地址的状态信息发送至对应的终端,以供所述终端执行相应的无效处理操作。The result sending module is configured to send the status information of the network address to the corresponding terminal according to the detection result, so that the terminal can perform corresponding invalid processing operations. 11.根据权利要求10所述的服务器,其特征在于,所述映射表中包含所述网络地址的状态信息;11. The server according to claim 10, wherein the mapping table includes state information of the network address; 所述检测模块包括:The detection module includes: 检测单元,用于检测终端上报的网络地址的状态信息;a detection unit, configured to detect the state information of the network address reported by the terminal; 更新单元,用于将上报的网络地址的状态信息更新至所述映射表中。An updating unit, configured to update the reported state information of the network address into the mapping table. 12.根据权利要求11所述的服务器,其特征在于,所述服务器还包括:12. The server according to claim 11, further comprising: 第一请求发送模块,用于在预设周期时间内,按照预设间隔时间向目标网络地址发送访问请求;所述目标网络地址为所述映射表中由有效状态变化为无效状态的网络地址;The first request sending module is configured to send an access request to a target network address according to a preset interval within a preset period of time; the target network address is a network address in the mapping table that changes from a valid state to an invalid state; 更新模块,用于若访问成功,将所述目标网络地址的状态信息更新为有效状态。An update module, configured to update the state information of the target network address to a valid state if the access is successful. 13.根据权利要求10所述的服务器,其特征在于,所述结果发送模块具体用于:将所述状态信息发生变化的网络地址的状态信息发送至对应的终端。13. The server according to claim 10, wherein the result sending module is specifically configured to: send the status information of the network address where the status information changes to the corresponding terminal. 14.根据权利要求10所述的服务器,其特征在于,所述结果发送模块包括:14. The server according to claim 10, wherein the result sending module comprises: 接收单元,用于接收终端的查询请求;a receiving unit, configured to receive a query request from a terminal; 查询单元,用于根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息;A query unit, configured to query the status information of all network addresses of the user identification information corresponding to the terminal according to the query request; 发送单元,用于将查询获得的所有网络地址的状态信息发送至所述终端。A sending unit, configured to send the state information of all network addresses obtained through query to the terminal. 15.一种终端,其特征在于,包括:15. A terminal, characterized in that it comprises: 第一上报模块,用于向服务器上报用户标识信息和对应的收藏网页的网络地址;The first reporting module is used to report the user identification information and the corresponding network address of the favorite web page to the server; 第二接收模块,用于接收服务器对所述网络地址检测的状态信息,所述状态信息包括有效状态和无效状态;The second receiving module is configured to receive status information detected by the server on the network address, where the status information includes a valid status and an invalid status; 执行模块,用于根据所述网络地址的状态信息,执行相应的无效处理操作。An executing module, configured to execute corresponding invalidation processing operations according to the state information of the network address. 16.根据权利要求15所述的终端,其特征在于,所述终端还包括:16. The terminal according to claim 15, further comprising: 第二请求发送模块,用于若接收到用户输入的网络地址访问操作,向所述网络地址发送访问请求;The second request sending module is configured to send an access request to the network address if a network address access operation input by the user is received; 确定模块,用于根据访问的结果确定所述网络地址的状态信息;A determining module, configured to determine the state information of the network address according to the access result; 第二上报模块,用于向服务器上报所述网络地址的状态信息。The second reporting module is configured to report the state information of the network address to the server. 17.根据权利要求15所述的终端,其特征在于,所述执行模块具体用于:标识处于无效状态的网络地址和/或解除从无效状态转化为有效状态的网络地址对应的标识。17 . The terminal according to claim 15 , wherein the execution module is specifically configured to: identify a network address in an invalid state and/or cancel the identification corresponding to a network address that is transformed from an invalid state to a valid state. 18.根据权利要求15所述的终端,其特征在于,所述终端还包括:18. The terminal according to claim 15, further comprising: 查询请求发送模块,用于向所述服务器发送查询请求,以供所述服务器根据所述查询请求,查询所述终端对应的用户标识信息的所有网络地址的状态信息。A query request sending module, configured to send a query request to the server, so that the server can query the status information of all network addresses of the user identification information corresponding to the terminal according to the query request.
CN201710083972.5A 2017-02-16 2017-02-16 A kind of invalid web pages processing method of web page storage, server and terminal Pending CN106874474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710083972.5A CN106874474A (en) 2017-02-16 2017-02-16 A kind of invalid web pages processing method of web page storage, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710083972.5A CN106874474A (en) 2017-02-16 2017-02-16 A kind of invalid web pages processing method of web page storage, server and terminal

Publications (1)

Publication Number Publication Date
CN106874474A true CN106874474A (en) 2017-06-20

Family

ID=59167053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710083972.5A Pending CN106874474A (en) 2017-02-16 2017-02-16 A kind of invalid web pages processing method of web page storage, server and terminal

Country Status (1)

Country Link
CN (1) CN106874474A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257454A (en) * 2018-08-23 2019-01-22 深圳市元征科技股份有限公司 A kind of contract address resolution method, device, equipment and medium based on block chain
CN110740074A (en) * 2019-08-22 2020-01-31 阿里巴巴集团控股有限公司 Network address detection method and device and electronic equipment
US11263588B2 (en) 2018-12-20 2022-03-01 Microsoft Technology Licensing, Llc Intelligent document management in computing systems

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185303A (en) * 2002-12-03 2004-07-02 Mitsubishi Electric Corp Www site history retrieving device and method, and program
CN102819554A (en) * 2012-06-26 2012-12-12 北京奇虎科技有限公司 Favorite data processing method and device and server
CN105069011A (en) * 2015-07-07 2015-11-18 安一恒通(北京)科技有限公司 Webpage favorite management method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185303A (en) * 2002-12-03 2004-07-02 Mitsubishi Electric Corp Www site history retrieving device and method, and program
CN102819554A (en) * 2012-06-26 2012-12-12 北京奇虎科技有限公司 Favorite data processing method and device and server
CN105069011A (en) * 2015-07-07 2015-11-18 安一恒通(北京)科技有限公司 Webpage favorite management method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257454A (en) * 2018-08-23 2019-01-22 深圳市元征科技股份有限公司 A kind of contract address resolution method, device, equipment and medium based on block chain
US11263588B2 (en) 2018-12-20 2022-03-01 Microsoft Technology Licensing, Llc Intelligent document management in computing systems
CN110740074A (en) * 2019-08-22 2020-01-31 阿里巴巴集团控股有限公司 Network address detection method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN106331213B (en) Domain name system DNS processing method and device
CN107171874A (en) A kind of speech engine switching method, mobile terminal and server
CN107562345A (en) A kind of information storage means and mobile terminal
CN106919695B (en) A kind of information recommendation method and terminal
CN107508903A (en) The access method and terminal device of a kind of web page contents
CN106998367A (en) A kind of document down loading method and mobile terminal
CN106599246B (en) Display content interception method, mobile terminal and control server
CN106778393A (en) A kind of information processing method and mobile terminal
CN106407417A (en) An application program data backup method and a mobile terminal
CN107491278A (en) A kind of split screen processing method and terminal
CN106534200A (en) Identity authentication method and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106874474A (en) A kind of invalid web pages processing method of web page storage, server and terminal
CN106445669A (en) Application task processing method and mobile terminal
CN106528690A (en) Method for accessing storage medium by application and mobile terminal
CN106445299A (en) A control method and mobile terminal
CN106209765A (en) A kind of method and device of integrated mailbox configurations information
CN107491482A (en) A kind of reminding method and mobile terminal
CN106126301A (en) The installation method of a kind of application software, processing method and mobile terminal
CN106385508A (en) Information display method and mobile terminal
CN106325942A (en) Application program data processing method and mobile terminal
CN106528350A (en) File backup method and mobile terminal
CN106371748A (en) Touch parameter setting method and mobile terminal
CN106850683A (en) The control method and mobile terminal of a kind of application program
CN106790768A (en) A kind of dns server method to set up and mobile 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171107

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620