CN106406921A - Patch installation method and device - Google Patents

Patch installation method and device Download PDF

Info

Publication number
CN106406921A
CN106406921A CN201510456764.6A CN201510456764A CN106406921A CN 106406921 A CN106406921 A CN 106406921A CN 201510456764 A CN201510456764 A CN 201510456764A CN 106406921 A CN106406921 A CN 106406921A
Authority
CN
China
Prior art keywords
server
patch
task
identification
configuration information
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
CN201510456764.6A
Other languages
Chinese (zh)
Other versions
CN106406921B (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201510456764.6A priority Critical patent/CN106406921B/en
Publication of CN106406921A publication Critical patent/CN106406921A/en
Application granted granted Critical
Publication of CN106406921B publication Critical patent/CN106406921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a patch installation method and device, and belongs to the field of communication. The method comprises the following steps of: receiving server configuration information sent by servers in a data center, wherein the server configuration information is used for applying patch installation; generating a patch installation task according to the server configuration information of each server, wherein the patch installation task comprises a patch time and a task identifier; generating a corresponding relationship between the task identifier and an information set, wherein the information set comprises the server configuration information of the servers; when the patch time of the patch installation task arrives, obtaining the corresponding information set according to the task identifier of the patch installation task; and sending a patch installation program and an installation instruction to the servers according to the server configuration information, in the information set, of the servers, wherein the installation instruction is used for triggering the servers to respectively carry out patch installation according to the patch installation program. According to the patch installation method and device, the patch installation efficiency can be improved.

Description

A kind of method and device installing patch
Technical field
The present invention relates to the communications field, particularly to a kind of method and device installing patch.
Background technology
Data center is made up of substantial amounts of server, and the operating system that these servers are installed is usually Microsoft Windows (window) operating system of company, Microsoft issued in the Tuesday in the second week monthly closes In the patch of windows operating system, in order to improve the safety of data center, issue in Microsoft and mend Ding Hou, each server of data center needs to install this patch.
At present, after Microsoft has issued patch, for the data center not entering domain, this data center Operation maintenance personnel manually every server patch downloaded and installed in the data center.Due to data center The number of servers generally including is very huge, may have hundreds and thousands of servers.And at present completely by fortune Dimension personnel download manually and install patch, need longer time just to install patch for each server, lead Cause the efficiency installing patch extremely inefficient.
Content of the invention
In order to solve the problems of the prior art, the invention provides a kind of method and device installing patch. Described technical scheme is as follows:
A kind of method installing patch, methods described includes:
The server configuration information that server in the minds of in receiving data sends, described server configuration information is used In application, patch is installed;
The server configuration information of each server according to application generates patch and installs task, and described patch is installed Task includes patch time and task identification;And generate the corresponding relation of described task identification and information aggregate, Described information set includes the server configuration information of each server of described application;
When described patch installs the patch time arrival that task includes, task is installed according to described patch and includes Task identification obtain corresponding information aggregate;
Server configuration information according to each server in described information set sends to described each server and mends Fourth installation procedure and installation instruction, described installation instruction is used for triggering described each server respectively according to described benefit Fourth installation procedure installs patch.
A kind of device installing patch, described device includes:
Receiver module, the server configuration information sending for the server in the minds of in receiving data, described clothes Business device configuration information is used for application and installs patch;
Generation module, the server configuration information for each server according to application generates patch installation task, Described patch is installed task and is included patch time and task identification;And generate described task identification and information aggregate Corresponding relation, described information set includes the server configuration information of each server of described application;
Acquisition module, for when described patch installs the patch time arrival that task includes, according to described benefit Fourth installs the task identification corresponding information aggregate of acquisition that task includes;
Sending module, for the server configuration information according to each server in described information set to described Each server sends patch installation procedure and installation instruction, and described installation instruction is used for triggering described each server Respectively patch is installed according to described patch installation procedure.
In embodiments of the present invention, need the server application installing patch that patch, then basis are installed by each The server of each application generates patch and installs task, and the patch time including in this patch installation task reaches When, the server for application installs patch, so can realize in bulk the server in data center being pacified Dress patch, improves patch installation effectiveness.
Brief description
Fig. 1-1 is a kind of management system Organization Chart provided in an embodiment of the present invention;
Fig. 1-2 is a kind of method flow diagram of installation patch that the embodiment of the present invention 1 provides;
Fig. 2-1 is a kind of method flow diagram of installation patch that the embodiment of the present invention 2 provides;
Fig. 2-2 is a kind of interfacial structure schematic diagram that the embodiment of the present invention 2 provides;
Fig. 2-3 is another kind of interfacial structure schematic diagram that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of apparatus structure schematic diagram of installation patch that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of structural representation of admin site that the embodiment of the present invention 4 provides.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Referring to Fig. 1-1, embodiments provide a kind of Organization Chart of management system, including:
Admin site, data base, patch install queue and multiple controller, and this management system is used for controlling number According in the minds of each server patch is installed.
Admin site is used for the server configuration information that the server in the minds of in receiving data sends, this server Configuration information is used for application and installs patch, and the server configuration information of the server according to this application generates patch Installation task, this patch is installed task and is included task identification, patch time and blacklist.This patch time is Admin site reception technique personnel input, this blacklist includes to install patch when this patch time The server identification of server.
Admin site, is additionally operable to the server configuration information composition information aggregate of each server of application, will This task identification and this information aggregate are stored in the corresponding relation of the task identification in data base and information aggregate In, and this patch installation task is joined the team from the tail of the queue of patch installation queue, to be stored in the installation of this patch In queue.
Admin site, the patch installation task being additionally operable to be located at team's head to the installation queue of this patch is monitored, When monitoring out the patch time arrival that this patch installation task includes, include in this patch installation task and appoint Business mark and blacklist, according to this task identification, the task identification from data base is corresponding with information aggregate Corresponding information aggregate is obtained in relation.The each server identification in this blacklist is removed from this information aggregate The server configuration information of corresponding server, obtains the server of the remaining each server that can install patch Configuration information, then the server configuration information of this each server is respectively allocated in the plurality of controller again Each controller.
Each controller receives the server configuration information of each server distributing to oneself respectively, according to each clothes The login account that the server configuration information of business device includes and login password log in each server, Ran Houxiang respectively Each server sends patch installation order and patch installation procedure.Each server receives according to patch installation order With patch installation procedure, run this patch installation procedure, patch is installed according to this patch installation procedure.
Wherein, server needs patch to be mounted to be stored in patch library, and patch library includes patch developer The patch of exploitation and list of patches, this list of patches is used for storing the corresponding relation of patch mark and storage time. After patch developer develops a patch, by this patch storage in patch library, obtain current time as this benefit The storage time of fourth, the corresponding relation of the patch mark of this patch and this storage time is stored in list of patches In.Server, when installing patch, obtains list of patches from patch library, obtains and deposit from this list of patches The patch mark of storage time patch after the first time, the very first time is this server last peace recently The time of dress patch, download from patch library and corresponding benefit is installed according to the patch mark of each patch obtaining Fourth.
Embodiment 1
Referring to Fig. 1-2, embodiments provide a kind of method installing patch, including:
Step 101:The server configuration information that server in the minds of in receiving data sends, this server configures Information is used for application and installs patch.
Step 102:The server configuration information of each server according to application generates patch and installs task, this benefit Fourth is installed task and is included patch time and task identification;And generate this task identification pass corresponding with information aggregate System, this information aggregate includes the server configuration information of each server of application.
Step 103:When this patch installs the patch time arrival that task includes, task is installed according to this patch Including task identification obtain corresponding information aggregate.
Step 104:Sent to each server according to the server configuration information of each server in this information aggregate Patch installation procedure and patch installation instruction, this patch installation instruction is used for triggering each server respectively according to this Patch installation procedure installs patch.
In embodiments of the present invention, need the server application installing patch that patch, then basis are installed by each The server of each application generates patch and installs task, and the patch time including in this patch installation task reaches When, the server for application installs patch, so can realize in bulk the server in data center being pacified Dress patch, improves patch installation effectiveness.
Embodiment 2
Referring to Fig. 2-1, embodiments provide a kind of method installing patch, including:
Step 201:The server configuration information that management system the reception server sends, this server configuration information For request, patch is installed, and this server configuration information at least includes the login account of this server, login Password server identifies.
Wherein, this server is any server in data center.When new patch occurs, this server Corresponding director judges whether to need to install patch to this server, if it is desired, this director triggering should Server sends this server configuration information to management system, to ask management system to be that this server generates use In the patch installing patch, task is installed.
Referring to the management system shown in figure, this management system includes admin site, and this admin site is used for generating Patch is installed task and is distributed patch installation task.Server in data center is all by the server of itself Configuration information is sent to admin site, and request admin site is the patch installation times that it generates for installing patch Business.Correspondingly, the admin site in management system receives the server configuration information of this server transmission.
Further, this server configuration information can also include the contact method of this director, this correspondent party Formula can be the phone number of this director, chat account etc..This server identification can be this server MAC Address or IP address etc..This contact method is used for notifying this to be responsible for after installing patch for this server People.
For each server of other in data center, when new patch occurs, other each servers pair The director answering is determining to install patch, all presses above-mentioned flow process and sends server configuration information to admin site.
Step 202:Management system generates according to the server configuration information of the server of application in data center and mends Fourth task, this patch task includes patch time, blacklist and task identification, and this blacklist is included in this benefit The server identification of the server of patch can not be installed in the fourth time.
Wherein, admin site in a management system receives the service that each server in data center sends After device configuration information, technical staff can determine the patch time and inputs this patch time to admin site.
In addition, each server in data center provides a user with service in daily different time sections, institute With each server correspondence scope one service time in data center.Include data base in a management system, This data base includes the corresponding relation of server identification and scope service time, and this corresponding relation is used for storing The server identification of each server in data center and service time range.
This step can be:The patch time of admin site reception technique personnel input, according to this patch time, Obtain from the server identification that data base includes with the corresponding relation of scope service time and include this patch time Scope service time, according to scope service time obtaining, the server identification including from data base and clothes Corresponding server identification is obtained in the corresponding relation of business time range;By each server identification obtaining and Shen The server identification of each server please takes common factor, and the server identification taking common factor to obtain is formed blacklist, Then admin site distribution task identification, generates and includes this patch time, this blacklist and this patch time Patch task.
Wherein, the corresponding server of the server identification of acquisition needs when this patch time to provide service, all Patch can not be installed, because installing patch can provide service by ISR, in the present embodiment, will There is provided the server identification composition blacklist of the server of service when the patch time, so in this patch time During arrival, the corresponding server of each server identification that blacklist can not be included installs patch.
Further, in the present embodiment, after admin site generates this patch installation task, this patch is pacified Dress task is stored in patch queue, will this patch installation task join the team from team's head of patch queue.
Wherein it is desired to explanation is:In this patch queue, task is installed in patch positioned at the patch of team's head In queue storage time the longest, including the patch time nearest from current time;Patch peace positioned at tail of the queue The time that dress task stores in patch queue is the shortest, including the patch time the longest from current time.
Step 203:Management system stores the corresponding relation of this task identification and information aggregate, this information aggregate bag Include the server configuration information of each server of application.
Include the corresponding relation of task identification and information aggregate in the data base of management system.In management system Admin site by apply for each server server configuration information composition information aggregate, then by this task Mark and this information aggregate are stored in task identification in this data base and the corresponding relation of information aggregate.
Step 204:When the patch time that management system installs task in this patch reaches, installed according to this patch The task identification of task, from task identification with obtain corresponding information aggregate the corresponding relation of information aggregate.
Wherein, the admin site in management system is entered to the patch installation task being located at team's head in this patch queue Row monitoring, if the patch monitoring out positioned at team's head is installed patch time of including of task and reached, will be located at The patch of team's head is installed task and is gone out team, installs, according to this patch, the task identification that task includes, from data base Task identification with obtain corresponding information aggregate in the corresponding relation of information aggregate.
Step 205:Management system installs, according to this patch, blacklist and this information aggregate that task includes, and determines Go out to install the server configuration information of each server of patch.
Specifically, the admin site in management system removes the service that this blacklist includes from this information aggregate Device identifies corresponding server configuration information, the server configures letter of remaining each server in this information aggregate Breath as can install the server configuration information of the server of patch.
The corresponding server of each server identification in blacklist provides a user with service when this patch time, If corresponding server installs patch to the server identification in blacklist, occur after patch installs Situation about restarting occurs, and leads to the service disruption providing the user, and therefore these servers can not be installed and mend Fourth.And each server that can install patch does not provide a user with service in this patch time, it is likely to be at , therefore there is not the situation interrupting service in idle condition, therefore can install patch to this kind of server.
Step 206:The login account that management system includes according to the server configuration information of each server determining Log in each server respectively with login password, and send to each server respectively after logging in each server success Patch installation instruction, this patch installation instruction is used for triggering server installation patch.
Specifically, each server determining is averagely allocated in management system the admin site in management system Including each controller;For each controller, the server that its server is distributed in the reception of this controller is joined Confidence ceases, and according to the server configuration information of each server distributing, the login account including and login password divide Do not log in each server, and send patch installation procedure and patch peace to each server after logging in each server Dress instruction.
This patch installation procedure is used for server and installs patch.For each server, this server receives should Patch installation procedure and this patch installation instruction, after running this patch installation procedure, obtain from patch library and mend Fourth list, this list of patches is used for storing the patch mark of each patch in this patch library and storage time, from The patch mark of storage time patch after the first time is obtained, the very first time is should in this list of patches The server last time installing patch recently, the patch according to each patch obtaining identifies from patch library Download and install corresponding patch.
Wherein it is desired to explanation is:Each patch in patch library is all the patch of patch developer exploitation.Mend After fourth developer develops a patch, by this patch storage in this patch library, obtain current time as this benefit The storage time of fourth, the corresponding relation of the patch mark of this storage time and this patch is stored in list of patches In.
Wherein it is desired to explanation is:For each server, during this server installs patch, This server obtains the mount message of this patch, and this mount message includes the patch mark of this patch, progress letter Breath and/or status information, this progress msg can for installing, installation, also do not install and/or install Percentage ratio of this patch etc., this status information can include this patch and install success or install failure etc..This clothes This mount message is sent to the data server that this management system includes by business device.This data server receives should The mount message that server sends, obtains the server identification of this server, by this server identification and this peace The corresponding relation of dress information is stored in data base.
In the present embodiment, technical staff can inquire about the mount message of each server in admin site, Surface chart shown in ginseng Fig. 2-2, technical staff can input certain server needing inquiry in this interface Server identification;Then admin site obtains this server identification from this interface, according to this server identification The mount message of this server is obtained in the corresponding relation of the server identification from data base and mount message, And show the mount message of this server.
Further, this server, when installing patch, also obtains the exception that exception occurs in installation process Information, and the abnormal information of acquisition is sent to data server, data server receives this abnormal information, The server identification of this server and this abnormal information are stored in server identification and the abnormal information of data base Corresponding relation in.
If technical staff wants to inquire about the mount message of certain server or abnormal information, technical staff is in management The server identification of certain server is submitted on website, admin site according to the server identification of this server from The mount message of this server is inquired about in the corresponding relation of the server identification in data base and mount message;Or Person, server identification from data base for the server identification according to this server is corresponding with abnormal information to close The abnormal information of this server is inquired about in system.
Further, in the present embodiment, the controller in management system can also periodically correspond to it Server send query messages, if send this query messages after Preset Time in receive this service Device send inquiry response it is determined that this server does not crash, if send this query messages after pre- If not receiving this server prosperity inquiry response in the time it is determined that this server crashes.Then this control Device sends this notification message to admin site, and this notification message carries the server identification of this server.
Admin site receives this notification message, the server identification of this server being carried according to this notification message, Obtain the service profile information of this server from this information aggregate, included according to this server configuration information This server corresponding director mode sends information to the corresponding director of this server, and this prompting is believed Cease and be used for notifying this server of this director to occur crashing.After this director receives this information, permissible Restart this server, so that this server recovers normal.
In embodiments of the present invention, need the server application installing patch that patch, then basis are installed by each The server of each application generates patch and installs task, and the patch time including in this patch installation task reaches When, the server for application installs patch, so can realize in bulk the server in data center being pacified Dress patch, improves patch installation effectiveness.
Embodiment 3
Referring to Fig. 3, embodiments provide a kind of device installing patch, including:
Receiver module 301, the server configuration information sending for the server in the minds of in receiving data, described Server configuration information is used for application and installs patch;
Generation module 302, the server configuration information for each server according to application generates patch installation times Business, described patch is installed task and is included patch time and task identification;And generate described task identification and information The corresponding relation of set, described information set includes the server configuration information of each server of described application;
Acquisition module 303, for when described patch installs the patch time arrival that task includes, according to described Patch installs the task identification corresponding information aggregate of acquisition that task includes;
Sending module 304, for according to the server configuration information of each server in described information set to institute State each server and send patch installation procedure and installation instruction, described installation instruction is used for triggering described each service Device installs patch according to described patch installation procedure respectively.
Optionally, described patch installation task also includes blacklist, and described blacklist is included in described patch Between when can not install patch server server identification;
Described generation module 302 includes:
Acquiring unit, for receiving the patch time, according to server identification pass corresponding with scope service time System obtains the server identification of the server in the offer service of described patch time;
Common factor unit, for by the server of the server identification of each server of described application and described acquisition Mark takes common factor, and the server identification taking common factor to obtain is formed blacklist;
Component units, for distributing task identification, by described patch time, described blacklist and described task Mark composition patch installs task.
Optionally, server configuration information includes login account and login password;
Described sending module 304 includes:
Removal unit, the server identification including for removal blacklist from described information set is corresponding Server configuration information, obtains installing the server configuration information of the server of patch;
Log in unit, for including logging according to the server configuration information of each server that can install patch Account and login password, log in described each server respectively;
Transmitting element, for sending patch to described each server respectively after logging in described each server success Installation procedure and installation instruction.
Further, described device also includes:
Memory module, sends mount message for receiving described each server during installing patch, obtains Take the server identification of described each server, the server identification of the described each server of storage and mount message Corresponding relation.
Further, described device also includes:
Enquiry module, for receiving the server identification of the server needing inquiry, according to described server mark Know, inquire about the mount message of described server from the corresponding relation with mount message for the server identification, and show Show the mount message of described server.
In embodiments of the present invention, need the server application installing patch that patch, then basis are installed by each The server of each application generates patch and installs task, and the patch time including in this patch installation task reaches When, the server for application installs patch, so can realize in bulk the server in data center being pacified Dress patch, improves patch installation effectiveness.
Embodiment 4
Refer to Fig. 4, it illustrates the admin site structural representation involved by the embodiment of the present invention, this management Website, the method for implementing the installation patch providing in above-described embodiment.Specifically:
Admin site 900 can include RF (Radio Frequency, radio frequency) circuit 110, include one The memorizer 120 of individual or more than one computer-readable recording medium, input block 130, display unit 140, Sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include The part such as the processor 180 of or more than one processing core and power supply 190.People in the art Member, it is appreciated that the admin site structure shown in Fig. 4 does not constitute the restriction to admin site, can wrap Include ratio and illustrate more or less of part, or combine some parts, or different part arrangements.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, After the downlink information of base station is received, transfer to one or more than one processor 180 is processed;In addition, will It is related to up data is activation to base station.Generally, RF circuit 110 include but is not limited to antenna, at least one Amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, coupling Clutch, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, RF circuit 110 can also be communicated with network and other equipment by radio communication.Described radio communication can be using arbitrary logical Beacon standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in by operation The software program of reservoir 120 and module, thus execute various function application and data processing.Memorizer 120 can mainly include storing program area and storage data field, wherein, storing program area can storage program area, Application program (such as sound-playing function, image player function etc.) needed at least one function etc.;Deposit Storage data field can store according to admin site 900 using data (the such as voice data, phone being created This etc.) etc..Additionally, memorizer 120 can include high-speed random access memory, can also include non-easy The property lost memorizer, for example, at least one disk memory, flush memory device or the storage of other volatile solid-state Device.Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and defeated Enter the access to memorizer 120 for the unit 130.
Input block 130 can be used for numeral or the character information of receives input, and produce with user setup with And the relevant keyboard of function control, mouse, action bars, optics or trace ball signal input.Specifically, Input block 130 may include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as For touch display screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user makes On Touch sensitive surface 131 or attached in Touch sensitive surface 131 with any suitable object such as finger, stylus or adnexa Near operation), and corresponding attachment means are driven according to formula set in advance.Optionally, Touch sensitive surface 131 May include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detect user's Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, And can the order sent of receiving processor 180 being executed.Furthermore, it is possible to using resistance-type, condenser type, The polytype such as infrared ray and surface acoustic wave realizes Touch sensitive surface 131.Except Touch sensitive surface 131, input is single Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but not It is limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, behaviour Make one or more of bar etc..
Display unit 140 can be used for showing by the information of user input or the information and the management that are supplied to user The various graphical user interface of website 900, these graphical user interface can by figure, text, icon, Video to be constituted with its combination in any.Display unit 140 may include display floater 141, optionally, can adopt With LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configuring display floater 141.Further, Touch sensitive surface 131 can cover Display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, sends process to Device 180 to determine the type of touch event, with preprocessor 180 according to the type of touch event in display surface Corresponding visual output is provided on plate 141.Although in the diagram, Touch sensitive surface 131 and display floater 141 It is to realize input and input function as two independent parts, but in some embodiments it is possible to will Touch sensitive surface 131 is integrated with display floater 141 and realize input and output function.
Admin site 900 may also include at least one sensor 150, such as optical sensor, motion sensor with And other sensors.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, Ambient light sensor can adjust the brightness of display floater 141, proximity transducer according to the light and shade of ambient light Display floater 141 and/or backlight can be closed when admin site 900 moves in one's ear.As motion-sensing One kind of device, Gravity accelerometer can detect the size of (generally three axles) acceleration in all directions, Can detect that size and the direction of gravity when static, can be used for identifying application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) Deng;The gyroscope that can also configure as admin site 900, barometer, drimeter, thermometer, infrared ray pass The other sensors such as sensor, will not be described here.
Voicefrequency circuit 160, speaker 161, microphone 162 can be provided between user and admin site 900 Audio interface.The signal of telecommunication after the voice data receiving conversion can be transferred to and raise one's voice by voicefrequency circuit 160 Device 161, is converted to acoustical signal output by speaker 161;On the other hand, the sound that microphone 162 will be collected Message number is converted to the signal of telecommunication, is converted to voice data after being received by voicefrequency circuit 160, then by voice data After output processor 180 is processed, through RF circuit 110 being sent to such as another admin site, or by sound Frequency data output is to memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and admin site 900.
WiFi belongs to short range wireless transmission technology, and admin site 900 can be helped by WiFi module 170 User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband Internet access.Although Fig. 4 shows WiFi module 170, but it is understood that, it is simultaneously not belonging to Must be configured into of admin site 900, completely can be as needed in the scope of essence not changing invention Omit.
Processor 180 is the control centre of admin site 900, using various interfaces and the whole handss of connection The various pieces of machine, by running or executing software program and/or the module being stored in memorizer 120, with And call the data being stored in memorizer 120, the various functions of execution admin site 900 and processing data, Thus integral monitoring is carried out to mobile phone.Optionally, processor 180 may include one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, wherein, application processor Main process operating system, user interface and application program etc., modem processor mainly processes channel radio Letter.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Admin site 900 also includes the power supply 190 (such as battery) powered to all parts it is preferred that electricity Source can be logically contiguous with processor 180, thus being realized by power-supply management system by power-supply management system The functions such as management charging, electric discharge and power managed.Power supply 190 can also include one or more Direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, The random component such as power supply status indicator.
Although not shown, admin site 900 can also include photographic head, bluetooth module etc., and here is no longer superfluous State.Specifically in the present embodiment, the display unit of admin site 900 is touch-screen display, admin site 900 also include memorizer, and one or more than one program, one of or more than one journey Sequence is stored in memorizer, and is configured to state one or one by one or more than one computing device Individual procedure above comprises the instruction for carrying out following operation:
The server configuration information that server in the minds of in receiving data sends, described server configuration information is used In application, patch is installed;
The server configuration information of each server according to application generates patch and installs task, and described patch is installed Task includes patch time and task identification;And generate the corresponding relation of described task identification and information aggregate, Described information set includes the server configuration information of each server of described application;
When described patch installs the patch time arrival that task includes, task is installed according to described patch and includes Task identification obtain corresponding information aggregate;
Server configuration information according to each server in described information set sends to described each server and mends Fourth installation procedure and installation instruction, described installation instruction is used for triggering described each server respectively according to described benefit Fourth installation procedure installs patch.
Optionally, described patch installation task also includes blacklist, and described blacklist is included in described patch Between when can not install patch server server identification;
The server configuration information of described each server according to application generates patch and installs task, including:
Receive the patch time, obtained in described benefit according to the corresponding relation of server identification and scope service time The fourth time provides the server identification of the server of service;
The server identification of the server identification of each server of described application and described acquisition is taken common factor, will Take the server identification composition blacklist that common factor obtains;
Distribution task identification, by described patch time, described blacklist and described task identification composition patch peace Dress task.
Optionally, server configuration information includes login account and login password;
The server configuration information of each server in the described set according to described information is sent out to described each server Send patch installation procedure and installation instruction, including:
The server identification corresponding server configures letter that blacklist includes is removed from described information set Breath, obtains installing the server configuration information of the server of patch;
Login account is included according to the server configuration information of each server that can install patch and logs in close Code, logs in described each server respectively;
Send patch installation procedure and installation to described each server after logging in described each server success respectively Instruction.
Further, the server configuration information of each server in the described set according to described information is to described After each server sends patch installation procedure and installation instruction, also include:
Receive described each server and send mount message during patch is installed, obtain described each server Server identification, the storage server identification of the described each server and corresponding relation of mount message.
Further, the described corresponding relation storing the server identification of described each server and mount message it Afterwards, also include:
Receive the server identification of the server needing inquiry, according to described server identification, from server mark Know the mount message inquiring about described server in the corresponding relation with mount message, and show described server Mount message.
In embodiments of the present invention, need the server application installing patch that patch, then basis are installed by each The server of each application generates patch and installs task, and the patch time including in this patch installation task reaches When, the server for application installs patch, so can realize in bulk the server in data center being pacified Dress patch, improves patch installation effectiveness.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through Hardware come to complete it is also possible to instructed by program correlation hardware complete, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's Within spirit and principle, any modification, equivalent substitution and improvement made etc., should be included in the present invention's Within protection domain.

Claims (10)

1. a kind of method installing patch is it is characterised in that methods described includes:
The server configuration information that server in the minds of in receiving data sends, described server configuration information is used In application, patch is installed;
The server configuration information of each server according to application generates patch and installs task, and described patch is installed Task includes patch time and task identification;And generate the corresponding relation of described task identification and information aggregate, Described information set includes the server configuration information of each server of described application;
When described patch installs the patch time arrival that task includes, task is installed according to described patch and includes Task identification obtain corresponding information aggregate;
Server configuration information according to each server in described information set sends to described each server and mends Fourth installation procedure and installation instruction, described installation instruction is used for triggering described each server respectively according to described benefit Fourth installation procedure installs patch.
2. the method for claim 1 also includes black name it is characterised in that described patch installs task Single, described blacklist included installing the server identification of the server of patch when the described patch time;
The server configuration information of described each server according to application generates patch and installs task, including:
Receive the patch time, obtained in described benefit according to the corresponding relation of server identification and scope service time The fourth time provides the server identification of the server of service;
The server identification of the server identification of each server of described application and described acquisition is taken common factor, will Take the server identification composition blacklist that common factor obtains;
Distribution task identification, by described patch time, described blacklist and described task identification composition patch peace Dress task.
3. method as claimed in claim 1 or 2 is it is characterised in that server configuration information includes logging in Account and login password;
The server configuration information of each server in the described set according to described information is sent out to described each server Send patch installation procedure and installation instruction, including:
The server identification corresponding server configures letter that blacklist includes is removed from described information set Breath, obtains installing the server configuration information of the server of patch;
Login account is included according to the server configuration information of each server that can install patch and logs in close Code, logs in described each server respectively;
Send patch installation procedure and installation to described each server after logging in described each server success respectively Instruction.
4. the method for claim 1 is it is characterised in that each in the described set according to described information After the server configuration information of server sends patch installation procedure and installation instruction to described each server, Also include:
Receive described each server and send mount message during patch is installed, obtain described each server Server identification, the storage server identification of the described each server and corresponding relation of mount message.
5. method as claimed in claim 4 is it is characterised in that the service of the described each server of described storage After the corresponding relation of device mark and mount message, also include:
Receive the server identification of the server needing inquiry, according to described server identification, from server mark Know the mount message inquiring about described server in the corresponding relation with mount message, and show described server Mount message.
6. a kind of device installing patch is it is characterised in that described device includes:
Receiver module, the server configuration information sending for the server in the minds of in receiving data, described clothes Business device configuration information is used for application and installs patch;
Generation module, the server configuration information for each server according to application generates patch installation task, Described patch is installed task and is included patch time and task identification;And generate described task identification and information aggregate Corresponding relation, described information set includes the server configuration information of each server of described application;
Acquisition module, for when described patch installs the patch time arrival that task includes, according to described benefit Fourth installs the task identification corresponding information aggregate of acquisition that task includes;
Sending module, for the server configuration information according to each server in described information set to described Each server sends patch installation procedure and installation instruction, and described installation instruction is used for triggering described each server Respectively patch is installed according to described patch installation procedure.
7. device as claimed in claim 6 also includes black name it is characterised in that described patch installs task Single, described blacklist included installing the server identification of the server of patch when the described patch time;
Described generation module includes:
Acquiring unit, for receiving the patch time, according to server identification pass corresponding with scope service time System obtains the server identification of the server in the offer service of described patch time;
Common factor unit, for by the server of the server identification of each server of described application and described acquisition Mark takes common factor, and the server identification taking common factor to obtain is formed blacklist;
Component units, for distributing task identification, by described patch time, described blacklist and described task Mark composition patch installs task.
8. the device as described in claim 5 or 7 is it is characterised in that server configuration information includes logging in Account and login password;
Described sending module includes:
Removal unit, the server identification including for removal blacklist from described information set is corresponding Server configuration information, obtains installing the server configuration information of the server of patch;
Log in unit, for including logging according to the server configuration information of each server that can install patch Account and login password, log in described each server respectively;
Transmitting element, for sending patch to described each server respectively after logging in described each server success Installation procedure and installation instruction.
9. device as claimed in claim 6 is it is characterised in that described device also includes:
Memory module, sends mount message for receiving described each server during installing patch, obtains Take the server identification of described each server, the server identification of the described each server of storage and mount message Corresponding relation.
10. device as claimed in claim 9 is it is characterised in that described device also includes:
Enquiry module, for receiving the server identification of the server needing inquiry, according to described server mark Know, inquire about the mount message of described server from the corresponding relation with mount message for the server identification, and show Show the mount message of described server.
CN201510456764.6A 2015-07-29 2015-07-29 Method and device for installing patch Active CN106406921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510456764.6A CN106406921B (en) 2015-07-29 2015-07-29 Method and device for installing patch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510456764.6A CN106406921B (en) 2015-07-29 2015-07-29 Method and device for installing patch

Publications (2)

Publication Number Publication Date
CN106406921A true CN106406921A (en) 2017-02-15
CN106406921B CN106406921B (en) 2020-02-28

Family

ID=58009209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510456764.6A Active CN106406921B (en) 2015-07-29 2015-07-29 Method and device for installing patch

Country Status (1)

Country Link
CN (1) CN106406921B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786544A (en) * 2017-09-29 2018-03-09 贵州白山云科技有限公司 The task status processing method and system of a kind of message
WO2020046920A1 (en) * 2018-08-27 2020-03-05 Google Llc Adapting client application of feature phone based on experiment parameters

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838602A (en) * 2005-03-22 2006-09-27 日本电气株式会社 Server system and online software update method
CN102609281A (en) * 2012-02-24 2012-07-25 中国电子科技集团公司第十五研究所 Distributed software patch updating method and distributed software patch updating system
CN103365683A (en) * 2012-03-28 2013-10-23 国际商业机器公司 Method and system for end-to-end patch automation and integration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838602A (en) * 2005-03-22 2006-09-27 日本电气株式会社 Server system and online software update method
CN102609281A (en) * 2012-02-24 2012-07-25 中国电子科技集团公司第十五研究所 Distributed software patch updating method and distributed software patch updating system
CN103365683A (en) * 2012-03-28 2013-10-23 国际商业机器公司 Method and system for end-to-end patch automation and integration

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786544A (en) * 2017-09-29 2018-03-09 贵州白山云科技有限公司 The task status processing method and system of a kind of message
CN107786544B (en) * 2017-09-29 2018-08-17 贵州白山云科技有限公司 A kind of the task status processing method and system of message
WO2020046920A1 (en) * 2018-08-27 2020-03-05 Google Llc Adapting client application of feature phone based on experiment parameters
CN113168336A (en) * 2018-08-27 2021-07-23 谷歌有限责任公司 Client application of phone based on experiment parameter adaptation function
US11216292B2 (en) 2018-08-27 2022-01-04 Google Llc Adapting client application of feature phone based on experiment parameters

Also Published As

Publication number Publication date
CN106406921B (en) 2020-02-28

Similar Documents

Publication Publication Date Title
US10516640B2 (en) Group message updating and displaying method, apparatus, and terminal
CN104580167B (en) A kind of methods, devices and systems transmitting data
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
CN105005909A (en) Method and device for predicting lost users
CN106791892A (en) It is a kind of to take turns the live methods, devices and systems of wheat
CN106161176A (en) Cluster conversation message treatment method and device
CN104639672A (en) Method and device for domain name resolution (DNS)
CN104954402A (en) Application recommending method, system and apparatus
CN105188037A (en) Message push method, mobile terminal, and message push server
CN104135728B (en) Method for connecting network and device
CN106874077A (en) process operation method and device
CN104717341A (en) Message prompting method and terminal
CN104407804A (en) Screen capturing method and screen capturing device as well as electronic device
CN104618873A (en) Method and device for sharing access point information
CN105871694A (en) Instant messaging service processing method and device
CN106303605B (en) A kind of methods, devices and systems to send a notification message
CN104618223A (en) Information recommendation management method, device and system
CN105207880A (en) Group recommendation method and apparatus
CN107577508A (en) Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
CN103546632B (en) A kind of quarter-bell ringing method for mobile terminal, device and mobile terminal
CN103491240A (en) Alarm clock sounding method, device and mobile terminal
CN106302603A (en) The method and apparatus remotely deleting information
CN104253870A (en) Method and device for controlling data access period
CN104699501A (en) Method and device for running application program
CN104660769A (en) Method, device and system for adding contact person information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant