CN101141482B - Network resource management system and method - Google Patents
Network resource management system and method Download PDFInfo
- Publication number
- CN101141482B CN101141482B CN2007101615431A CN200710161543A CN101141482B CN 101141482 B CN101141482 B CN 101141482B CN 2007101615431 A CN2007101615431 A CN 2007101615431A CN 200710161543 A CN200710161543 A CN 200710161543A CN 101141482 B CN101141482 B CN 101141482B
- Authority
- CN
- China
- Prior art keywords
- terminal
- network
- internet resources
- network address
- web server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a network resource management system, which comprises a Web server, which is used to manage the network resource; at least one terminal, which is respectively connected with the Web server, and gets the network resource form the Web server; at least one terminal interconnection, which is used to exchange the network resource and / or the termination information. The present invention also provides a network resource management method. A network resource management system and a method provided by the present invention can enable the terminal to get the required network resource from a terminal of other network resource through a P2P way, and to get the network resource form the Web server by synchronistically using a http way, to accelerate an access to the Web server. The present invention saves a web server bandwidth, a part of work of the Web server is partaken, the speed of multiple terminals accessing the same network resource is effectively improved, the lowest speed or the convenient usage caused by a network jam are avoided, and the realization and the promotion are easy.
Description
Technical field
The present invention relates to network communication field, particularly network resource management system and method.
Background technology
Along with the fast development of network application is popularized with extensive; Many users use the terminal through internet access web server. and the Get method that user terminal passes through the http agreement usually is to web server requests Internet resources; The web server is made terminal request through the http agreement and being replied, and Internet resources is returned to the browser at terminal.Increase along with number of users; During web server that great amount of terminals visit same (criticizing) is provided by the service provider; The bandwidth of web server is used will reach bottleneck; If new terminal request visit web server is arranged this time, the web server is slack-off to the response of new terminal, even can't respond.Even the bandwidth of web server does not reach bottleneck; The network bandwidth between web server and the terminal also might reach the bottleneck terminal of telecommunications network service device and Netcom's network (for example); Possibly occur the web server this moment equally can't response terminal request, the perhaps slower problem of response.The difference of operator or geographical environment is attend in the Internet, also possibly cause part terminal access web rate server to reduce, and brings inconvenience to the user.Because the web server is that great amount of terminals directly provides service, and its bandwidth consumption is very high, operation cost is high on the other hand.
Summary of the invention
The object of the invention is to provide a kind of network resource management system and method, realizes the scientific management of Internet resources and searches fast.
According to an aspect of the present invention, a kind of network resource management system is provided, has comprised:
Web server, network resource administration;
A plurality of terminals are connected with Web server respectively, obtain Internet resources from Web server;
Said a plurality of terminal interconnects, and switching network resource and/or end message are organized into distribution formula network, and said network resource management system is characterised in that,
First terminal in said a plurality of terminal is configured to obtain and network resource administration from Web server,
Said first terminal further is configured to the delivery network resource, comprising:
Choose Internet resources, obtain the mapping network address of selected Internet resources,
Search second terminal in said a plurality of terminal, the Termination ID at said second terminal and said mapping network address nearest,
The end message at said second terminal is returned said first terminal, and
Said selected Internet resources are issued to said second terminal in said first terminal; And the 3rd terminal in said a plurality of terminal is configured to obtain Internet resources to said first terminal, comprising:
Said the 3rd terminal Network Search resource; Wherein hope to obtain when specifying the corresponding Internet resources of network address when said the 3rd terminal; The mapping network address that obtains said appointment network address is shone upon at said the 3rd terminal to said appointment network address; In said distributed network, find nearest said second terminal with the mapping network address of said appointment network address, and know that said first terminal has the Internet resources corresponding with the mapping network address of said appointment network address; And
Said the 3rd terminal obtains the Internet resources corresponding with the mapping network address of said appointment network address to said first terminal.
According to a further aspect in the invention, a kind of method for managing network resource is provided, has realized Internet resources based on Web server and a plurality of terminal
Management, said Web server network resource administration; Said a plurality of terminal is connected with Web server respectively, obtains Internet resources from Web server; Said a plurality of terminal interconnects, and switching network resource and/or end message are organized into distribution formula network, and said method for managing network resource comprises:
First terminal in said a plurality of terminal obtains the also step of network resource administration from Web server;
The step of the said first terminal delivery network resource comprises:
Choose Internet resources, obtain the mapping network address of selected Internet resources,
Search second terminal in said a plurality of terminal, the Termination ID at said second terminal and said mapping network address nearest,
The end message at said second terminal is returned said first terminal, and
Said selected Internet resources are issued to said second terminal in said first terminal; And;
The 3rd terminal in said a plurality of terminal obtains the step of Internet resources to said first terminal, comprises
The step of said the 3rd terminal Network Search resource; Wherein hope to obtain when specifying the corresponding Internet resources of network address when said the 3rd terminal; The mapping network address that obtains said appointment network address is shone upon at said the 3rd terminal to said appointment network address; In said distributed network, find nearest said second terminal with the mapping network address of said appointment network address, and know that said first terminal has the Internet resources corresponding with the mapping network address of said appointment network address;
Said the 3rd terminal obtains the step of the Internet resources corresponding with the mapping network address of said appointment network address to said first terminal.
Network resource management system provided by the invention and method can supply the terminal to obtain the Internet resources of needs there from other terminals that have Internet resources through the mode of P2P; And use the mode of http to obtain Internet resources synchronously, quicken visit the web server from the web server.The present invention saves the web server bandwidth, has shared the work of quite a few web server, effectively improves the speed of multiple terminal access consolidated network resource, has avoided speed to cross use inconvenience low or that network blockage causes, is easy to realize and promote.
Description of drawings
Fig. 1 is the system configuration sketch map of first embodiment of the invention;
Fig. 2 is the Web server structural representation of first embodiment of the invention;
Fig. 3 is the terminal structure sketch map of first embodiment of the invention;
Fig. 4 is the distribution schematic diagram of first embodiment of the invention terminal information table;
Fig. 5 is the workflow sketch map of second embodiment of the invention;
Fig. 6 is the workflow sketch map of second embodiment of the invention office terminal information;
Fig. 7 is the workflow sketch map of second embodiment of the invention delivery network resource.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
With reference to Fig. 1; The system configuration of first embodiment of the invention is shown; The network resource management system of present embodiment comprises Web server 10 and a plurality of terminals, and like 21 to the 4th terminals 24, first terminal, Web server 10 interconnects and swap data through network with a plurality of terminals.Web server 10 network resource administrations; First terminal 21 in a plurality of terminals, second terminal 22, the 3rd terminal 23 and/or the 4th terminal 24 are connected with Web server 10 respectively, obtain Internet resources from Web server 10, and a plurality of terminals interconnect and switching network resource and/or end message.
Above-mentioned Internet resources comprise information such as resources such as file, data flow, data, information, webpage itself and/or the network address corresponding with Internet resources, the term of validity.The Web server 10 of present embodiment can provide resource itself respectively to a plurality of terminals, and information such as the network address corresponding with Internet resources, the term of validity also can only be provided.
Above-mentioned memory module 101, communication module 103 and/or processing module 102 are respectively the composition modules of server, or run on the program of server.
Specifically, in the memory module 101 of Web server 10, set up resource table, to manage above-mentioned Internet resources, the structure of this resource table such as table 1 signal:
Table 1
" Internet resources " field in the resource table can the storage networking resource content, also can write down the Internet resources file storage location, can call respective network resource through the memory location.Web server 10 can be made increase, modification, deletion and/or query manipulation to Internet resources and/or network address respectively, and newly-increased Internet resources should be corresponding with a newly-increased network address, can search and accessing network resources through network address; Corresponding network address was also deleted when Internet resources were deleted, and revised the corresponding relation that Internet resources can not change Internet resources and network address.With reference to http protocol, present embodiment is provided with a term of validity to Internet resources, and the Internet resources that exceed this term of validity are regarded as losing efficacy, and needs to upgrade.Renewal comprises modification, issues again and/or extends the expiration date.After upgrading Internet resources, revise corresponding " term of validity " field, preserve the new term of validity.
The workflow of present embodiment Web server 10 comprises:
Step S001, the connection request of receiving terminal;
Step S002 handles connection request, and refusal or permission terminal connect, and refusal then repeats step S001, allows to connect then to carry out step S003;
Step S003 connects with the terminal, the network resource request of receiving terminal;
Step S004 is according to the appointment network address Network Search resource that comprises in the network resource request;
Step S005 finds the Internet resources corresponding with specifying network address then Internet resources to be returned to the terminal; Do not find then and return the request failure information to the terminal, flow process finishes.
The concrete structure of present embodiment Web server 10 and workflow and prior art are similar, so do not give unnecessary details.
A plurality of terminals of present embodiment comprise first terminal 21, second terminal 22, the 3rd terminal 23 and the 4th terminal 24.With first terminal 21 is example, and in conjunction with the structural representation at first terminal 21 shown in Fig. 3, first terminal 21 comprises memory cell 211, storage networking resource and/or end message; Communication unit 213 is connected switching network resource and/or end message with Web server 10 and/or other-end through network; Processing unit 212, control store unit 211 and communication unit 213 work, realize Internet resources and/or end message management and with other-end and/or Web server 10 swap datas.
Specifically, in the memory module 211 at first terminal 21, set up the terminal resource table, the structure of terminal resource table such as table 2 signal with network resource administration:
Table 2
" Internet resources " field in the terminal resource table can write down the content of Internet resources, also can write down the Internet resources file storage location, can call corresponding Internet resources through the memory location.
" mapping network address " the field record website information corresponding with Internet resources in the terminal resource table, mapping network address are done mapping through certain mapping algorithm to network address and are obtained.Present embodiment adopts and through CRC 32 algorithms network address is shone upon, and obtains an integer as the mapping network address.
Increase, modification, deletion and/or query manipulation can be made to Internet resources and mapping network address respectively in first terminal 21, and newly-increased Internet resources should be corresponding with a newly-increased mapping network address, can search and accessing network resources through the mapping network address; Corresponding mapping network address is also deleted after Internet resources are deleted, and revises Internet resources and can not change Internet resources and the corresponding relation that shines upon network address.Present embodiment is provided with a term of validity to Internet resources, and the Internet resources that exceed this term of validity are regarded as losing efficacy, and the Internet resources of inefficacy are dropped and notify other-end.
In the memory cell 211 at first terminal 21, set up terminal information table to realize to the other-end management of information.End message comprises the ID and the address at terminal, and terminal information table is as shown in table 3:
Table 3
Terminal information table has 32 row, the ID and the address at 8 terminals of every line item.The ID at terminal is the sign of identification terminal, and mapping obtains to end message can to adopt certain mapping method, and present embodiment obtains an integer as Termination ID through the MAC Address of Network Card mapping to the terminal.ID21 in the above-mentioned table, ID22, ID23 and ID24 are respectively the ID at first terminal 21, second terminal 22, the 3rd terminal 23 and the 4th terminal 24; And the IP in the above-mentioned table
21, IP
22, IP
23And IP
24It is respectively the address at first terminal 21, second terminal 22, the 3rd terminal 23 and the 4th terminal 24.
Present embodiment adopts " distance " to weigh to connect between the terminal or the complexity of route, and the employing nonequivalence operation comes " distance " between the computing terminal.Specifically; Launch to become " 01010101111100000... " form to the ID at two terminals also relatively according to the form of 2 systems respectively; If two Termination ID have only 1 to be different; Think that " distance " between two terminals is " 1 ", have 2 differences then " distance " of terminal room be 2, and the like.With reference to the distribution signal of terminal information table shown in Figure 4, the terminal of the capable storage of terminal information table N is that " distance " is 2
N-1To 2
NBetween end message, " distance " between two terminals that promptly line-spacing is big more is big more, and be nearer with " distance " between two terminals in the delegation.
In like manner, present embodiment weighs through " distance " that the terminal is connected between the network address with mapping or the complexity of route, and the operation method of " distance " is similar to " distance " between the computing terminal, so do not give unnecessary details.
The structure and first terminal 21 at second terminal 22, the 3rd terminal 23 and the 4th terminal 24 are similar, so do not give unnecessary details.
The network resource management principle of present embodiment is that a plurality of terminals that were connected with Web server 10 interconnect and the switching network resource; Be organized into a distributed network (being P2Pnet), the terminal can be searched the address of other-end according to assigned I D through this distributed network.A certain terminal will be stored and management from the Internet resources that Web server 10 is obtained, and other-end can obtain the Internet resources that are kept at this terminal through this distributed network, handle burden and taking bandwidth to alleviate Web server 10.Certainly, Internet resources also can be obtained from Web server 10 or other servers in the terminal of present embodiment; Or obtain the subnetwork resource from the terminal, and obtain another part Internet resources from Web server 10 or other servers, two parts network resource integration is formed required Internet resources, concrete mode is selected by the terminal.
After first terminal 21 connects Web server 10, preserve and manage the Internet resources of obtaining from Web server 10, network address is mapped as mapping network address (shown in the terminal resource table of table 2).First terminal 21 finds the second nearest terminal 22 of " distance " with the mapping network address of Internet resources through distributed network, sends to second terminal 22 to the ID of oneself, address and the Internet resources that have.Handle the Internet resources that all are obtained from Web server 10 by that analogy.
Similarly, the 4th nearest terminal 24 of " distance " with Internet resources mappings network address can be found in first terminal 21, sends to the 4th terminal 24 to the ID of oneself, address and the Internet resources that have.
When the 3rd terminal 23 hopes to obtain when specifying the corresponding Internet resources of network address; 23 pairs of these appointment network address in the 3rd terminal are shone upon and are obtained specifying the mapping network address; In distributed network, find and specify " distance " nearest second terminal 22 and/or the 4th terminal 24 of mapping network address; Respectively from second terminal 22 and/or the 4th terminal 24 know that first terminal 21 has and the corresponding Internet resources of this appointment mapping network address; The 3rd terminal 23 just proximad first terminal, 21 acquisition request shine upon the corresponding Internet resources of network address with specifying, and need not to connect Web server 10.Operation and said process when other-end hopes to obtain Internet resources are similar.
More than be to be example with first terminal 21, second terminal 22, the 3rd terminal 23 and the 4th terminal 24; The workflow of present embodiment network resource management system is described; But present embodiment is not limited to above-mentioned 4 terminals and a Web server, and terminal number, Web server number, network configuration and workflow are determined by practical application.
The present invention also proposes second embodiment, a kind of method for managing network resource, and resource management system Network Based is realized network resource management.Network resource management system comprises Web server 10 and a plurality of terminals, and Web server 10 interconnects and swap data through network with a plurality of terminals.Web server 10 network resource administrations; First terminal 21 in a plurality of terminals, second terminal 22, the 3rd terminal 23 and/or the 4th terminal 24 are connected with Web server 10 respectively; Obtain Internet resources from Web server 10, a plurality of terminals interconnect and swap data.
Above-mentioned Internet resources comprise information such as resources such as file, data flow, data, information, webpage itself and/or the network address corresponding with Internet resources, the term of validity.The Web server 10 of present embodiment can provide Internet resources itself respectively to a plurality of terminals, and information such as the network address corresponding with Internet resources, the term of validity also can only be provided.
In Web server 10, set up resource table with network resource administration, the structure of this resource table is as shown in table 1; In first terminal 21, set up the terminal resource table with network resource administration, the structure of terminal resource table is as shown in table 2; In first terminal 21, set up terminal information table to realize that end message comprises the ID and the address at terminal to the other-end management of information, terminal information table is as shown in table 3.
Shown in the workflow sketch map of Fig. 5, the workflow of present embodiment comprises:
Step S101, first terminal obtains and network resource administration from Web server;
Step S102, the first terminal delivery network resource;
Step S103, the 3rd terminal obtains Internet resources to first terminal.
Specifically, first terminal obtains and the step of network resource administration comprises from Web server:
Step S201 according to terminal use's instruction, sends connection request to Web server 10;
Step S202, refusal that reception Web server 10 returns or the information that allows the terminal to connect, the connection of refusal terminal then repeats step S201, and the permission terminal connects then carries out step S203;
Step S203, first terminal and Web server 10 connect and send network resource request;
Step S204, first terminal receives specified network resource or the request failure information that Web server 10 returns;
Step S205 returns to the user with specified network resource or request failure information;
Step S206 obtains shining upon network address to specifying network address to shine upon, and preserves and management specified network resource, and flow process finishes.
The step of the above-mentioned first terminal delivery network resource also comprises:
The step of the first terminal management end message.
Shown in the workflow sketch map of the office terminal information of Fig. 6, the step of the above-mentioned first terminal management end message specifically comprises:
Step S301, the ID and the address of a plurality of other-ends searched at first terminal;
Step S302 attempts the availability of other-end address one by one.Specifically be mode, think that if PING replys the other-end address can use, deposit terminal information table in through the PING terminal address; If PING no response then think that the address is useless is deleted this end message from terminal information table;
Step S303, the address at the every other terminal of writing down in the first terminal periodic property or the contingent survey terminal information table, the end message that the address is useless is deleted from terminal information table;
Step S304; The first terminal periodic property or contingent survey terminal information table; When the terminal records of certain delegation in the table of discovery is less than 4,, comprise the scope of designated terminal ID in the request to the identical end message of other-end acquisition request " distance " of this row or adjacent lines;
Step S305, when the end message of a certain Termination ID scope of other-end requesting query, terminal information table is searched at first terminal, returns to the terminal that this sends request to the ID at those terminals that meet designated terminal ID scope and address;
Step S306, when first terminal hope with terminal information table in during certain terminal switch data, be connected and swap data with it through this ID corresponding address.
Like Fig. 7, shown in the workflow sketch map of delivery network resource, the step of the above-mentioned first terminal delivery network resource comprises:
Step S401, at least one Internet resources are chosen in first terminal from the terminal resource table of self, like the Internet resources " X " in the first embodiment table 1, obtain its mapping network address Ax;
Step S402, the terminal information table of self is searched at first terminal, finds Termination ID and some nearest terminals of " distance " of shining upon network address Ax, for example finds second terminal;
Step S403 sends search request to these terminals (for example second terminal), request find out one with " distance " the nearest Termination ID that shines upon network address Ax;
Step S404 after second terminal receives search request, searches the terminal information table of oneself, finds out the 3rd nearest terminal of " distance " of Termination ID and mapping network address Ax, and the Termination ID and the address at this terminal returned to requesting party first terminal;
Step S405; First terminal is received from second terminal and to be upgraded terminal information table, repeating step S403 and step S404 to after the replying of search request; After certain once sends search request, can not find Termination ID and " distance " nearer terminal of shining upon network address Ax again;
Step S406, Internet resources issue request is sent to Termination ID and second nearest terminal of " distance " of mapping network address Ax in first terminal, informs ID and address and the Internet resources " X " that have, mapping network address Ax and the term of validity information of oneself;
Step S407, the Internet resources issue request from first terminal is received at second terminal, in resource table, notes ID, the address at this terminal and has Internet resources, mapping network address and term of validity information; In like manner receive when for example the Internet resources issue at the 4th terminal is asked from other-end at first terminal, the same information that this terminal of record provides in resource table, and flow process finishes.
The flow process of above-mentioned delivery network resource also comprises the flow process that withdraws from distributed network, and step is following:
Step S408; When first terminal is wanted off-line or is broken away from distributed network; Repeat above-mentioned steps S402, S403, S404 and S405; Search and oneself " distance " nearest terminal, send the request of withdrawing from respectively, send to these terminals to the ID of oneself, address and the Internet resources " X " that have, mapping network address Ax and term of validity information respectively to these terminals;
Step S409, when other-end is for example received when request of withdrawing from from first terminal in second terminal, the Internet resources " X " of in resource table, noting ID, the address at first terminal and having, mapping network address Ax and term of validity information, flow process finishes.
Above-mentioned first terminal, second terminal, the 3rd terminal and the 4th terminal in the practical application, have a plurality of set of terminal and become distributed network only as an example, carry out the Internet resources issue each other; Above-mentioned Internet resources " X ", mapping network address Ax and term of validity information also only as an example, a plurality of Internet resources possibly preserved in each terminal, in practical application, should handle a plurality of Internet resources one by one according to above-mentioned flow process.
Above-mentioned the 3rd terminal comprises to the step that first terminal obtains Internet resources:
The step of the 3rd terminal Network Search resource;
The 3rd terminal obtains the step of Internet resources to first terminal that has Internet resources.
The step of above-mentioned the 3rd terminal Network Search resource comprises:
Step S501, the 3rd terminal hopes to obtain when specifying the corresponding Internet resources of network address, and this appointment network address is shone upon, and obtains specifying mapping network address Ax;
Step S502, terminal information table is searched at the 3rd terminal, obtains Termination ID and some nearest terminals of " distance " of specifying mapping network address Ax, for example second terminal;
Step S503, search request is sent to these terminals (for example second terminal) in the 3rd terminal, request search one with " distance " the nearest Termination ID that specify to shine upon network address Ax;
Step S504; After second terminal receives search request; Search the terminal information table of oneself, find out Termination ID and " distance " the nearest terminal (for example first terminal) of specifying mapping network address Ax, the ID and the address at first terminal 21 returned to requesting party the 3rd terminal 23;
Step S505, the 3rd terminal is received from second terminal and to be upgraded terminal information table to after the replying of search request, repeating step S503 and S504 after certain once sends search request, can not find " distance " nearer terminal of Termination ID and mapping network address Ax;
Step S506, the Internet resources search request is sent to Termination ID and " distance " nearest terminal (for example second terminal) of mapping network address Ax in the 3rd terminal, and acquisition request has the end message of the Internet resources corresponding with this mapping network address Ax;
Step S507; When the Internet resources search request is received at second terminal; Terminal resource table and terminal information table in conjunction with oneself are searched the terminal; If find some terminal to have the Internet resources corresponding list item corresponding, then all terminal addresss that have with this mapping network address Ax map network resource are sent to requesting party the 3rd terminal 23 with this mapping network address Ax; If do not find any terminal, inform that then requesting party the 3rd terminal 23 do not find the corresponding Internet resources with this mapping network address Ax;
Step S508, the 3rd terminal is received from second terminal and is replied what Internet resources were searched, has the specified network resource to know which terminal (for example first terminal).
Above-mentioned the 3rd terminal comprises to the step that first terminal that has Internet resources obtains Internet resources:
Step S601, a terminal, for example first terminal are selected in the 3rd terminal in having at least one terminal of specified network resource;
Step S602, the 3rd terminal is to choosing terminal (for example first terminal) to send connection request, if choose the terminal refusal then to repeat step S601; If choosing the terminal to allow to connect then is connected with choosing the terminal;
Step S603, the 3rd terminal is to choosing the terminal to send network resource request;
Step S604 chooses the terminal according to the appointment network address Network Search resource that comprises in the network resource request;
Step S605 chooses the terminal to find the Internet resources corresponding with specifying network address, then Internet resources is returned to the 3rd terminal; Do not find then and return the request failure information to the 3rd terminal;
Step S606 receives specified network resource or the request failure information of choosing the terminal to return;
Step S607, if check specified network resource is the undesirable specified network resource of then obtaining again of Internet resources;
Step S608 returns to the user with specified network resource or request failure information;
Step S609 obtains shining upon network address to specifying network address to shine upon, and the specified network resource is deposited in the memory cell, adds Internet resources, mapping network address and term of validity information to the terminal resource table, and flow process finishes.
Above-mentioned steps S607, check specified network resource, if the undesirable specified network resource of then obtaining again of Internet resources specifically comprises:
Step S6071, the data integrity of check specified network resource, before the deadline and/or meet other requirements;
Step S6072 is if step S6073 is then carried out in specified network resource damage, imperfect, undesirable above the term of validity or other; If the specified network resource is satisfactory, then carry out step S608;
Step S6073 if also have other-end to have the specified network resource, then gets back to step S601, has the terminal request specified network resource of specified network resource to other; Otherwise,, then carry out step S608 up to obtaining the specified network resource or the request failure information is all returned in all requests to Web server and/or other server requests specified network resources.
Certainly; Internet resources also can be obtained from Web server and/or other servers in the terminal of present embodiment; Or obtain the subnetwork resource from the terminal; Obtain another part Internet resources from Web server 10 and/or other servers, two parts network resource integration is formed required Internet resources, concrete mode is selected by the terminal.
The foregoing description is not limited only to the terminal MAC Address of Network Card is shone upon a kind of mode to the mapping algorithm of Termination ID; Also can generate unique GUID value according to terminal operating system; Also can adopt other mapping methods; The mapping value that various mapping methods produce maybe be different, all can be used as the sign of unique identification terminal.The algorithm that in like manner network address is shone upon also is not limited only to the CRC32 algorithm, also can select other algorithms for use according to practical application.
In the foregoing description, terminal delivery network resource process and obtain in the Internet resources process selects the number of " distance " nearest other-end should be not too many, otherwise possibly cause the load of distributed network overweight; But terminal number should be not very little yet, otherwise possibly work as some terminals when rolling off the production line on frequent, causes the instability of distributed network, generally gets 3 to 5 terminals and be advisable, and can adjust according to practical application.
Because mostly the terminal in the foregoing description is the normal domestic use computer; Data-handling capacity and bandwidth are all very limited; On the many terminals in the distributed network are frequent, roll off the production line and cause under the unsettled situation of distributed network; Can use the P2P server to carry out the management work of distributed network, help the efficient of stabilizing and increasing of distributed network; But work as under all very big situation of terminal quantity and amount of network resources, use the operation of P2P server that certain cost consumption is arranged, and also might cause the cost bottleneck, should select concrete scheme according to actual conditions.
In addition; In the above-described embodiments, after the Internet resources of preserving when the terminal surpassed the term of validity, the terminal abandoned Internet resources; The present invention proposes and can also set update date to the bigger Internet resources of volume; When this type of needs Internet resources, obtain these Internet resources from the terminal after, the subnetwork resource of after Web server and/or other server requests are obtained update date, upgrading; Two parts fusion then can fast be realized obtaining of big volume Internet resources, reduce taking the Web server bandwidth.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (6)
1. network resource management system comprises:
Web server, network resource administration;
A plurality of terminals are connected with Web server respectively, obtain Internet resources from Web server;
Said a plurality of terminal interconnects, and switching network resource and/or end message are organized into distribution formula network, and said network resource management system is characterised in that,
First terminal in said a plurality of terminal is configured to obtain and network resource administration from Web server,
Said first terminal further is configured to the delivery network resource, comprising:
Choose Internet resources, obtain the mapping network address of selected Internet resources,
Search second terminal in said a plurality of terminal, the Termination ID at said second terminal and said mapping network address nearest,
The end message at said second terminal is returned said first terminal, and
Said selected Internet resources are issued to said second terminal in said first terminal; And the 3rd terminal in said a plurality of terminal is configured to obtain Internet resources to said first terminal, comprising:
Said the 3rd terminal Network Search resource; Wherein hope to obtain when specifying the corresponding Internet resources of network address when said the 3rd terminal; The mapping network address that obtains said appointment network address is shone upon at said the 3rd terminal to said appointment network address; In said distributed network, find nearest said second terminal with the mapping network address of said appointment network address, and know that said first terminal has the Internet resources corresponding with the mapping network address of said appointment network address; And
Said the 3rd terminal obtains the Internet resources corresponding with the mapping network address of said appointment network address to said first terminal.
2. network resource management system according to claim 1 is characterized in that, said Web server comprises:
Memory module, the storage networking resource;
Communication module is connected with said a plurality of terminals respectively, realizes and said a plurality of terminal switched network resources;
Processing module, control store module and communication module work respectively.
3. network resource management system according to claim 2 is characterized in that, said first terminal comprises:
Memory cell, storage networking resource and/or end message;
Communication unit is connected switching network resource and/or end message with the other-end except that said first terminal in Web server and/or the said a plurality of terminal;
Processing unit, control store unit and communication unit work.
4. a method for managing network resource is realized network resource management, said Web server network resource administration based on Web server and a plurality of terminal; Said a plurality of terminal is connected with Web server respectively, obtains Internet resources from Web server; Said a plurality of terminal interconnects, and switching network resource and/or end message are organized into distribution formula network, and said method for managing network resource comprises:
First terminal in said a plurality of terminal obtains the also step of network resource administration from Web server;
The step of the said first terminal delivery network resource comprises:
Choose Internet resources, obtain the mapping network address of selected Internet resources,
Search second terminal in said a plurality of terminal, the Termination ID at said second terminal and said mapping network address nearest,
The end message at said second terminal is returned said first terminal, and
Said selected Internet resources are issued to said second terminal in said first terminal; And;
The 3rd terminal in said a plurality of terminal obtains the step of Internet resources to said first terminal, comprises
The step of said the 3rd terminal Network Search resource; Wherein hope to obtain when specifying the corresponding Internet resources of network address when said the 3rd terminal; The mapping network address that obtains said appointment network address is shone upon at said the 3rd terminal to said appointment network address; In said distributed network, find nearest said second terminal with the mapping network address of said appointment network address, and know that said first terminal has the Internet resources corresponding with the mapping network address of said appointment network address;
Said the 3rd terminal obtains the step of the Internet resources corresponding with the mapping network address of said appointment network address to said first terminal.
5. method for managing network resource according to claim 4 is characterized in that, said first terminal comprises from the step that Web server obtains Internet resources:
The step that connects with said Web server;
Send the step of network resource request to said Web server;
Receive the step of the Internet resources that said Web server returns;
Storage and the step of managing said Internet resources.
6. method for managing network resource according to claim 4 is characterized in that, said the 3rd terminal comprises to the step that said first terminal obtains the Internet resources corresponding with the mapping network address of said appointment network address:
The step that said the 3rd terminal and said first terminal connect;
Send the step of network resource request to said first terminal;
Receive the step of the Internet resources corresponding that return at said first terminal with the mapping network address of said appointment network address;
Store and manage the step of the mapping network address map network resource of said and said appointment network address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101615431A CN101141482B (en) | 2007-09-29 | 2007-09-29 | Network resource management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101615431A CN101141482B (en) | 2007-09-29 | 2007-09-29 | Network resource management system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101141482A CN101141482A (en) | 2008-03-12 |
CN101141482B true CN101141482B (en) | 2012-01-18 |
Family
ID=39193220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101615431A Active CN101141482B (en) | 2007-09-29 | 2007-09-29 | Network resource management system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101141482B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954411A (en) * | 2014-03-31 | 2015-09-30 | 腾讯科技(深圳)有限公司 | Method for sharing network resource by distributed system, terminal thereof and system thereof |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997698B (en) * | 2009-08-27 | 2014-01-01 | 中兴通讯股份有限公司 | Method and system for distributing personal area network (PAN) services |
CN102333127A (en) * | 2011-10-20 | 2012-01-25 | 中兴通讯股份有限公司 | Resource downloading method, device and system |
CN103312740B (en) * | 2012-03-09 | 2018-04-17 | 腾讯科技(深圳)有限公司 | A kind of generation method and device of P2P network strategies |
CN103731454B (en) * | 2012-10-12 | 2019-03-29 | 北京音之邦文化科技有限公司 | Method for responding to request in point-to-point network and server system |
CN103259869B (en) * | 2013-05-31 | 2016-08-17 | 重庆大学 | A kind of concentration approaches to IM based on Distributed Storage |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1897588A (en) * | 2006-06-21 | 2007-01-17 | 北京北大方正电子有限公司 | Mixed-mode network file transmitting method and system |
CN1925403A (en) * | 2005-09-02 | 2007-03-07 | 腾讯科技(深圳)有限公司 | Network communication system and method realizing file downloading |
WO2007097748A1 (en) * | 2006-02-21 | 2007-08-30 | Thomson Licensing | Peer-to-peer video content distribution network based on personal network storage |
-
2007
- 2007-09-29 CN CN2007101615431A patent/CN101141482B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1925403A (en) * | 2005-09-02 | 2007-03-07 | 腾讯科技(深圳)有限公司 | Network communication system and method realizing file downloading |
WO2007097748A1 (en) * | 2006-02-21 | 2007-08-30 | Thomson Licensing | Peer-to-peer video content distribution network based on personal network storage |
CN1897588A (en) * | 2006-06-21 | 2007-01-17 | 北京北大方正电子有限公司 | Mixed-mode network file transmitting method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954411A (en) * | 2014-03-31 | 2015-09-30 | 腾讯科技(深圳)有限公司 | Method for sharing network resource by distributed system, terminal thereof and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101141482A (en) | 2008-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5745169B2 (en) | Content processing method, content processing device, and content processing system | |
CN102137014B (en) | Resource management method, system and resource manager | |
CN101488928B (en) | Internet enterprise group communication device and internet enterprise group communication method | |
CN101141482B (en) | Network resource management system and method | |
CN101156407B (en) | Method for supplying content through communication network | |
CN101637006A (en) | Be used to use UDDI to reconcile WEB service method and equipment | |
CN104769550B (en) | The method and system of bandwidth allocation in system for cloud computing | |
JP2003248611A (en) | Storage management integration system and its storage management control method | |
CN102130959A (en) | System and method for scheduling cloud storage resource | |
CN109194718A (en) | A kind of block chain network and its method for scheduling task | |
KR20100060304A (en) | Distributed content delivery system based on network awareness and method thereof | |
CN104980494A (en) | Cloud storage and download sharing platform and method with local cache | |
CN111935306B (en) | Node scheduling method and device | |
US20160014203A1 (en) | Storage fabric address based data block retrieval | |
CN102325098B (en) | Group information acquisition method and system | |
EP2695362B1 (en) | Multi-user cache system | |
CN103685576A (en) | Interaction method for CDN (Content Delivery Network) nodes and CDN management system | |
US10327133B2 (en) | Making subscriber data addressable as a device in a mobile data network | |
CN103870471A (en) | Inquiring system, method and device of second-degree friends | |
CN109460293B (en) | Computing resource selection method under distributed computing environment in wireless cloud computing system | |
CN102497402A (en) | Content injection method and system thereof, and content delivery method and system thereof | |
CN106790494A (en) | The update method and buffer memory device of a kind of address information | |
US10171554B2 (en) | Distributing subscriber data in a mobile data network | |
CN101453480B (en) | Data sharing system and sharing method suitable for media stream | |
CN102843424A (en) | Heterogeneous distributed cloud computing system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |