Movatterモバイル変換


[0]ホーム

URL:


CN106874025A - A kind of method and device for determining installation kit size - Google Patents

A kind of method and device for determining installation kit size
Download PDF

Info

Publication number
CN106874025A
CN106874025ACN201610671017.9ACN201610671017ACN106874025ACN 106874025 ACN106874025 ACN 106874025ACN 201610671017 ACN201610671017 ACN 201610671017ACN 106874025 ACN106874025 ACN 106874025A
Authority
CN
China
Prior art keywords
line
size
data
bag
under
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
CN201610671017.9A
Other languages
Chinese (zh)
Other versions
CN106874025B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding LtdfiledCriticalAlibaba Group Holding Ltd
Priority to CN201610671017.9ApriorityCriticalpatent/CN106874025B/en
Publication of CN106874025ApublicationCriticalpatent/CN106874025A/en
Application grantedgrantedCritical
Publication of CN106874025BpublicationCriticalpatent/CN106874025B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

This application discloses a kind of method and device for determining installation kit size, terminal or server can determine to update the size of bag in outlet according to the size of all types of data included in installation kit on installation kit under line and line in the method.Because terminal or server not merely determine to update the size of bag on line with the size of a part of data in installation kit on line, and then by the size of all types of data in installation kit under installation kit on line and line, the size that bag is updated on line is determined comprehensively, and, terminal or server are it is determined that all types of data determined during renewal bag size on line are free from what is occured simultaneously in the embodiment of the present application, avoiding problems the situation generation for causing the size that bag is updated on the line determined deviation occur because occurring occuring simultaneously between all types of data, in terms of existing technologies, can accurately determine to be updated in outlet the size of bag, adjusted to software developer and offered convenience during updating bag under the corresponding line of renewal bag on the line.

Description

A kind of method and device for determining installation kit size
Technical field
The application is related to field of computer technology, more particularly to a kind of method and device for determining installation kit size.
Background technology
With developing rapidly for computer technology and intelligent terminal technology, the use of intelligent terminal is in the day of peopleOften popularized in life and come, people have gradually broken away from the tradition side that can only realize operating various clients on desktop computerFormula, can operate various applications (Application, App), to meet oneself on the intelligent terminal oneself held whenever and wherever possibleLife requirement.
In actual applications, software developer is generally needed for different operating system (for example, some systems are 32, some systems are 64) corresponding App is developed, and under normal circumstances, line upper mounting plate requires that software developer willThe data suitable for different system for same App exploitations are encapsulated in same installation kit, then upload to line upper mounting plate, andBecause line upper mounting plate can be by the installation kit of software developer's upload by providing a user with download service again after certain treatment, instituteSo that for same App, the installation kit that software developer is uploaded on line upper mounting plate is finally provided a user with line upper mounting plateThe installation kit of download is often in size different, and the App that software developer it is generally desirable to oneself be developed is includingWhile various functions, moreover it is possible to the memory space of as far as possible low occupancy user terminal, so, software developer is each by what is developedBefore the installation kit of App is issued on online upper mounting plate, generally it is required for determining updating the line after bag is actually reached the standard grade under the line of each AppUpper renewal bag size, and according to the size for estimating, the size to updating bag under the line is adjusted, for example, working as software developmentWhen business determines that the size that bag is updated on the line of a certain App is excessive, then some included during renewal under the line can be wrapped are invalid, superfluousRemaining data are deleted, with this reach reduce the line under update bag size purpose, wherein, referred to herein as line on update bagFor being directed to installation kit on the line issued on the online upper mounting plates of the App before updating software developer, and updated on Bao Wei on lineIt is referred to as updating bag under line before line, installation kit under line is then referred to as before installation kit is not reached the standard grade on line.
In actual applications, software developer would generally be according to installation kit on the line of the App issued on line upper mounting plateIn data the size of bag is updated on the line to estimate.Specifically, because the installation kit of the different editions for same App is in numberAccording to upper generally all with certain contact, therefore, when software developer determines to be updated on the line size of bag, generally all can be from lineUpper mounting plate obtains installation kit on line, and a system specified is chosen comprising the data of multiple systems are related in installation kit on the lineAs the standard of calculating, determine that the data involved by the appointing system account for the ratio of installation kit total size on the line, then, softwareDeveloper can determine according to the size of the data involved by the appointing system included in renewal bag under the ratio, and lineThe size of bag is updated on line.
For example, it is assumed that software developer update the size for wrapping A5 on line after bag A4 reaches the standard grade it needs to be determined that being updated under outlet, it is softPart developer can obtain from line upper mounting plate and updated on line installation kit A3 on the bag A5 lines to be updated, and determine peace on the lineIt is applied to 64 sizes of the data of system in dress bag A3.Because software developer obtains installation kit A3 on the line from line upper mounting plateWhen the data that can be provided according to line upper mounting plate determine the total size of installation kit A3 on the line, therefore, software developer is follow-upCan be by being applied to installation kit A3 on the size of 64 data of system and the line in installation kit A3 on the line determinedTotal size, calculates the size on the line in installation kit A3 suitable for 64 data of system and accounts for installation kit A3 total sizes on the lineRatio.Then, software developer be applied to 64 numbers of system in bag A4 by that can be updated under the ratio and line determinedAccording to size, estimate the size for updating under the line and updating bag A5 after bag A4 reaches the standard grade on line.
Although being updated under the line that the above method can be estimated and wrapping the size after line, due to pacifying under normal circumstancesIn dress bag in addition to including suitable for 64 data of system, also include the number suitable for other systems (such as 32 systems)According to, and there is a part of shared data (each system has certain common factor in data) toward contact between each system, alsoIt is to say, the installation kit that the installation kit do not reached the standard grade either has still been reached the standard grade, its size is not the number of simple each systemAccording to plus with, therefore, the aforementioned proportion calculated by prior art is actually inaccurate, accordingly, subsequent software developerThe size that bag is updated on the line determined according to the ratio also should be inaccurate, and this is just follow-up according to really to software developerThe size of bag is updated on the line made adjust update under line bag during bring difficulty.
The content of the invention
The embodiment of the present application provides a kind of method for determining installation kit size, for solving to pacify by line in the prior artThe inaccurate problem of the size of bag is updated on the line that dress bag is determined.
The embodiment of the present application provides a kind of device for determining installation kit size, for solving to pacify by line in the prior artThe inaccurate problem of the size of bag is updated on the line that dress bag is determined.
The embodiment of the present application uses following technical proposals:
The embodiment of the present application provides a kind of method for determining installation kit size, including:
Obtain on line on installation kit and the line installation kit under the corresponding line of installation kit;
According to the size of all types of data included in installation kit under installation kit on the line and line, each estimation is determinedThe factor, wherein, each data is pertaining only to a type;
Determine to update under line the size of all types of data included in bag;
According under the line determined update bag in all types of data size and respectively estimate the factor, it is determined that describedThe size that bag is updated on the corresponding line of bag is updated under line.
The embodiment of the present application provides a kind of device for determining installation kit size, including:
Acquisition module, obtains on line on installation kit and the line installation kit under the corresponding line of installation kit;
Certainty factor module, according to the big of all types of data included in installation kit under installation kit on the line and lineIt is small, each estimation factor is determined, wherein, each data is pertaining only to a type;
First determining module, determines to update the size of all types of data included in bag under line;
Second determining module, size and each estimation according to all types of data updated under the line determined in bagThe factor, determines to update the size for updating bag on the corresponding line of bag under the line.
Above-mentioned at least one technical scheme that the embodiment of the present application is used can reach following beneficial effect:
Because in the embodiment of the present application, software developer can be got to be released to line upper mounting plate by terminal or serverOn line under update corresponding to bag line under installation kit on installation kit and line, and by being installed on installation kit under line and lineThe size of all types of data of the non-overlapping copies included in bag is determined to determine on the line for updating under the line corresponding to bagUpdate the size of bag.Because terminal or server are more than only determining line with the size of a part of data in installation kit on lineIt is upper update bag size, and then all types of data by being included in installation kit under installation kit on line and line size, comprehensivelySize to updating bag on line is determined, also, it is different to there is certain common factor in data from each system in the prior art,Terminal or server are it is determined that all types of data determined during renewal bag size on line are in the embodiment of the present applicationDo not contain common factor, i.e. each data only corresponds to a type, so avoid because of appearance common factor between all types of dataThe situation for causing the size that bag is updated on the line finally determined relatively large deviation occur occurs, so, in general, relative to existingHave for technology, can accurately determine to update the size of bag in outlet by the above method, and then to software developer by trueThe size of bag is updated on the line made adjust update under line bag size during offer convenience.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this ShenSchematic description and description please does not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
The process of the determination installation kit size that Fig. 1 is provided for the embodiment of the present application;
Fig. 2 provides the detailed maps that bag size is updated on alignment really for the embodiment of the present application;
Fig. 3 provides the process that each unit size in bag is updated on alignment really for the embodiment of the present application;
A kind of schematic device of determination installation kit size that Fig. 4 is provided for the embodiment of the present application.
Specific embodiment
In actual applications, software developer in order that oneself exploitation App be promoted, be generally required for the AppInstallation kit be published on line upper mounting plate, by the big advantage of line upper mounting plate user's visit capacity, to promote the App, wherein, forNever for the installation kit issued on online upper mounting plate, when this kind of installation kit is issued on online upper mounting plate, then can claim this kind ofInstallation kit is installation kit on line, and accordingly, before installation kit is not reached the standard grade also on line, the installation kit under it is online then can be described as under lineInstallation kit.Software developer is issued on the line upper mounting plate on line after installation kit, it is follow-up generally the App can all be carried out it is certain completeIt is kind, update, with and come, in order to allow users to using the App after updating, software developer is generally needed after renewalApp corresponding to installation kit be published to line upper mounting plate up, and replace installation kit on the line existed on line upper mounting plate, itsIn, do not issue on online upper mounting plate, and can be described as updating bag under line for updating the installation kit of the App, accordingly, under the line moreNew bag then can be described as updating bag on line after being published to line upper mounting plate.It is relative to installation kit under line that bag is updated under line described herein, i.e. under line installation kit equivalent to the history installation kit that bag is updated under line, accordingly, on line installation kit then equivalent on line moreThe history installation kit of new bag, so, referred to herein as line on installation kit be not necessarily meant to refer to issue on online upper mounting plate for the first timeInstallation kit.
The installation kit of App is published to when on line upper mounting plate, and line upper mounting plate can all enter to the installation kit that software developer uploadsThe certain treatment of row, so, it is generally the case that installation kit in size would generally be different under installation kit and line on line, similarly, lineThe size that bag is updated under upper renewal bag and line also can be different, and software developer is in order to allow users to using the same of the AppWhen, it is also desirable to the memory space of the occupancy subscriber terminal equipment that the App can try one's best low, so, software developer is again by under lineUpdate bag to be published to when on line upper mounting plate, be generally required for by certain mode, determining after update under the line and wrapping lineThe size of bag is updated on line.And generally all only determine to be updated on line in the prior art with a part of data in installation kit under lineThe size of bag, also, this partial data there is typically further common factor with other data, therefore, determined based on this partial dataThe size that bag is updated on the line for going out is typically inaccurate.In order to update the size of bag in accurately determination outlet, at thisIn application embodiment, terminal or server pass through under installation kit on the line that gets and line the big of all types of data in installation kitIt is small, each estimation factor is determined, and it is further according to the size that all types of data in bag are updated under each estimation factor and line,Determine to be updated in outlet the size of bag, this process will be described in detail below.
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment andCorresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, described embodiment is only the application oneSection Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doingGo out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
The process of the determination installation kit size that Fig. 1 is provided for the embodiment of the present application, specifically includes following steps:
S101:Obtain on line on installation kit and the line installation kit under the corresponding line of installation kit.
In the embodiment of the present application, in order to the accurate size for determining to update bag in outlet, software developer can lead toCross terminal or server and pacify under the corresponding line of installation kit on installation kit and the line obtaining updated on the line on the corresponding line of bagDress bag, wherein, because installation kit is issued on online upper mounting plate on line, so, software developer can be by terminal or serverInstallation kit on the line is got from line upper mounting plate, and software developer updates under installation kit under often developing a line or lineBao Shi, can be preserved, in case it is follow-up used, so, what software developer can be preserved from terminal or serverEach installation kit is directly obtained installation kit under the line, as shown in Figure 2.
Fig. 2 provides the detailed maps that bag size is updated on alignment really for the embodiment of the present application.
In fig. 2, terminal can get installation kit on line from line upper mounting plate, and get the line from the terminal itselfInstallation kit under the corresponding line of upper installation kit, and if installation kit and be not preserved in the terminal under line, and be stored in software developmentIn the home server of business, then terminal can obtain installation kit under the line from the home server.Wherein, referred to herein as terminalCan be the smart machines such as computer, smart mobile phone that software developer uses.Certainly, can also be obtained by server pacify on lineInstallation kit under dress bag and line, and in subsequent process, the size that bag is updated on the line that will be determined is sent to terminal and is shownShow.
S102:According to the size of all types of data included in installation kit under installation kit on the line and line, determineEach estimation factor, wherein, each data is pertaining only to a type.
Terminal or server are being got on line on installation kit and the line under the corresponding line of installation kit after installation kit, can be pressedAccording to the same criteria for classifying, respectively by each data included in installation kit under installation kit on line and line be divided into it is all types of in,To obtain all types of data, wherein, according to each data that same criteria for classification is divided, each data only corresponds to a type.Then, terminal or server can according to the size of all types of data in installation kit under installation kit on the line determined and line,Determine each estimation factor for determining renewal bag size on line.
Specifically, in actual applications, either installation kit under installation kit or line on line, its data for including generally may be usedIt is divided into following a few classes:The first kind is referred to as variable data, for this kind of data, because installation kit is line upper mounting plate by line on lineLower installation kit by being obtained after certain treatment, so, a part of data and this portion in installation kit under line in installation kit on lineDivided data is compared, often different in size, therefore, installation kit is changing into the mistake of installation kit on line via line upper mounting plate under lineCheng Zhong, we can be referred to as variable data to this kind of data that the size of data can change, and such data are generally wrappedInclude binary data and device-specific data, wherein, referred to herein as device-specific data refer to it is being included in installation kit on line,The data on some wearable smart machines can be operated in.Relative to variable data, on line under installation kit or line in installation kitGenerally also include a kind of fixed data, this data in size will not with line installation kit be changed into the mistake of installation kit on lineJourney and change, i.e. this data will not change in size, in actual applications, fixed data mainly include such as schemeThe resource datas such as piece, file.
Therefore, in the embodiment of the present application, terminal or server can be according to the same criteria for classifying, can be from the line for gettingInstallation kit marks off variable data and fixed data under installation kit and line, and then, terminal or server can be according to determiningLine under on installation kit and line the variable data of installation kit size, determine the first estimation factor, concrete mode can beBy the size of the variable data of installation kit on line divided by the size of the variable data of installation kit under line, installation kit and line on line are obtainedA scale factor of the lower installation kit in variable data, such as formula α=w1(T)÷w0(T), wherein, w1(T) it is installation on lineThe size of the variable data in bag, w0(T) be the size of variable data in installation kit under line, α be the first estimation for determining becauseSon.Certainly, the determination mode of the first estimation factor can also be pacified using the size of the variable data of installation kit under line divided by lineThe mode for filling the size of the variable data of bag determines, and follow-up determination process need to only be adjusted accordingly, also may be usedIt is determined using other modes, such as according to the size of the variable data of installation kit under installation kit on line and line and defaultCoefficient determine, herein just do not illustrate one by one.
In actual applications, installation kit is by after certain treatment, obtaining under the line that line upper mounting plate uploads software developerTo line on the data of a part generally can be all had more in installation kit, this partial data is generally all line upper mounting plate according to itselfIt is required that be added on line in installation kit, also, the size of this partial data is generally all relevant with the total size of installation kit under line,Such as, the total size of installation kit is bigger under line, and the size of this partial data on line in installation kit is bigger, due to this partial data phaseWhen what is then provided by line upper mounting plate, so, this partial data may be generally referred to as third party's data, e.g., for the line of appleFor upper App platforms AppStore, the third party's data on line in installation kit refer to then the SC-Info numbers generated by AppStoreAccording to.
Because third party's data are related generally all with the total size of installation kit under line, so, third party's data are usualAlso should be related to the variable data or fixed data in installation kit under line, and because the embodiment of the present application is intended to accurately determineThe size of bag is updated on line, being updated on line in wrapping can generally also include third party's data, so, in the embodiment of the present applicationIn, terminal or server it needs to be determined that go out an estimation factor related to third party's data, and subsequently through the estimation becauseThe size of all types of data in bag is updated under son and line, determines to update the size of third party's data in bag in outlet, and thenThe size that bag is updated on the line is accurately determined, therefore, terminal or server are needed from installation kit on the line for getting reallyThe size of the third party's data included in installation kit on the line is made, then, because third party's data generally should be in peace under lineThere is certain proportionate relationship in variable data or fixed data in dress bag, therefore, terminal or server can be from the lines for gettingArbitrarily chosen in all types of data included in lower installation kit a kind of data as first specify data, and according to this first specifyIn the size of data and the line determined in installation kit third party's data size, determine the second estimation factor, specificallyDetermination mode can be that the size of the third party's data in installation kit on the line that will be determined is chosen divided by from installation kit under lineFirst specify data size, obtain this second estimation the factor, such as formula δ=w1(v)÷w0(T), wherein, w1(T) on lineThe size of the third party's data in installation kit, w0(T) it is the size of variable data in installation kit under line, δ is second for determiningThe estimation factor, can be also determined using other modes certainly, need to only embody the size of third party's data in installation kit on lineWith the relation of installation kit under line.
For example, terminal or server in installation kit under optional line taking it is determined that during the second estimation factor, includeVariable data as first specify data, and determine this first specify data size, then, terminal or server can be from acquisitionsTo line on determine the size of the third party's data included in installation kit on the line in installation kit, and by above-mentioned formula δ=w1(v)÷w0(T) the second estimation factor, is determined.
It should be noted that in actual applications, variable data generally includes binary data and device-specific data, becauseThis, in the embodiment of the present application, terminal or server, also can be by the lines after installation kit on installation kit under getting line and lineThe variable data included in installation kit under upper installation kit and line splits into binary data and device-specific data, and root respectivelyAccording to the binary data and the size of device-specific data determined, determine the 3rd estimation included by the first estimation factor becauseSon or the 4th estimation factor.
Specifically, terminal or server from the line for getting it is determined that during the 3rd estimation factor, can pacify respectivelyThe size of binary data is determined under dress bag and line in installation kit, and is pacified according under installation kit on the line determined and lineThe size of the binary data of bag is filled, the 3rd estimation factor is determined, concrete implementation mode can be by installation kit on lineBinary data size divided by the binary data of installation kit under line size, such as formula β=w1(x)÷w0Shown in (x),Wherein, the w in the formula1X () represents the size of the binary data of installation kit on line, w0X the two of installation kit enter under () expression lineThe size of data processed, β then represents the 3rd estimation factor determined.Certainly, the determination mode of the 3rd estimation factor is not unique,Also weight, coefficient etc. can be added in above-mentioned formula, herein with regard to not illustrated one by one.
For the determination mode of the 4th estimation factor, terminal or server can determine respectively in outlet installation kit andUnder line in installation kit device-specific data size, it is and special according to equipment in installation kit under installation kit on the line determined and lineWith the size of data, the 4th estimation factor is determined, concrete implementation mode can be, by the device-specific of installation kit on lineThe size of data obtains a ratio divided by the size of device-specific data in installation kit under line, and using the ratio as the 4thThe estimation factor, such as formula γ=w1(y)÷w0Shown in (y), wherein, w1Y () represents on line the big of device-specific data in installation kitIt is small, w0Y () represents the size of device-specific data in installation kit under line, γ then represents the 4th estimation factor determined.Certainly,The determination mode of the 4th estimation factor is also not necessarily to be carried out according to above-mentioned formula, also can be in above-mentioned γ=w1(y)÷w0(y)Middle some weights of addition, coefficient etc., are not just described in detail herein.
S103:Determine to update under line the size of all types of data included in bag.
In actual applications, the proportionate relationship on line under installation kit and line in installation kit between all types of data, generally withIt is close that the proportionate relationship updated under bag and line in bag between all types of data is updated on line, for example, installation kit and line on lineProportionate relationship between the variable data of both lower installation kits generally updates the variable of both bags with line under renewal bag and lineRatio between data is same or like, in other words, by all types of data in installation kit under installation kit on line and lineBetween proportionate relationship, and under line update bag in all types of data size, can determine in outlet update bag in it is all types ofThe size of data, and then determine to update the size of bag in outlet.Because the embodiment of the present application is intended to accurately determine in outlet moreThe size of new bag, so, after above-mentioned steps S101~S102 determines each estimation factor, then need further to determineThe size of all types of data in bag is updated under line, and by subsequent step, according to all types of numbers in renewal bag under the line determinedAccording to size, and respectively estimate the factor, determine to update the size of bag in outlet.Therefore, terminal or server respectively estimate being determinedAfter calculating the factor, can further determine to update the size of all types of data in bag under outlet, wherein, terminal or server can be according toWith the identical criteria for classifying in above-mentioned steps S102, variable data and fixed data are divided into by the data in bag are updated under line,And the size that the variable data and fixed data included in bag is updated under the line is determined respectively, also variable data can be entered oneStep is divided into binary data and device-specific data, and it is special respectively to determine to update under outlet binary data and equipment in bagWith the size of data.
It should be noted that terminal or server also can on line is obtained under installation kit and line while installation kit,Get in the lump and bag is updated under line, and determine the size that all types of data included in bag are updated under the line, and not necessarilyAfter each estimation factor is determined, then to determine to update the size of all types of data in bag under outlet.
S104:According under the line determined update bag in all types of data size and respectively estimate the factor, reallyThe size that bag is updated on the corresponding line of bag is updated under the fixed line.
Terminal or server, can be according to determining it is determined that after the size that all types of data included in bag are updated under outletEach estimation factor, and the size of all types of data of bag is updated under the line, determine to be updated in outlet all types of data in bagSize, and then according to the size of all types of data in bag is updated on the line determined, determine to update the size of bag in outlet.
Specifically, because terminal or server will can update according to the data criteria for classifying in above-mentioned steps S102 under lineData in bag are divided into variable data and fixed data, and to determine and update variable data and fixed data in bag under the lineSize, so, terminal or server can be estimated according to the size of the variable data updated under the line determined in bag and firstThe factor is calculated, determines to update the size of variable data in bag in outlet, and for being updated on line in bag for the size of fixed data,Due to the size of fixed data be will not as line upper mounting plate changes to the treatment of installation kit, so, on line updateIn bag the size of fixed data its be actually the size that fixed data in bag is updated under line, so, it is determined that under outlet moreIn new bag while the size of fixed data, the size that fixed data in bag is updated on line has also been determined that out.
Being updated on line in bag generally can all update third party's data obtained by bag under wired upper mounting plate treatment line, so,In order to update the size of bag on the line accurately determined, terminal or server are needed also exist for third party's online dataThe upper size updated in bag is determined, and due to terminal or server pass through to define in above-mentioned steps S102 one andThe second related estimation factor of third party's data, although the second estimation factor is by third party's data in installation kit on lineSize and line under in installation kit the size of variable data or fixed data any one data determine, but, byRenewal bag two under bag and line is updated in ratio between all types of data of both installation kits under installation kit on line and line, with lineRatio between all types of data of person is close or identical, so, terminal or server are it is determined that third party in updating bag on lineDuring the size of data, the second estimation factor equally can be used.Therefore, in the embodiment of the present application, terminal or server can rootsAccording to the second estimation factor, determine that the second estimation factor is drawn based on which kind of data in installation kit under line, i.e. it is determined thatFirst data are specified in installation kit under selected line when going out to calculate the second estimation factor, then, terminal or server canThe size determined in wrapping with the first specified data type identical data is updated under the line, and according to the number determinedAccording to size and second estimation the factor, determine in outlet update bag in third party's data size.
Terminal or server fixed data in determining to update bag in outlet successively, variable data, third party's dataAfter size, the size of these three data that will can be determined is summed up, and then obtains being updated on line the size of bag, such as formula A=w2(T)×α+w2(i)×δ+w2Shown in (z), in the formula, w2(T) it is the size of variable data in renewal bag under line, and w2(T) size of variable data in bag, w are updated on the result that × α is obtained as line2I () is the first specified number in renewal bag under lineAccording to size, wherein, when it is determined that second estimation the factor during, using the variable data in installation kit under line as first refer toFixed number according to when, then w2I () can accordingly become w2(T), that is, represent line under update bag in variable data size, and when it is determined thatDuring the second estimation factor, using the fixed data in installation kit under line as first specify data when, then w2I () can be correspondingBecome w2The size of fixed data in bag, accordingly, w are updated under (z), i.e. expression line2On i result that () × δ is obtained as lineUpdate the size of third party's data in bag, w2The size of fixed data in bag is updated under (z) expression line, equally be show also on lineUpdate the size of fixed data in bag.Certainly, above-mentioned formula is not unique, can be in above-mentioned formula A=w2(T)×α+w2(i)×δ+w2Some weights, coefficient etc. are added in (z), is not just described in detail one by one herein.
It should be noted that variable data also can further be split into binary data and equipment for terminal or serverExclusive data, and according to above-mentioned the 3rd estimation factor determined and the 4th estimation factor, determine to update bag in outlet respectivelyThe size of middle binary data and device-specific data.Specifically, terminal or server can update according under the line determinedBinary data and the 3rd estimation factor in bag, determine to update the size of the binary data in bag in outlet, similarly, eventuallyEnd or server can be determined in outlet according to the device-specific data updated under the line determined in bag and the 4th estimation factorUpdate the size of the device-specific data in bag.Accordingly, subsequent terminal or server are defining renewal bag on line in successionIn third party's data and fixed data size after, can according on the line determined update bag in all types of data size,The further size for determining to update bag in outlet, concrete implementation mode is referred to formula A=w2(x)×β+w2(y)×γ+w2(i)×δ+w2(z), in the formula, w2X () is to update the size of binary data included in bag, corresponding w under line2(x)The result that × β is obtained is the size that binary data in bag is updated on line, w2Y () is the device-specific included in renewal bag under lineThe size of data, and w2Y result that () × γ is obtained is the size that device-specific data in bag is updated on line.
Through the above way as can be seen that because terminal or server on line during it is determined that update bag size, andBe not only based on installation kit on line in the size of a part of data carry out, but by installation kit on line and lineThe size of all types of data included in lower installation kit, the size to determine to be updated on line bag in all directions, moreover, due toThe all types of data marked off according to same standard are mutually, in the absence of common factor, so to avoid because between all types of dataThere is a problem of common factor and cause the size that bag is updated on the line determined inaccurate, so enable software developer according toThe convenient size to updating bag under the corresponding line of renewal bag on the line of size that bag is updated on the accurate line determined is adjusted.
It should be noted that in actual applications, an installation kit is each developed by each software developerThe each unit composition for going out, so, when according to the size that bag is updated on the line determined to update the size of bag under adjusting line,It is actually to be adjusted to updating the size of each unit in bag under line, therefore, in the embodiment of the present application, terminal or clothesBusiness device be can determine that while it is determined that updating the size of bag in outlet, also in outlet update bag in each unit size, and according toThe size of each unit in bag is updated on the line determined, to be adjusted to the size that each unit in bag is updated under line, specific mistakeJourney is as shown in Figure 3.
Fig. 3 provides the process that each unit size in bag is updated on alignment really for the embodiment of the present application, specifically includes followingStep:
S301:It is determined that each encapsulation front unit corresponding with unit after each encapsulation included in renewal bag under the line.
In actual applications, it is contemplated that the factor of encapsulation, each unit that includes in bag is updated under line unencapsulated preceding bigSmall sum is often different from the size sum of each unit after encapsulation, accordingly, after the size of each unit is encapsulated before packagingChange occurs, so, it is determined that during each unit size in updating bag on line, it is impossible to only only think the size reality of each unitUpper is exactly the unencapsulated online lower size updated before bag of each unit, the front and rear size of each unit encapsulation should can be changed becauseElement is taken into account, also, wraps often different with the size that bag is updated under line due to being updated on line, accordingly, for each unitFor, it updates the size updated in bag under bag and line and also tends to be different on line, so, in it is determined that updating bag on lineDuring each unit size, in addition it is also necessary to which each unit is updated the factor that bag changes with size in renewal bag under line on lineTake into account, therefore, it is determined that, it is necessary to first determine each with renewal bag under line before the size of each unit during renewal is wrapped on lineThe corresponding each encapsulation front unit of unit after encapsulation, wherein, referred to herein as each encapsulation after unit refer to encapsulated it is online under moreThe each unit in bag is updated on new bag or line, and it refers to then the also unencapsulated online lower each list updated in bag respectively to encapsulate front unitUnit.Because each software developer is after each unit is developed, generally all can be by each unit storage in local terminal or local serviceIn device, therefore, in the embodiment of the present application, terminal or server can transfer prestore each from other-end or serverEncapsulation front unit, and in subsequent process, determine the size of all types of data included in each encapsulation front unit.
S302:Respectively determine binary data, device-specific data, fixed data that each encapsulation front unit is includedThe total size of size and all types of data in each encapsulation front unit.
Although the size after each unit in bag is updated under line before packaging occurs change, unit after each encapsulationSize the line is busy that the lower proportion for updating bag is but close with the proportion that the size of each encapsulation front unit accounts for each encapsulation front unit total sizeOr it is identical, and updated in the size of unit and line after each encapsulation due to being updated on line in bag under the proportion and line of both bag sizes moreIn new bag after each encapsulation the size of unit the line is busy that the lower proportion for updating bag size is also close or identical, so, can be by determiningSize the line is busy the lower proportion for updating bag size of unit after each encapsulation in bag is updated under outlet and according in above-mentioned steps S102Each estimation factor determined, the size of unit after determining respectively to be encapsulated in renewal bag in outlet.Therefore, in the embodiment of the present applicationIn, terminal or server can further determine the size of all types of data included before each encapsulation, and determine each envelopeThe total size of each type data that dress front unit is included, and then in subsequent step S303, each unit factor is determined, itsIn, terminal or server can divide data into binary data, equipment according to identical dividing mode in above-mentioned steps S102Exclusive data, the data of fixed data these three types.
It should be noted that due to not including wired upper third party's data updated included in bag in renewal bag under line,Also, update what is typically existed in the form of individual in wrapping in third party's online data, and be not dispersed in being updated on lineIn bag after each encapsulation present in unit, so, should be free of third party's data in each encapsulation front unit.
S303:For each encapsulation front unit, according to binary data, device-specific data that the encapsulation front unit is includedSize and all types of data it is each encapsulation front unit in total size, determine each unit factor.
Terminal or server are determining the size of all types of data that each encapsulation front unit is included, and all types of numbersAfter according to the total size in each encapsulation front unit, each unit factor can be further determined, wherein, terminal or server can pinsTo each encapsulation front unit, before the size of the binary data included according to the encapsulation front unit determined and each encapsulationThe total size of the binary data that unit is included, determines the first module factor, and specific embodiment can be, by the envelopeThe size of binary data of front unit is filled divided by each total size for encapsulating the binary data that front unit is included, such as formulaWherein, uiX () represents i-th size for encapsulating the binary data that front unit is included,The total size of the binary data that each encapsulation front unit is included is represented, n represents the number of encapsulation front unit.
Similarly, terminal or server can also be wrapped for each encapsulation front unit according to the encapsulation front unit determinedThe size of the device-specific data for containing, and the total size of device-specific data that each encapsulation front unit is included, determine theTwo element factors, specific embodiment can be, the device-specific data that the encapsulation front unit that will be determined is includedThe total size of the device-specific data that size is included divided by each encapsulation front unit, such as formulaWherein,uiThe size of y device-specific data that () is included by i-th encapsulation front unit,Each encapsulation front unit is includedThe total size of device-specific data, n is the number for encapsulating front unit.
It should be noted that the determination mode of each unit factor of described above is not unique, for example, can be in described aboveThe determination each unit factor formula in add some coefficients or weight etc., just do not illustrate one by one herein.
S304:According to each unit factor determined, it is described it is each estimation the factor, the fixed data of the encapsulation front unit it is bigThe size of all types of data in bag is updated under the small and line, determines to be updated on the line corresponding with the encapsulation front unit in bagEncapsulation after unit size.
Terminal or server can further be determined after each unit factor is determined for each encapsulation front unitThe size of all types of data that unit is included after encapsulation corresponding with the encapsulation front unit in renewal bag under line, and then according toEach estimation factor is determined in above-mentioned steps S102, is determined single after encapsulation corresponding with the encapsulation front unit in renewal bag in outletThe size of unit.
Specifically, because in actual applications, each unit after being encapsulated in installation kit or updating in bag, also will by its sizeCannot directly determine, but during bag is updated under needing the size and line by all types of data in each encapsulation front unitThe size of all types of data determines to update under outlet the size of all types of data of unit after each encapsulation in bag, and then determinesThe size of unit after each encapsulation in wrapping is updated under outlet.Therefore, in the embodiment of the present application, terminal or server are for eachEncapsulation front unit, after determining the corresponding first module factor of the encapsulation front unit, can be according to the first module factor, Yi JitongCross under the line that above-mentioned steps S103 is determined and update the size of the included binary data of bag, determine to update under outlet in bag withThe size of the binary data that unit is included after the corresponding encapsulation of encapsulation front unit, specific embodiment can be incited somebody to actionThe first module factor is multiplied by under line the size for updating the included binary data of bag, such as formula mi(x)=ai×w2(x), itsIn, miThe size of the binary data that unit is included after i-th encapsulation in wrapping is updated under (x) expression line.
Similarly, for each encapsulation front unit, terminal or server can be corresponding according to the encapsulation front unit determinedThe size of the included device-specific data of bag is updated under the second unit factor, and the line determined, determines to be updated under outletThe size of the device-specific data that unit is included after the Bao Zhongyu corresponding encapsulation of encapsulation front unit, specific embodiment canTo be, using formula mi(y)=bi×w2Y (), the corresponding second unit factor b of front unit is encapsulated by i-thiIt is multiplied by under line moreThe size of the included device-specific data of new bag, obtains updating under line i-th envelope corresponding with i-th encapsulation front unit in bagThe size of the device-specific data that unit is included after dress.Certainly, referred to herein as determination mode it is not unique, can also use itHis formula is determined, and is not just described in detail herein.
Terminal or server determine to update under outlet corresponding with the encapsulation front unit in bag for each encapsulation front unitAfter encapsulation after the size of all types of data that unit is included, can further according to above-mentioned steps S102 determine each estimation becauseSon, determines the size of all types of data that unit is included after encapsulation corresponding with the encapsulation front unit during renewal is wrapped in outlet.Specifically, terminal or server can be according to unit institutes after encapsulation corresponding with the encapsulation front unit in renewal bag under the line determinedComprising binary data size, and the 3rd estimation the factor, further determine on line update bag in the encapsulationThe size of the binary data that unit is included after the corresponding encapsulation of front unit, specific embodiment can use formula oi(x)=β × miIt is corresponding with i-th encapsulation front unit in (x), the 3rd estimation factor-beta that will be determined and online lower renewal bagI-th encapsulation after the size m of binary data that is included of unitiX () is multiplied, obtain being updated on line in bag with i-thThe individual size o for encapsulating the binary data that unit is included after front unit is encapsulated for corresponding i-thi(x)。
Similarly, after terminal or server can be according to encapsulation corresponding with the encapsulation front unit in renewal bag under the line determinedThe size of the device-specific data that unit is included and the 4th estimation factor determined by above-mentioned steps S102, are determinedThe size of the device-specific data that unit is included after encapsulation corresponding with the encapsulation front unit in wrapping is updated on line, it is specific to implementMode can use formula oi(y)=γ × mi(y), with i-th during renewal is wrapped under the 4th estimation factor gamma and line that will determineThe individual size m for encapsulating the device-specific data that unit is included after front unit is encapsulated for corresponding i-thiY () is multiplied, obtain lineThe size o of the device-specific data that unit is included after being encapsulated for corresponding i-th with this i-th encapsulation front unit in upper renewal bagi(y)。
By the fixed data that each encapsulation front unit is included will not change, so, terminal or server are for everyIndividual encapsulation front unit, the size of the fixed data that the encapsulation front unit determined is included, its be actually on line update bag inThe size of the fixed data that unit is included after encapsulation corresponding with the encapsulation front unit, accordingly, terminal or server are respectivelyDetermine unit is included after encapsulation corresponding with the encapsulation front unit in renewal bag in outlet binary data, device-specific numberAccording to after, the size of fixed data, the size of this three's data can be summed up, so obtained being updated on line in bag with the envelopeThe size of unit after the corresponding encapsulation of dress front unit.
The size of bag is updated on the line that terminal or server will further can be determined, and is included in renewal bag on lineEach encapsulation after the size of unit shown to user, wherein, terminal or server be able to will be determined with modes such as webpage, notepadsThe result for going out is shown to software developer and is checked in forms such as text, pictures.
It should be noted that in the embodiment of the present application, after terminal or server determine to be updated in outlet the size of bag,Can be according to default regulation rule, renewal bag is adjusted under the corresponding line of bag will be updated on the line, for example, when renewal bag on lineSize beyond the threshold value of setting when, terminal or server will update the data updated in bag under the corresponding line of bag on the line carried outAnalysis, and according to the result for analyzing, will be updated under line in bag some can public data integrated, while will be unnecessaryData are deleted, and then reduce the purpose of renewal bag size on line to reach by way of updating bag size under reducing line.
Bag is updated on bag or line due to being updated under either line, it is essentially all to be made up of unit after each encapsulation, so, the essence that the size to updating bag under line is adjusted is in fact the big of unit after respectively being encapsulated in being wrapped to renewal under lineIt is small to be adjusted, also, the essence of adjustment is in fact that the size of each encapsulation front unit is adjusted.Therefore, in the application realityApply in example, terminal or server can be directed on line unit after each encapsulation updated in bag, according to renewal bag on the line determinedSize and the encapsulation after unit size, adjustment with updated under line wrap in the corresponding encapsulation front unit of unit after the encapsulation,Specifically, when terminal or server find that the size that bag is updated on the line determined exceeds the first given threshold, can be furtherWhether check on line the size for updating unit after each encapsulation in bag beyond the second given threshold, wherein, when terminal or serviceWhen device finds that the size of unit after a certain encapsulation exceeds second given threshold, can by this encapsulate after it is single before the corresponding encapsulation of unitThe size of unit is adjusted, so that the size of unit second sets without departing from this after encapsulation corresponding to encapsulation front unit after adjustmentDetermine threshold value.Similarly, the size of other encapsulation front units can also be adjusted in this way, and then cause terminal or serverBeing sized to less than the first given threshold for bag is updated on the follow-up line determined again.
Certainly, terminal or server are it is determined that update the size of unit after a certain encapsulation in bag beyond the second setting in outletAfter threshold value, also list after the encapsulation can be further determined according to the mode shown in Fig. 2, according to the mark of unit after the encapsulationEncapsulation front unit corresponding to unit is sent by the terminal of which software developer, and is opened to the software in the form of informationThe terminal of hair personnel sends and notifies so that after the software developer views the notice, adjusts after the encapsulation corresponding to unitEncapsulation front unit.
It should be noted that the second given threshold mentioned above can be directed on line in renewal bag list after all encapsulationUnit and a threshold value setting, it is also possible to set one second respectively and set for unit after each encapsulation updated on line in bagDetermine threshold value, accordingly, when terminal or server determine that the size that bag is updated in outlet exceeds the first given threshold, can look into respectivelyUnit after each encapsulation for updating and being included in bag is seen on the line, and whether unit is beyond second corresponding to itself after determining each encapsulationGiven threshold.
It should be noted that, in actual applications, bag is either updated on line, bag is updated under line, or installation kit on line,Installation kit under line, it generally all exists in compressed form, and because the embodiment of the present application is intended to determine updated in outletThe size of bag, so, it is determined that updated under line bag, on line under installation kit, line in installation kit all types of data size, and reallyDuring determining each unit factor, each estimation factor, the form of compression should be also taken to be determined, to ensure whole determination processReasonability.Again due to updated on line the compressed format of bag be generally all determined by line upper mounting plate, therefore, in the application realityIn applying example, terminal or server can first determine the compressed format of installation kit on the line obtained from line upper mounting plate, and according to trueThe compressed format made, updates bag and is pressed according to identical compressed format under the line that will subsequently get under installation kit and lineContracting, then, updates the size of all types of data in bag under installation kit and line under installation kit, line on the line after according to compression,Determine to be updated in outlet the size of bag, wherein, the form of compression can be the forms such as zip, tar, ditto, cab, bz2, jar.
The method of the determination installation kit size for being provided for the embodiment of the present application above, based on same thinking, the application realityApply example and additionally provide the device for determining installation kit size, as shown in Figure 4.
A kind of schematic device of determination installation kit size that Fig. 4 is provided for the embodiment of the present application, specifically includes:
Acquisition module 401, obtains on line on installation kit and the line installation kit under the corresponding line of installation kit;
Certainty factor module 402, according to all types of data included in installation kit under installation kit on the line and lineSize, determines each estimation factor, wherein, each data is pertaining only to a type;
First determining module 403, determines to update the size of all types of data included in bag under line;
Second determining module 404, size according to all types of data updated under the line determined in bag and eachThe estimation factor, determines to update the size for updating bag on the corresponding line of bag under the line.
The all types of data included in installation kit under the line include:At least one in fixed data, variable data;InstituteStating all types of data included in installation kit on line includes:At least one in fixed data, variable data, third party's data.
The certainty factor module 402, determine to be included in installation kit on installation kit under the line and line respectively is variableThe size of data;The size of the variable data in installation kit on installation kit under the line determined respectively and line, it is determined thatThe first estimation factor;Determine the size of third party's data included in installation kit on the line;Wrapped from installation kit under the lineA kind of data are arbitrarily chosen in the variable data, the fixed data that contain and specifies data as first;According to third party's data withAnd described first specify data size, determine the second estimation factor.
Second determining module 404, according under the line determined update bag in variable data size andThe first estimation factor, determines to update the size of the variable data in bag on the line;According to the described second the estimation factor and lineIt is lower to update the size with the first specified data type identical data included in bag, in determining that renewal is wrapped on the lineThe size of third party's data;According to variable data, the size of third party's data and institute that bag is updated on the line determinedThe size of the fixed data that bag is updated under line is stated, determines to update the size of bag on the line.
The variable data includes:At least one in binary data, device-specific data;The first estimation factorIncluding:The 3rd estimation factor and/or the 4th estimation factor;
The certainty factor module 402, determines that included in installation kit on installation kit under the line and line two enter respectivelyThe size of data processed, the size of the binary data in installation kit on installation kit under the line determined respectively and line,Determine the 3rd estimation factor;And/or
Determine the size of device-specific data included in installation kit on installation kit under the line and line respectively, according to pointThe size of the device-specific data under the line do not determined on installation kit and line in installation kit, determines the 4th estimation factor;
Second determining module 404, according under the line determined update bag in binary data size withAnd the 3rd estimation factor, determine to update the size of the binary data in bag on the line;According to the line determinedThe lower size for updating the device-specific data in bag and the 4th estimation factor, determine to update the equipment in bag on the lineThe size of exclusive data;According to binary data, device-specific data, third party's type that bag is updated on the line determinedThe size of the fixed type data of bag is updated under the size of data and the line, determines to update the size of bag on the line.
Described device also includes:
Determining unit module 405, it is determined that each encapsulation corresponding with unit after each encapsulation included in renewal bag under the lineFront unit;Determine respectively it is described it is each encapsulation front unit include binary data, device-specific data, fixed data size withAnd total size of all types of data in each encapsulation front unit;For each encapsulation front unit, included according to the encapsulation front unitTotal size in each encapsulation front unit of binary data, the size of device-specific data and all types of data, it is determined that respectivelyElement factor;According to each unit factor determined, it is described it is each estimation the factor, the size of the fixed data of the encapsulation front unit withAnd under the line update bag in all types of data size, determine on the line update bag in envelope corresponding with the encapsulation front unitThe size of unit after dress.
The determining unit module 405, the size of the binary data included according to the encapsulation front unit and determinationThe total size of the binary data that each encapsulation front unit is included, determines the first module factor;Included according to the encapsulation front unitThe total size of the device-specific data that the size of device-specific data and each encapsulation front unit of determination are included, determines that second is singleFirst factor.
The determining unit module 405, according to binary number in renewal bag under the first module factor and the lineAccording to size, determine to update under the line in bag the big of the binary data of unit after encapsulation corresponding with the encapsulation front unitIt is small;According to the size that device-specific data in bag is updated under the second unit factor and the line, determine under the line moreIn new bag after encapsulation corresponding with the encapsulation front unit device-specific data of unit size;According to the described 3rd estimation factorAnd update the size of the binary data of unit after encapsulation corresponding with the encapsulation front unit in bag under the line determined,Determine the size of the binary data of unit after encapsulation corresponding with the encapsulation front unit during renewal is wrapped on the line;According to describedThe equipment that unit after encapsulation corresponding with the encapsulation front unit in wrapping is updated under the 4th estimation factor and the line determinedThe size of exclusive data, determines the device-specific number of unit after encapsulation corresponding with the encapsulation front unit during renewal is wrapped on the lineAccording to size;The size of the fixed data included according to the encapsulation front unit, and on the line update bag in the encapsulation beforeThe binary data of unit, the size of device-specific data after the corresponding encapsulation of unit, determine on the line update bag in shouldThe size of unit after the corresponding encapsulation of encapsulation front unit.
Described device also includes:
Adjusting module 406, according to the size that bag is updated on the line determined, adjusts renewal bag under the line.
The adjusting module 406, for unit after each encapsulation updated on the line in bag, according to determiningUpdate the size of bag and the size of unit after the encapsulation on line, adjustment with updated under line wrap in the corresponding envelope of unit after the encapsulationDress front unit.
The embodiment of the present application provides a kind of method and device for determining installation kit size, and terminal or server can in the methodInstallation kit on installation kit and line is got under the line for updating under the line onto line upper mounting plate to be released corresponding to bag, and by rightThe size of all types of data of the non-overlapping copies included in installation kit on installation kit and line under line is determined to determine thisThe size that bag is updated on the line corresponding to bag is updated under line.Because terminal or server are more than only with installation kit on line oneThe size of partial data determines to be updated on line the size of bag, and then by being included in installation kit under installation kit on line and lineThe size of all types of data, is determined to the size that bag is updated on line comprehensively, also, with each system in the prior art in dataOn to there is certain common factor different, terminal or server are it is determined that institute during updating bag size on line in the embodiment of the present applicationThe all types of data determined are free from common factor, i.e. each data only corresponds to a type, so avoids because all kinds ofOccur occuring simultaneously and causing the situation that relatively large deviation occurs in the size for updating bag on the line finally determined to occur between type data, instituteWith, in general, in terms of existing technologies, can accurately determine to update the size of bag in outlet by the above method, enterAnd adjusted by updating the size of bag on the line determined to software developer update bag size under line during bring justProfit.
It should be noted that the executive agent that embodiment 1 provides each step of method may each be same equipment, orPerson, the method is also by distinct device as executive agent.Such as, the executive agent of step S102 and step S103 can be for eventuallyEnd, the executive agent of step 101 can be server;Again such as, the executive agent of step 101 can be terminal, step 102 andThe executive agent of step 103 can be server;Etc..
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer programProduct.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardwareApply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or moreThe computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is producedThe form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program productFigure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructionsThe combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be providedThe processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produceA raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devicesThe device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spyIn determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include fingerMake the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram orThe function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meterSeries of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer orThe instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram oneThe step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, netNetwork interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/orThe forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable mediumExample.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by any methodOr technology realizes information Store.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), movesState random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasableProgrammable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatusOr any other non-transmission medium, can be used to store the information that can be accessed by a computing device.Defined according to herein, calculatedMachine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludabilityComprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrappingInclude other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wantsElement.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including describedAlso there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardwareForm.And, the application can be used to be can use in one or more computers for wherein including computer usable program code and depositedThe shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)Formula.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the artFor, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalentReplace, improve etc., within the scope of should be included in claims hereof.

Claims (20)

Determining unit module, it is determined that each encapsulation front unit corresponding with unit after each encapsulation included in renewal bag under the line;Binary data, device-specific data, the size of fixed data and all kinds of that each encapsulation front unit is included are determined respectivelyTotal size of the type data in each encapsulation front unit;For each encapsulation front unit, two included according to the encapsulation front unit enterData processed, the size of device-specific data and all types of data it is each encapsulation front unit in total size, determine each unit becauseSon;According to each unit factor determined, each estimation factor, the size of the fixed data of the encapsulation front unit and describedThe size of all types of data in bag is updated under line, is determined single after encapsulation corresponding with the encapsulation front unit in renewal bag on the lineThe size of unit.
18. devices as claimed in claim 17, it is characterised in that the determining unit module, according to the first module becauseThe size of binary data in bag is updated under the sub and line, determines to update under the line corresponding with the encapsulation front unit in bagEncapsulation after unit binary data size;It is special according to equipment in updating bag under the second unit factor and the lineWith the size of data, determine to update under the line device-specific data of unit after encapsulation corresponding with the encapsulation front unit in bagSize;According to envelope corresponding with the encapsulation front unit in renewal bag under the described 3rd estimation factor and the line determinedThe size of the binary data of unit after dress, determines to be updated on the line in bag unit after encapsulation corresponding with the encapsulation front unitBinary data size;According to updated under the described 4th estimation factor and the line determined in bag with the encapsulation beforeThe size of the device-specific data of unit after the corresponding encapsulation of unit, determine on the line update bag in the encapsulation front unit pairThe size of the device-specific data of unit after the encapsulation answered;The size of the fixed data included according to the encapsulation front unit, andUpdated on the line in bag the binary data of unit after encapsulation corresponding with the encapsulation front unit, device-specific data it is bigIt is small, determine the size of unit after encapsulation corresponding with the encapsulation front unit during renewal is wrapped on the line.
CN201610671017.9A2016-08-152016-08-15Method and device for determining size of installation packageActiveCN106874025B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610671017.9ACN106874025B (en)2016-08-152016-08-15Method and device for determining size of installation package

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610671017.9ACN106874025B (en)2016-08-152016-08-15Method and device for determining size of installation package

Publications (2)

Publication NumberPublication Date
CN106874025Atrue CN106874025A (en)2017-06-20
CN106874025B CN106874025B (en)2020-04-24

Family

ID=59238911

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610671017.9AActiveCN106874025B (en)2016-08-152016-08-15Method and device for determining size of installation package

Country Status (1)

CountryLink
CN (1)CN106874025B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050204332A1 (en)*2004-03-152005-09-15Ramco Systems LimitedMethod and system for developing large web-based multi-language applications
CN101635640A (en)*2009-09-042010-01-27江苏天智互联科技有限公司Method for automatically releasing terminal program version of WEB network station system server
CN103744692A (en)*2013-12-132014-04-23贝壳网际(北京)安全技术有限公司Method and system for determining size of mobile terminal storage space occupied by application software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050204332A1 (en)*2004-03-152005-09-15Ramco Systems LimitedMethod and system for developing large web-based multi-language applications
CN101635640A (en)*2009-09-042010-01-27江苏天智互联科技有限公司Method for automatically releasing terminal program version of WEB network station system server
CN103744692A (en)*2013-12-132014-04-23贝壳网际(北京)安全技术有限公司Method and system for determining size of mobile terminal storage space occupied by application software

Also Published As

Publication numberPublication date
CN106874025B (en)2020-04-24

Similar Documents

PublicationPublication DateTitle
US11170320B2 (en)Updating machine learning models on edge servers
CN106980605B (en)contract generation method and device
CN105701113B (en) Method and apparatus for optimizing web page preloading
US20050044508A1 (en)Method, system and program product for customizing a user interface
CN111324471B (en)Service adjustment method, device, equipment and storage medium
CN109189563A (en)Resource regulating method, calculates equipment and storage medium at device
CN106846094A (en)A kind of method and apparatus for recommending application message based on application has been installed
US20180337993A1 (en)Sharding over multi-link data channels
CN106886544A (en)A kind of data processing method and device
CN106326062A (en)Method and device for controlling running state of application program
CN106610824A (en)Page height self-adaptation method and apparatus
CN109657427A (en)The method and device of permission control
CN109710410A (en) Method and device for allocating Internet information resources
CN106875201A (en)The acquisition methods and device of the visible factor of advertisement
EP2997715B1 (en)Transmitting information based on reading speed
CN107608788A (en)A kind of control method, device and equipment
CN106874025A (en)A kind of method and device for determining installation kit size
CN106611005A (en)Method and device for setting crawl time interval of crawler
US11775936B1 (en)Forecasting long duration floating holidays in online traffic
CN109299421A (en)A kind of data-updating method, server, electric terminal
CN109657205A (en) Method and device for adjusting text line height, and electronic device
CN106681972A (en)Method and device for displaying table
CN109614600A (en)Report methods of exhibiting, device and computer storage medium
US20240330600A1 (en)Type-specific natural language generation from tabular data
CN106802880A (en)A kind of electronic document content shows, processing method and processing device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20201015

Address after:Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after:Innovative advanced technology Co.,Ltd.

Address before:Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before:Advanced innovation technology Co.,Ltd.

Effective date of registration:20201015

Address after:Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after:Advanced innovation technology Co.,Ltd.

Address before:A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before:Alibaba Group Holding Ltd.

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp