CN105630539A - Grayscale upgrading method and device - Google Patents

Grayscale upgrading method and device Download PDF

Info

Publication number
CN105630539A
CN105630539A CN201510958870.4A CN201510958870A CN105630539A CN 105630539 A CN105630539 A CN 105630539A CN 201510958870 A CN201510958870 A CN 201510958870A CN 105630539 A CN105630539 A CN 105630539A
Authority
CN
China
Prior art keywords
terminal
upgrade
upgrading
upgraded
level
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
CN201510958870.4A
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.)
Beijing Qihoo Technology Co Ltd
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Beijing Qianxin 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 Beijing Qihoo Technology Co Ltd, Beijing Qianxin Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510958870.4A priority Critical patent/CN105630539A/en
Publication of CN105630539A publication Critical patent/CN105630539A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a grayscale upgrading method and device, relates to the technical field of internet and aims at solving the problem that heavy losses are caused to the enterprises when the upgrading fails under the condition of carrying out grayscale upgrading through a random selection manner in the prior art. The method mainly comprises the following steps: grading terminals in a local area network to obtain upgrading grades corresponding to the terminals, wherein the terminals with higher upgrading grades can preferentially achieve the upgrading authority; and carrying out grayscale upgrading on the terminal in the local area network on the basis of the upgrading grades. The grayscale upgrading method and device are mainly suitable for the scenes in which the internal severs of the enterprises control the terminals to upgrade.

Description

The method and apparatus of gray scale upgrading
Technical field
The present invention relates to Internet technical field, the method and apparatus particularly relating to the upgrading of a kind of gray scale.
Background technology
Taking over seamlessly time gray scale upgrading is a kind of upgrading. When application program needs to upgrade, server can allow this application program of a part of terminal staging, when application program after the application program updating in these terminals completes and uses upgrading is without any problem, server allows other-end to upgrade this application program again, so that it is guaranteed that this application program in all terminals all can successfully be upgraded.
In actual applications, for a large enterprise, the performance of each departmental terminals there are differences, and in all departments' terminal, the enterprises information of storage there is also difference. It can thus be appreciated that, when randomly selecting part terminal in all terminals as the test object upgraded, the part terminal randomly selected would be likely to occur the terminal of poor-performing or storage has the terminal of enterprise-essential information, thus when application program updating failure (after such as upgrading incompatible, even the problem such as loss of data), the terminal of poor-performing is it is possible that the phenomenon of system damage (such as system is run slack-off), storage has the terminal of enterprise-essential information may lose significant data, and then causes heavy losses to enterprise. Therefore, how enterprises terminal rationally realizing gray scale upgrading is current a great problem.
Summary of the invention
In view of this, the method and apparatus that the invention provides the upgrading of a kind of gray scale, it is possible to solve in prior art when the mode passing through to randomly select carries out gray scale upgrading, when upgrading unsuccessfully, it is possible to the problem that heavy losses can be caused to enterprise.
On the one hand, the method that the invention provides the upgrading of a kind of gray scale, described method includes:
According to default division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Based on upgrade level, the terminal in local area network carries out gray scale upgrading.
On the other hand, the invention provides the device of a kind of gray scale upgrading, described device includes:
Division unit, for according to presetting division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Control unit, for the upgrade level obtained based on described division unit, the terminal in local area network carries out gray scale upgrading.
By technique scheme, the method and apparatus of gray scale provided by the invention upgrading, can before carrying out gray scale upgrading, first according to presetting division rule, terminal in local area network carries out grade classification, obtain the upgrade level that terminal is corresponding, then realize gray scale upgrading according to the terminal in the upgrade level local area network divided. Compared with realizing gray scale upgrading with the mode passing through in prior art to randomly select, the present invention can be as the case may be, terminal in local area network carries out grade classification, then upgrading is realized successively according to upgrade level order from high to low, thus the sequencing of enterprises terminal staging is achieved rational distribution, and then avoid because the terminal chosen is not suitable as the object of first upgrading in the mode of randomly selecting, and cause the phenomenon of heavy losses to enterprise when upgrading unsuccessfully.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding. Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention. And in whole accompanying drawing, it is denoted by the same reference numerals identical parts. In the accompanying drawings:
Fig. 1 illustrates the flow chart of the method for a kind of gray scale upgrading that the embodiment of the present invention provides;
Fig. 2 illustrates the flow chart of the method for the another kind of gray scale upgrading that the embodiment of the present invention provides;
Fig. 3 illustrates the composition frame chart of the device of a kind of gray scale upgrading that the embodiment of the present invention provides;
Fig. 4 illustrates the composition frame chart of the device of the another kind of gray scale upgrading that the embodiment of the present invention provides.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings. Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here. On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The method embodiments providing the upgrading of a kind of gray scale, the method is applied to server side, as it is shown in figure 1, the method specifically includes that
101, according to presetting division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding.
Wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority, and namely server can allow terminal upgrade according to upgrade level order from high to low successively. When the terminal in server local area network carries out after grade classification, the corresponding relation of terminal Yu upgrade level can be recorded this locality, in order to follow-up according to upgrade level, the terminal of control correspondence is treated upgrading data packet and upgraded.
Can have multiple it should be noted that preset division rule, for instance can divide according to the device type of terminal, it is also possible to divide according to business enterprice sector.
102, based on upgrade level, the terminal in local area network carries out gray scale upgrading.
When server obtains after the upgrade level that in LAN, each terminal is corresponding, it is possible to according to upgrade level, the terminal of different upgrade level is allowed to upgrade successively, thus realizing gray scale upgrading.
Exemplary, if there being 50 terminals in LAN, then according to presetting division rule, after terminal in local area network carries out grade classification, obtain the terminal that 5 upgrade level are one-level (i.e. highest ranking), 10 upgrade level are the terminal of two grades, and 15 upgrade level are the terminal of three grades, and 20 upgrade level are the terminal of level Four. When certain packet (such as application package) in subsequent terminal needs to upgrade, 5 terminals that server can first allow upgrade level be one-level are upgraded, if these 5 terminal stagings are complete, 10 terminals then allowing upgrade level to be two grades again are upgraded, by that analogy, until 50 terminals are all successfully upgraded.
The method of the gray scale upgrading that the embodiment of the present invention provides, can before carrying out gray scale upgrading, first according to presetting division rule, the terminal in local area network carries out grade classification, obtain the upgrade level that terminal is corresponding, then realize gray scale upgrading according to the terminal in the upgrade level local area network divided. Compared with realizing gray scale upgrading with the mode passing through in prior art to randomly select, the present invention can be as the case may be, terminal in local area network carries out grade classification, then upgrading is realized successively according to upgrade level order from high to low, thus the sequencing of enterprises terminal staging is achieved rational distribution, and then avoid because the terminal chosen is not suitable as the object of first upgrading in the mode of randomly selecting, and cause the phenomenon of heavy losses to enterprise when upgrading unsuccessfully.
Further, according to said method embodiment, an alternative embodiment of the invention additionally provides the method for a kind of gray scale upgrading, as in figure 2 it is shown, the method specifically includes that
201, according to presetting division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding.
Concrete, according to different practical situations, manager can arrange different default division rules, it is achieved the grade classification of each terminal in local area network. Describe in detail for following three kinds of methods below:
Method one: the device type according to terminal, the terminal in local area network carries out grade classification.
Wherein, the terminal of distinct device type is would be likely to occur in LAN, such as notebook, desktop computer, panel computer etc., and the terminal of distinct device type bears the ability of risk and there are differences, such as desktop computer, notebook and panel computer, it is worst that desktop computer bears that the ability that ability is maximum, notebook bears risk of risk is taken second place, panel computer bears the ability of risk. Therefore, it can carry out grade classification according to the terminal in device type local area network, it is thus achieved that terminal respective upgrades grade. Such as, the upgrade level of desktop computer can be set to one-level by server, and the upgrade level of notebook is set to two grades, and the upgrade level of panel computer is set to three grades.
Method two: according to terminal affiliated function, the terminal in local area network carries out grade classification.
Concrete, an enterprise is often made up of different departments, for instance Finance Department, software development portion, software test portion, Human Resource Department and sales department etc. The enterprises information difference to some extent of all departments' storage, such as, Finance Department's essential record is about the information of enterprises finance, and the program that software development portion essential record is developed about enterprises, sales department's essential record is about the information of the aspects such as enterprises sales planning, sales achievement. It follows that the significance level of enterprises information that all departments' terminal records is different. Therefore, server can according to the significance level of record enterprises information, and the terminal in local area network carries out grade classification, and namely according to terminal affiliated function, the terminal in local area network carries out grade classification. Such as, the information of the terminal record of sales department is least important, so the terminal of sales department can be divided to one-level upgrade level by server, the information of the terminal record of Finance Department is most important, so the terminal of Finance Department can be divided to afterbody upgrade level by server.
Method three: the performance according to terminal, the terminal in local area network carries out grade classification.
Concrete, according to different demands, enterprises can give the terminal of employee setup different performance. Therefore, terminal according to terminal capabilities from high to low, can be carried out the division of upgrade level from high to low by server successively, and namely server is first upgraded by the terminal that terminal capabilities is higher, when these terminal staging successes, the terminal just allowing performance relatively low is upgraded.
202, the upgrade request that terminal to be upgraded sends is received.
When certain packet (such as certain application program) in certain terminal needs to upgrade, it is possible to send upgrade request to terminal, in order to request server allows this packet is upgraded. Wherein, upgrade request includes the device identification of terminal to be upgraded and the Data Identification of packet to be upgraded. After server receives upgrade request, it is possible to judge whether terminal to be upgraded has upgrading authority according to the device identification carried in upgrade request and Data Identification.
203, according to upgrade request, it is determined that the upgrade level that terminal to be upgraded is corresponding.
After server carries out grade classification according to the terminal preset in division rule local area network, can by the corresponding relation record of terminal and upgrade level in this locality, for instance the corresponding relation of terminal and upgrade level be recorded in a grade form. Therefore, after server receives the upgrade request that terminal to be upgraded sends, it is possible to determine, with the corresponding relation of upgrade level, the upgrade level that terminal to be upgraded is corresponding according to locally stored terminal.
Concrete, owing to upgrade request includes the device identification of terminal to be upgraded, so after server receives upgrade request, the device identification of terminal to be upgraded can be extracted from upgrade request, then look up the upgrade level that device identification is corresponding, finally the upgrade level found is defined as the upgrade level that terminal to be upgraded is corresponding.
Wherein, device identification includes IP (InternetProtocol, IP(Internet Protocol)) address and/or MAC (MediaAccessControl, the media interviews control) address of terminal.
204, according to the upgrade level that upgrade request and terminal to be upgraded are corresponding, it is judged that whether terminal to be upgraded arrives upgrading authority.
Concrete, after determining the upgrade level that terminal to be upgraded is corresponding, packet to be upgraded can also be determined according to upgrade request, then according to the upgrade level that the upgrade status of locally stored packet to be upgraded and terminal to be upgraded are corresponding, determine whether terminal to be upgraded arrives upgrading authority. Wherein, upgrade status is for describing the upgrade level of the terminal currently with upgrading authority.
In actual applications, within a period of time, it is necessary to the packet of upgrading is likely to have multiple, and various packet is opened time of upgrading and is also tended to difference. Therefore, in the same moment, the upgrade status that different pieces of information bag is corresponding is often different, the such as upgrade status of packet 1 correspondence is " upgrade level currently with the terminal of upgrading authority is two grades ", and the upgrade status of packet 2 correspondence is " upgrade level currently with the terminal of upgrading authority is level Four ".
It can thus be appreciated that, it is judged that whether terminal to be upgraded arrives the specific implementation of upgrading authority can be: extract the Data Identification of packet to be upgraded from upgrade request; Determine the upgrade status that Data Identification is corresponding; According to the upgrade level that upgrade status and terminal to be upgraded are corresponding, it is judged that whether terminal to be upgraded reaches upgrading authority.
Exemplary, if upgrade level corresponding to terminal to be upgraded is three grades, and upgrade status corresponding to the packet to upgrade of terminal to be upgraded is " upgrade level currently with the terminal of upgrading authority is two grades ", then server may determine that the terminal that upgrade level is one-level is complete upgrading, and the terminal that upgrade level is two grades is also not fully complete upgrading task. Therefore, the upgrading currently with the terminal of upgrading authority upgrades to two grades, and the terminal that upgrade level is three grades does not also arrive upgrading authority.
If 205 terminals to be upgraded arrive upgrading authority, then terminal to be upgraded is allowed to upgrade.
If 206 terminals to be upgraded do not arrive upgrading authority, then terminal to be upgraded is not allowed to upgrade.
Concrete, if server determines that terminal to be upgraded has reached upgrading authority, then server can by the URL (UniformResourceLocator of AKU corresponding for packet to be upgraded, URL) it is sent to terminal to be upgraded, or directly AKU corresponding for packet to be upgraded is sent to terminal to be upgraded, in order to terminal to be upgraded is treated upgrading data packet and upgraded. Otherwise, if server determines that terminal to be upgraded is not up to upgrading authority, then server can notify that terminal to be upgraded haves no right to upgrade now.
Further, at server according to upgrade level, terminal in local area network carries out in the process of gray scale upgrading, the upgrade status meeting real-time update that packet to be upgraded is corresponding, namely the upgrading response that server can send according to the terminal with upgrading authority, the upgrade status that more New Data Flag is corresponding.
Wherein, upgrading response is used for indicating terminal to complete upgrading. In actual applications, after the terminal with upgrading authority completes upgrading, sending a upgrading response to server, it has upgraded complete to be used for notifying server. After server receives the upgrading response that all terminals currently with upgrading authority send, the upgrade status that the packet of upgrading is corresponding can be updated, namely open the upgrading authority of terminal corresponding to next upgrade level.
Further, due to the upgrade status that server meeting real-time update packet to be upgraded is corresponding, so when the upgrade level that content update is the terminal currently with upgrading authority of upgrade status corresponding to Data Identification includes upgrade level corresponding to terminal to be upgraded, server can allow terminal to be upgraded to treat upgrading data packet to upgrade.
The upgrading response that server can send according to the terminal with upgrading authority, the upgrade status that more New Data Flag is corresponding, therefore, when terminal to be upgraded does not arrive upgrading authority, this terminal to be upgraded needs to wait the renewal of upgrade status. When the upgrade level that content update is the terminal currently with upgrading authority of upgrade status corresponding to Data Identification includes upgrade level corresponding to terminal to be upgraded, server may determine that all terminals of a upper grade of upgrade level corresponding to terminal to be upgraded have been upgraded complete all, and terminal to be upgraded has arrived upgrading authority, upgrade such that it is able to allow terminal to be upgraded to treat upgrading data packet.
Further, according to said method embodiment, an alternative embodiment of the invention additionally provides the device of a kind of gray scale upgrading, as it is shown on figure 3, this device specifically includes that division unit 31 and control unit 32. Wherein,
Division unit 31, for according to presetting division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Control unit 32, for the upgrade level obtained based on division unit 31, the terminal in local area network carries out gray scale upgrading.
The device of the gray scale upgrading that the embodiment of the present invention provides, can before carrying out gray scale upgrading, first according to presetting division rule, the terminal in local area network carries out grade classification, obtain the upgrade level that terminal is corresponding, then realize gray scale upgrading according to the terminal in the upgrade level local area network divided. Compared with realizing gray scale upgrading with the mode passing through in prior art to randomly select, the present invention can be as the case may be, terminal in local area network carries out grade classification, then upgrading is realized successively according to upgrade level order from high to low, thus the sequencing of enterprises terminal staging is achieved rational distribution, and then avoid because the terminal chosen is not suitable as the object of first upgrading in the mode of randomly selecting, and cause the phenomenon of heavy losses to enterprise when upgrading unsuccessfully.
Further, as shown in Figure 4, control unit 32, including:
Receive subelement 321, for receiving the upgrade request that terminal to be upgraded sends;
Determine subelement 322, for according to receiving the upgrade request that subelement 321 receives, it is determined that the upgrade level that terminal to be upgraded is corresponding;
Judgment sub-unit 323, for according to receiving upgrade request that subelement 321 receives and determining the upgrade level that terminal to be upgraded that subelement 322 is determined is corresponding, it is judged that whether terminal to be upgraded arrives upgrading authority;
Process subelement 324, for when the judged result of judgment sub-unit 323 is terminal to be upgraded arrival upgrading authority, it is allowed to terminal to be upgraded is upgraded; When the judged result of judgment sub-unit 323 be terminal to be upgraded do not arrive upgrading authority time, do not allow terminal to be upgraded to upgrade.
Further, as shown in Figure 4, it is determined that subelement 322, including:
Extraction module 3221, for extracting the device identification of terminal to be upgraded from upgrade request;
Search module 3222, for searching upgrade level corresponding to device identification that extraction module 3221 obtains;
Determine module 3223, for the upgrade level that lookup module 3222 finds is defined as the upgrade level that terminal to be upgraded is corresponding.
Further, as shown in Figure 4, it is judged that subelement 323, including:
Extraction module 3231, for extracting the Data Identification of packet to be upgraded from upgrade request;
Determine module 3232, the upgrade status corresponding for determining Data Identification that extraction module 3231 obtains, upgrade status is used for describing the upgrade level of the terminal currently with upgrading authority;
Judge module 3233, for according to determining upgrade status that module 3232 is determined and upgrade level corresponding to terminal to be upgraded, it is judged that whether terminal to be upgraded reaches upgrading authority.
Further, as shown in Figure 4, control unit 32, also include:
Updating subelement 325, for the upgrading response sent according to the terminal with upgrading authority, the upgrade status that more New Data Flag is corresponding, upgrading response is used for indicating terminal to complete upgrading.
Further, process subelement 324, if being additionally operable to not arrive upgrading authority in terminal to be upgraded, after then not allowing terminal to be upgraded to upgrade, when the upgrade level that content update is the terminal currently with upgrading authority of upgrade status corresponding to Data Identification includes upgrade level corresponding to terminal to be upgraded, it is allowed to terminal to be upgraded is treated upgrading data packet and upgraded.
Further, as shown in Figure 4, division unit 31, including:
First divides subelement 311, and for the device type according to terminal, the terminal in local area network carries out grade classification.
Further, as shown in Figure 4, division unit 31, including:
Second divides subelement 312, and for according to terminal affiliated function, the terminal in local area network carries out grade classification.
Further, as shown in Figure 4, division unit 31, including:
3rd divides subelement 313, and for the performance according to terminal, the terminal in local area network carries out grade classification.
Embodiment of the invention discloses that:
The method of A1, a kind of gray scale upgrading, it is characterised in that described method includes:
According to default division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Based on upgrade level, the terminal in local area network carries out gray scale upgrading.
A2, method according to A1, it is characterised in that described based on upgrade level, the terminal in local area network carries out gray scale upgrading, including:
Receive the upgrade request that terminal to be upgraded sends;
According to described upgrade request, it is determined that the upgrade level that described terminal to be upgraded is corresponding;
According to the upgrade level that described upgrade request and described terminal to be upgraded are corresponding, it is judged that whether described terminal to be upgraded arrives upgrading authority;
If described terminal to be upgraded arrives upgrading authority, then described terminal to be upgraded is allowed to upgrade;
If described terminal to be upgraded does not arrive upgrading authority, then described terminal to be upgraded is not allowed to upgrade.
A3, method according to A2, it is characterised in that described according to described upgrade request, it is determined that the upgrade level that described terminal to be upgraded is corresponding, including:
The device identification of described terminal to be upgraded is extracted from described upgrade request;
Search the upgrade level that described device identification is corresponding;
The upgrade level found is defined as the upgrade level that described terminal to be upgraded is corresponding.
A4, method according to A3, it is characterised in that the described upgrade level corresponding according to described upgrade request and described terminal to be upgraded, it is judged that whether described terminal to be upgraded arrives upgrading authority, including:
The Data Identification of packet to be upgraded is extracted from described upgrade request;
Determining the upgrade status that described Data Identification is corresponding, described upgrade status is for describing the upgrade level of the terminal currently with upgrading authority;
According to the upgrade level that described upgrade status and described terminal to be upgraded are corresponding, it is judged that whether described terminal to be upgraded reaches upgrading authority.
A5, method according to A4, it is characterised in that described method farther includes:
According to the upgrading response that the terminal with upgrading authority sends, updating the upgrade status that described Data Identification is corresponding, described upgrading response is used for indicating terminal to complete upgrading.
A6, method according to A5, it is characterised in that if not arriving upgrading authority in terminal described to be upgraded, then, after not allowing described terminal to be upgraded to upgrade, described method farther includes:
If the upgrade level that the content update of the upgrade status that described Data Identification is corresponding is the terminal currently with upgrading authority includes the upgrade level that described terminal to be upgraded is corresponding, then allow described terminal to be upgraded to treat upgrading data packet and upgrade.
A7, method according to any one of A1 to A6, it is characterised in that described basis presets division rule, and the terminal in local area network carries out grade classification, including:
Device type according to terminal, the terminal in local area network carries out grade classification.
A8, method according to any one of A1 to A6, it is characterised in that described basis presets division rule, and the terminal in local area network carries out grade classification, including:
According to terminal affiliated function, the terminal in local area network carries out grade classification.
A9, method according to any one of A1 to A6, it is characterised in that described basis presets division rule, and the terminal in local area network carries out grade classification, including:
Performance according to terminal, the terminal in local area network carries out grade classification.
The device of B10, a kind of gray scale upgrading, it is characterised in that described device includes:
Division unit, for according to presetting division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Control unit, for the upgrade level obtained based on described division unit, the terminal in local area network carries out gray scale upgrading.
B11, method according to B10, it is characterised in that described control unit, including:
Receive subelement, for receiving the upgrade request that terminal to be upgraded sends;
Determine subelement, for the described upgrade request received according to described reception subelement, it is determined that the upgrade level that described terminal to be upgraded is corresponding;
Judgment sub-unit, for the upgrade level that the described upgrade request received according to described reception subelement and the described terminal described to be upgraded determining that subelement is determined are corresponding, it is judged that whether described terminal to be upgraded arrives upgrading authority;
Process subelement, for when the judged result of described judgment sub-unit is described terminal to be upgraded arrival upgrading authority, it is allowed to described terminal to be upgraded is upgraded; When the judged result of described judgment sub-unit be described terminal to be upgraded do not arrive upgrading authority time, do not allow described terminal to be upgraded to upgrade.
B12, device according to B11, it is characterised in that described determine subelement, including:
Extraction module, for extracting the device identification of described terminal to be upgraded from described upgrade request;
Search module, for searching upgrade level corresponding to described device identification that described extraction module obtains;
Determine module, for by described lookup module searches to upgrade level be defined as the upgrade level that described terminal to be upgraded is corresponding.
B13, device according to B12, it is characterised in that described judgment sub-unit, including:
Extraction module, for extracting the Data Identification of packet to be upgraded from described upgrade request;
Determine module, the upgrade status corresponding for determining described Data Identification that described extraction module obtains, described upgrade status is used for describing the upgrade level of the terminal currently with upgrading authority;
Judge module, for determining described upgrade status that module determines and upgrade level corresponding to described terminal to be upgraded according to described, it is judged that whether described terminal to be upgraded reaches upgrading authority.
B14, device according to B13, it is characterised in that described control unit, also include:
Updating subelement, for the upgrading response sent according to the terminal with upgrading authority, update the upgrade status that described Data Identification is corresponding, described upgrading response is used for indicating terminal to complete upgrading.
B15, device according to B14, it is characterized in that, described process subelement, if being additionally operable to not arrive upgrading authority in terminal described to be upgraded, after then not allowing described terminal to be upgraded to upgrade, when the upgrade level that content update is the terminal currently with upgrading authority of upgrade status corresponding to described Data Identification includes upgrade level corresponding to described terminal to be upgraded, it is allowed to described terminal to be upgraded is treated upgrading data packet and upgraded.
B16, device according to any one of B10 to B15, it is characterised in that described division unit, including:
First divides subelement, and for the device type according to terminal, the terminal in local area network carries out grade classification.
B17, device according to any one of B10 to B15, it is characterised in that described division unit, including:
Second divides subelement, and for according to terminal affiliated function, the terminal in local area network carries out grade classification.
B18, device according to any one of B10 to B15, it is characterised in that described division unit, including:
3rd divides subelement, and for the performance according to terminal, the terminal in local area network carries out grade classification.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to referring to the associated description of other embodiments.
It is understood that the correlated characteristic in said method and device can reference mutually. It addition, " first ", " second " in above-described embodiment etc. is for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer. Various general-purpose systems can also with use based on together with this teaching. As described above, the structure constructed required by this kind of system is apparent from. Additionally, the present invention is also not for any certain programmed language. It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention.
In description mentioned herein, describe a large amount of detail. It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details. In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes. But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim. More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above. Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being arranged in one or more equipment different from this embodiment. Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition. Except at least some in such feature and/or process or unit excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments. Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with their combination. It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the condition detection method of accompanied electronic anti-theft device according to embodiments of the present invention, equipment, server and system equipment. The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program). The program of such present invention of realization can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims. In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims. Word " comprises " and does not exclude the presence of the element or step not arranged in the claims. Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element. The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer. In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody. Word first, second and third use do not indicate that any order. Can be title by these word explanations.

Claims (10)

1. the method for a gray scale upgrading, it is characterised in that described method includes:
According to default division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Based on upgrade level, the terminal in local area network carries out gray scale upgrading.
2. method according to claim 1, it is characterised in that described terminal in local area network carries out gray scale upgrading based on upgrade level, including:
Receive the upgrade request that terminal to be upgraded sends;
According to described upgrade request, it is determined that the upgrade level that described terminal to be upgraded is corresponding;
According to the upgrade level that described upgrade request and described terminal to be upgraded are corresponding, it is judged that whether described terminal to be upgraded arrives upgrading authority;
If described terminal to be upgraded arrives upgrading authority, then described terminal to be upgraded is allowed to upgrade;
If described terminal to be upgraded does not arrive upgrading authority, then described terminal to be upgraded is not allowed to upgrade.
3. method according to claim 2, it is characterised in that described according to described upgrade request, it is determined that the upgrade level that described terminal to be upgraded is corresponding, including:
The device identification of described terminal to be upgraded is extracted from described upgrade request;
Search the upgrade level that described device identification is corresponding;
The upgrade level found is defined as the upgrade level that described terminal to be upgraded is corresponding.
4. method according to claim 3, it is characterised in that the described upgrade level corresponding according to described upgrade request and described terminal to be upgraded, it is judged that whether described terminal to be upgraded arrives upgrading authority, including:
The Data Identification of packet to be upgraded is extracted from described upgrade request;
Determining the upgrade status that described Data Identification is corresponding, described upgrade status is for describing the upgrade level of the terminal currently with upgrading authority;
According to the upgrade level that described upgrade status and described terminal to be upgraded are corresponding, it is judged that whether described terminal to be upgraded reaches upgrading authority.
5. method according to claim 4, it is characterised in that described method farther includes:
According to the upgrading response that the terminal with upgrading authority sends, updating the upgrade status that described Data Identification is corresponding, described upgrading response is used for indicating terminal to complete upgrading.
6. method according to claim 5, it is characterised in that if not arriving upgrading authority in terminal described to be upgraded, then after not allowing described terminal to be upgraded to upgrade, described method farther includes:
If the upgrade level that the content update of the upgrade status that described Data Identification is corresponding is the terminal currently with upgrading authority includes the upgrade level that described terminal to be upgraded is corresponding, then allow described terminal to be upgraded to treat upgrading data packet and upgrade.
7. method according to any one of claim 1 to 6, it is characterised in that described basis presets division rule, and the terminal in local area network carries out grade classification, including:
Device type according to terminal, the terminal in local area network carries out grade classification.
8. method according to any one of claim 1 to 6, it is characterised in that described basis presets division rule, and the terminal in local area network carries out grade classification, including:
According to terminal affiliated function, the terminal in local area network carries out grade classification.
9. method according to any one of claim 1 to 6, it is characterised in that described basis presets division rule, and the terminal in local area network carries out grade classification, including:
Performance according to terminal, the terminal in local area network carries out grade classification.
10. the device of a gray scale upgrading, it is characterised in that described device includes:
Division unit, for according to presetting division rule, the terminal in local area network carries out grade classification, it is thus achieved that the upgrade level that terminal is corresponding, and wherein, the upgrade level of terminal is more high more preferentially arrives upgrading authority;
Control unit, for the upgrade level obtained based on described division unit, the terminal in local area network carries out gray scale upgrading.
CN201510958870.4A 2015-12-18 2015-12-18 Grayscale upgrading method and device Pending CN105630539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510958870.4A CN105630539A (en) 2015-12-18 2015-12-18 Grayscale upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510958870.4A CN105630539A (en) 2015-12-18 2015-12-18 Grayscale upgrading method and device

Publications (1)

Publication Number Publication Date
CN105630539A true CN105630539A (en) 2016-06-01

Family

ID=56045520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510958870.4A Pending CN105630539A (en) 2015-12-18 2015-12-18 Grayscale upgrading method and device

Country Status (1)

Country Link
CN (1) CN105630539A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783120A (en) * 2018-12-28 2019-05-21 易票联支付有限公司 A kind of POS machine software version updating method and system
CN110213218A (en) * 2018-10-29 2019-09-06 腾讯科技(深圳)有限公司 Gradation control method, equipment and medium for data transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811136A (en) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 Software upgrading system and method
US20130086231A1 (en) * 2011-09-30 2013-04-04 Samsung Electronics Co., Ltd. Upgrade system and method having adaptive changeable upgrade process
CN104966206A (en) * 2015-05-12 2015-10-07 百度在线网络技术(北京)有限公司 Method, device, and system for performing gray release on mobile application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811136A (en) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 Software upgrading system and method
US20130086231A1 (en) * 2011-09-30 2013-04-04 Samsung Electronics Co., Ltd. Upgrade system and method having adaptive changeable upgrade process
CN104966206A (en) * 2015-05-12 2015-10-07 百度在线网络技术(北京)有限公司 Method, device, and system for performing gray release on mobile application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213218A (en) * 2018-10-29 2019-09-06 腾讯科技(深圳)有限公司 Gradation control method, equipment and medium for data transmission
CN110213218B (en) * 2018-10-29 2021-06-01 腾讯科技(深圳)有限公司 Gray scale control method, apparatus, and medium for data transmission
CN109783120A (en) * 2018-12-28 2019-05-21 易票联支付有限公司 A kind of POS machine software version updating method and system

Similar Documents

Publication Publication Date Title
US9465600B2 (en) Dynamic retrieval of installation packages when installing software
CN104836843A (en) Client application program updating method and device
EP1788493A1 (en) Detecting changes in data
CN102810066A (en) Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN104915285A (en) Container process monitoring method, device and system
CN104954353A (en) Verification method and apparatus of APK file package
CN106302609B (en) Access method and device
WO2012087990A2 (en) Providing a persona-based application experience
US10084777B2 (en) Secure data processing method and system
CN105704241A (en) Client terminal program updating method and system and a service platform
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN107832134A (en) multi-task processing method, application server and storage medium
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN115277566A (en) Load balancing method and device for data access, computer equipment and medium
CN104050054A (en) Processing method for installation package installation failure and cause determining method and device
CN104951481A (en) Method and device for managing database connection
CN105635257A (en) Method and system for automatically detecting data update
CN105630539A (en) Grayscale upgrading method and device
CN104333614A (en) Terminal recognition method, device and system
CN106529281A (en) Executable file processing method and device
CN107145528A (en) Update method, the apparatus and system of cache file
CN107679871B (en) List management method, device, system and computer readable storage medium
CN110866380A (en) Method and terminal for filling in information field content
CN104951550B (en) Date storage method and device
CN103023881A (en) Data security judgment method and system

Legal Events

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

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Applicant after: Beijing Qihu Technology Co., Ltd.

Applicant after: Qianxin Technology Group Co., Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

Applicant before: BEIJING QI'ANXIN SCIENCE & TECHNOLOGY CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601