CN105610596B - Resource directory management method and network terminal - Google Patents

Resource directory management method and network terminal Download PDF

Info

Publication number
CN105610596B
CN105610596B CN201410668557.2A CN201410668557A CN105610596B CN 105610596 B CN105610596 B CN 105610596B CN 201410668557 A CN201410668557 A CN 201410668557A CN 105610596 B CN105610596 B CN 105610596B
Authority
CN
China
Prior art keywords
resource
resource directory
directory
network
information
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.)
Active
Application number
CN201410668557.2A
Other languages
Chinese (zh)
Other versions
CN105610596A (en
Inventor
龙海建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410668557.2A priority Critical patent/CN105610596B/en
Publication of CN105610596A publication Critical patent/CN105610596A/en
Application granted granted Critical
Publication of CN105610596B publication Critical patent/CN105610596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a resource directory management method and a network terminal, wherein the resource directory management method comprises the following steps: acquiring a resource directory request which is submitted by a network terminal and aims at a target network resource, wherein the resource directory request carries at least one resource directory which is positioned at the last of a resource directory sequence in terminal side resource directory information; acquiring network side resource directory information of the target network resource according to the resource directory request; determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request; and pushing the at least one updated resource directory to the network terminal so that the network terminal updates the terminal side resource directory information according to the at least one updated resource directory. By adopting the invention, the updating efficiency of the resource directory can be improved.

Description

Resource directory management method and network terminal
Technical Field
The invention relates to the technical field of internet, in particular to a resource directory management method and a network terminal.
Background
With the development of internet technology, network resources, such as network novels, electronic books, videos, audios and the like, are increasingly abundant, and the network resources usually comprise one or more resource directories; the update frequency of the network resources is high, and the update of the network resources causes the structure of the resource directory to change greatly. For example, the author of the network novel updates the novel content every day, and the updating manner of the network novel may include adding a new resource directory, deleting the resource directory, modifying the content of the resource directory, etc., and these updating manners have a great influence on the directory structure of the network novel.
In the prior art, in order to deal with the high-frequency and irregular updating of the network resources, all the resource directories of the network resources generally need to be downloaded again after each updating, which results in low updating efficiency of the resource directories.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a resource directory management method and a network terminal, which can accurately check an update increment of a resource directory, thereby improving the update efficiency of the resource directory.
In order to solve the foregoing technical problem, a first aspect of an embodiment of the present invention provides a resource directory management method, where the method includes:
acquiring a resource directory request which is submitted by a network terminal and aims at a target network resource, wherein the resource directory request carries at least one resource directory which is positioned at the last of a resource directory sequence in terminal side resource directory information;
acquiring network side resource directory information of the target network resource according to the resource directory request;
determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request;
and pushing the at least one updated resource directory to the network terminal so that the network terminal updates the terminal side resource directory information according to the at least one updated resource directory.
Accordingly, a second aspect of the embodiments of the present invention provides a method for managing a resource directory, where the method includes:
submitting a resource directory request aiming at target network resources to a directory management server, wherein the resource directory request carries at least one resource directory which is positioned at the last of a resource directory sequence in terminal side resource directory information, so that the directory management server obtains the network side resource directory information of the target network resources according to the resource directory request, and determines at least one updated resource directory in the network side resource directory information according to the at least one resource directory carried in the resource directory request;
receiving the at least one updated resource directory pushed by the directory management server according to the resource directory request;
and updating the resource directory information of the terminal side according to the at least one updated resource directory.
Accordingly, a third aspect of the embodiments of the present invention provides a network terminal, where the network terminal includes:
a directory request submitting module, configured to submit a resource directory request for a target network resource to a directory management server, where the resource directory request carries at least one resource directory in terminal-side resource directory information, where the resource directory is last in a resource directory order, so that the directory management server obtains, according to the resource directory request, network-side resource directory information of the target network resource, and determines, according to the at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information;
an update directory receiving module, configured to receive the at least one update resource directory pushed by the directory management server according to the resource directory request;
and the directory information updating module is used for updating the terminal side resource directory information according to the at least one updated resource directory.
By implementing the embodiment of the invention, at least one updated resource directory can be determined in the network side resource directory information of the target network resource according to at least one resource directory which is positioned at the last of the resource directory sequence in the terminal side resource directory information of the target network resource, and the at least one updated resource directory is pushed to the network terminal, so that the network terminal updates the terminal side resource directory information according to the at least one updated resource directory. Compared with the prior art, the method and the device have the advantages that the terminal side resource directory information of the network resources is updated by downloading all the resource directories of the network resources again, the update increment of the resource directories can be accurately checked, and the update efficiency of the resource directories is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a resource directory management method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a resource directory management method according to another embodiment of the invention;
FIG. 3 is a flowchart illustrating a resource directory management method according to another embodiment of the invention;
FIG. 4 is a flowchart illustrating a resource directory management method according to another embodiment of the invention;
FIG. 5 is a flowchart illustrating a resource directory management method according to another embodiment of the invention;
fig. 6 is a schematic structural diagram of a directory management server provided in an embodiment of the present invention;
FIG. 7 is a block diagram of a directory management server in another embodiment of the invention;
fig. 8 is a schematic structural diagram of a network terminal provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a network terminal according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a resource directory management system provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The network terminal in the embodiment of the present invention may include any Internet device capable of accessing the Internet, such as a personal computer, a smart phone (e.g., an Android Mobile phone, an iOS Mobile phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable smart device. In addition, the target network resource can be any network resource containing a resource catalog, such as network novels, electronic books, network videos, network audios and the like.
Fig. 1 is a flowchart illustrating a resource directory management method in an embodiment of the present invention, where the resource directory management method described in fig. 1 is mainly described from a directory management server side. As shown in fig. 1, the resource directory management method may include the following steps:
s101, a resource directory request aiming at target network resources submitted by a network terminal is obtained, and the resource directory request carries at least one resource directory at the last of a resource directory sequence in terminal side resource directory information.
Specifically, the terminal-side resource directory information may include all resource directories of the target network resources on the terminal side. After the target network resource is released for the first time, the directory management server pushes all resource directories of the target network resource to the network terminal; thereafter, the network terminal may submit a resource directory request for the target network resource to the directory management server, and the directory management server may push at least one updated resource directory of the target network resource to the network terminal according to the resource directory request.
S102, obtaining the network side resource directory information of the target network resource according to the resource directory request.
Specifically, the network-side resource directory information of the target network resource may include all resource directories of the target network resource on the network side. And the resource management server acquires the storage position of the network side resource directory information of the target network resource on the network side according to the resource directory request, and acquires the network side resource directory information of the network resource at the storage position. Optionally, the resource directory request carries a resource identifier of the target network resource, and the directory management server obtains network-side resource directory information of the target network resource according to the resource identifier.
S103, determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request.
In a specific implementation, the directory management server may obtain, from the resource directory request, at least one resource directory that is in the last resource directory order in the terminal-side resource directory information, and determine, in the network-side resource directory information, at least one updated resource directory that is updated after the at least one resource directory.
In an alternative embodiment, step S103 of the method shown in fig. 1 may include:
determining the catalog progress of the terminal side resource catalog information in the network side resource catalog information according to at least one resource catalog carried in the resource catalog request; and determining at least one updated resource directory in the network side resource directory information according to the directory progress of the terminal side resource directory information.
For example, the directory management server determines that the directory schedule of the terminal-side resource directory information is 80% of the network-side resource directory information according to at least one resource directory in the terminal-side resource directory information that is at the last of the resource directory sequence, and may determine all resource directories in the network-side resource directory information after 80% of the directory schedule are updated resource directories.
In another alternative embodiment, step S103 in the method shown in fig. 1 may include:
starting from the last resource directory in the terminal side resource directory information, searching a corresponding network side resource directory in the network side resource directory information; and when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory.
In a specific implementation, the directory management server searches, starting from the last resource directory in the terminal-side resource directory information, a corresponding network-side resource directory in the network-side resource directory information according to the at least one resource directory, and determines, if a corresponding resource directory of one of the at least one resource directory on the network side is found, the at least one resource directory in the network-side resource directory information after the resource directory order position of the network-side resource directory is the updated resource directory.
Further in an optional embodiment, the method further comprises:
11) if the corresponding network side resource directory cannot be searched in the network side resource directory information according to at least one resource directory carried in the resource directory request, sending a resource directory positioning message to the network terminal;
12) receiving a specified number of resource directories which are at the last of the resource directory sequence in the terminal side resource directory information submitted by the network terminal according to the resource directory positioning message, wherein the specified number is greater than the number of the resource directories carried in the resource directory request;
13) starting from the last resource directory in the resource directories of the specified number submitted by the network terminal, searching the corresponding network side resource directory in the network side resource directory information;
14) and when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory.
Optionally, if no corresponding network-side resource directory can be found according to the specified number of resource directories after step 14) is executed, the directory management server may push all resource directories in the network-side resource directory information to the network terminal, and the network terminal updates all resource directories in the terminal-side resource directory information to all resource directories in the network-side resource directory information.
In yet another alternative embodiment, step S103 in the method shown in fig. 1 may include:
determining the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information; and determining at least one resource directory in the network side resource directory information after the resource directory sequence position as the updated resource directory.
Optionally, if the resource directory sequence position corresponding to the last resource directory in the terminal-side resource directory information in the network-side resource directory information is the last resource directory, the directory management server may push all resource directories in the network-side resource directory information to the network terminal, and the network terminal updates all resource directories in the terminal-side resource directory information to all resource directories in the network-side resource directory information.
Further in an optional embodiment, the resource directory of the target network resource includes a directory identifier, and the directory identifier is obtained by processing a segmented url of the target network resource; if the directory identifier of the resource directory in the network side resource directory information is found to be the same as the directory identifier of the resource directory in the terminal side resource directory information, determining that the directory identifier of the resource directory in the terminal side resource directory information is the network side resource directory corresponding to the resource directory in the network side resource directory information.
In a specific implementation, the target network resource includes a plurality of resource directories, and the resource directory of the target network resource may include a directory identifier, where the directory identifier is obtained by processing a segmented url (Uniform resource locator) of the target network resource. A hash function may be preset, and after the segment url corresponding to the resource directory is calculated by the hash function, a shaping value is generated, that is, the directory identifier of the resource directory. For example, the target network resource includes A, B, C three resource directories, url corresponding to a is aurl, url corresponding to B is aurl, url corresponding to C is curl; the aurl, the burl and the curl can be respectively calculated through a preset hash function to obtain the directory identifier a of the A, the directory identifier B of the B and the directory identifier C of the C. The catalog management server may find the resource catalog according to the catalog identifier of the resource catalog.
Optionally, different resource directories in the target network resource may correspond to the same url, and at this time, a self-shaping value may be added to the urls of the different resource directories, so as to avoid duplication of directory identifiers of the different resource directories. For example, the target network resource includes A, B two resource directories, and the urls corresponding to a and B are both u, the url corresponding to a may be adjusted to u-1, the url corresponding to B may be adjusted to u-2, and then u-1 and u-2 are respectively calculated through a preset hash function, so that different directory identifiers may be obtained for a and B.
S104, pushing the at least one updated resource directory to the network terminal so that the network terminal updates the terminal side resource directory information according to the at least one updated resource directory.
In a specific implementation, the directory management server pushes the at least one updated resource directory to the network terminal, and the network terminal may store the at least one updated resource directory in the terminal-side resource directory information of the target network resource, and sequentially set a sequential position of the at least one updated resource directory in the terminal-side resource directory information according to a directory sequence of the at least one updated resource directory at the end of the resource directory sequence of the terminal-side resource directory information, that is, update of the terminal-side resource directory information of the target network resource is completed.
It can be seen that, in the resource directory management method described in fig. 1, at least one updated resource directory is determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so that accurate verification of an update increment of the resource directory is achieved, and then the update of the terminal-side resource directory information is achieved according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 2 is a flowchart illustrating a resource directory management method in another embodiment of the present invention, wherein the resource directory management method described in fig. 2 is mainly described from the directory management server side. As shown in fig. 2, the resource directory management method may include the steps of:
s201, a resource directory request aiming at target network resources submitted by a network terminal is obtained, wherein the resource directory request carries at least one resource directory which is positioned at the last of a resource directory sequence in terminal side resource directory information and network side updating time corresponding to the terminal side resource directory information.
In a specific implementation, when a resource directory is updated in network side resource directory information of a target network resource, a directory management server may record the update time of the network side resource directory information at the time; when the network terminal obtains at least one updated resource directory from the network side resource directory information, the current network side update time of the network side resource directory information can also be recorded. And the network side updating time corresponding to the terminal side resource directory information is the network side updating time of the network side resource directory information at that time when the network terminal acquires the updated resource directory from the network side resource directory information last time at present.
S202, according to the resource directory request, network side resource directory information of the target network resource is obtained.
S203, judging whether the network side updating time corresponding to the terminal side resource directory information is the same as the current network side updating time of the network side resource directory information of the target network resource, if not, executing the steps S204-S205; if yes, go to step S206.
In a specific implementation, the directory management server may determine whether the target network resource is updated on the network side by judging whether the network side update time corresponding to the terminal side resource directory information is the same as the current network side update time of the network side resource directory information of the target network resource, and if not, may determine that the target network resource is updated, i.e., may perform steps S204 to S205; if the network resources are the same, it may be determined that the target network resources are not updated, and step S206 may be performed.
S204, determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request.
S205, pushing the at least one updated resource directory to the network terminal, so that the network terminal updates the terminal-side resource directory information according to the at least one updated resource directory.
Optionally, the directory management server further pushes the network side update time of the network side resource directory information of the target network resource to the network terminal, so that after the network terminal updates the terminal side resource directory information, the network side update time and the updated terminal side resource directory information are stored in an associated manner.
S206, informing the network terminal that the target network resource is not updated currently.
In a specific implementation, if the network side update time corresponding to the terminal side resource directory information is the same as the current network side update time of the network side resource directory information of the target network resource, it may be determined that the target network resource is not updated, and a notification message may be sent to the network terminal to notify the network terminal that the target network resource is not updated currently.
It can be seen that, in the resource directory management method described in fig. 2, at least one updated resource directory is determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so that accurate verification of an update increment of the resource directory is achieved, and then the update of the terminal-side resource directory information is achieved according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 3 is a flowchart illustrating a resource directory management method in another embodiment of the present invention, wherein the resource directory management method described in fig. 3 is mainly described from the network terminal side. As shown in fig. 3, the resource directory management method may include the steps of:
s301, submitting a resource directory request for a target network resource to a directory management server, where the resource directory request carries at least one resource directory in the terminal side resource directory information, which is at the last of a resource directory sequence, so that the directory management server obtains the network side resource directory information of the target network resource according to the resource directory request, and determines at least one updated resource directory in the network side resource directory information according to the at least one resource directory carried in the resource directory request.
Specifically, the network terminal may submit the resource inventory request periodically, for example, 8: 00 pm; the network terminal may also submit the resource directory request after detecting that the target network resource is updated, for example, after receiving a directory update prompt sent by the directory management server for the target network resource.
S302, receiving the at least one updated resource catalog pushed by the catalog management server according to the resource catalog request.
S303, updating the terminal side resource directory information according to the at least one updated resource directory.
In an optional embodiment, the resource directory request further carries network-side update time corresponding to the terminal-side resource directory information, so that the directory management server determines whether the network-side update time corresponding to the terminal-side resource directory information is the same as the current network-side update time of the network-side resource directory information of the target network resource, and if not, determines at least one updated resource directory in the network-side resource directory information according to at least one resource directory carried in the resource directory request.
Further in an alternative embodiment, as shown in fig. 3, the resource directory management method may further include the following steps:
31) receiving network side updating time of network side resource directory information of the target network resource pushed by the directory management server;
32) and after updating the terminal side resource directory information according to the at least one updated resource directory, storing the network side update time and the updated terminal side resource directory information in a correlated manner.
In another alternative embodiment, as shown in fig. 3, the resource directory management method may further include the following steps:
33) receiving a resource directory positioning message sent by the directory management server when the resource directory cannot be determined to be updated according to at least one resource directory carried in the resource directory request;
34) and submitting the resource directories with the specified number at the last resource directory sequence in the terminal side resource directory information to the directory management server according to the resource directory positioning message, wherein the specified number is larger than the number of the resource directories carried in the resource directory request, so that the directory management server determines at least one updated resource directory in the network side resource directory information according to the specified number of the resource directories.
Optionally, the network terminal may also obtain, according to the resource directory positioning message, a first resource directory in the terminal-side resource directory information, where the sequence position of the first resource directory is the most front in at least one resource directory at the last resource directory in the resource directory sequence, and obtain, from a resource directory before the first resource directory, a specified number of resource directories in the terminal-side resource directory information, where the specified number may be the same as or different from the number of resource directories carried in the resource directory request.
It can be seen that, in the resource directory management method described in fig. 3, at least one updated resource directory is determined in the network-side resource directory information of the target network resource according to at least one resource directory that is in the last resource directory order in the terminal-side resource directory information of the target network resource, so that accurate verification of an update increment of the resource directory is achieved, and then the update of the terminal-side resource directory information is achieved according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 4 is a flowchart illustrating a resource directory management method in another embodiment of the present invention, wherein the resource directory management method described in fig. 4 is mainly described from both sides of a network terminal and a directory management server. As shown in fig. 4, the resource directory management method may include the steps of:
s401, the network terminal submits a resource directory request aiming at target network resources to a directory management server, wherein the resource directory request carries at least one resource directory at the last of the resource directory sequence in the terminal side resource directory information.
S402, the catalog management server obtains the network side resource catalog information of the target network resource according to the resource catalog request.
And S403, the catalog management server determines at least one updated resource catalog in the network side resource catalog information according to the at least one resource catalog carried in the resource catalog request.
S404, the catalog management server pushes the at least one updated resource catalog to the network terminal.
S405, the network terminal updates the terminal side resource directory information according to the at least one updated resource directory.
It can be seen that, in the resource directory management method described in fig. 4, at least one updated resource directory is determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so that accurate verification of an update increment of the resource directory is achieved, and then the update of the terminal-side resource directory information is achieved according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 5 is a flowchart illustrating a resource directory management method in another embodiment of the present invention, wherein the resource directory management method described in fig. 5 is mainly described from both sides of a network terminal and a directory management server. As shown in fig. 5, the resource directory management method may include the steps of:
s501, the network terminal submits a resource directory request aiming at target network resources to a directory management server, wherein the resource directory request carries at least one resource directory at the last of the resource directory sequence in the terminal side resource directory information.
S502, the directory management server obtains the network side resource directory information of the target network resource according to the resource directory request.
S503, the directory management server searches the corresponding network side resource directory in the network side resource directory information from the last resource directory in the terminal side resource directory information, and if the corresponding network side resource directory can be searched, the step S504 is executed; if the corresponding network-side resource directory cannot be found, steps S505 to S508 are executed.
S504, the directory management server determines at least one resource directory in the network-side resource directory information after the resource directory order position of the network-side resource directory is the updated resource directory, and executes steps S509 to S510.
And S505, the directory management server sends a resource directory positioning message to the network terminal.
S506, the network terminal submits the resource directories with the appointed number at the last resource directory sequence in the terminal side resource directory information to the directory management server according to the resource directory positioning message, wherein the appointed number is larger than the number of the resource directories carried in the resource directory request.
And S507, the directory management server searches the corresponding network side resource directory in the network side resource directory information from the last resource directory in the specified number of resource directories submitted by the network terminal.
S508, when the corresponding network-side resource directory is found, the directory management server determines at least one resource directory in the network-side resource directory information after the resource directory sequence position of the network-side resource directory as the updated resource directory, and executes steps S509 to S510.
S509, the catalog management server pushes the at least one updated resource catalog to the network terminal.
S510, the network terminal updates the terminal side resource directory information according to the at least one updated resource directory.
It can be seen that, in the resource directory management method described in fig. 5, at least one updated resource directory is determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so that accurate verification of an update increment of the resource directory is achieved, and then the update of the terminal-side resource directory information is achieved according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 6 is a schematic structural diagram of a directory management server provided in an embodiment of the present invention, and as shown in fig. 6, the directory management server 600 in this embodiment at least may include:
the directory request obtaining module 601 is configured to obtain a resource directory request for a target network resource, where the resource directory request carries at least one resource directory in the terminal-side resource directory information, where the resource directory request is at the last of a resource directory sequence.
Specifically, the terminal-side resource directory information may include all resource directories of the target network resources on the terminal side. After the target network resource is released for the first time, the directory management server pushes all resource directories of the target network resource to the network terminal; thereafter, the network terminal may submit a resource directory request for the target network resource to the directory management server, and the directory management server may push at least one updated resource directory of the target network resource to the network terminal according to the resource directory request.
A directory information obtaining module 602, configured to obtain network side resource directory information of the target network resource according to the resource directory request.
Specifically, the network-side resource directory information of the target network resource may include all resource directories of the target network resource on the network side. The directory information obtaining module 602 may obtain, according to the resource directory request, a storage location of the network-side resource directory information of the target network resource on the network side, and obtain the network-side resource directory information of the network resource at the storage location. Optionally, the resource directory request carries a resource identifier of the target network resource, and the directory information obtaining module 602 obtains network-side resource directory information of the target network resource according to the resource identifier.
An update directory determining module 603, configured to determine at least one update resource directory in the network-side resource directory information according to the at least one resource directory carried in the resource directory request.
In a specific implementation, the update directory determining module 603 may obtain, from the resource directory request, at least one resource directory in the terminal-side resource directory information that is at the last of the resource directory sequence, and determine, in the network-side resource directory information, at least one update resource directory that is updated after the at least one resource directory.
In an alternative embodiment, the update catalog determination module 603 is configured to:
determining the catalog progress of the terminal side resource catalog information in the network side resource catalog information according to at least one resource catalog carried in the resource catalog request; and determining at least one updated resource directory in the network side resource directory information according to the directory progress of the terminal side resource directory information.
For example, the update directory determining module 603 determines that the directory schedule of the terminal-side resource directory information is 80% of the network-side resource directory information according to at least one resource directory in the terminal-side resource directory information that is at the last of the resource directory sequences, and then may determine all resource directories in the network-side resource directory information after 80% of the directory schedule are updated resource directories.
In another alternative embodiment, the update catalog determination module 603 is configured to:
starting from the last resource directory in the terminal side resource directory information, searching a corresponding network side resource directory in the network side resource directory information; and when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory.
In a specific implementation, the update directory determining module 603 searches, starting from the last resource directory in the terminal-side resource directory information, a corresponding network-side resource directory in the network-side resource directory information according to the at least one resource directory, and if a corresponding resource directory of one of the at least one resource directory on the network side is found, determines, as the update resource directory, the at least one resource directory in the network-side resource directory information after the resource directory order position of the network-side resource directory.
Further in an alternative embodiment, as shown in fig. 6, the catalog management server 600 may further include:
a positioning message sending module 605, configured to send a resource directory positioning message to the network terminal when the update directory determining module cannot find a corresponding network-side resource directory in the network-side resource directory information according to at least one resource directory carried in the resource directory request;
a resource directory receiving module 606, configured to receive a specified number of resource directories that are in a last resource directory order in the terminal-side resource directory information submitted by the network terminal according to the resource directory positioning message, where the specified number is greater than the number of resource directories carried in the resource directory request;
the update catalog determination module 603 is further configured to:
starting from the last resource directory in the resource directories of the specified number submitted by the network terminal, searching the corresponding network side resource directory in the network side resource directory information; and when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory.
Optionally, if the update directory determining module 603 does not find the corresponding network-side resource directory according to the specified number of resource directories, the directory management server may push all resource directories in the network-side resource directory information to the network terminal, and the network terminal updates all resource directories in the terminal-side resource directory information to all resource directories in the network-side resource directory information.
In yet another alternative embodiment, the update catalog determination module 603 is configured to:
determining the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information; and determining at least one resource directory in the network side resource directory information after the resource directory sequence position as the updated resource directory.
Optionally, if the resource directory sequence position corresponding to the last resource directory in the terminal-side resource directory information in the network-side resource directory information is the last resource directory, the directory management server may push all resource directories in the network-side resource directory information to the network terminal, and the network terminal updates all resource directories in the terminal-side resource directory information to all resource directories in the network-side resource directory information.
Further in an optional embodiment, the resource directory of the target network resource includes a directory identifier, and the directory identifier is obtained by processing a segmented url of the target network resource; if the directory identifier of the resource directory in the network side resource directory information is found to be the same as the directory identifier of the resource directory in the terminal side resource directory information, determining that the directory identifier of the resource directory in the terminal side resource directory information is the network side resource directory corresponding to the resource directory in the network side resource directory information.
In a specific implementation, the target network resource includes a plurality of resource directories, and the resource directory of the target network resource may include a directory identifier, where the directory identifier is obtained by processing a segmented url (Uniform resource locator) of the target network resource. A hash function may be preset, and after the segment url corresponding to the resource directory is calculated by the hash function, a shaping value is generated, that is, the directory identifier of the resource directory. For example, the target network resource includes A, B, C three resource directories, url corresponding to a is aurl, url corresponding to B is aurl, url corresponding to C is curl; the aurl, the burl and the curl can be respectively calculated through a preset hash function to obtain the directory identifier a of the A, the directory identifier B of the B and the directory identifier C of the C. The catalog management server may find the resource catalog according to the catalog identifier of the resource catalog.
Optionally, different resource directories in the target network resource may correspond to the same url, and at this time, a self-shaping value may be added to the urls of the different resource directories, so as to avoid duplication of directory identifiers of the different resource directories. For example, the target network resource includes A, B two resource directories, and the urls corresponding to a and B are both u, the url corresponding to a may be adjusted to u-1, the url corresponding to B may be adjusted to u-2, and then u-1 and u-2 are respectively calculated through a preset hash function, so that different directory identifiers may be obtained for a and B.
An update directory pushing module 604, configured to push the at least one update resource directory to the network terminal, so that the network terminal updates the terminal-side resource directory information according to the at least one update resource directory.
In a specific implementation, the update directory pushing module 604 pushes the at least one update resource directory to the network terminal, and the network terminal may store the at least one update resource directory in the terminal-side resource directory information of the target network resource, and sequentially set a sequential position of the at least one update resource directory in the terminal-side resource directory information according to a directory sequence of the at least one update resource directory at the end of the resource directory sequence of the terminal-side resource directory information, that is, update of the terminal-side resource directory information of the target network resource is completed.
In an optional embodiment, the resource directory request further carries a network side update time corresponding to the terminal side resource directory information.
In a specific implementation, when a resource directory is updated in network side resource directory information of a target network resource, a directory management server may record the update time of the network side resource directory information at the time; when the network terminal obtains at least one updated resource directory from the network side resource directory information, the current network side update time of the network side resource directory information can also be recorded. And the network side updating time corresponding to the terminal side resource directory information is the network side updating time of the network side resource directory information at that time when the network terminal acquires the updated resource directory from the network side resource directory information last time at present.
Further in an optional embodiment, the catalog management server 600 further includes:
an update time detection module 607, configured to determine whether a network-side update time corresponding to the terminal-side resource directory information is the same as a current network-side update time of the network-side resource directory information of the target network resource, and if not, trigger the update directory determination module to determine at least one update resource directory in the network-side resource directory information according to at least one resource directory carried in the resource directory request.
Optionally, the catalog management server 600 further includes:
an update time pushing module 608, configured to push the network side update time of the network side resource directory information of the target network resource to the network terminal, so that after the network terminal updates the terminal side resource directory information, the network side update time and the updated terminal side resource directory information are stored in an associated manner.
Optionally, the catalog management server 600 further includes:
a non-update notification module 609, configured to notify the network terminal that the target network resource is not updated currently when the update time detection module determines that the network-side update time corresponding to the terminal-side resource directory information is the same as the current network-side update time of the network-side resource directory information of the target network resource.
In a specific implementation, if the network side update time corresponding to the terminal side resource directory information is the same as the current network side update time of the network side resource directory information of the target network resource, it may be determined that the target network resource is not updated, and the no-update notification module 609 may send notification information to the network terminal to notify the network terminal that the target network resource is not updated currently.
As can be seen, with the directory management server 600 shown in fig. 6, at least one updated resource directory can be determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so as to implement accurate verification of the update increment of the resource directory, and further implement updating of the terminal-side resource directory information according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 7 is a schematic structural diagram of a directory management server in another embodiment of the present invention, and as shown in fig. 7, a directory management server 700 in this embodiment may include: at least one processor 701, e.g., a CPU, at least one network interface 704, a user interface 703, a memory 705, at least one communication bus 702. Wherein a communication bus 702 is used to enable connective communication between these components. The user interface 703 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 703 may also include a standard wired interface and a standard wireless interface. The network interface 704 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 705 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 705 may optionally be at least one memory device located remotely from the processor 701. As shown in fig. 7, the memory 705, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a resource directory management program.
In the payment server 700 shown in fig. 7, the network interface 704 is mainly used for connecting a network terminal and performing data communication with the network terminal; and the processor 701 may be configured to invoke the resource directory manager stored in the memory 705 and perform the following operations:
acquiring a resource directory request aiming at target network resources submitted by a network terminal through a network interface 704, wherein the resource directory request carries at least one resource directory at the last of a resource directory sequence in terminal side resource directory information;
acquiring network side resource directory information of the target network resource according to the resource directory request;
determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request;
pushing the at least one updated resource directory to the network terminal through a network interface 704, so that the network terminal updates the terminal-side resource directory information according to the at least one updated resource directory.
In an optional embodiment, the resource directory request further carries network side update time corresponding to the terminal side resource directory information;
before determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request, the method further includes:
and determining that the network side update time corresponding to the terminal side resource directory information is different from the current network side update time of the network side resource directory information of the target network resource.
In an optional embodiment, the determining, according to at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information includes:
determining the catalog progress of the terminal side resource catalog information in the network side resource catalog information according to at least one resource catalog carried in the resource catalog request;
and determining at least one updated resource directory in the network side resource directory information according to the directory progress of the terminal side resource directory information.
In an optional embodiment, the determining, according to at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information includes:
determining the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information;
and determining at least one resource directory in the network side resource directory information after the resource directory sequence position as the updated resource directory.
In an optional embodiment, the determining, according to at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information includes:
starting from the last resource directory in the terminal side resource directory information, searching a corresponding network side resource directory in the network side resource directory information;
and when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory.
In an optional embodiment, the resource directory of the target network resource includes a directory identifier, and the directory identifier is obtained by processing a segmented url of the target network resource;
if the directory identifier of the resource directory in the network side resource directory information is found to be the same as the directory identifier of the resource directory in the terminal side resource directory information, determining that the directory identifier of the resource directory in the terminal side resource directory information is the network side resource directory corresponding to the resource directory in the network side resource directory information.
As can be seen, with the directory management server 700 shown in fig. 7, at least one updated resource directory can be determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so as to implement accurate verification of the update increment of the resource directory, and further implement updating of the terminal-side resource directory information according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 8 is a schematic structural diagram of a network terminal provided in an embodiment of the present invention, where the network terminal in the embodiment of the present invention may include any Internet-enabled device, such as a personal computer, a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet device (MID, Mobile Internet Devices), a wearable smart device, and the like. As shown in fig. 8, the network terminal 800 in this embodiment may at least include:
a directory request submitting module 801, configured to submit a resource directory request for a target network resource to a directory management server, where the resource directory request carries at least one resource directory in terminal-side resource directory information, where the resource directory request is located at the last of a resource directory sequence, so that the directory management server obtains, according to the resource directory request, network-side resource directory information of the target network resource, and determines, according to the at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information.
Specifically, the network terminal may submit the resource inventory request periodically, for example, 8: 00 pm; the network terminal may also submit the resource directory request after detecting that the target network resource is updated, for example, after receiving a directory update prompt sent by the directory management server for the target network resource.
An update directory receiving module 802, configured to receive the at least one update resource directory pushed by the directory management server according to the resource directory request;
a directory information updating module 803, configured to update the terminal-side resource directory information according to the at least one updated resource directory.
In an optional embodiment, the resource directory request further carries network-side update time corresponding to the terminal-side resource directory information, so that the directory management server determines whether the network-side update time corresponding to the terminal-side resource directory information is the same as the current network-side update time of the network-side resource directory information of the target network resource, and if not, determines at least one updated resource directory in the network-side resource directory information according to at least one resource directory carried in the resource directory request.
Further in an alternative embodiment, as shown in fig. 8, the network terminal 800 may further include:
an update time receiving module 804, configured to receive network-side update time of network-side resource directory information of the target network resource pushed by the directory management server;
the directory information update module 803 is further configured to:
and after the terminal side resource directory information is updated according to the at least one updated resource directory, the network side update time and the updated terminal side resource directory information are stored in a correlated manner.
In another alternative embodiment, as shown in fig. 8, the network terminal 800 may further include:
a positioning message receiving module 805, configured to receive a resource directory positioning message sent by the directory management server when it is not possible to determine to update a resource directory according to at least one resource directory carried in the resource directory request;
a resource directory submitting module 806, configured to submit, to the directory management server, a specified number of resource directories that are in a resource directory order last in the terminal-side resource directory information according to the resource directory positioning message, where the specified number is greater than the number of resource directories carried in the resource directory request, so that the directory management server determines, according to the specified number of resource directories, at least one updated resource directory in the network-side resource directory information.
Optionally, the resource catalog submitting module 806 may also obtain, according to the resource catalog positioning message, a first resource catalog that is positioned at the top of the sequence position in at least one resource catalog that is positioned at the last of the resource catalog sequence in the terminal-side resource catalog information, and obtain, from a previous resource catalog of the first resource catalog, a specified number of resource catalogs that are positioned before the first resource catalog in the terminal-side resource catalog information, where the specified number may be the same as or different from the number of resource catalogs carried in the resource catalog request.
As can be seen, with the network terminal 800 shown in fig. 8, at least one updated resource directory can be determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so as to implement accurate verification of the update increment of the resource directory, and further implement updating of the terminal-side resource directory information according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 9 is a schematic structural diagram of a network terminal in another embodiment of the present invention, and as shown in fig. 9, the network terminal 900 may include: at least one processor 901, e.g., a CPU, at least one network interface 904, a user interface 903, memory 905, at least one communication bus 902, and a display 906. Wherein a communication bus 902 is used to enable connective communication between these components. The user interface 903 may include a Display (Display) and a Keyboard (Keyboard), and the optional user interface 903 may also include a standard wired interface and a standard wireless interface. The network interface 904 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 905 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 905 may optionally be at least one memory device located remotely from the processor 901. As shown in fig. 9, the memory 905, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a resource directory management program.
In the network terminal 900 shown in fig. 9, the network interface 904 is mainly used for connecting to the directory management server and performing data communication with the directory management server; and the processor 901 may be configured to invoke the resource directory manager in the memory 905 and perform the following operations:
submitting a resource directory request for a target network resource to a directory management server through a network interface 904, wherein the resource directory request carries at least one resource directory which is in the resource directory sequence last in terminal side resource directory information, so that the directory management server obtains the network side resource directory information of the target network resource according to the resource directory request, and determines at least one updated resource directory in the network side resource directory information according to the at least one resource directory carried in the resource directory request;
receiving, through a network interface 904, the at least one updated resource directory pushed by the directory management server according to the resource directory request;
and updating the resource directory information of the terminal side according to the at least one updated resource directory.
In one embodiment, the processor 901 invoking the resource directory manager stored in the memory 905 may further perform the following operations:
receiving, through a network interface 904, a resource directory positioning message sent by the directory management server when updating a resource directory cannot be determined according to at least one resource directory carried in the resource directory request;
and submitting a specified number of resource directories which are at the last of the resource directory sequence in the terminal side resource directory information to the directory management server through a network interface 904 according to the resource directory positioning message, wherein the specified number is larger than the number of the resource directories carried in the resource directory request, so that the directory management server determines at least one updated resource directory in the network side resource directory information according to the specified number of resource directories.
In an optional embodiment, the resource directory request further carries network side update time corresponding to the terminal side resource directory information, so that the directory management server determines whether the network side update time corresponding to the terminal side resource directory information is the same as the current network side update time of the network side resource directory information of the target network resource, and if not, determines at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request.
As can be seen, with the network terminal 900 shown in fig. 9, at least one updated resource directory can be determined in the network-side resource directory information of the target network resource according to at least one resource directory in the terminal-side resource directory information of the target network resource, so as to implement accurate verification of the update increment of the resource directory, and further implement updating of the terminal-side resource directory information according to the at least one updated resource directory, thereby improving the update efficiency of the resource directory.
Fig. 10 is a schematic structural diagram of a resource directory management system provided in an embodiment of the present invention, and as shown in fig. 10, the resource directory management system in this embodiment may include a directory management server 1001 and a network terminal 1002, where the directory management server 1001 may be connected to the network terminal 1002 through a network, where the directory management server 1001 may be the directory management server described above with reference to fig. 6 or fig. 7, and the network terminal 1002 may be the network terminal described above with reference to fig. 8 or fig. 9, specifically:
the network terminal 1002 is configured to submit a resource directory request for a target network resource to a directory management server, where the resource directory request carries at least one resource directory in the terminal-side resource directory information, where the resource directory request is at the last of a resource directory sequence;
a directory management server 1001, configured to obtain network-side resource directory information of the target network resource according to the resource directory request; determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request; pushing the at least one updated resource directory to the network terminal;
the network terminal 1002 is further configured to update the terminal-side resource directory information according to the at least one updated resource directory.
It can be seen that, with the resource catalog management system shown in fig. 10, at least one updated resource catalog can be determined in the network-side resource catalog information of the target network resource according to at least one resource catalog in the terminal-side resource catalog information of the target network resource, so as to implement accurate verification of the update increment of the resource catalog, and further implement updating of the terminal-side resource catalog information according to the at least one updated resource catalog, thereby improving the update efficiency of the resource catalog.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (16)

1. A method for resource directory management, the method comprising:
acquiring a resource directory request which is submitted by a network terminal and aims at a target network resource, wherein the resource directory request carries at least one resource directory which is positioned at the last of a resource directory sequence in terminal side resource directory information; the resource directory of the target network resource comprises a directory identifier, and the directory identifier is obtained by processing a segmented url of the target network resource; if the directory identifier of the resource directory in the network side resource directory information is found to be the same as the directory identifier of the resource directory in the terminal side resource directory information, determining that the directory identifier of the resource directory in the terminal side resource directory information is the network side resource directory corresponding to the resource directory in the network side resource directory information;
acquiring network side resource directory information of the target network resource according to the resource directory request;
determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request; starting from the last resource directory in the terminal side resource directory information, searching a corresponding network side resource directory in the network side resource directory information; when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory; if the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information is the last resource directory, determining all resource directories in the network side resource directory information as the updated resource directory;
and pushing the at least one updated resource directory to the network terminal so that the network terminal updates the terminal side resource directory information according to the at least one updated resource directory.
2. The method for managing the resource directory of claim 1, wherein the resource directory request further carries a network side update time corresponding to the terminal side resource directory information;
before determining at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request, the method further includes:
and determining that the network side update time corresponding to the terminal side resource directory information is different from the current network side update time of the network side resource directory information of the target network resource.
3. The resource directory management method of claim 2 wherein the method further comprises:
and pushing the network side update time of the network side resource directory information of the target network resource to the network terminal so that the network terminal stores the network side update time and the updated terminal side resource directory information in a correlation manner after updating the terminal side resource directory information.
4. The resource directory management method of claim 2 wherein the method further comprises:
and if the network side update time corresponding to the terminal side resource directory information is the same as the current network side update time of the network side resource directory information of the target network resource, informing the network terminal that the target network resource is not updated currently.
5. The method for managing resource directories of claim 1, wherein the determining, according to at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information comprises:
determining the catalog progress of the terminal side resource catalog information in the network side resource catalog information according to at least one resource catalog carried in the resource catalog request;
and determining at least one updated resource directory in the network side resource directory information according to the directory progress of the terminal side resource directory information.
6. The method for managing resource directories of claim 1, wherein the determining, according to at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information comprises:
determining the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information;
and determining at least one resource directory in the network side resource directory information after the resource directory sequence position as the updated resource directory.
7. The resource directory management method of claim 1 wherein the method further comprises:
if the corresponding network side resource directory cannot be searched in the network side resource directory information according to at least one resource directory carried in the resource directory request, sending a resource directory positioning message to the network terminal;
receiving a specified number of resource directories which are at the last of the resource directory sequence in the terminal side resource directory information submitted by the network terminal according to the resource directory positioning message, wherein the specified number is greater than the number of the resource directories carried in the resource directory request;
starting from the last resource directory in the resource directories of the specified number submitted by the network terminal, searching the corresponding network side resource directory in the network side resource directory information;
and when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory.
8. A method for resource directory management, the method comprising:
submitting a resource directory request aiming at target network resources to a directory management server, wherein the resource directory request carries at least one resource directory which is positioned at the last of a resource directory sequence in terminal side resource directory information, so that the directory management server obtains the network side resource directory information of the target network resources according to the resource directory request, and determines at least one updated resource directory in the network side resource directory information according to the at least one resource directory carried in the resource directory request; the resource directory of the target network resource comprises a directory identifier, wherein the directory identifier is a shaping numerical value generated by calculating a segmented url of the target network resource through a preset hash function; if the directory identifier of the resource directory in the network side resource directory information is found to be the same as the directory identifier of the resource directory in the terminal side resource directory information, determining that the directory identifier of the resource directory in the terminal side resource directory information is the network side resource directory corresponding to the resource directory in the network side resource directory information;
receiving the at least one updated resource directory pushed by the directory management server according to the resource directory request; starting from the last resource directory in the terminal side resource directory information, searching a corresponding network side resource directory in the network side resource directory information; when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory; if the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information is the last resource directory, determining all resource directories in the network side resource directory information as the updated resource directory;
and updating the resource directory information of the terminal side according to the at least one updated resource directory.
9. The method for managing resource directories according to claim 8, wherein the resource directory request further carries network-side update time corresponding to the terminal-side resource directory information, so that the directory management server determines whether the network-side update time corresponding to the terminal-side resource directory information is the same as the current network-side update time of the network-side resource directory information of the target network resource, and if not, determines at least one updated resource directory in the network-side resource directory information according to at least one resource directory carried in the resource directory request.
10. The resource directory management method of claim 9 wherein the method further comprises:
receiving network side update time of network side resource directory information of the target network resource pushed by the directory management server;
and after the terminal side resource directory information is updated according to the at least one updated resource directory, the network side update time and the updated terminal side resource directory information are stored in a correlated manner.
11. The resource directory management method of claim 8 wherein the method further comprises:
receiving a resource directory positioning message sent by the directory management server when the resource directory cannot be determined to be updated according to at least one resource directory carried in the resource directory request;
and submitting the specified quantity of resource directories which are positioned at the last of the resource directory sequence in the terminal side resource directory information to the directory management server according to the resource directory positioning message, wherein the specified quantity is larger than the quantity of the resource directories carried in the resource directory request, so that the directory management server determines at least one updated resource directory in the network side resource directory information according to the specified quantity of resource directories.
12. A network terminal, comprising:
a directory request submitting module, configured to submit a resource directory request for a target network resource to a directory management server, where the resource directory request carries at least one resource directory in terminal-side resource directory information, where the resource directory is last in a resource directory order, so that the directory management server obtains, according to the resource directory request, network-side resource directory information of the target network resource, and determines, according to the at least one resource directory carried in the resource directory request, at least one updated resource directory in the network-side resource directory information; the resource directory of the target network resource comprises a directory identifier, wherein the directory identifier is a shaping numerical value generated by calculating a segmented url of the target network resource through a preset hash function; if the directory identifier of the resource directory in the network side resource directory information is found to be the same as the directory identifier of the resource directory in the terminal side resource directory information, determining that the directory identifier of the resource directory in the terminal side resource directory information is the network side resource directory corresponding to the resource directory in the network side resource directory information;
an update directory receiving module, configured to receive the at least one update resource directory pushed by the directory management server according to the resource directory request; starting from the last resource directory in the terminal side resource directory information, searching a corresponding network side resource directory in the network side resource directory information; when the corresponding network side resource directory is found, determining at least one resource directory in the network side resource directory information after the resource directory sequence position of the network side resource directory as the updated resource directory; if the resource directory sequence position corresponding to the last resource directory in the terminal side resource directory information in the network side resource directory information is the last resource directory, determining all resource directories in the network side resource directory information as the updated resource directory;
and the directory information updating module is used for updating the terminal side resource directory information according to the at least one updated resource directory.
13. The network terminal according to claim 12, wherein the resource directory request sent by the directory request submitting module further carries a network side update time corresponding to the terminal side resource directory information, so that the directory management server determines whether the network side update time corresponding to the terminal side resource directory information is the same as a current network side update time of the network side resource directory information of the target network resource, and if not, determines at least one updated resource directory in the network side resource directory information according to at least one resource directory carried in the resource directory request.
14. The network terminal of claim 13, further comprising:
the update time receiving module is used for receiving the network side update time of the network side resource directory information of the target network resource, which is pushed by the directory management server;
the directory information update module is further configured to:
and after the terminal side resource directory information is updated according to the at least one updated resource directory, the network side update time and the updated terminal side resource directory information are stored in a correlated manner.
15. The network terminal of claim 12, further comprising:
a positioning message receiving module, configured to receive a resource directory positioning message sent by the directory management server when it is not possible to determine to update a resource directory according to at least one resource directory carried in the resource directory request;
and the resource directory submitting module is used for submitting a specified number of resource directories which are positioned at the last of the resource directory sequence in the terminal side resource directory information to the directory management server according to the resource directory positioning message, wherein the specified number is larger than the number of the resource directories carried in the resource directory request, so that the directory management server determines at least one updated resource directory in the network side resource directory information according to the specified number of resource directories.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program for executing the method according to any one of claims 1 to 11.
CN201410668557.2A 2014-11-20 2014-11-20 Resource directory management method and network terminal Active CN105610596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410668557.2A CN105610596B (en) 2014-11-20 2014-11-20 Resource directory management method and network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410668557.2A CN105610596B (en) 2014-11-20 2014-11-20 Resource directory management method and network terminal

Publications (2)

Publication Number Publication Date
CN105610596A CN105610596A (en) 2016-05-25
CN105610596B true CN105610596B (en) 2020-02-18

Family

ID=55990142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410668557.2A Active CN105610596B (en) 2014-11-20 2014-11-20 Resource directory management method and network terminal

Country Status (1)

Country Link
CN (1) CN105610596B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133357B (en) * 2017-05-26 2020-01-14 维沃移动通信有限公司 Picture storage method and mobile terminal
CN108228692A (en) * 2017-06-30 2018-06-29 勤智数码科技股份有限公司 A kind of catalogue dynamic updating method and system
CN109446382B (en) * 2018-10-29 2020-07-24 杭州数梦工场科技有限公司 Resource management method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867605A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method, device and system for improving synchronous efficiency of RSS (Really Simple Syndication) business
CN102638578A (en) * 2012-03-29 2012-08-15 深圳市高正软件有限公司 Data synchronization method and data synchronization system based on mobile devices
CN102916993A (en) * 2011-08-03 2013-02-06 腾讯科技(深圳)有限公司 Network hard disk data updating method and device
CN103685495A (en) * 2013-12-05 2014-03-26 金蝶软件(中国)有限公司 Method and system for upgrading software

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005004728A (en) * 2003-05-20 2005-01-06 Canon Inc Information processing system, information processing device, information processing method, storage medium storing program for executing same so that program can be read out to information processing device, and program
CN101883251A (en) * 2010-05-31 2010-11-10 中山大学 Digital television data storage method and digital television
JP5798503B2 (en) * 2012-01-31 2015-10-21 株式会社日立ソリューションズ File list generation method and system, file list generation device, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867605A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method, device and system for improving synchronous efficiency of RSS (Really Simple Syndication) business
CN102916993A (en) * 2011-08-03 2013-02-06 腾讯科技(深圳)有限公司 Network hard disk data updating method and device
CN102638578A (en) * 2012-03-29 2012-08-15 深圳市高正软件有限公司 Data synchronization method and data synchronization system based on mobile devices
CN103685495A (en) * 2013-12-05 2014-03-26 金蝶软件(中国)有限公司 Method and system for upgrading software

Also Published As

Publication number Publication date
CN105610596A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
KR102133951B1 (en) Short link handling methods, devices, and servers
CN108074177B (en) Data reconciliation method, system and computer-readable storage medium
US11086962B2 (en) Webpage loading method, client and server
CN106933871B (en) Short link processing method and device and short link server
US20170303063A1 (en) Updating Web Resources
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN107239701B (en) Method and device for identifying malicious website
CN106534268B (en) Data sharing method and device
WO2015139539A1 (en) Video information push method and device
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
CN104010035A (en) Method and system for application program distribution
CN105610596B (en) Resource directory management method and network terminal
US10938773B2 (en) Method and apparatus for synchronizing contact information and medium
CN106899558B (en) Access request processing method and device and storage medium
US10095791B2 (en) Information search method and apparatus
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
US20200183981A1 (en) Resource Search Method and Related Product
CN116614495A (en) Data uploading method, device, equipment, storage medium and program product
WO2019242279A1 (en) Message processing method and device
CN104407846B (en) Information processing method and device
CN113626409B (en) Test data processing method, device, equipment and storage medium
CN103647809A (en) Data synchronization method and server system
CN107612961B (en) System software downloading/upgrading method, server and terminal
CN110209914B (en) Information query method and related device
CN109308653B (en) Method, terminal and storage medium for avoiding congestion of client access server

Legal Events

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