CN108055320A - Processing method, terminal device and the computer readable storage medium of resource downloading - Google Patents

Processing method, terminal device and the computer readable storage medium of resource downloading Download PDF

Info

Publication number
CN108055320A
CN108055320A CN201711307676.5A CN201711307676A CN108055320A CN 108055320 A CN108055320 A CN 108055320A CN 201711307676 A CN201711307676 A CN 201711307676A CN 108055320 A CN108055320 A CN 108055320A
Authority
CN
China
Prior art keywords
resource
description information
replacement
terminal device
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711307676.5A
Other languages
Chinese (zh)
Other versions
CN108055320B (en
Inventor
王天淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Oppo Communication Technology Co ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711307676.5A priority Critical patent/CN108055320B/en
Publication of CN108055320A publication Critical patent/CN108055320A/en
Application granted granted Critical
Publication of CN108055320B publication Critical patent/CN108055320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

A kind of processing method of resource downloading, terminal device and computer readable storage medium, are related to field of communication technology, and processing method therein includes:When triggering resource downloading, the description information of replacement resource is obtained, replacement resource belongs to same classification for replacing the target resource for starting to download in the page with target resource;By the description information of the replacement resource of acquisition, replace the displaying field in target resource in the page and be shown.Processing method, terminal device and the computer readable storage medium of above-mentioned resource downloading can solve the problems, such as that the resource recommended in the page can not upgrade in time and page location utilization rate is low.

Description

Processing method, terminal device and the computer readable storage medium of resource downloading
Technical field
The present invention relates to a kind of field of communication technology more particularly to processing method of resource downloading, terminal device and calculating Machine readable storage medium storing program for executing.
Background technology
With the development of Internet technology and software technology, resource downloading becomes one of mainstream function of terminal device. User can obtain the various resources in network by being mounted on the client-side program of terminal device in real time.But existing money Source downloads the page and can not be upgraded in time according to resource downloading situation the resource recommended in the middle page, and page location utilization rate is relatively low, There is a situation where to be wasted.
The content of the invention
The embodiment of the present invention provides a kind of processing method of resource downloading, terminal device and computer readable storage medium, To solve the problems, such as that the resource recommended in the page can not upgrade in time and page location utilization rate is low.
First aspect of the embodiment of the present invention provides a kind of processing method of resource downloading, applied to terminal device, including:
When triggering resource downloading, the description information of replacement resource is obtained, the replacement resource is used in the page Middle replacement starts the target resource downloaded, and belongs to same classification with the target resource;
By the description information of the replacement resource of acquisition, replace displaying field of the target resource in the page into Row displaying.
Second aspect of the embodiment of the present invention provides a kind of processing method of resource downloading, including:
Terminal device to the description information of server request replacement resource, and will start when locally triggering resource downloading The identification information of the target resource of download, the identification information of local all installation resources and User Identity information are sent to The server, the replacement resource in the page replace start download target resource, and with the target resource category In same classification;
The server obtains the description information of the replacement resource from alternative resource and returns to the terminal device, The identification information of the replacement resource and the identification information of all installation resources mismatch;
The description information for the replacement resource that the terminal device returns to the server is replaced and provided in the target Displaying field of the source in the page is shown.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including:
Acquisition module, it is described to replace money for when triggering resource downloading, being obtained to the description information of replacement resource Source belongs to same classification for replacing the target resource for starting to download in the page with the target resource;
Processing module for the description information for the replacement resource that will be obtained, is replaced in the target resource in the page In displaying field be shown.
Fourth aspect of the embodiment of the present invention provides a kind of terminal device, including:Memory, processor and is stored in described deposit On reservoir and the computer program that can run on the processor, which is characterized in that the processor performs the computer During program, the processing method for the resource downloading that embodiments of the present invention first aspect provides is realized.
The 5th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, It is characterized in that, when the computer program is executed by processor, the money that embodiments of the present invention first aspect provides is realized The processing method that source is downloaded.
The various embodiments described above, on the one hand, when triggering resource downloading, obtain new replacement resource and replaced just in the page It is shown in the resource of download, realizes upgrading in time for resource;On the other hand, by using the exhibition for the resource downloaded Show that field is shown the new replacement resource of acquisition, can be wasted to avoid field, effectively improve the utilization rate of page location.
Description of the drawings
Fig. 1 is the application environment schematic diagram of the processing method of resource downloading provided in an embodiment of the present invention;
Fig. 2 is the realization flow diagram of the processing method for the resource downloading that one embodiment of the invention provides;
Fig. 3 is the realization flow diagram of the processing method for the resource downloading that another embodiment of the present invention provides;
Resource replaces the schematic diagram of displaying in the processing method for the resource downloading that Fig. 4 provides for another embodiment of the present invention;
The schematic diagram that download state is shown in the processing method for the resource downloading that Fig. 5 provides for another embodiment of the present invention;
Fig. 6 is the realization flow diagram of the processing method for the resource downloading that another embodiment of the present invention provides;
Fig. 7 is the structure diagram for the terminal device that one embodiment of the invention provides;
Fig. 8 is the structure diagram for the terminal device that another embodiment of the present invention provides;
Fig. 9 is the hardware architecture diagram for the terminal device that one embodiment of the invention provides.
Specific embodiment
Goal of the invention, feature, advantage to enable the present invention is more apparent and understandable, below in conjunction with the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing in embodiment, it is clear that described reality It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, people in the art Member's all other embodiments obtained without making creative work, belong to the scope of protection of the invention.
Fig. 1 is the application environment schematic diagram of the processing method of resource downloading provided in an embodiment of the present invention.As shown in Figure 1, Multiple terminal devices 100 and server 200 carry out data interaction by network.Being equipped in terminal device 100 can push away to user Recommend the client-side program of resource downloading.Terminal device 100 obtains recommendable resource from server 200, and passes through the client The displayed page of program is shown.Terminal device 200 includes:There is smart mobile phone, the tablet of networking and resource displaying The electronic data device and the non-electronic data that can be used on the move that computer, laptop etc. can use on the move are set It is standby.
Referring to Fig. 2, the realization flow diagram of the processing method of the resource downloading provided for one embodiment of the invention, it should For the terminal device 100 in Fig. 1.As shown in Fig. 2, this method mainly includes the following steps that:
101st, when triggering resource downloading, the description information of replacement resource is obtained, replacement resource is used in the page Middle replacement starts the target resource downloaded, and belongs to same classification with target resource;
Specifically, the client-side program that resource downloading can be provided is preset in terminal device, the download of the client-side program Function pages provide the interface of resource downloading.It is assorted that user can understand resource by the description information of resource shown in the page , and pass through the download button clicked in the page and complete resource downloading.
It may include multiple classification cards in one page, each classification card is equivalent to a container, for accommodating one The relevant information of default resource under default classification.Each classification card has multiple displaying fields, different for showing The relevant information of resource.The quantity of specific displaying field can be adjusted according to actual demand, not limited herein.
Resource can be, but not limited to include:Application resource, such as:Microsoft Explorer, compass program, 360 antivirus journeys Sequence etc.;Multimedia resource, such as:Audio, video file, electronic book documentary, picture and text document etc.;And other can It is supplied to the data resource that user uses.
Event sniffer is provided in terminal device, for monitoring each event occurred in the page.It is supervised when by event When listening the device to listen to the click event of download button, the downloading task of the target resource of download button direction is triggered, is started pair The target resource is downloaded.Meanwhile new resource is obtained, to replace the target resource for currently starting to download.The new resource Belong to same classification with target resource, e.g., if download is the resource A of music class, then from music class a new resource B is looked for replace Change the resource A downloaded.
102nd, by the description information of the replacement resource of acquisition, replace the displaying field in target resource in the page and opened up Show.
The description information of replacement resource can be, but not limited to include:It the title of replacement resource, size, icon and is associated with Download (or, installation) button of download link.Specifically, by the title of the replacement resource of replacement resource, size, icon and pass The download button of download link is associated with, the former displaying field of target resource is shown in the page, the related letter of target resource Breath will not be appeared in the page again.User by other means, can such as press the mode of quick botton, terminate target resource It downloads.Optionally, after download is terminated, target resource will not replace back former displaying field and be shown again, to ensure the page Shown in be new resources that user had not downloaded always.At this point, the target that user can be terminated by downloading history understanding The relevant information of resource.
The processing method of resource downloading provided in this embodiment, on the one hand, when triggering resource downloading, obtain new replacement Resource is simultaneously replaced the resource downloaded in the page and is shown, and realizes upgrading in time for resource;On the other hand, profit is passed through The new replacement resource of acquisition is shown with the displaying field for the resource downloaded, can be wasted to avoid field, effectively Improve the utilization rate of page location.
Referring to Fig. 3, the realization flow diagram of the processing method of the resource downloading provided for another embodiment of the present invention, Applied to the terminal device 100 in Fig. 1.As shown in figure 3, this method mainly includes the following steps that:
201st, when triggering resource downloading, the description information of replacement resource is obtained, replacement resource is used in the page Middle replacement starts the target resource downloaded, and belongs to same classification with target resource;
Specifically, the client-side program that resource downloading can be provided is preset in terminal device, the download of the client-side program Function pages provide the interface of resource downloading.It is assorted that user can understand resource by the description information of resource shown in the page , and pass through the download button clicked in the page and complete resource downloading.
It may include multiple classification cards in one page, each classification card is equivalent to a container, for accommodating one The relevant information of default resource under default classification.Each classification card has multiple displaying fields, different for showing The relevant information of resource.The quantity of specific displaying field can be adjusted according to actual demand, not limited herein.
Resource can be, but not limited to include:Application resource, such as:Microsoft Explorer, compass program, 360 antivirus journeys Sequence etc.;Multimedia resource, such as:Audio, video file, electronic book documentary, picture and text document etc.;And other can It is supplied to the data resource that user uses.The description information of replacement resource can be, but not limited to include:It is the title of replacement resource, big Small, icon and download (or, installation) button for being associated with download link.It in practical applications, can be according to the purposes of resource Classify to resource.
Event sniffer is provided in terminal device, for monitoring each event occurred in the page.It is supervised when by event When listening the device to listen to the click event of download button, the downloading task of the target resource of download button direction is triggered, is started pair The target resource is downloaded.Meanwhile new resource is obtained, to replace the target resource for currently starting to download.The new resource Belong to same classification with target resource, e.g., if download is the resource A of music class, then from music class a new resource B is looked for replace Change the resource A downloaded.
Optionally, since Show board bit quantity is limited, and the quantity of the resource under each classification may be far longer than displaying The quantity of field.Terminal device can disposably download the description letter of multiple resources more than Show board bit quantity from server Breath, and according to preset displaying information, the description information of the part resource in the description information of multiple resources of download is carried out Displaying.When triggering resource downloading, first the description information of replacement resource is obtained from local.If from it is local obtain less than for The description information of resource is changed, then to the description information of server request replacement resource.If get retouching for replacement resource from local Information is stated, then confirms the description information for getting replacement resource.
If the description information of replacement resource the 202, has not been obtained, in the case where showing field real-time update display target resource Load state;
The reason for description information of replacement resource has not been obtained can be, but not limited to include:Terminal device without network connection with And it is obtained under the corresponding classification of target resource less than new description information of resource etc..It specifically, can be current by judging Whether network connection is had, alternatively, judging whether target resource is the last one resource under the corresponding classification, it is determined whether not Get the description information of replacement resource.
In the download state of displaying field real-time update display target resource, i.e. according to the download state of target resource Real-time change, real-time update shows corresponding context information in field is shown.
It optionally, can be in field be shown in the control button of target resource, under real-time update display target resource Load state.Control button is for example:Download or install button.The variation of button specifically can be as applied in Fig. 4 in chess and card classification card " installation " button under title 1 entertains " 20% " button in classification card under Apply Names 2 and (represents to have completed to be downloaded into The 20% of degree), it further may also include " in wait ", " continuation ", " opening " etc..
203rd, judge whether target resource is the last one non-installation resource in classification belonging to target resource, if so, After the completion of target resource download, the card where target resource is moved to the bottom of the page, alternatively, built-in type cards;
If target resource is the last one non-installation resource in classification belonging to target resource, illustrate that the classification has not had There is new valuable resource that can recommend, the action value of other classification cards of the action value of the corresponding card of the classification, therefore, Card where target resource is moved to the bottom of the page, alternatively, built-in type cards, it will be in the sequence of positions of remaining card It moves, so that the resource of web page recommendation has more directive property.
Further, if target resource is the last one non-installation resource in classification belonging to target resource, peace is clicked on Button is filled, it, can be in displaying field output prompt message " no network connection " if Network Abnormal.
If the 204, getting the description information of replacement resource, whether the corresponding resource of description information for judging to obtain has pacified In terminal device;
If the 205, being not installed in terminal device, the description information of the replacement resource of acquisition is replaced in target resource Displaying field in the page is shown;
Judge whether to have installed including:Whether it is mark according to the identification information judgment replacement resource of resource and installation resource It is sensible with resource, alternatively, according to the identification information of resource and version information judge replacement resource and installation resource whether be The identical resource of version different identification, such as:The wechat of the wechat of 1.0 versions and 2.0 versions.Wherein, version is different includes replacing The version of resource is changed higher than installation resource, alternatively, the version of replacement resource is less than installation resource.
As shown in the part that dashed box limits in Fig. 5, if the corresponding resource of description information obtained is not installed at terminal device In, then by the description information of the resource, replace the displaying field in target resource in the page and be shown.The phase of target resource Closing information will not appear in the page again.User by other means, can such as press the mode of quick botton, terminate target money The download in source.Optionally, after download is terminated, target resource will not replace back former displaying field and be shown again, to ensure It is the new resources that user had not downloaded always shown in the page.At this point, what user can be terminated by downloading history understanding The relevant information of target resource.
Further, the description information of replacement resource can be highlighted in the displaying field of target resource or Cue mark is added in the displaying field, has new resource to be substituted into prompting.
If the 206, being mounted in terminal device, the description information of next replacement resource is obtained.Then, based on acquisition Next replacement resource description information, perform step 204:Whether the corresponding resource of description information for judging to obtain has been installed In terminal device, until the corresponding resource of description information got is the resource being not installed in terminal device, and it will obtain The description information of the replacement resource taken is replaced the displaying field in target resource in the page and is shown.Alternatively, it all ought obtain When the corresponding resource of description information taken has been mounted in terminal device, the description information that replacement resource has not been obtained is confirmed.
If the corresponding resource of description information obtained has been mounted in terminal device, next replacement resource is obtained, so Judge whether the corresponding resource of description information of the next replacement resource obtained is also already installed in terminal device afterwards, so Back and forth, until the corresponding resource of description information that gets is the resource being not installed in terminal device, and by the replacement of acquisition The description information of resource is replaced the displaying field in target resource in the page and is shown.If the alternatively, description of all acquisitions The corresponding resource of information has been mounted in terminal device, then confirms the description information that replacement resource has not been obtained, and performs step 202。
It should be understood that it either still asks to replace money from server from the local description information for obtaining replacement resource The description information in source after the description information of replacement resource is got each time, is required for judging that the description information obtained corresponds to Resource whether installed.
By judging whether replacement resource has been installed, can be occupied to avoid invalid description information to page location, into one Step improves the utilization rate of page location, and the resource for ensureing to replace is valuable resource.
The processing method of resource downloading provided in this embodiment, the processing method of resource downloading provided in this embodiment, one Aspect when triggering resource downloading, obtains new replacement resource and the resource downloaded is replaced in the page and be shown, real Upgrading in time for resource is showed;On the other hand, by using new replacement of the displaying field for the resource downloaded to acquisition Resource is shown, and can be wasted to avoid field, be effectively improved the utilization rate of page location.
Referring to Fig. 6, the realization flow diagram of the processing method of the resource downloading provided for another embodiment of the present invention. The present embodiment is the description that the angle interacted from terminal device with server carries out.As shown in fig. 6, this method is mainly including following Step:
301st, terminal device is when locally triggering resource downloading, to the description information of server request replacement resource, and will Start the identification information for the target resource downloaded, the identification information of local all installation resources and User Identity information hair Server is given, replacement resource belongs to same point for replacing the target resource for starting to download in the page with target resource Class;
User Identity information, such as:IMEI (International Mobile Equipment Identity, state Border mobile equipment identity code), the resource for determining which type can recommend terminal device.
The identification information of resource can be, but not limited to include:The information such as the title of installation resource, version number.
302nd, server obtains the description information of replacement resource from alternative resource and returns to terminal device, replacement resource Identification information and the identification information of all installation resources mismatch;
Specifically, server determines alternative resource according to IMEI, it is true according to the identification information for the target resource for starting to download Determine the affiliated classification of replacement resource, replacement resource is determined according to the identification information of all installation resources.The mark of replacement resource The identification information of information and all installation resources mismatches, i.e. replacement resource had been installed in terminal device Resource.
303rd, the description information for the replacement resource that terminal device returns to server is replaced in target resource in the page Displaying field is shown.
The description information of replacement resource can be, but not limited to include:It the title of replacement resource, size, icon and is associated with Download (or, installation) button of download link.Specifically, by the title of the replacement resource of replacement resource, size, icon and pass The download button of download link is associated with, the former displaying field of target resource is shown in the page, the related letter of target resource Breath will not be appeared in the page again.User by other means, can such as press the mode of quick botton, terminate target resource It downloads.Optionally, after download is terminated, target resource will not replace back former displaying field and be shown again, to ensure the page Shown in be new resources that user had not downloaded always.At this point, the target that user can be terminated by downloading history understanding The relevant information of resource.
Details is not use up in the present embodiment, specifically refers to the related content in Fig. 2 and embodiment illustrated in fig. 3.
The processing method of resource downloading provided in this embodiment, the processing method of resource downloading provided in this embodiment, one Aspect when triggering resource downloading, obtains new replacement resource and the resource downloaded is replaced in the page and be shown, real Upgrading in time for resource is showed;On the other hand, by using new replacement of the displaying field for the resource downloaded to acquisition Resource is shown, and can be wasted to avoid field, be effectively improved the utilization rate of page location.
Referring to Fig. 7, the structure diagram of the terminal device provided for one embodiment of the invention.The terminal device can be used for Realize the processing method for the resource downloading that above-mentioned embodiment illustrated in fig. 2 provides.As shown in fig. 7, the terminal device mainly includes:It obtains Modulus block 401 and processing module 402.
Wherein, acquisition module 401, for when triggering resource downloading, obtaining, replacing to the description information of replacement resource Resource is changed for replacing the target resource for starting to download in the page, and belongs to same classification with target resource;
Processing module 402 for the description information for the replacement resource that will be obtained, replaces the exhibition in the page in target resource Show that field is shown.
It should be noted that in the embodiment of the exemplary terminal device of figure 7 above, the division of each function module is only to lift Example explanation, can be as needed in practical application, such as the convenient consideration of the realization of the configuration requirement or software of corresponding hardware, And complete above-mentioned function distribution by different function modules, i.e., the internal structure of terminal device is divided into different function moulds Block, to complete all or part of function described above.Moreover, in practical applications, the corresponding function in the present embodiment Module can be by corresponding hardware realization, can also perform corresponding software by corresponding hardware and complete.This specification provides Each embodiment all can apply foregoing description principle, repeat no more below.
The detailed process of the respective function of each Implement of Function Module, refers to above-mentioned figure in terminal device provided in this embodiment Particular content described in 2 illustrated embodiments, details are not described herein again.
Terminal device provided in this embodiment, on the one hand, when triggering resource downloading, obtain new replacement resource and in page The resource downloaded is replaced in face to be shown, and realizes upgrading in time for resource;On the other hand, by using downloading The displaying field of resource the new replacement resource of acquisition is shown, can be wasted to avoid field, effectively improve page position The utilization rate put.
Referring to Fig. 8, the structure diagram of the terminal device provided for another embodiment of the present invention.The terminal device can use In the processing method for the resource downloading for realizing above-mentioned Fig. 2 and embodiment illustrated in fig. 3 offer.It is different from terminal device shown in Fig. 7 , in this present embodiment,
Further, which further includes:
State display module 501 if the description information of replacement resource has not been obtained for acquisition module 401, is being shown The download state of field real-time update display target resource;
Processing module 402, if getting the description information of replacement resource for acquisition module 401, by the replacement of acquisition The description information of resource is replaced the displaying field in target resource in the page and is shown;
Acquisition module 401, specifically for when triggering resource downloading, being obtained from local to the description information of replacement resource It takes, if from the local description information obtained less than replacement resource, to the description information of server request replacement resource;
State display module 501 is shown specifically for real-time update in the control button of target resource in field is shown The download state of target resource;
Processing module 402, if getting the description information of replacement resource also particularly useful for acquisition module 401, judgement obtains Whether the corresponding resource of description information taken has been mounted in terminal device, if being not installed in terminal device, by acquisition The description information of replacement resource, if the displaying field replaced in target resource in the page is shown and has been mounted on eventually In end equipment, then the description information of next replacement resource is obtained;
Processing module 402 is additionally operable to be mounted in terminal device when the corresponding resource of description information of all acquisitions When, confirm the description information that replacement resource has not been obtained.
Further, terminal device further includes:
Judgment module 502, for judge target resource whether be belonging to target resource classification in the last one do not install Resource.
Further, processing module 402 are additionally operable to judgment module 502 and judge that target resource is classification belonging to target resource In the last one non-installation resource, then target resource download after the completion of, the card where target resource is moved into the page Bottom, alternatively, built-in type cards.
Optionally, processing module 402, be additionally operable in the displaying field of target resource to the description information of replacement resource into Row is highlighted or adds cue mark in the displaying field, has new resource to be substituted into prompting.
The detailed process of the respective function of each Implement of Function Module, refers to above-mentioned figure in terminal device provided in this embodiment 1 to the particular content described in embodiment illustrated in fig. 7, and details are not described herein again.
Terminal device provided in this embodiment, on the one hand, when triggering resource downloading, obtain new replacement resource and in page The resource downloaded is replaced in face to be shown, and realizes upgrading in time for resource;On the other hand, by using downloading The displaying field of resource the new replacement resource of acquisition is shown, can be wasted to avoid field, effectively improve page position The utilization rate put.
Referring to Fig. 9, Fig. 9 is the hardware architecture diagram for the terminal device that one embodiment of the invention provides.
Terminal device described in the present embodiment, including:
Memory 51, processor 52 and the computer program that can be run on memory 51 and on the processor 52 is stored in, When processor 52 performs the computer program, the processing side of the resource downloading described in realization earlier figures 2 and embodiment illustrated in fig. 3 Method.
Further, which further includes:
At least one input equipment 53 and at least one output equipment 54.
Above-mentioned memory 51, processor 52, input equipment 53 and output equipment 54, are connected by bus 55.
Wherein, input equipment 53 concretely camera, touch panel, physical button or mouse etc..Output equipment 54 concretely display screens.
Memory 51 can be high random access memory body (RAM, Random Access Memory) memory, also may be used For non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 51 can for storing one group Program code is performed, processor 52 is coupled with memory 51.
Further, the embodiment of the present invention additionally provides a kind of computer readable storage medium, the computer-readable storage Medium can be disposed in the terminal device in the various embodiments described above, which can be earlier figures 9 Memory in illustrated embodiment.Computer program is stored on the computer readable storage medium, which is held by processor The processing method of the resource downloading described in earlier figures 2 and embodiment illustrated in fig. 3 is realized during row.Further, which can Storage medium can also be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), RAM, magnetic disc or light The various media that can store program code such as disk.
In several embodiments provided herein, it should be understood that disclosed terminal device and method, Ke Yitong Other modes are crossed to realize.For example, the apparatus embodiments described above are merely exemplary, for example, the module is drawn Point, it is only a kind of division of logic function, there can be other dividing mode in actual implementation, such as multiple module or components can To combine or be desirably integrated into another system or some features can be ignored or does not perform.It is another, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or module Or communication connection, can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separate, be shown as module The component shown may or may not be physical module, you can be located at a place or can also be distributed to multiple On network module.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, it can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be employed in block is realized, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a readable storage medium storing program for executing, is used including some instructions so that a meter It calculates machine equipment (can be personal computer, server or the network equipment etc.) and performs each embodiment the method for the present invention All or part of step.And foregoing readable storage medium storing program for executing includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Store the medium of program code.
It it should be noted that for foregoing each method embodiment, describes, therefore it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to a kind of processing method of resource downloading provided by the present invention, terminal device and computer-readable storage above The description of medium, for those skilled in the art, according to the thought of the embodiment of the present invention, in specific embodiment and using model There will be changes are placed, to sum up, this specification content should not be construed as limiting the invention.

Claims (12)

1. a kind of processing method of resource downloading, applied to terminal device, which is characterized in that the described method includes:
When triggering resource downloading, the description information of replacement resource is obtained, the replacement resource is used to replace in the page The target resource for starting to download is changed, and belongs to same classification with the target resource;
By the description information of the replacement resource of acquisition, replace the displaying field in the target resource in the page and opened up Show.
2. the method as described in claim 1, which is characterized in that after the description information to replacement resource obtains, It further includes:
If the description information of the replacement resource has not been obtained, the target resource is shown in the displaying field real-time update Download state;
If getting the description information of the replacement resource, the description information of the replacement resource by acquisition is performed, Replace the step of displaying field in the target resource in the page is shown.
3. method as claimed in claim 2, which is characterized in that described to show the target in the displaying field real-time update After the download state of resource, further include:
Judge whether the target resource is the last one non-installation resource in classification belonging to the target resource;
If so, after the completion of target resource download, the card where the target resource is moved into the page most Lower section, alternatively, hiding the card.
4. method as claimed in claim 2, which is characterized in that if the description information for getting the replacement resource, Perform the description information of the replacement resource by acquisition, replace displaying field of the target resource in the page into The step of row displaying, including:
If getting the description information of the replacement resource, whether the corresponding resource of description information for judging to obtain has been mounted on In the terminal device;
If being not installed in the terminal device, the description information of the replacement resource by acquisition is performed, is replaced The step of displaying field of the target resource in the page is shown;
If being mounted in the terminal device, the description information of next replacement resource is obtained, and performs the judgement and obtains Whether the corresponding resource of description information taken has been mounted on the step in the terminal device, until the description information pair got The resource answered be the resource that is not installed in the terminal device or when the corresponding resource of the description information of all acquisitions When in the terminal device, the description information that the replacement resource has not been obtained is confirmed.
5. method as claimed in claim 2, which is characterized in that described to show the target in the displaying field real-time update The download state of resource, specifically includes:
Real-time update shows the download shape of the target resource in the control button of target resource described in the displaying field State.
6. method according to any one of claims 1 to 5, which is characterized in that it is described when triggering resource downloading, to replacing The description information for changing resource is obtained, and is specifically included:
When triggering resource downloading, the description information of the replacement resource is obtained from local;
If from the local description information obtained less than the replacement resource, the description for asking the replacement resource to server is believed Breath.
7. a kind of processing method of resource downloading, which is characterized in that the described method includes:
Terminal device to the description information of server request replacement resource, and will start to download when locally triggering resource downloading The identification information of target resource, the identification information of local all installation resources and User Identity information be sent to it is described Server, the replacement resource belong to same for replacing the target resource for starting to download in the page with the target resource One classification;
The server obtains the description information of the replacement resource from alternative resource and returns to the terminal device, described The identification information of replacement resource and the identification information of all installation resources mismatch;
The description information for the replacement resource that the terminal device returns to the server, replaces and exists in the target resource Displaying field in the page is shown.
8. a kind of terminal device, which is characterized in that including:
Acquisition module, for when triggering resource downloading, being obtained to the description information of replacement resource, the replacement resource is used In replacing the target resource that starts to download in the page, and belong to same classification with the target resource;
Processing module for the description information for the replacement resource that will be obtained, is replaced in the target resource in the page Displaying field is shown.
9. terminal device as claimed in claim 8, which is characterized in that the terminal device further includes:
State display module, if the description information of the replacement resource has not been obtained for the acquisition module, in the exhibition Show that field real-time update shows the download state of the target resource;
The processing module, if the description information that the acquisition module gets the replacement resource is additionally operable to, by acquisition The description information of the replacement resource replaces the step of displaying field in the target resource in the page is shown;
The acquisition module, specifically for when triggering resource downloading, being carried out from local to the description information of the replacement resource It obtains, if from the local description information obtained less than the replacement resource, the description to the server request replacement resource Information.
The state display module, specifically for real-time update in the control button of target resource described in the displaying field Show the download state of the target resource;
The processing module if getting the description information of the replacement resource also particularly useful for the acquisition module, judges Whether the corresponding resource of description information of acquisition has been mounted in the terminal device, if being not installed in the terminal device, Then by the description information of the replacement resource of acquisition, replace the displaying field in the target resource in the page and opened up If showing and being mounted in the terminal device, the description information of next replacement resource is obtained;
The processing module is additionally operable to be mounted in the terminal device when the corresponding resource of description information of all acquisitions When, confirm the description information that the replacement resource has not been obtained.
10. terminal device as claimed in claim 9, which is characterized in that the terminal device further includes:
Judgment module, for judge the target resource whether be belonging to the target resource classification in the last one do not install Resource;
The processing module, if be additionally operable to judgment module judge the target resource be in classification belonging to the target resource most The non-installation resource of the latter then after the completion of target resource download, the card where the target resource is moved to described The bottom of the page, alternatively, hiding the card.
11. a kind of terminal device, including:Memory, processor and is stored on the memory and can be on the processor The computer program of operation, which is characterized in that when the processor performs the computer program, realize in claim 1 to 6 Any one described in resource downloading processing method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, the processing method of the resource downloading described in any one in claim 1 to 6 is realized.
CN201711307676.5A 2017-12-11 2017-12-11 Processing method, terminal device and the computer readable storage medium of resource downloading Active CN108055320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711307676.5A CN108055320B (en) 2017-12-11 2017-12-11 Processing method, terminal device and the computer readable storage medium of resource downloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711307676.5A CN108055320B (en) 2017-12-11 2017-12-11 Processing method, terminal device and the computer readable storage medium of resource downloading

Publications (2)

Publication Number Publication Date
CN108055320A true CN108055320A (en) 2018-05-18
CN108055320B CN108055320B (en) 2019-07-05

Family

ID=62123208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711307676.5A Active CN108055320B (en) 2017-12-11 2017-12-11 Processing method, terminal device and the computer readable storage medium of resource downloading

Country Status (1)

Country Link
CN (1) CN108055320B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109513213A (en) * 2018-11-13 2019-03-26 广州互爱信息科技有限公司 A kind of hand trip subpackage download technology method
CN110865810A (en) * 2019-11-14 2020-03-06 北京无限光场科技有限公司 Resource multiplexing method and device, electronic equipment and computer readable storage medium
WO2020063832A1 (en) * 2018-09-30 2020-04-02 海信视像科技股份有限公司 Display processing method for application recommendation fields and display apparatus
CN111338672A (en) * 2020-02-19 2020-06-26 上海掌门科技有限公司 Method, electronic device, and computer storage medium for optimizing application updates
CN112711709A (en) * 2021-01-04 2021-04-27 拉扎斯网络科技(上海)有限公司 Resource information page presenting method and device
CN114117090A (en) * 2020-08-31 2022-03-01 北京达佳互联信息技术有限公司 Resource display method and device and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100273456A1 (en) * 2007-11-05 2010-10-28 Visto Corporation Service management system & associated methodology of providing service related message prioritization in a mobile client
CN102929601A (en) * 2012-09-28 2013-02-13 北京小米科技有限责任公司 Application program management method and apparatus
CN103581314A (en) * 2013-10-29 2014-02-12 广东欧珀移动通信有限公司 Method and system for achieving application recommendation on APP starting page
CN106372110A (en) * 2016-08-22 2017-02-01 维沃移动通信有限公司 Application recommendation method and mobile terminal
CN106993038A (en) * 2017-03-31 2017-07-28 北京猎豹移动科技有限公司 Promotion method, device and the server of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100273456A1 (en) * 2007-11-05 2010-10-28 Visto Corporation Service management system & associated methodology of providing service related message prioritization in a mobile client
CN102929601A (en) * 2012-09-28 2013-02-13 北京小米科技有限责任公司 Application program management method and apparatus
CN103581314A (en) * 2013-10-29 2014-02-12 广东欧珀移动通信有限公司 Method and system for achieving application recommendation on APP starting page
CN106372110A (en) * 2016-08-22 2017-02-01 维沃移动通信有限公司 Application recommendation method and mobile terminal
CN106993038A (en) * 2017-03-31 2017-07-28 北京猎豹移动科技有限公司 Promotion method, device and the server of application program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020063832A1 (en) * 2018-09-30 2020-04-02 海信视像科技股份有限公司 Display processing method for application recommendation fields and display apparatus
CN109513213A (en) * 2018-11-13 2019-03-26 广州互爱信息科技有限公司 A kind of hand trip subpackage download technology method
CN110865810A (en) * 2019-11-14 2020-03-06 北京无限光场科技有限公司 Resource multiplexing method and device, electronic equipment and computer readable storage medium
CN111338672A (en) * 2020-02-19 2020-06-26 上海掌门科技有限公司 Method, electronic device, and computer storage medium for optimizing application updates
CN111338672B (en) * 2020-02-19 2024-01-26 上海掌门科技有限公司 Method for optimizing update of application program, electronic device and computer storage medium
CN114117090A (en) * 2020-08-31 2022-03-01 北京达佳互联信息技术有限公司 Resource display method and device and server
CN112711709A (en) * 2021-01-04 2021-04-27 拉扎斯网络科技(上海)有限公司 Resource information page presenting method and device

Also Published As

Publication number Publication date
CN108055320B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN108055320A (en) Processing method, terminal device and the computer readable storage medium of resource downloading
CN106843755A (en) For the data balancing method and device of server cluster
CN102520841B (en) Collection user interface
US8595641B2 (en) Methods, apparatus and systems for displaying and/or facilitating interaction with secure information via channel grid framework
CN105122233B (en) cloud object
CN109446570B (en) Business process display method, device, computer equipment and storage medium
CN105531688B (en) The service of resource as other services is provided
CN104881318B (en) A kind of interface call method, device and terminal
CN111984269B (en) Method for providing application construction service and application construction platform
CN107908472A (en) Data synchronization unit, method and computer-readable recording medium
CN108737325A (en) A kind of multi-tenant data partition method, apparatus and system
CN108228305A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN107015721A (en) The management method and device of a kind of application interface
CN108804188A (en) Changing an interface skin method and device
CN107679832A (en) Task management method, device and server
CN109697071A (en) Installation kit synthetic method, device, terminal and storage medium
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN107193607A (en) Method and apparatus, storage medium, processor and terminal for updating code file
CN103019675B (en) System and method for enabling service features within productivity applications
CN108572845A (en) The upgrade method and related system of distributed micro services cluster
CN104115142A (en) Device specific folders for bookmarks synchronization
CN110535679A (en) Management method, framework, network slice sales platform and the management system of slice
CN109478152A (en) Cloud content status frame
CN105893073A (en) Update method and system used for application program, and business server and pushing server used for updating application program

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210414

Address after: 18-24 / F, unit 2, building 2, 158 Tianfu 4th Street, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610000

Patentee after: CHENGDU OPPO COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

TR01 Transfer of patent right