CN107968811A - Merge the method, apparatus and terminal device of local resource and Internet resources - Google Patents

Merge the method, apparatus and terminal device of local resource and Internet resources Download PDF

Info

Publication number
CN107968811A
CN107968811A CN201610917880.8A CN201610917880A CN107968811A CN 107968811 A CN107968811 A CN 107968811A CN 201610917880 A CN201610917880 A CN 201610917880A CN 107968811 A CN107968811 A CN 107968811A
Authority
CN
China
Prior art keywords
resource
local
network
internet resources
network identity
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.)
Withdrawn
Application number
CN201610917880.8A
Other languages
Chinese (zh)
Inventor
张帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fafa Automobile China Co ltd
Original Assignee
Faraday Beijing Network Technology 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 Faraday Beijing Network Technology Co Ltd filed Critical Faraday Beijing Network Technology Co Ltd
Priority to CN201610917880.8A priority Critical patent/CN107968811A/en
Publication of CN107968811A publication Critical patent/CN107968811A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4826End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score

Abstract

The embodiment of the present invention provides a kind of method, apparatus and terminal device for merging local resource and Internet resources, by to local resource download when corresponding network identity, it is compared with the network identity of Internet resources, Internet resources can be determined whether in local cache, in addition for being cached in local local resource, its network identity is configured to by local mark by local IP.When generation pushes Resource TOC, it can utilize and be cached in network identity of the local local resource mark instead of identical network resource.Since local mark is identical with network identity form, user, without carrying out the switching of different occupation modes, can bring advantage to the user using using local resource is used by the way of Internet resources, improve user experience.

Description

Merge the method, apparatus and terminal device of local resource and Internet resources
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of method for merging local resource and Internet resources, Device and terminal device.
Background technology
Existing terminal device, such as mobile phone, tablet computer, all with function of surfing the Net, for example, 2G/3G/4G traffic forms or WIFI hot spot is connected, or is directly connected by cable with router.Therefore user increasingly gets used to using these ends End equipment browse network resource, viewing video etc..Correspondingly, the entertainment resources such as video, user are watched at any time for the ease of user Also some entertainment resources can be cached to local in advance.Inventor has found in the implementation of the present invention, uses in the prior art Family is when using Internet resources and local resource, and by the way of two kinds completely different, such as viewing Internet video can directly exist When being played out in video website, and watching local video, it is necessary to according to the operation of the store path of local video step by step, Until local video can be selected, viewing is then clicked on, great inconvenience is brought to user.It is therefore desirable to the above problem into Row improves.
The content of the invention
The embodiment of the present invention will solve in the prior art cannot be by the effective integration of local resource and Internet resources to user Make troubles when using local resource and Internet resources.
To solve the above problems, the embodiment of the present invention provides a kind of method for merging local resource and Internet resources, including Following steps:
Local resource catalogue is generated, the local resource catalogue includes the network identity of local resource;
The network identity of local resource is configured according to local ip address, obtains the local mark of local resource, local mark There is same format with network identity;
The network resource directory returned based on network resource directory request is obtained, the network resource directory is provided including network The network identity in source;
According to the network resource directory and the matching result of the local resource catalogue, determine whether Internet resources have delayed Deposit to local;
Generation push Resource TOC, the push Resource TOC include local resource it is local identify and it is uncached extremely The network identity of local Internet resources.
The embodiment of the present invention also provides a kind of device for merging local resource and Internet resources, including:
Local resource catalog generation module, generates local resource catalogue, and the local resource catalogue includes local resource Network identity;
Local resource configuration module, the network identity of local resource is configured according to local ip address, obtains local resource Local mark, local mark have same format with network identity;
Network resource directory acquisition module, obtains the network resource directory returned based on network resource directory request, described Network resource directory includes the network identity of Internet resources;
Matching module, according to the network resource directory and the matching result of the local resource catalogue, determines that network provides Whether source has been cached to local;
Resource TOC generation module, generation push Resource TOC are pushed, the push Resource TOC includes local resource Local mark and uncached to local Internet resources network identity.
Based on same inventive concept, originally put embodiment also provide a kind of terminal device, including communication component, display module with And above-mentioned fusion local resource and the device of Internet resources, wherein:
The communication component, network resource directory request is sent to the webserver;
The device of the fusion local resource and Internet resources, generates local resource catalogue, the local resource catalogue bag Include the network identity of local resource;The network identity of local resource is configured according to local ip address, obtains the local of local resource Mark, local mark have same format with network identity;Obtain what the webserver was returned based on network resource directory request Network resource directory, the network resource directory include the network identity of Internet resources;According to the network resource directory and institute The matching result of local resource catalogue is stated, determines whether Internet resources have been cached to local;Generation push Resource TOC, it is described to push away Resource TOC is sent to include the local mark of local resource and the network identity of uncached to local Internet resources;
The communication component, receives the push resource mesh of the device generation of the fusion local resource and Internet resources Record;
The display module, shows the device life of the fusion local resource and Internet resources that the communication component receives Into the push Resource TOC.
Compared with prior art, above-mentioned technical proposal provided in an embodiment of the present invention at least has the advantages that:
By to local resource download when corresponding network identity, be compared with the network identity of Internet resources, can Whether to determine Internet resources in local cache, in addition for being cached in local local resource, by local IP by its Network identity is configured to local mark.When generation pushes Resource TOC, it can utilize and be cached in local local resource mark Instead of the network identity of identical network resource.Since local mark is identical with network identity form, user, which can use, to be made Local resource is used with the mode of Internet resources, without carrying out the switching of different occupation modes, brings advantage to the user, improves User experience.
Brief description of the drawings
Fig. 1 is the flow chart for the method that local resource and Internet resources are merged described in one embodiment of the invention;
Fig. 2 is the flow chart for the method that local resource and Internet resources are merged described in another embodiment of the present invention;
Fig. 3 is the method flow diagram that local resource is updated described in one embodiment of the invention;
Fig. 4 is the method flow diagram of synchronous local resource described in one embodiment of the invention;
Fig. 5 is the method flow diagram that network resource directory is obtained described in one embodiment of the invention;
Fig. 6 is the method flow diagram for recommending local resource described in one embodiment of the invention;
Fig. 7 is the method flow diagram that alternative networks described in one embodiment of the invention recommend resource information;
Fig. 8 is the functional block diagram for the device that local resource and Internet resources are merged described in one embodiment of the invention;
Fig. 9 is the functional block diagram for the device that local resource and Internet resources are merged described in another embodiment of the present invention;
The functional block diagram of terminal device described in Figure 10 one embodiment of the invention;
Figure 11 is the electronic equipment for the method that fusion local resource and Internet resources are performed described in one embodiment of the invention Hardware configuration connection diagram.
Embodiment
The embodiment of the present invention is further described below in conjunction with attached drawing.
Embodiment 1
The present embodiment provides a kind of method for merging local resource and Internet resources, applied to terminal device, such as Fig. 1 institutes Show, include the following steps:
S101:Local resource catalogue is generated, the local resource catalogue includes the network identity of local resource;Ordinary circumstance Under, local resource is to be downloaded to from network local, therefore when downloading a certain Internet resources, can be known and the resource Corresponding network identity, such as network storage path, the network name of resource, the download path etc. of resource, this category information Can be as a part for Resource Properties information.In this step, all resources of local cache are combed, according to each local resource Network identity generation local resource catalogue.Preferably, the network identity includes the URL (Uniform of corresponding resource Resource Locator:Universal resource locator) information, stored by procotol, network ip address, resource in URL information Path and resource name are generated according to preset format.
S102:The network identity of local resource is configured according to local ip address, obtains the local mark of local resource, it is local Mark has same format with network identity;Specifically, it can be the local mark of local resource configuration URL format, that is, include Procotol, local ip address, be locally stored path and resource name is configured according to preset format.
S103:The network resource directory returned based on network resource directory request is obtained, the network resource directory includes The network identity of Internet resources;I.e. terminal device gets this to web server requests network resource directory, the webserver After request, current newest network resource directory is fed back to terminal device.
S104:According to the network resource directory and the matching result of the local resource catalogue, determine that Internet resources are It is no to have cached to local;If a certain network identity included in network resource directory, in local resource catalogue search less than, It then can determine that corresponding Internet resources of the network identity and uncached to local.
S105:Generation push Resource TOC, the push Resource TOC include the local of local resource and identify and not Cache to the network identity of local Internet resources.I.e. finally the definite resource to be pushed includes local resource and does not delay locally The Internet resources deposited.
The such scheme of the present embodiment, by local resource download when corresponding network identity, with Internet resources Network identity is compared, it may be determined that whether Internet resources are in local cache, in addition for being cached in local local Resource, local mark is configured to by local IP by its network identity.When generation pushes Resource TOC, it can utilize and be cached in Local local resource mark replaces the network identity of identical network resource.Since local mark is identical with network identity form, Therefore user, without carrying out the switching of different occupation modes, can give using using local resource is used by the way of Internet resources User offers convenience, and improves user experience.
By taking video as an example, using such scheme provided in this embodiment, Internet video catalogue can be obtained from video website, together When can obtain and be buffered in local local video catalogue, the network identity of local video is configured in advance and network identity has There is identical form., can be by the network mark of the local mark and Internet video of local video when generating pushing video catalogue Knowledge pushes at the same time.Therefore local video can be used by using the mode of Internet video, correspondingly when needing to play video, If Internet video can play according to network identity, then local regard just can be played according to local identify using identical method Frequently, user realizes and local video is being played to the effect with Internet video broadcasting seamless connection completely without switching occupation mode Fruit.
Embodiment 2
Scheme provided in this embodiment, as shown in Fig. 2, including the following steps:
S201:Down loading network resource and its network identity, local cache path and resource name are configured according to network identity; In this step, directly Internet resources can be cached to local, or first cache Internet resources to storage card, then will deposited Card storage is inserted in terminal device.Each Internet resources all correspond to path and resource name in the webserver, these information It can be obtained by its network identity.For the ease of configuring local mark for local resource, in down loading network resource, will store Path and resource name are arranged to consistent with the information in network identity.Such as the URL information of a certain Internet resources is middle record: Http//network IP/A-b/1.jpg;Then can confirm that storage address of the resource in the webserver is the b under A files In file, entitled " 1 ", form is jpg forms.So caching to it is local when, correspondingly it is local can be that it establish A In b files under file, resource name is also set to " 1 ".
S202:Internet resources and its network identity are downloaded in the local cache path according to the resource name, Obtain local resource and its network identity.Due to the setting in step S201, this step can be directly by net in the URL information of resource Network IP replaces with local IP.
S203:Local resource catalogue is generated, the local resource catalogue includes the network identity of local resource;
S204:The network identity of local resource is parsed, obtains the network ip address included in the network identity of local resource; Network ip address in the network identity of local resource is adjusted to local ip address, obtains the local mark of local resource;
S205:The network resource directory returned based on network resource directory request is obtained, the network resource directory includes The network identity of Internet resources;
S206:According to the network resource directory and the matching result of the local resource catalogue, determine that Internet resources are It is no to have cached to local;
S207:Generation push Resource TOC, the push Resource TOC include the local of local resource and identify and not Cache to the network identity of local Internet resources.
Using the such scheme of the present embodiment, can by web server requests download existing Internet resources, with And existing real-time performance program etc., after these required information are downloaded to local, network ip address is replaced with this Ground IP address, you can realize and local resource and Internet resources are used by network mode, implementation is simple and is tieed up easy to the later stage Shield.
Embodiment 3
On the basis of embodiment 1 and embodiment 2, the step of being updated to local resource is further included in the present embodiment S300, as shown in figure 3, renewal step S300 includes:
S301:The Internet resources more new directory returned based on renewal local resource request is received, it records Internet resources Network identity;I.e. to web server requests, currently newest Internet resources more new directory, the webserver obtain terminal device To after the request, to terminal device feedback network resource updates catalogue., can be by default for the renewal time of local resource The mode of update cycle is realized, such as setting renewal in 10 days is once, then is often sent by 10 days and once update local resource request. Renewal time, such as user can also be voluntarily selected to know that oneself film interested can be carried out by network by user Download and local also uncached, user can input the first operational order and be operated with voluntarily triggering renewal, be grasped in response to user first Instruct, send renewal local resource request., can also be real in the following way in the case of user voluntarily triggers renewal operation It is existing:In response to the second operational order of user, current time is obtained;If current time is asked with the last renewal local resource that sends The difference for the time asked is more than predetermined threshold value, then sends network resource directory request, such as can set interior progress one on the same day It is secondary renewal local resource operation, then by the predetermined threshold value be arranged to 24 it is small when.
S302:According to the local resource catalogue and the Internet resources more new directory, the net of the first more new resources is determined Network identifies;Under first that the described first more new resources and its network identity are obtained according to the network identity of the described first more new resources Carry path;It is whether identical according to network identity, you can to judge Internet resources in the Internet resources more new directory whether Cache to local.
S303:Described first more new resources and its network identity are downloaded according to first download path, i.e., to local money Source is updated.
S304:Described first more new resources and its network identity are added to local resource catalogue, to the local resource Catalogue is updated, i.e., local resource catalogue is updated according to the actual conditions of local resource in real time.
The such scheme of the present embodiment, by network identity contrast judgement, can automatically and accurately determine Internet resources and this Ground cache resources are downloaded just for more new content, avoid under the repetition to same asset compared to having which more new content Carry, effectively improve renewal efficiency.In addition, the scheme in the present embodiment can first preserve the first download path of the first more new resources Into cache list, down operation is triggered again when detecting available WiFi, avoids wasting local flow.
Embodiment 4
On the basis of any of the above-described embodiment, the step of being synchronized to local resource is further included in the present embodiment S400, as shown in figure 4, renewal step 4300 includes:
S401:Local the Resources list to be synchronized, the Resources list note to be synchronized are obtained according to the local resource catalogue Record network identity corresponding with resource to be synchronized.Determine resource to be synchronized mode have it is a variety of, can taking human as select it is a certain specific Resource synchronizes, and several groups are either divided into local resource and is synchronized every time for one of which or several groups of resources.This reality Offer the following two kinds mode in example is provided:
Mode one:Obtain the synchronization time of each local resource the last time;By the synchronization time and current time Interval adds described the Resources list to be synchronized more than the network identity of the local resource of predetermined threshold value.It is i.e. more early for synchronization time Some resource priorities synchronize processing.
Mode two:Instructed in response to user's selection operation, determine selected local resource;By the net of the selected local resource Network mark adds described the Resources list to be synchronized.I.e. user voluntarily selects resource to be synchronized according to the demand of oneself.
S402:The Internet resources synchronization list returned based on the synchronization request including described the Resources list to be synchronized is received, The network identity of the Internet resources synchronization list records Internet resources;I.e. terminal device is sent including described to the webserver The synchronization request of the Resources list to be synchronized, after the webserver gets the request, feeds back newest and institute to terminal device State the corresponding Internet resources synchronization list of the Resources list to be synchronized.For the synchronization time of local resource, pre-determined synchronization can be passed through The mode in cycle realizes, such as setting one week is synchronous once, then often sends once the resource to be synchronized by week age and arrange Table.Synchronization time, such as user can also be voluntarily selected to determine that the resource of a certain TV play is updated on every Wendesdays by user, then Simultaneously operating for the TV play resource may be set to carry out on every Wendesdays.Or user voluntarily triggers the TV in Wednesday The simultaneously operating of acute resource.
S403:According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, the second renewal is determined The network identity of resource;Described second more new resources and its network identity are obtained according to the network identity of the described second more new resources The second download path.
S404:Described second more new resources and its network identity are downloaded according to second download path;
S405:Described second more new resources and its network identity are added to local resource catalogue, to the local resource Catalogue is updated.
Preferably, as shown in figure 4, may also include the steps of:
S406:According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, local resource is determined In the resource that has and do not have in Internet resources, it is deleted from local resource;
S407:Network identity corresponding with deleted local resource in local resource catalogue is deleted, to the local money Source directory is updated.
The such scheme of the present embodiment, is identified by resource network, can automatically and accurately be determined Internet resources and be treated same Step resource is compared with having been deleted in which more new content, and Internet resources and locally still has the resource of caching.According to The actual conditions of Internet resources, synchronize local resource processing, and correspondingly local resource catalogue is updated.In addition, Scheme in the present embodiment can first preserve the second download path of the second more new resources into cache list, available when detecting Down operation is triggered during WiFi again, avoids wasting local flow.
Embodiment 5
For some terminal devices, access wifi hotspot that it can not be at any time, so if not to this Terminal Type The network resource accession of equipment is limited, and may produce very high local campus network, can be right for this in the present embodiment Internet resources in push Resource TOC are controlled, and it is local resource to make more in the push Resource TOC that user sees. But for the stronger resource of some timeliness, such as news, ball match etc., if it is enforceable by it from push Resource TOC Delete, for the user for liking this kind of resource, its demand and preference are not being met, and can seriously affect user experience.For This, provided in the present embodiment it is a kind of realize the method for step S103, as shown in figure 5, including the following steps:
S501:The initial directory for including all-network resource based on network resource request feedback is obtained, including net The network identity of network resource;
S502:Determine whether Internet resources are live resource according to the network identity of Internet resources;According to the network mark Knowledge can determine that resource name, whether live resource etc., such as a certain video resource, " match can be embodied in its resource name Live broadcast " etc., then just can determine that it is live resource according to the title.Or in the classification column directly according to where resource Determine, such as be categorized as according to belonging to network identity can determine that a certain video it is " live " classification under video, then can be directly true It is live resource to determine it.
S503:Network identity corresponding with live resource in the initial directory of Internet resources is extracted, obtains Internet resources mesh Record.
Scheme in above-described embodiment, by the strong live resource of timeliness, is retained in push Resource TOC, meets user To the demand and hobby of such resource, and for other on-demand assets on network, substituted using local resource, with as far as possible Saving local flow.
Embodiment 6
On the basis of any of the above-described embodiment, the method for fusion local resource and Internet resources provided in this embodiment, Further include the following steps shown in Fig. 6:
S601:In response to the operational order of user's application push resource, identification information corresponding with resource to be applied is obtained; For example, the mode of generally use list display shows push resource in the prior art, user can click directly on corresponding resource and hold Row operation, according to the information described in push Resource TOC, the identification information of the resource to be applied either for local mark or For network identity.
S602:Determine whether the resource to be applied is local resource according to the identification information, if then entering step S603;Otherwise S604 is entered step;
S603:Directly transmit the local mark of resource to be applied.
S604:Obtain local residual flow;
S605:Judge whether the local residual flow is more than flow needed for resource to be applied, if then entering step S606, otherwise enters step S607;
S606:Send the network identity of resource to be applied.
S607:According to the matching of the network identity of local resource in the identification information of resource to be applied and local resource catalogue Relation;Determine that resource can be replaced with the most similar local of resource to be applied in local resource;
S608:The local mark of resource can be replaced by sending the local.
I.e. if local resource is applied in user's selection, directly local mark can be called, if user selects application Internet resources, then judge that local residual flow whether with meeting the needs of applying the Internet resources, allows user's sheet if meeting Secondary application network resource, otherwise being replaced using with the most similar local of user's Internet resources to be applied, judges local money Whether source and Internet resources are close can be realizing, because record resource in network identity by way of contrast the two network identity All information on network, can include type, title, be related to content and (such as may include video in the network identity of video Brief introduction, performer, region, type etc.) etc., by comparing the network identity of two resources, the identical information in network identity, Identical information two resources of more explanations are closer.
Using the scheme in the present embodiment, in user's application resource, user is limited according to local residual flow and applies net The quantity of network resource, being capable of effectively save local flow.
Embodiment 7
When user's using terminal equipment application local resource or Internet resources, as long as terminal device is in networking state, The webserver can all push with other relevant resources of Current resource, such as play current video when, the webserver can push away Recommend other videos that there is identical performer with the video.In some service terminal devices, due to the needs of service, it is desirable to Video is played always, therefore after currently watched video, the video of webserver push can be automatically opened up, is seen online See, if terminal device does not connect other networks, will directly consume local flow, so cause the wave of local flow Take.In order to overcome the problems referred above, scheme provided in this embodiment, on the basis of any of the above-described embodiment, as shown in fig. 7, also wrapping Include following steps:
S701:Request in response to user using push resource, using pre-set programs application push resource;Such as user needs A certain video is watched, then the video is played using video reproduction program, user needs to use a certain pictures, then using picture Picture is used using program.
S702:In the current push resource of application, in the current push resource of application, intercepting please based on network recommendation information The network recommendation resource information asked, the network recommendation resource information include the network identity for the Internet resources recommended.
S703:Generation is local to recommend resource information, and the local recommendation resource information includes the local resource information recommended Local mark;
S704:Send the local mark for the local resource information recommended.
By the above method, by intercepting network recommendation resource information, substituted using local resource information, make video The application components such as player, directly invoke local resource information, without interrupting the operation of current application program, will not produce Raw extra flow.
Preferably, after intercepting network recommendation resource information, the local net for whether having stored recommendation is first determined whether Network resource.If the local buffered Internet resources recommended, the local resource identical with the Internet resources of recommendation is made For the local resource of recommendation.Otherwise then further search for the mostly concerned local resource of Internet resources with recommending, i.e., with The Internet resources of recommendation have the local resource of most same characteristic features mark, as the local resource of recommendation.If both do not have There is the identical local resource of Internet resources with recommending, also the not no relevant local resource of Internet resources with recommendation, then search A certain application records corresponding local resource as the local resource recommended.In this way, use up the local resource of recommendation May be identical or related with the Internet resources of recommendation, identical less than with the Internet resources of recommendation or relevant local money is searched really During source, then recorded according to application and determine that next application is recommended, ensure that resource application can continue.
Embodiment 8
The present embodiment provides a kind of device for merging local resource and Internet resources, applied in terminal device, such as Fig. 8 institutes Show, including:
Local resource catalog generation module 801, generates local resource catalogue, and the local resource catalogue includes local resource Network identity;Under normal circumstances, local resource is to be downloaded to from network local, therefore is downloading a certain Internet resources When, can know with the corresponding network identity of the resource, such as network storage path, the network name of resource, resource Path etc. is carried, this category information can be as a part for Resource Properties information.In this step, all moneys of local cache are combed Source, local resource catalogue is generated according to the network identity of each local resource.Preferably, the network identity includes corresponding resource URL (Uniform Resource Locator:Universal resource locator) information, by procotol, network IP in URL information Address, resource store path and resource name are generated according to preset format.
Local resource configuration module 802, the network identity of local resource is configured according to local ip address, obtains local resource Local mark, local mark has same format with network identity;Specifically, can be that local resource configures URL format Local mark, i.e., including procotol, local ip address, be locally stored path and resource name is matched somebody with somebody according to preset format Put.
Network resource directory acquisition module 803, obtains the network resource directory returned based on network resource directory request, institute Stating network resource directory includes the network identity of Internet resources;That is terminal device to web server requests network resource directory, After the webserver gets the request, current newest network resource directory is fed back to terminal device.
Matching module 804, according to the network resource directory and the matching result of the local resource catalogue, determines network Whether resource has been cached to local;If a certain network identity included in network resource directory, is looked into local resource catalogue It can not find, then can determine that corresponding Internet resources of the network identity and uncached to local.
Resource TOC generation module 805, generation push Resource TOC are pushed, the push Resource TOC includes local money The local mark in source and the network identity of uncached to local Internet resources.I.e. finally the definite resource to be pushed includes this Ground resource and local uncached Internet resources.
The such scheme of the present embodiment, by local resource download when corresponding network identity, with Internet resources Network identity is compared, it may be determined that whether Internet resources are in local cache, in addition for being cached in local local Resource, local mark is configured to by local IP by its network identity.When generation pushes Resource TOC, it can utilize and be cached in Local local resource mark replaces the network identity of identical network resource.Since local mark is identical with network identity form, Therefore user, without carrying out the switching of different occupation modes, can give using using local resource is used by the way of Internet resources User offers convenience, and improves user experience.
By taking video as an example, using such scheme provided in this embodiment, Internet video catalogue can be obtained from video website, together When can obtain and be buffered in local local video catalogue, the network identity of local video is configured in advance and network identity has There is identical form., can be by the network mark of the local mark and Internet video of local video when generating pushing video catalogue Knowledge pushes at the same time.Therefore local video can be used by using the mode of Internet video, correspondingly when needing to play video, If Internet video can play according to network identity, then local regard just can be played according to local identify using identical method Frequently, user realizes and local video is being played to the effect with Internet video broadcasting seamless connection completely without switching occupation mode Fruit.
As a preferred solution, as shown in figure 9, the device of fusion local resource and Internet resources further includes:
Pre-cache module 806, down loading network resource and its network identity, according to network identity configure local cache path and Resource name;Wherein it is possible to directly cache Internet resources to local, or Internet resources are cached to storage card first, so Storage card is inserted in terminal device afterwards.Each Internet resources all correspond to path and resource name in the webserver, this A little information can be obtained by its network identity.For the ease of configuring local mark for local resource, in down loading network resource, Store path and resource name are arranged to consistent with the information in network identity.Such as the URL information of a certain Internet resources is Middle record:Http//network IP/A-b/1.jpg;Then can confirm that storage address of the resource in the webserver is A files In b files under folder, entitled " 1 ", form is jpg forms.So caching to it is local when, correspondingly locally can be It is established in the b files under A files, and resource name is also set to " 1 ".
Internet resources and its network identity are downloaded in the local cache path according to the resource name, obtain this Ground resource and its network identity, directly can replace with local IP by network IP in the URL information of resource.
Using the such scheme of the present embodiment, can by web server requests download existing Internet resources, with And existing real-time performance program etc., after these required information are downloaded to local, network ip address is replaced with this Ground IP address, you can realize and local resource and Internet resources are used by network mode, implementation is simple and is tieed up easy to the later stage Shield.
Further, as Fig. 9, above device can also include local resource update module 807, be specifically used for:
The Internet resources more new directory returned based on renewal local resource request is received, it records the network mark of Internet resources Know;I.e. to web server requests, currently newest Internet resources more new directory, the webserver get this and ask terminal device After asking, to terminal device feedback network resource updates catalogue.
According to the local resource catalogue and the Internet resources more new directory, the network mark of the first more new resources is determined Know;Obtain the described first more new resources and its network identity according to the network identity of the described first more new resources first downloads road Footpath;It is whether identical according to network identity, you can to judge whether the Internet resources in the Internet resources more new directory are buffered To local.
Described first more new resources and its network identity are downloaded according to first download path;
Described first more new resources and its network identity are added to local resource catalogue, to the local resource catalogue into Row renewal.
In the program, by network identity contrast judgement, Internet resources and local cache resource can be automatically and accurately determined Compared to which more new content, it is downloaded just for more new content, avoids the repeated downloads to same asset, effectively improve Update efficiency.In addition, the scheme in the present embodiment can first preserve the first download path of the first more new resources to cache list In, down operation is triggered again when detecting available WiFi, avoids wasting local flow.
Such as Fig. 9, above device further includes native source sync module 808, is specifically used for:
Local the Resources list to be synchronized is obtained according to the local resource catalogue, the Resources list record to be synchronized is with treating The corresponding network identity of isochronous resources;Determine resource to be synchronized mode have it is a variety of, can taking human as select a certain specific resources into Row is synchronous, and several groups are either divided into local resource and is synchronized every time for one of which or several groups of resources.
Receive the Internet resources synchronization list returned based on the synchronization request including described the Resources list to be synchronized, the net The network identity of network source synchronous list records Internet resources;I.e. terminal device includes described to be synchronized to webserver transmission The synchronization request of the Resources list, after the webserver gets the request, is treated together to terminal device feedback is newest with described Walk the corresponding Internet resources synchronization list of the Resources list.
According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, the second more new resources are determined Network identity;The second of the described second more new resources and its network identity is obtained according to the network identity of the described second more new resources Download path;
Described second more new resources and its network identity are downloaded according to second download path;
Described second more new resources and its network identity are added to local resource catalogue, to the local resource catalogue into Row renewal.
Preferably, the native source sync module 808 is additionally operable to:
According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, determine to have in local resource and The resource not having in Internet resources, it is deleted from local resource;
Network identity corresponding with deleted local resource in local resource catalogue is deleted, to the local resource catalogue It is updated.
In the program, identified by resource network, can automatically and accurately determine Internet resources compared with resource to be synchronized Locally still there is the resource of caching with having been deleted in which more new content, and Internet resources.According to Internet resources Actual conditions, synchronize local resource processing, and correspondingly local resource catalogue is updated.In addition, in the present embodiment Scheme can first preserve the second more new resources the second download path into cache list, touched again when detecting available WiFi Down operation is sent out, avoids wasting local flow.
Further, the network resource directory acquisition module 803 is specifically used for:
The initial directory for including all-network resource based on network resource request feedback is obtained, including Internet resources Network identity;
Determine whether Internet resources are live resource according to the network identity of Internet resources;
Network identity corresponding with live resource in the initial directory of Internet resources is extracted, obtains network resource directory.
For some terminal devices, access wifi hotspot that it can not be at any time, so if not to this Terminal Type The network resource accession of equipment is limited, and may produce very high local campus network, can be right for this in the present embodiment Internet resources in push Resource TOC are controlled, and it is local resource to make more in the push Resource TOC that user sees. But for the stronger resource of some timeliness, such as news, ball match etc., if it is enforceable by it from push Resource TOC Delete, for the user for liking this kind of resource, its demand and preference are not being met, and can seriously affect user experience, adopt This can be effectively solved the problems, such as with this programme.
Preferably, above device further includes resource and uses respond module 809, the operation in response to user using push resource Instruction, obtains identification information corresponding with resource to be used;For example, the mode of generally use list display is shown in the prior art Resource is pushed, user can click directly on corresponding resource and perform operation, and according to the information described in push Resource TOC, this is treated should It is either local to identify or be network identity with the identification information of resource.
Resource recommendation module 810, if determining that the resource to be used is local resource according to the identification information, directly Send the local mark of resource to be used.If determining that the resource to be used is Internet resources according to the identification information, obtain Take local residual flow;If the local residual flow is more than flow needed for resource to be used, the net of resource to be used is sent Network identifies.If the local residual flow is less than or equal to flow needed for resource to be used, according to the mark of resource to be used Information and the matching relationship of the network identity of local resource in local resource catalogue;Determine in local resource with resource to be used most Similar local can replace resource;The local mark of resource can be replaced by sending the local.
In the program, if local resource is applied in user's selection, directly local mark can be called, if user selects Application network resource is selected, then judges that local residual flow whether with meeting the needs of applying the Internet resources, allows if meeting This application network resource of user, otherwise being replaced using with the most similar local of user's Internet resources to be applied, judges Whether local resource and Internet resources are close can be realizing, because being recorded in network identity by way of contrast the two network identity All information of the resource on network, type, title can be included, be related to content and (such as can be wrapped in the network identity of video Include video content brief introduction, performer, region, type etc.) etc., by comparing the network identity of two resources, the phase in network identity Same information, identical information two resources of more explanations are closer.
It is further preferred that further included in above device:
Default application module 811, the request in response to user using push resource, is provided using pre-set programs application push Source;Such as user needs to watch a certain video, then the video is played using video reproduction program, user needs to use a certain picture Collection, then use picture using program using picture.
Recommendation information replacement module 812, in the current push resource of application, intercepts the net based on network recommendation information request Network recommends resource information, and the network recommendation resource information includes the network identity for the Internet resources recommended;Generation is local to be recommended Resource information, the local mark of the local local resource information for recommending resource information to include recommendation;Send the local recommended The local mark of resource information.
With this solution, by intercepting network recommendation resource information, substituted using local resource information, broadcast video The application components such as device are put, directly invoke local resource information, without interrupting the operation of current application program, will not be produced Extra flow.
Preferably, after intercepting network recommendation resource information, the local net for whether having stored recommendation is first determined whether Network resource.If the local buffered Internet resources recommended, the local resource identical with the Internet resources of recommendation is made For the local resource of recommendation.Otherwise then further search for the mostly concerned local resource of Internet resources with recommending, i.e., with The Internet resources of recommendation have the local resource of most same characteristic features mark, as the local resource of recommendation.If both do not have There is the identical local resource of Internet resources with recommending, also the not no relevant local resource of Internet resources with recommendation, then search A certain application records corresponding local resource as the local resource recommended.In this way, use up the local resource of recommendation May be identical or related with the Internet resources of recommendation, identical less than with the Internet resources of recommendation or relevant local money is searched really During source, then recorded according to application and determine that next application is recommended, ensure that resource application can continue.
Embodiment 9
As shown in Figure 10, the present embodiment provides a kind of terminal device 100, including communication component 1001, display module 1002 And fusion local resource and the device 1003 of Internet resources described in embodiment 8, wherein:
The communication component 1001, network resource directory request is sent to the webserver 200;
The device 1003 of the fusion local resource and Internet resources, generates local resource catalogue, the local resource mesh Record includes the network identity of local resource;The network identity of local resource is configured according to local ip address, obtains local resource Local mark, local mark have same format with network identity;The webserver 200 is obtained to ask based on network resource directory The network resource directory of return, the network resource directory include the network identity of Internet resources;According to the Internet resources mesh Record and the matching result of the local resource catalogue, determine whether Internet resources have been cached to local;Generation push Resource TOC, The push Resource TOC includes the local mark of local resource and the network identity of uncached to local Internet resources;
The communication component 1001, the push for receiving the device generation of the fusion local resource and Internet resources provide Source directory;
The display module 1002, shows the fusion local resource and Internet resources that the communication component 1001 receives Device generation the push Resource TOC.
Using the scheme described in the present embodiment, it is only necessary to set fusion local resource and Internet resources in terminal device Device 1003, you can local resource is merged well with Internet resources, can be by same way to local resource Browsed with Internet resources, and all need not be adjusted or change for other any components in terminal device.For example, Communication component 1001 and display module 1002, its operation principle and the course of work need not do any change.Greatly reduce dimension Protect cost.
Embodiment 10
The present embodiment provides a kind of nonvolatile computer storage media, the computer-readable storage medium is stored with computer Executable instruction, the fusion local resource which can perform in above-mentioned any means embodiment are provided with network The method in source.
Embodiment 11
Figure 11 is the hardware of the electronic equipment of the method provided in this embodiment for performing fusion local resource and Internet resources Structure diagram, as shown in figure 11, the equipment include:
One or more processors 1101 and memory 1102, in Figure 11 by taking a processor 1101 as an example.
Performing the equipment of the method for fusion local resource and Internet resources can also include:Input unit 1103 and output fill Put 1104.
Processor 1101, memory 1102, input unit 1103 and output device 1104 can by bus or other Mode connects, in Figure 11 exemplified by being connected by bus.
Memory 1102 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey Sequence, non-volatile computer executable program and module, such as the execution fusion local resource and network in the embodiment of the present application Corresponding programmed instruction/the module of method of resource is (for example, local resource catalog generation module 801, local money shown in attached drawing 8 Source configuration module 802, network resource directory acquisition module 803, matching module 804, push Resource TOC generation module 805).Place Reason device 1101 is stored in non-volatile software program, instruction and module in memory 1102 by operation, so as to perform clothes The various function application of device of being engaged in and data processing, that is, the execution fusion local resource and network for realizing above method embodiment provide The method in source.
Memory 1102 can include storing program area and storage data field, wherein, storing program area can store operation system System, the required application program of at least one function;Storage data field can be stored according to fusion local resource and Internet resources Processing unit uses created data etc.., can be with addition, memory 1102 can include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other non-volatile solid state memories Part.In certain embodiments, memory 1102 is optional including relative to the remotely located memory of processor 1101, these are long-range Memory can pass through network connection to the device for merging local resource and Internet resources.The example of above-mentioned network includes but unlimited In internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 1103 can receive the numeral or character information of input, and produce and provided with merging local resource with network The key signals that the user setting and function control of the device in source are related input.Output device 1104 may include that display screen etc. is shown Equipment.
One or more of modules are stored in the memory 1102, when by one or more of processors During 1101 execution, the method that local resource and Internet resources are merged in the execution in above-mentioned any means embodiment is performed.
The said goods can perform the method that the embodiment of the present application is provided, and possesses the corresponding function module of execution method and has Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work( Can, generally also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server are total including processor, hard disk, memory, system Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, security, scalability, manageability etc. are more demanding.
(5) other have the function of the electronic device of data interaction.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, physics list is may or may not be as the component that unit is shown Member, you can with positioned at a place, or can also be distributed in multiple network unit.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical solution substantially in other words contributes to the prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Order is used so that a computer equipment (can be personal computer, server, or network equipment etc.) performs each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used To modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and Scope.

Claims (23)

  1. A kind of 1. method for merging local resource and Internet resources, it is characterised in that include the following steps:
    Local resource catalogue is generated, the local resource catalogue includes the network identity of local resource;
    The network identity of local resource is configured according to local ip address, obtains the local mark of local resource, local mark and net Network mark has same format;
    The network resource directory returned based on network resource directory request is obtained, the network resource directory includes Internet resources Network identity;
    According to the matching result of the network resource directory and the local resource catalogue, determine Internet resources whether cached to It is local;
    Generation push Resource TOC, the push Resource TOC include the local of local resource and identify and uncached to local Internet resources network identity.
  2. 2. the method for fusion local resource according to claim 1 and Internet resources, it is characterised in that generation local resource Before the step of catalogue, the local resource catalogue includes the network identity of local resource, following steps are further included:
    Down loading network resource and its network identity, local cache path and resource name are configured according to network identity;
    Internet resources and its network identity are downloaded in the local cache path according to the resource name, obtain local money Source and its network identity.
  3. 3. the method for fusion local resource according to claim 2 and Internet resources, it is characterised in that according to local IP Location configures the network identity of local resource, obtains the local mark of local resource, and local mark has phase apposition with network identity The step of formula, includes:
    The network identity of local resource is parsed, obtains the network ip address included in the network identity of local resource;
    Network ip address in the network identity of local resource is adjusted to local ip address, obtains this terrestrial reference of local resource Know.
  4. 4. the method for fusion local resource according to claim 1 and Internet resources, it is characterised in that further include following step Suddenly:
    The Internet resources more new directory returned based on renewal local resource request is received, it records the network identity of Internet resources;
    According to the local resource catalogue and the Internet resources more new directory, the network identity of the first more new resources is determined;Root The first download path of the described first more new resources and its network identity is obtained according to the network identity of the described first more new resources;
    Described first more new resources and its network identity are downloaded according to first download path;
    Described first more new resources and its network identity are added to local resource catalogue, the local resource catalogue is carried out more Newly.
  5. 5. the method for fusion local resource according to claim 1 and Internet resources, it is characterised in that further include following step Suddenly:
    Local the Resources list to be synchronized is obtained according to the local resource catalogue, the Resources list record to be synchronized with it is to be synchronized The corresponding network identity of resource;
    Receive the Internet resources synchronization list returned based on the synchronization request including described the Resources list to be synchronized, the network money The network identity of source synchronization list records Internet resources;
    According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, the network of the second more new resources is determined Mark;Obtain the described second more new resources and its network identity according to the network identity of the described second more new resources second is downloaded Path;
    Described second more new resources and its network identity are downloaded according to second download path;
    Described second more new resources and its network identity are added to local resource catalogue, the local resource catalogue is carried out more Newly.
  6. 6. the method for fusion local resource according to claim 5 and Internet resources, it is characterised in that further include following step Suddenly:
    According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, determine have and network in local resource The resource not having in resource, it is deleted from local resource;
    Network identity corresponding with deleted local resource in local resource catalogue is deleted, the local resource catalogue is carried out Renewal.
  7. 7. the method for fusion local resource according to claim 1 and Internet resources, it is characterised in that obtain Internet resources The step of catalogue, the network resource directory includes the network identity of Internet resources, includes:
    The initial directory for including all-network resource based on network resource request feedback is obtained, including the net of Internet resources Network identifies;
    Determine whether Internet resources are live resource according to the network identity of Internet resources;
    Network identity corresponding with live resource in the initial directory of Internet resources is extracted, obtains network resource directory.
  8. 8. the method for local resource and Internet resources is merged according to claim 1-7 any one of them, it is characterised in that also wrap Include following steps:
    In response to the operational order of user's application push resource, identification information corresponding with resource to be applied is obtained;
    If determining that the resource to be applied is local resource according to the identification information, the local of resource to be applied is directly transmitted Mark.
  9. 9. the method for fusion local resource according to claim 8 and Internet resources, it is characterised in that further include following step Suddenly:
    If determining that the resource to be applied is Internet resources according to the identification information, local residual flow is obtained;
    If the local residual flow is more than flow needed for resource to be applied, the network identity of resource to be applied is sent.
  10. 10. the method for fusion local resource according to claim 9 and Internet resources, it is characterised in that further include as follows Step:
    If the local residual flow is less than or equal to flow needed for resource to be applied, according to the identification information of resource to be applied With the matching relationship of the network identity of local resource in local resource catalogue;
    Determine that resource can be replaced with the most similar local of resource to be applied in local resource;
    The local mark of resource can be replaced by sending the local.
  11. 11. the method for fusion local resource according to claim 10 and Internet resources, it is characterised in that further include as follows Step:
    In response to the request of user's application push resource, using pre-set programs application push resource;
    In the current push resource of application, the network recommendation resource information based on network recommendation information request, the network are intercepted Resource information is recommended to include the network identity of Internet resources of recommendation;
    Generation is local to recommend resource information, and the local recommendation resource information includes this terrestrial reference for the local resource information recommended Know;
    Send the local mark for the local resource information recommended.
  12. A kind of 12. device for merging local resource and Internet resources, it is characterised in that including:
    Local resource catalog generation module, generates local resource catalogue, and the local resource catalogue includes the network of local resource Mark;
    Local resource configuration module, the network identity of local resource is configured according to local ip address, obtains the local of local resource Mark, local mark have same format with network identity;
    Network resource directory acquisition module, obtains the network resource directory returned based on network resource directory request, the network Resource TOC includes the network identity of Internet resources;
    Matching module, according to the network resource directory and the matching result of the local resource catalogue, determines that Internet resources are It is no to have cached to local;
    Resource TOC generation module, generation push Resource TOC are pushed, the push Resource TOC includes the sheet of local resource Ground identifies and the network identity of uncached to local Internet resources.
  13. 13. the device of fusion local resource according to claim 12 and Internet resources, it is characterised in that further include:
    Pre-cache module, down loading network resource and its network identity, local cache path and resource name are configured according to network identity Claim;
    Internet resources and its network identity are downloaded in the local cache path according to the resource name, obtain local money Source and its network identity.
  14. 14. the device of fusion local resource according to claim 13 and Internet resources, it is characterised in that the local money Source configuration module is specifically used for:
    The network identity of local resource is parsed, obtains the network ip address included in the network identity of local resource;
    Network ip address in the network identity of local resource is adjusted to local ip address, obtains this terrestrial reference of local resource Know.
  15. 15. the device of fusion local resource according to claim 12 and Internet resources, it is characterised in that further include local Resource updates module, is specifically used for:
    The Internet resources more new directory returned based on renewal local resource request is received, it records the network identity of Internet resources;
    According to the local resource catalogue and the Internet resources more new directory, the network identity of the first more new resources is determined;Root The first download path of the described first more new resources and its network identity is obtained according to the network identity of the described first more new resources;
    Described first more new resources and its network identity are downloaded according to first download path;
    Described first more new resources and its network identity are added to local resource catalogue, the local resource catalogue is carried out more Newly.
  16. 16. the device of fusion local resource according to claim 12 and Internet resources, it is characterised in that further include local Resource synchronization module, is specifically used for:
    Local the Resources list to be synchronized is obtained according to the local resource catalogue, the Resources list record to be synchronized with it is to be synchronized The corresponding network identity of resource;
    Receive the Internet resources synchronization list returned based on the synchronization request including described the Resources list to be synchronized, the network money The network identity of source synchronization list records Internet resources;
    According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, the network of the second more new resources is determined Mark;Obtain the described second more new resources and its network identity according to the network identity of the described second more new resources second is downloaded Path;
    Described second more new resources and its network identity are downloaded according to second download path;
    Described second more new resources and its network identity are added to local resource catalogue, the local resource catalogue is carried out more Newly.
  17. 17. the device of fusion local resource according to claim 16 and Internet resources, it is characterised in that the local money Source synchronization module is additionally operable to:
    According to the difference of described the Resources list to be synchronized list synchronous with the Internet resources, determine have and network in local resource The resource not having in resource, it is deleted from local resource;
    Network identity corresponding with deleted local resource in local resource catalogue is deleted, the local resource catalogue is carried out Renewal.
  18. 18. the device of fusion local resource according to claim 12 and Internet resources, it is characterised in that the network money Source directory acquisition module is specifically used for:
    The initial directory for including all-network resource based on network resource request feedback is obtained, including the net of Internet resources Network identifies;
    Determine whether Internet resources are live resource according to the network identity of Internet resources;
    Network identity corresponding with live resource in the initial directory of Internet resources is extracted, obtains network resource directory.
  19. 19. the device of local resource and Internet resources is merged according to claim 12-18 any one of them, it is characterised in that Further include:
    Resource application respond module, in response to the operational order of user's application push resource, obtains corresponding with resource to be applied Identification information;
    Resource recommendation module, if determining that the resource to be applied is local resource according to the identification information, directly transmits and treats The local mark of application resource.
  20. 20. the device of fusion local resource according to claim 19 and Internet resources, it is characterised in that the resource pushes away Module is recommended to be additionally operable to:
    If determining that the resource to be applied is Internet resources according to the identification information, local residual flow is obtained;
    If the local residual flow is more than flow needed for resource to be applied, the network identity of resource to be applied is sent.
  21. 21. the device of fusion local resource according to claim 20 and Internet resources, it is characterised in that the resource pushes away Module is recommended to be additionally operable to:
    If the local residual flow is less than or equal to flow needed for resource to be applied, according to the identification information of resource to be applied With the matching relationship of the network identity of local resource in local resource catalogue;
    Determine that resource can be replaced with the most similar local of resource to be applied in local resource;
    The local mark of resource can be replaced by sending the local.
  22. 22. the device of fusion local resource according to claim 12 and Internet resources, it is characterised in that further include:
    Default application module, in response to the request of user's application push resource, using pre-set programs application push resource;
    Recommendation information replacement module, in the current push resource of application, intercepts the network recommendation based on network recommendation information request Resource information, the network recommendation resource information include the network identity for the Internet resources recommended;
    Generation is local to recommend resource information, and the local recommendation resource information includes this terrestrial reference for the local resource information recommended Know;
    Send the local mark for the local resource information recommended.
  23. 23. a kind of terminal device, it is characterised in that including any one of communication component, display module and claim 11-22 institute The fusion local resource and the device of Internet resources stated, wherein:
    The communication component, network resource directory request is sent to the webserver;
    The device of the fusion local resource and Internet resources, generates local resource catalogue, and the local resource catalogue includes this The network identity of ground resource;The network identity of local resource is configured according to local ip address, obtains the local mark of local resource, Local mark has same format with network identity;Obtain the network money that the webserver is returned based on network resource directory request Source directory, the network resource directory include the network identity of Internet resources;According to the network resource directory and the local The matching result of Resource TOC, determines whether Internet resources have been cached to local;Generation push Resource TOC, the push resource Catalogue includes the local mark of local resource and the network identity of uncached to local Internet resources;
    The communication component, receives the push Resource TOC of the device generation of the fusion local resource and Internet resources;
    The display module, shows the device generation of the fusion local resource and Internet resources that the communication component receives The push Resource TOC.
CN201610917880.8A 2016-10-20 2016-10-20 Merge the method, apparatus and terminal device of local resource and Internet resources Withdrawn CN107968811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610917880.8A CN107968811A (en) 2016-10-20 2016-10-20 Merge the method, apparatus and terminal device of local resource and Internet resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610917880.8A CN107968811A (en) 2016-10-20 2016-10-20 Merge the method, apparatus and terminal device of local resource and Internet resources

Publications (1)

Publication Number Publication Date
CN107968811A true CN107968811A (en) 2018-04-27

Family

ID=61997248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610917880.8A Withdrawn CN107968811A (en) 2016-10-20 2016-10-20 Merge the method, apparatus and terminal device of local resource and Internet resources

Country Status (1)

Country Link
CN (1) CN107968811A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684123A (en) * 2018-12-25 2019-04-26 北京达佳互联信息技术有限公司 Problem resource localization method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1280734A (en) * 1997-10-28 2001-01-17 互联网号码公司 Method and system for accessing information on a network
US20030056224A1 (en) * 2001-07-19 2003-03-20 General Instrument Corporation Method and apparatus for processing transport type B ATVEF data
CN101316226A (en) * 2007-06-01 2008-12-03 阿里巴巴集团控股有限公司 Method, device and system for acquiring resources
CN104753966A (en) * 2013-12-25 2015-07-01 明博教育科技有限公司 Resource file inquiry method and system based on server and client caches

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1280734A (en) * 1997-10-28 2001-01-17 互联网号码公司 Method and system for accessing information on a network
US20030056224A1 (en) * 2001-07-19 2003-03-20 General Instrument Corporation Method and apparatus for processing transport type B ATVEF data
CN101316226A (en) * 2007-06-01 2008-12-03 阿里巴巴集团控股有限公司 Method, device and system for acquiring resources
CN104753966A (en) * 2013-12-25 2015-07-01 明博教育科技有限公司 Resource file inquiry method and system based on server and client caches

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡晶晶 等: "基于RSS的个性化信息服务研究", 《计算机应用与软件》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684123A (en) * 2018-12-25 2019-04-26 北京达佳互联信息技术有限公司 Problem resource localization method, device, terminal and storage medium
CN109684123B (en) * 2018-12-25 2022-06-24 北京达佳互联信息技术有限公司 Problem resource positioning method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US9936260B2 (en) Content reproduction method and apparatus in IPTV terminal
EP2624524B1 (en) Content distribution network supporting popularity-based caching
CN102640147B (en) Systems and methods for providing media pools in a communications network
CN109522330A (en) Cloud platform data processing method, device, equipment and medium based on block chain
CN104410660A (en) Method and device of downloading multimedia resources as well as router and server
RU2656093C2 (en) Content supply device, content supply method, program, terminal device and content supply system
CN104185039A (en) Method and device for audio and video synchronous playing
CN102215116A (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
CN103607634A (en) Method for reducing network video ordering terminal user waiting time
CN109600673A (en) Information processing unit, information processing method and computer-readable medium
US20150058937A1 (en) Streaming video to cellular phones
CN105100839A (en) Video file downloading method, device, server and terminal equipment
CN104378647A (en) Intelligent space storage system and method based on digital television
CN102576437A (en) Apparatus and method for reproducing multimedia content
EP3503568A1 (en) Information processing device, client device, and data processing method
CA3040829A1 (en) Information processing device and information processing method
CN103686409B (en) The method and system that desktop background synchronously plays with live interface
CN104869132A (en) Media resource sharing system, method and server set based on Internet
CN107968963A (en) The method and apparatus for showing local video front cover
EP3160101B1 (en) Multi-media resource management method, cloud server and electronic device
CN109040794A (en) A kind of video website method of river diversion and device
CN104639976A (en) Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal
CN107968811A (en) Merge the method, apparatus and terminal device of local resource and Internet resources
CN105706412B (en) Band-width tactics management in self-correcting content delivery network
CN105450758A (en) Multimedia file play method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100026 8 floor 909, 105 building 3, Yao Yuan Road, Chaoyang District, Beijing.

Applicant after: Lexus Automobile (Beijing) Co.,Ltd.

Address before: 100026 8 floor 909, 105 building 3, Yao Yuan Road, Chaoyang District, Beijing.

Applicant before: FARADAY (BEIJING) NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180906

Address after: 511458 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant after: Evergrande Faraday Future Smart Car (Guangdong) Co.,Ltd.

Address before: 100026 8 floor 909, 105 building 3, Yao Yuan Road, Chaoyang District, Beijing.

Applicant before: Lexus Automobile (Beijing) Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190318

Address after: 100015 Building No. 7, 74, Jiuxianqiao North Road, Chaoyang District, Beijing, 001

Applicant after: FAFA Automobile (China) Co.,Ltd.

Address before: 511458 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant before: Evergrande Faraday Future Smart Car (Guangdong) Co.,Ltd.

WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180427