[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107749916A - The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded - Google Patents

The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded Download PDF

Info

Publication number
CN107749916A
CN107749916A CN201710748840.XA CN201710748840A CN107749916A CN 107749916 A CN107749916 A CN 107749916A CN 201710748840 A CN201710748840 A CN 201710748840A CN 107749916 A CN107749916 A CN 107749916A
Authority
CN
China
Prior art keywords
mobile phone
rom
phone rom
download
custom
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710748840.XA
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.)
Shenzhen Palm Star Conception Technology Co Ltd
Original Assignee
Shenzhen Palm Star Conception 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 Shenzhen Palm Star Conception Technology Co Ltd filed Critical Shenzhen Palm Star Conception Technology Co Ltd
Priority to CN201710748840.XA priority Critical patent/CN107749916A/en
Publication of CN107749916A publication Critical patent/CN107749916A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • 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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides the method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded, including:Receive the mobile phone ROM download requests that user is sent by browser, and parse the mobile phone ROM download requests;Search for and position to for mobile phone ROM and related resource corresponding to the mobile phone ROM download requests;Mobile phone ROM customized treatments are carried out, obtain custom-made mobile phone ROM results;Content corresponding to dynamic download, the output custom-made mobile phone ROM results, and be back in the browser of user.The method and device that the present invention is downloaded by mobile phone ROM high in the clouds real-time customization, save storage and bandwidth cost that mobile phone ROM downloads provider, and the speed of download and downloading experience of user can be lifted, the making and related industry development for mobile phone ROM provide a kind of technical support.

Description

The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded
Technical field
The invention belongs to the software technology field of electronics industry, is related to server end calculating and the specific subdivision field skill of communication Art, more particularly to the method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded.
Background technology
With the development of Mobile Industry and the communication technology, due to the opening of android system, mobile phone brand, mobile phone machine Type is more and more, and (ROM, i.e. Read Only Memory image, abbreviation read-only storage mirror image, mobile phone ROM refer to mobile phone ROM For Android phone operating system) various releases it is also more and more.
Provider/offer website is downloaded using all kinds of mobile phone ROM, such as mobile phone production firm, it can provide its institute's manufacturing machine The various version mobile phone ROM of type so that the space internal memory that backstage storage and managing mobile phone ROM server take is also increasingly Greatly.In another example there is the websites of many mobile service providers according to service needs, be supplied under the mobile phone ROM of various mobile phone types Service is carried, because mobile phone ROM can be customized, therefore thousands of individual mobile phone ROM just occur in a type, and this causes Hard drive space required for ROM storages is increasing, and most of mobile phone ROM, which downloads offer commercial city, can not store so more mobile phones ROM。
Also, in the prior art, mobile phone ROM storages and download are primarily present both sides defect.First, mobile phone ROM is accounted for Memory space is excessive.Secondly, it is all at present different mobile phone ROM to download, when downloading concurrent larger, the pressure of disk Also highlight.Therefore, it is necessary to the method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded is provided, it is above-mentioned to solve Problem.
The content of the invention
In consideration of it, the embodiments of the invention provide a kind of mobile phone ROM high in the clouds real-time customization download method and device, to The storage for significantly saving mobile phone ROM takes, and reduces disk pressure when high concurrent is downloaded on server, also further can be with Mitigate the bandwidth pressure of server by breakpoint download technology.
First aspect, there is provided a kind of method that mobile phone ROM high in the clouds real-time customization is downloaded, methods described include:
Step S1, receive the mobile phone ROM download requests that user is sent by browser, and parse the mobile phone ROM and download Request;
Step S2, according to analysis result, search for and position to for mobile phone ROM corresponding to the mobile phone ROM download requests And related resource;
Step S3, mobile phone ROM customized treatments are carried out, obtain custom-made mobile phone ROM results;
Step S4, it is corresponding according to the custom-made mobile phone ROM results, dynamic download, the output custom-made mobile phone ROM results Content, and be back in the browser of user.
Further, before step S1, in addition to:
Step S0, according to mobile phone type, corresponding mobile phone ROM bottoms bag is preserved;And pre-set an internal memory sky Between storage and the resources of all mobile phone ROM bottoms bag difference sections.
Further, the analysis result of the mobile phone ROM download requests includes mobile phone type and the mobile phone type is corresponding Mobile phone ROM customization require;
The step S3 also includes:
Step S31, the mobile phone type obtained according to parsing, from the corresponding mobile phone ROM and related resource, is retrieved Wrap at mobile phone ROM bottoms corresponding to the mobile phone type;
Step S32, find out in the corresponding mobile phone ROM customization requirements, deposited with the corresponding mobile phone ROM bottoms bag In the difference section requirement of difference;
Step S33, corresponding to being found according to difference section requirement in the memory headroom storage pre-set Difference section resource;
Step S34, carry out ROM customized treatments, by corresponding to the mobile phone type found out mobile phone ROM bottoms bag and it is corresponding Difference section resource merges, and obtains custom-made mobile phone ROM results.
Further, the step S34 also includes:
Step S341, the custom-made mobile phone ROM results are preserved into spatial cache;
The step S4 also includes:
Step S41, according to the custom-made mobile phone ROM, when carrying in a dynamic state, by corresponding to the custom-made mobile phone ROM results Division of teaching contents is multiple fritters;
Step S42, judge that each fritter whether there is difference;Mobile phone corresponding to the mobile phone type is exported if being not present ROM bottoms bag content;If having differences, the corresponding difference section resource content is exported;
Step S43, output content is back in the browser of user.
Further, the step S43 also includes:
Step S431, the byte of the output content, and the size buffered according to the output pre-set are calculated in real time, will Content output is back in the browser of user corresponding to the custom-made mobile phone ROM results;
Step S432, when receiving the pause download of user's operation midway, stop download and simultaneously preserve current download progress;And And after receiving user and restarting operation, then continue to download, and continue to export content according to download progress before and return Into the browser of user.
Second aspect, also provides the device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded, and described device includes:
Reception and parsing module, the mobile phone ROM download requests sent for receiving user by browser, and described in parsing Mobile phone ROM download requests;
Locating module is searched for, for according to analysis result, searching for and positioning to corresponding for the mobile phone ROM download requests Mobile phone ROM and related resource;
Mobile phone ROM customized treatment modules, for carrying out mobile phone ROM customized treatments, obtain custom-made mobile phone ROM results;
Dynamical output is with returning to module, for according to the custom-made mobile phone ROM results, dynamic download, the output customization Content corresponding to mobile phone ROM results, and be back in the browser of user.
Further, described device also includes:
Customization memory module in advance, for according to mobile phone type, preserving corresponding mobile phone ROM bottoms bag;And in advance A memory headroom is set to store the resource with all mobile phone ROM bottoms bag difference sections.
Further, the analysis result of the mobile phone ROM download requests includes mobile phone type and the mobile phone type is corresponding Mobile phone ROM customization require;
The mobile phone ROM customized treatment modules also include:
Bottom bag retrieval unit, for the mobile phone type obtained according to parsing, from the corresponding mobile phone ROM and related money In source, retrieve mobile phone ROM bottoms corresponding to the mobile phone type and wrap;
Mobile phone ROM difference requirements searching units, for find out it is described corresponding to during mobile phone ROM customization requires, it is and described The difference section requirement that corresponding mobile phone ROM bottoms bag has differences;
Mobile phone ROM difference resource lookup units, for being required according to the difference section in the internal memory pre-set Difference section resource corresponding to being found in the storage of space;
Custom-made mobile phone ROM result acquiring units, for carrying out ROM customized treatments, by corresponding to the mobile phone type found out Mobile phone ROM bottoms are wrapped and corresponding difference section resource merges, and obtain custom-made mobile phone ROM results.
Further, the custom-made mobile phone ROM result acquiring units also include:
Result cache unit, the custom-made mobile phone ROM results are preserved into spatial cache;
The dynamical output also includes with returning to module:
Division of teaching contents unit, for according to the custom-made mobile phone ROM, when carrying in a dynamic state, the custom-made mobile phone ROM to be tied Division of teaching contents corresponding to fruit is multiple fritters;
Diversity judgement unit, for judging that each fritter whether there is difference;The mobile phone type is exported if being not present Corresponding mobile phone ROM bottoms bag content;If having differences, the corresponding difference section resource content is exported;
Content exports and returning unit, for output content to be back in the browser of user.
Further, the content output also includes with returning unit:
Byte calculate with control output unit, for calculating the byte of the output content in real time, and according to pre-setting Output buffering size, by corresponding to the custom-made mobile phone ROM results content output be back in the browser of user;
Breakpoint download unit, for when receive user operate midway pause download, stop download and preserve it is current under Degree of being loaded into;And after receiving user and restarting operation, then continue to download, and according to download progress before continued content Output is back in the browser of user.
Compared with prior art, the embodiment of the present invention is first according to different mobile phone types, to mobile phone ROM bottoms bag and related resource Carry out advance customization storage processing;And mobile phone ROM customized treatments are carried out according to mobile phone ROM download requests;Then dynamic is passed through Download, export content corresponding to the custom-made mobile phone ROM results, and be back in the browser of user, and also pass through breakpoint Download technology significantly reduces the probability of user's failed download, significantly reduces flow waste.The present invention passes through the mobile phone The method and device that ROM high in the clouds real-time customization is downloaded, save storage and bandwidth cost that mobile phone ROM downloads provider, and energy The speed of download and downloading experience of user is lifted, the making and related industry development for mobile phone ROM provide a kind of technical support.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the implementation process figure for the method that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded;
Fig. 2 is the composition structure chart for the device that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded.
Fig. 3 is in the device that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded at mobile phone ROM customizations Manage the concrete structure diagram of module;
Fig. 4 is dynamical output and return in the device that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded The concrete structure diagram of module;
Fig. 5 is content output and return in the device that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded The concrete structure diagram of unit.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
According to different mobile phone types, advance storage first is carried out to mobile phone ROM bottoms bag with related resource for the embodiment of the present invention Processing;And mobile phone ROM customized treatments are carried out according to mobile phone ROM download requests;Then dynamic download, the output customization hand are passed through Content corresponding to machine ROM results, and be back in the browser of user, and also significantly reduced by breakpoint download technology The probability of user's failed download, significantly reduce flow waste.The embodiment of the present invention additionally provides corresponding device, divides below It is not described in detail.
Fig. 1 shows the implementation process figure for the method that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded.
Refering to Fig. 1, the method that the mobile phone ROM high in the clouds real-time customization is downloaded includes:
Step S1, receive the mobile phone ROM download requests that user is sent by browser, and parse the mobile phone ROM and download Request;
In embodiments of the present invention, mobile phone ROM refers to Android phone operating system, and user can cross desktop computer eventually The various modes such as PC ends, tablet personal computer, notebook computer, cell phone or miscellaneous equipment terminal, mobile phone is logged in by browser ROM downloads provider website, sends the mobile phone ROM download requests for user's type.The solution of the mobile phone ROM download requests Analysing result includes mobile phone ROM customizations requirement corresponding to mobile phone type and the mobile phone type.
The ROM of same mobile phone type customization is all based on same bottom bag and generates what is come, though therefore these mobile phones ROM It is so different, but they are that difference section is less, identical part is more.For example, in the present invention when it is implemented, the hand Corresponding to machine type mobile phone ROM customization require, it is desirable to the custom-made mobile phone operating system of download, except comprising the type bottom bag, Also include the APP of other multiple particular requirements in addition to bottom is wrapped.
In the prior art, mobile phone ROM stores existing defects, the mobile phone ROM of same type customize require it is more and more, under It is also more and more to carry the custom-made mobile phone ROM that provider provides.Because mobile phone ROM can be customized, therefore a type will There are thousands of individual mobile phone ROM, the hard drive space required for this causes ROM storages is increasing, and most of mobile phone ROM is downloaded So more mobile phone ROM can not be stored by providing commercial city.Secondly, user download at present be all different mobile phone types mobile phone ROM, When downloading concurrent larger, the pressure of disk also highlights.Also, existing Web server is in the case where exporting different content It will need to read these files from disk during load, when the concurrent pressure of download is big, the pressure of disk, which rises, will cause server Handling capacity decline.
Therefore, in the embodiment of the present invention, also include before step S1:
Step S0, according to mobile phone type, corresponding mobile phone ROM bottoms bag is preserved;And pre-set an internal memory sky Between storage and the resources of all mobile phone ROM bottoms bag difference sections.
By on the server, according to mobile phone type, preserving corresponding mobile phone ROM bottoms bag;And pre-set one Individual memory headroom storage and the resource of all mobile phone ROM bottoms bag difference sections.Therefore, in the invention, download different File content, that is, download different custom-made mobile phone ROM, it is only necessary to read a file for preserving bottom bag and be used to store text on a small quantity The resource file of part difference, just can fast search navigate to download resource, also, due to according to mobile phone type by bottom wrap and with bottom The resource of bag difference stores respectively, solves in addition to each custom-made mobile phone ROM is included into bottom bag in the prior art and wrapped the bottom of except Other difference section resources, cause great server storage pressure, disk pressure and reduce server handling capacity.Energy Server storage pressure is reduced simultaneously, and significantly reduces disk pressure, increases the handling capacity of server, Neng Goutong When support the download process of individual files up to ten thousand.
In step s 2, according to analysis result, search for and position to for mobile phone corresponding to the mobile phone ROM download requests ROM and related resource.
In embodiments of the present invention, the hand that the mobile phone ROM download requests include is parsed according to analysis result, i.e. basis Mobile phone ROM customizations require corresponding to machine type and the mobile phone type.Search for and position to for mobile phone ROM downloads and ask Mobile phone ROM and related resource corresponding to asking;Because the present invention has carried out step S0 customization storage strategy, accordingly, it is capable to according to hand Machine type rapidly searches for navigating to corresponding mobile phone ROM and related resource during customization requires.
In step s3, mobile phone ROM customized treatments are carried out, obtain custom-made mobile phone ROM results.
In embodiments of the present invention, step S3 is specifically included:
Step S31, the mobile phone type obtained according to parsing, from the corresponding mobile phone ROM and related resource, is retrieved Wrap at mobile phone ROM bottoms corresponding to the mobile phone type;
Step S32, find out in the corresponding mobile phone ROM customization requirements, deposited with the corresponding mobile phone ROM bottoms bag In the difference section requirement of difference;
Step S33, corresponding to being found according to difference section requirement in the memory headroom storage pre-set Difference section resource;
Step S34, carry out ROM customized treatments, by corresponding to the mobile phone type found out mobile phone ROM bottoms bag and it is corresponding Difference section resource merges, and obtains custom-made mobile phone ROM results.
Further, the step S34 also includes:
Step S341, the custom-made mobile phone ROM results are preserved into spatial cache.Preserve into spatial cache, be for Content is downloaded in dynamic output.Because these contents are not stored in hard disk, then content output byte can be calculated in real time, and Content output can be carried out according to the output byte of setting, be laid the first stone for next step dynamical output content.Save mobile phone ROM Download the server bandwidth cost of provider.
In step s 4, according to the custom-made mobile phone ROM results, dynamic download, the output custom-made mobile phone ROM results pair The content answered, and be back in the browser of user.
In embodiments of the present invention, step S4 is specifically included:
Step S41, according to the custom-made mobile phone ROM, when carrying in a dynamic state, by corresponding to the custom-made mobile phone ROM results Division of teaching contents is multiple fritters;
Step S42, judge that each fritter whether there is difference;Mobile phone corresponding to the mobile phone type is exported if being not present ROM bottoms bag content;If having differences, the corresponding difference section resource content is exported;
Step S43, output content is back in the browser of user.
By step S4, further solving existing Web server will need from magnetic when exporting the download of different content These files are read on disk, when the concurrent pressure of download is big, the pressure of disk, which rises, declines the handling capacity for causing server The problem of.
Further, the step S43 also includes:
Step S431, the byte of the output content, and the size buffered according to the output pre-set are calculated in real time, will Content output is back in the browser of user corresponding to the custom-made mobile phone ROM results;
For example, the size that output buffers can be set to export fixed byte number for each second, then download mobile phone ROM and determine During content processed, the output speed that fixed byte number is exported according to each second is downloaded.That is, the invention provides energy By when content is downloaded in output, independent of Web server, the size of autonomous control output buffering, accomplishing that dynamic control exports Content, mobile phone ROM bytes are dynamically exported according to current request bytes range.
Step S432, when receiving the pause download of user's operation midway, stop download and simultaneously preserve current download progress;And And after receiving user and restarting operation, then continue to download, and continue to export content according to download progress before and return Into the browser of user.
In embodiments of the present invention, will also support multithreading download and pause it is continuous under, i.e. breakpoint download technology.Existing one In a little Web applications, it not is indispensable support that breakpoint, which is downloaded, but because custom-made mobile phone ROM is larger, download is time-consuming longer, if User midway failed download, re-downloading needs to re-download whole mobile phone ROM files, that also will consumption customer flow and under It is very slow to carry speed, greatly destroys Consumer's Experience.Because the invention contains breakpoint download simultaneously, the user allow is at any time Suspend, continue to download, or be downloaded using multithreading download tool, significantly reduce the probability of user's failed download, and The speed of download and enhancing user's downloading experience of user can be lifted.
The method downloaded by mobile phone ROM high in the clouds real-time customization described in the embodiment of the present invention, first according to different mobile phone types, Advance customization storage is carried out to mobile phone ROM bottoms bag with related resource to handle;And mobile phone is carried out according to mobile phone ROM download requests ROM customized treatments;Then by content corresponding to dynamic download, the output custom-made mobile phone ROM results, and it is back to user's In browser, and the probability of user's failed download is also significantly reduced by breakpoint download technology, significantly reduce stream Amount wastes, and is saved greatly network traffics expense.
It should be understood that in the above-described embodiments, the size of the sequence number of each step is not meant to the priority of execution sequence, each step Rapid execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Fig. 2 shows the composition structure chart for the device that mobile phone ROM high in the clouds real-time customization provided in an embodiment of the present invention is downloaded, For convenience of description, it illustrate only the part related to the embodiment of the present invention.
Refering to Fig. 2, described device 10 includes:
Receive with parsing module 110, the mobile phone ROM download requests sent for receiving user by browser, and parse The mobile phone ROM download requests;
Locating module 120 is searched for, for according to analysis result, searching for and positioning to for the mobile phone ROM download requests Corresponding mobile phone ROM and related resource;
Mobile phone ROM customized treatments module 130, for carrying out mobile phone ROM customized treatments, obtain custom-made mobile phone ROM results;
Dynamical output is with returning to module, for according to the custom-made mobile phone ROM results, dynamic download, the output customization Content corresponding to mobile phone ROM results, and be back in the browser of user.
Further, described device also includes:
Customization memory module 100 in advance, for according to mobile phone type, preserving corresponding mobile phone ROM bottoms bag;It is and pre- First a memory headroom is set to store the resource with all mobile phone ROM bottoms bag difference sections.
Further, the analysis result of the mobile phone ROM download requests includes mobile phone type and the mobile phone type is corresponding Mobile phone ROM customization require;
As shown in figure 3, the mobile phone ROM customized treatments module 130 also includes:
Bottom bag retrieval unit 1310, for the mobile phone type obtained according to parsing, from the corresponding mobile phone ROM and phase Close in resource, retrieve mobile phone ROM bottoms corresponding to the mobile phone type and wrap;
Mobile phone ROM difference requirements searching unit 1320, for finding out in the corresponding mobile phone ROM customization requirements, with The difference section requirement that mobile phone ROM bottoms bag corresponding to described has differences;
Mobile phone ROM difference resource lookups unit 1330, for being pre-set according to difference section requirement described Difference section resource corresponding to being found in memory headroom storage;
Custom-made mobile phone ROM results acquiring unit 1340, for carrying out ROM customized treatments, the mobile phone type pair that will find out The mobile phone ROM bottoms bag answered and corresponding difference section resource merge, and obtain custom-made mobile phone ROM results.
Further, the custom-made mobile phone ROM results acquiring unit 1340 also includes:
Result cache unit 1341, the custom-made mobile phone ROM results are preserved into spatial cache;
As shown in figure 4, the dynamical output also includes with returning to module 140:
Division of teaching contents unit 1410, for according to the custom-made mobile phone ROM, when carrying in a dynamic state, by the custom-made mobile phone Division of teaching contents corresponding to ROM results is multiple fritters;
Diversity judgement unit 1420, for judging that each fritter whether there is difference;The mobile phone is exported if being not present Mobile phone ROM bottoms bag content corresponding to type;If having differences, the corresponding difference section resource content is exported;
Content exports and returning unit 1430, for output content to be back in the browser of user.
Further, as shown in figure 5, content output also includes with returning unit 1430:
Byte is calculated with controlling output unit 1431, for calculating the byte of the output content in real time, and according to advance The size of the output buffering of setting, content output corresponding to the custom-made mobile phone ROM results is back in the browser of user;
Breakpoint download unit 1432, for when receiving the pause download of user's operation midway, stopping download and preserving current Download progress;And receive user restart operation after, then continue to download, and according to download progress before continue by Content output is back in the browser of user.
It should be noted that the device in the embodiment of the present invention can be used for realizing whole skills in above method embodiment Art scheme, the function of its each functional module can be implemented according to the method in above method embodiment, and it is implemented Process can refer to the associated description in examples detailed above, and here is omitted.
In summary, the device that the embodiment of the present invention is downloaded by mobile phone ROM high in the clouds real-time customization, first according to different mobile phones Type, advance customization storage is carried out with related resource to mobile phone ROM bottoms bag and handled;And carried out according to mobile phone ROM download requests Mobile phone ROM customized treatments;Then by content corresponding to dynamic download, the output custom-made mobile phone ROM results, and it is back to use The browser at family, and the probability of user's failed download is also significantly reduced by breakpoint download technology, significantly reduce Flow wastes, and is saved greatly network traffics expense.
The method and device that the present invention is downloaded by mobile phone ROM high in the clouds real-time customization, save mobile phone ROM downloads and carry Storage and bandwidth cost for business, and the speed of download and downloading experience of user can be lifted, the making for being mobile phone ROM and related production Industry development provides a kind of technical support.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed method and device, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the module, unit are drawn Point, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for The mutual coupling of opinion or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, device or unit Or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit, module in each embodiment of the present invention can be integrated in a processing unit, Can be that unit, module are individually physically present, can also two or more units, module be integrated in a unit In.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of method that mobile phone ROM high in the clouds real-time customization is downloaded, it is characterised in that methods described includes:
Step S1, receive the mobile phone ROM download requests that user is sent by browser, and parse the mobile phone ROM download requests;
Step S2, according to analysis result, search for and position to for mobile phone ROM and phase corresponding to the mobile phone ROM download requests Close resource;
Step S3, mobile phone ROM customized treatments are carried out, obtain custom-made mobile phone ROM results;
Step S4, according to the custom-made mobile phone ROM results, dynamic download, export in corresponding to the custom-made mobile phone ROM results Hold, and be back in the browser of user.
2. the method that mobile phone ROM high in the clouds real-time customization as claimed in claim 1 is downloaded, it is characterised in that before step S1, Also include:
Step S0, according to mobile phone type, corresponding mobile phone ROM bottoms bag is preserved;And pre-set a memory headroom to deposit Storage and the resource of all mobile phone ROM bottoms bag difference sections.
3. the method that mobile phone ROM high in the clouds real-time customization as claimed in claim 1 is downloaded, it is characterised in that under the mobile phone ROM Carrying the analysis result of request includes mobile phone ROM customizations requirement corresponding to mobile phone type and the mobile phone type;
The step S3 also includes:
Step S31, the mobile phone type obtained according to parsing, from the corresponding mobile phone ROM and related resource, retrieves the hand Wrap at mobile phone ROM bottoms corresponding to machine type;
Step S32, find out in the corresponding mobile phone ROM customization requirements, had differences with the corresponding mobile phone ROM bottoms bag Difference section requirement;
Step S33, corresponding difference is found in the memory headroom storage pre-set according to difference section requirement Part resource;
Step S34, ROM customized treatments are carried out, by mobile phone ROM bottoms bag and corresponding difference corresponding to the mobile phone type found out Part resource merges, and obtains custom-made mobile phone ROM results.
4. the method that mobile phone ROM high in the clouds real-time customization as claimed in claim 3 is downloaded, it is characterised in that
The step S34 also includes:
Step S341, the custom-made mobile phone ROM results are preserved into spatial cache;
The step S4 also includes:
Step S41, according to the custom-made mobile phone ROM, when carrying in a dynamic state, by content corresponding to the custom-made mobile phone ROM results It is divided into multiple fritters;
Step S42, judge that each fritter whether there is difference;Mobile phone ROM corresponding to the mobile phone type is exported if being not present Bottom bag content;If having differences, the corresponding difference section resource content is exported;
Step S43, output content is back in the browser of user.
5. the method that mobile phone ROM high in the clouds real-time customization as claimed in claim 4 is downloaded, it is characterised in that
The step S43 also includes:
Step S431, the byte of the output content, and the size buffered according to the output pre-set are calculated in real time, by described in Content output is back in the browser of user corresponding to custom-made mobile phone ROM results;
Step S432, when receiving the pause download of user's operation midway, stop download and simultaneously preserve current download progress;And After receiving user's restarting operation, then continue to download, and continue to export content according to download progress before and be back to use In the browser at family.
6. the device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded, it is characterised in that described device includes:
Reception and parsing module, the mobile phone ROM download requests sent for receiving user by browser, and parse the mobile phone ROM download requests;
Locating module is searched for, for according to analysis result, searching for and positioning to for hand corresponding to the mobile phone ROM download requests Machine ROM and related resource;
Mobile phone ROM customized treatment modules, for carrying out mobile phone ROM customized treatments, obtain custom-made mobile phone ROM results;
Dynamical output is with returning to module, for according to the custom-made mobile phone ROM results, dynamic download, the output custom-made mobile phone Content corresponding to ROM results, and be back in the browser of user.
7. the device that mobile phone ROM high in the clouds real-time customization as claimed in claim 6 is downloaded, it is characterised in that described device is also wrapped Include:
Customization memory module in advance, for according to mobile phone type, preserving corresponding mobile phone ROM bottoms bag;And pre-set One memory headroom storage and the resource of all mobile phone ROM bottoms bag difference sections.
8. the device that mobile phone ROM high in the clouds real-time customization as claimed in claim 6 is downloaded, it is characterised in that under the mobile phone ROM Carrying the analysis result of request includes mobile phone ROM customizations requirement corresponding to mobile phone type and the mobile phone type;
The mobile phone ROM customized treatment modules also include:
Bottom bag retrieval unit, for according to the obtained mobile phone type of parsing, from the corresponding mobile phone ROM and related resource, Mobile phone ROM bottoms corresponding to the mobile phone type are retrieved to wrap;
Mobile phone ROM difference requirements searching units, for find out it is described corresponding to during mobile phone ROM customization requires, it is and described corresponding The difference section requirement that has differences of mobile phone ROM bottoms bag;
Mobile phone ROM difference resource lookup units, for being required according to the difference section in the memory headroom pre-set Difference section resource corresponding to being found in storage;
Custom-made mobile phone ROM result acquiring units, for carrying out ROM customized treatments, by mobile phone corresponding to the mobile phone type found out ROM bottoms are wrapped and corresponding difference section resource merges, and obtain custom-made mobile phone ROM results.
9. the device that mobile phone ROM high in the clouds real-time customization as claimed in claim 8 is downloaded, it is characterised in that
The custom-made mobile phone ROM result acquiring units also include:
Result cache unit, the custom-made mobile phone ROM results are preserved into spatial cache;
The dynamical output also includes with returning to module:
Division of teaching contents unit, for according to the custom-made mobile phone ROM, when carrying in a dynamic state, by the custom-made mobile phone ROM results pair The division of teaching contents answered is multiple fritters;
Diversity judgement unit, for judging that each fritter whether there is difference;It is corresponding if exporting the mobile phone type in the absence of if Mobile phone ROM bottoms bag content;If having differences, the corresponding difference section resource content is exported;
Content exports and returning unit, for output content to be back in the browser of user.
10. the method that mobile phone ROM high in the clouds real-time customization as claimed in claim 4 is downloaded, it is characterised in that
The content output also includes with returning unit:
Byte is calculated with controlling output unit, for calculating the byte of the output content in real time, and it is defeated according to what is pre-set Go out the size of buffering, content output corresponding to the custom-made mobile phone ROM results is back in the browser of user;
Breakpoint download unit, for when receiving the pause download of user's operation midway, stopping download and preserving current be downloaded into Degree;And after receiving user and restarting operation, then continue to download, and continue to export content according to download progress before It is back in the browser of user.
CN201710748840.XA 2017-08-28 2017-08-28 The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded Pending CN107749916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710748840.XA CN107749916A (en) 2017-08-28 2017-08-28 The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710748840.XA CN107749916A (en) 2017-08-28 2017-08-28 The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded

Publications (1)

Publication Number Publication Date
CN107749916A true CN107749916A (en) 2018-03-02

Family

ID=61255436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710748840.XA Pending CN107749916A (en) 2017-08-28 2017-08-28 The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded

Country Status (1)

Country Link
CN (1) CN107749916A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494866A (en) * 2018-03-30 2018-09-04 北京小米移动软件有限公司 Information processing method and server, terminal device
CN108600377A (en) * 2018-04-28 2018-09-28 武汉斗鱼网络科技有限公司 A kind of pause method of file download, device, terminal and storage medium
CN109683904A (en) * 2018-12-20 2019-04-26 惠州Tcl移动通信有限公司 The method and system of customized intelligent electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179791A (en) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 Method of updating software edition of mobile terminal
CN102346673A (en) * 2010-07-27 2012-02-08 比亚迪股份有限公司 Method and device for upgrading mobile phone system
CN103259936A (en) * 2013-05-21 2013-08-21 东莞宇龙通信科技有限公司 Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
US20130235148A1 (en) * 2000-03-24 2013-09-12 Margalla Communications, Inc. Multiple Subscriber Videoconferencing System
CN103473062A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Method and system for mobile terminal customization based on user space file system
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system
CN106933619A (en) * 2017-02-13 2017-07-07 北京极科极客科技有限公司 It is a kind of to realize that same ROM supports the method and system of difference in functionality and interface

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130235148A1 (en) * 2000-03-24 2013-09-12 Margalla Communications, Inc. Multiple Subscriber Videoconferencing System
CN101179791A (en) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 Method of updating software edition of mobile terminal
CN102346673A (en) * 2010-07-27 2012-02-08 比亚迪股份有限公司 Method and device for upgrading mobile phone system
CN103259936A (en) * 2013-05-21 2013-08-21 东莞宇龙通信科技有限公司 Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN103473062A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Method and system for mobile terminal customization based on user space file system
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system
CN106933619A (en) * 2017-02-13 2017-07-07 北京极科极客科技有限公司 It is a kind of to realize that same ROM supports the method and system of difference in functionality and interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494866A (en) * 2018-03-30 2018-09-04 北京小米移动软件有限公司 Information processing method and server, terminal device
CN108600377A (en) * 2018-04-28 2018-09-28 武汉斗鱼网络科技有限公司 A kind of pause method of file download, device, terminal and storage medium
CN108600377B (en) * 2018-04-28 2021-04-27 武汉斗鱼网络科技有限公司 Method, device, terminal and storage medium for suspending file downloading
CN109683904A (en) * 2018-12-20 2019-04-26 惠州Tcl移动通信有限公司 The method and system of customized intelligent electronic device

Similar Documents

Publication Publication Date Title
US7620653B1 (en) Service for retrieving and aggregating data used to generate web pages or other content items
US7853253B2 (en) System and method of regulating data traffic between a client device and a server
CN103227812B (en) Smart machine is supported method for down loading and the device of breakpoint transmission
US20150381757A1 (en) Proxy-based cache content distribution and affinity
US8914804B2 (en) Handling queues associated with web services of business processes
CN108037946A (en) A kind of method, system and the server of the renewal of application program heat
US9094473B2 (en) Installation of an asset from a cloud marketplace to a cloud server in a private network
US20110264759A1 (en) Optimized caching for large data requests
US20220012249A1 (en) System and method for object-oriented pattern matching in arbitrary data object streams
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
CN101729753B (en) Method and device for loading pictures during java application
US20190114303A1 (en) System and method for applying extended regular expressions against arbitrary data objects
CN107038041A (en) The dynamic compatibility method of data processing method, error code, device and system
CN107749916A (en) The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded
CN109254804A (en) A kind of static resource loading method, device, equipment and readable storage medium storing program for executing
CN107016045A (en) A kind of method and device of paged data inquiry
CN104901979A (en) Method and device for downloading application program files
US9098316B2 (en) Routing function calls to specific-function dynamic link libraries in a general-function environment
CN107479868A (en) A kind of interface loading method, device and equipment
US9436716B2 (en) Method and system for data plane abstraction to enable a network storage platform ecosystem
EP3555767B1 (en) Partial storage of large files in distinct storage systems
CN107844488A (en) Data query method and apparatus
US7213245B2 (en) Software on demand system
TWI517045B (en) JAVA cluster application system code loading and upgrading devices and methods
US11748438B2 (en) Customizable redaptor extensions for single-page web applications

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180302

RJ01 Rejection of invention patent application after publication