CN108037963A - Automatic deployment method, device and the computer-readable recording medium of device software - Google Patents
Automatic deployment method, device and the computer-readable recording medium of device software Download PDFInfo
- Publication number
- CN108037963A CN108037963A CN201711325849.6A CN201711325849A CN108037963A CN 108037963 A CN108037963 A CN 108037963A CN 201711325849 A CN201711325849 A CN 201711325849A CN 108037963 A CN108037963 A CN 108037963A
- Authority
- CN
- China
- Prior art keywords
- device software
- software
- information
- deployment
- configuration file
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of automatic deployment method of device software, the automatic deployment method of the device software comprises the following steps:The current operating conditions of connected device software are detected, and judge whether the connected device software is in abnormality based on current operating conditions;When the connected device software is in abnormality, using the connected device software as treating deployment facility software, and the corresponding target device software information of deployment facility software is treated described in obtaining;Target configuration file information is obtained based on the target device software information, by target configuration file information be issued to it is described treat deployment facility software, to treat that deployment facility software is disposed accordingly described in control.The invention also discloses the automatic deployment device and readable storage medium storing program for executing of a kind of device software.The present invention realizes the same unified management to device software, directly carries out configuration distributing to device software in control terminal, effectively raises the deployment efficiency and accuracy of device software.
Description
Technical field
The present invention relates to technical field of rail traffic, more particularly to a kind of automatic deployment method of device software, device with
And computer-readable recording medium.
Background technology
With the fast development of domestic city technology of track traffic, the length of rail line is being continuously increased so that
Involved device software is also constantly increasing, and in order to have more preferable management to the device software applied, it is existing
The solution of technology is specifically to increase more manpowers device software is managed and configured so that is needed in device software
When safeguard configuration, by manual configuration, to complete the configuration task to all devices software.
But when completing the configuration to device software by manpower, it is necessary first to staff is giveed training, and then
A device software could be configured, not only increased cost, but also carry out manual configuration also in the presence of the error configured
Problem.
The content of the invention
It is a primary object of the present invention to provide a kind of automatic deployment method of device software, device and computer-readable
Storage medium, it is intended to solve when being configured to device software, human configuration efficiency is low in the prior art and implementation cost is high
High technical problem.
To achieve the above object, the present invention provides a kind of automatic deployment method of device software, the device software from
Dynamic dispositions method comprises the following steps:
The current operating conditions of connected device software are detected, and judge the connected device based on current operating conditions
Whether software is in abnormality;
When the connected device software is in abnormality, using the connected device software as treating deployment facility
Software, and treat the corresponding target device software information of deployment facility software described in acquisition;
Target configuration file information is obtained based on the target device software information, target configuration file information is issued to
It is described to treat deployment facility software, to treat that deployment facility software is disposed accordingly described in control.
Preferably, the current operating conditions of the detection connected device software, and judge institute based on current operating conditions
Further included before stating the step of whether connected device software is in abnormality:
The corresponding device software information of device software to be connected is obtained, wherein the device software information is including at least described
The corresponding identification information of device software to be connected and corresponding link information;
Based on the link information, the control device software to be connected carries out network connection;
Based on the identification information, the corresponding profile information of device software to be connected described in acquisition, to be formed
The correspondence list of the device software to be connected and profile information.
Preferably, the current operating conditions of the detection connected device software, and judge institute based on current operating conditions
Stating the step of whether connected device software is in abnormality includes:
Detect whether the connected device software uploads current operating conditions;
If detecting the connected device software has uploaded current operating conditions, judge at the connected device software
In normal condition;
If detecting the connected device software does not upload current operating conditions, judge at the connected device software
In abnormality.
Preferably, it is described that target configuration file information is obtained based on the target device software information, to be treated described in control
Deployment facility software include the step of deployment accordingly:
Obtain the correspondence list, and based on the target device software information in the correspondence list into
Row inquiry, to obtain target configuration file information;
Based on the corresponding target configuration file of target configuration file acquisition of information, and it is issued to and described treats deployment facility
Software, to treat that deployment facility software is disposed accordingly described in control.
Preferably, it is described to obtain the correspondence list, and based on the target device software information in the correspondence
Further included after the step of being inquired about in relation list:
When there is no the target device software information in the correspondence list, then corresponding prompt message is sent.
Preferably, it is described that target configuration file information is obtained based on the target device software information, to be treated described in control
Further included after the step of deployment facility software dispose accordingly:
The operating status of deployment facility software is treated described in detection, and judges whether the operating status is normal condition;
When the operating status is normal condition, confirm to complete this time to dispose, and send corresponding prompt message.
Preferably, the automatic deployment method of the device software further includes:
Monitor whether that there are the change of connected device software;
When increasing connected device software, the corresponding newly added equipment software letter of the connected device software newly increased is obtained
Breath;
According to the newly added equipment software information, the corresponding configuration file of connected device software that is newly increased described in acquisition
Information and configuration file, and be stored in the correspondence list.
Preferably, it is described to monitor whether that there are further included afterwards the step of the change of connected device software:
When deleting connected device software, the corresponding equipment to be deleted of connected device software for obtaining the deletion is soft
Part information, and deleted from the correspondence list and set the corresponding profile information of device software information to be deleted with described
And configuration file.
In addition, to achieve the above object, the present invention also provides a kind of automatic deployment device of device software, the equipment are soft
The automatic deployment device of part includes:Memory, processor and it is stored on the memory and can runs on the processor
Automatic deployment program, the automatic deployment program realized when being performed by the processor device software as described above from
The step of dynamic dispositions method.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer-readable recording medium
Automatic deployment program is stored with storage medium, the automatic deployment program realizes as described above set when being executed by processor
The step of automatic deployment method of standby software.
A kind of automatic deployment method for device software that the embodiment of the present invention proposes, in device software operational process, leads to
The operating status of detection connected device software is crossed, and then judges whether detected device software is in abnormality, and
When institute's detection device software is in abnormality, the device software in abnormality is arranged to treat deployment facility software, so
Obtain afterwards and treat the corresponding target device software information of deployment facility software, finally obtained according to target device software information corresponding
Target configuration file information, treats that deployment facility software is disposed accordingly with control.Realize in Transit Equipment software
Management in, carry out automatic deployment, the device software deployment efficiency and deployment of raising for the equipment under abnormality
Accuracy.
Brief description of the drawings
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to terminal apparatus structure schematic diagram;
Fig. 2 is the flow diagram of one embodiment of automatic deployment method of present device software;
Fig. 3 is the flow diagram of another embodiment of automatic deployment method of present device software;
Fig. 4 is the refinement flow diagram of step S10 in Fig. 2;
Fig. 5 is the refinement flow diagram of step S30 in Fig. 2;
Fig. 6 is the sequential flow diagram of one preferred embodiment of automatic deployment method of present device software;
Fig. 7 is the frame construction drawing involved by the automatic deployment method of present device software.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet computer, E-book reader, MP3
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3)
Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound
Frequency aspect 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used for realization the connection communication between these components.
User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard
Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet
It can detect that size and the direction of gravity when only, the application available for identification mobile terminal posture is (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match somebody with somebody
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, details are not described herein.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap
Include than illustrating more or fewer components, either combine some components or different components arrangement.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe module, Subscriber Interface Module SIM and automatic deployment program.
In the terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the automatic deployment program stored in memory 1005, and perform following operation:
The current operating conditions of connected device software are detected, and judge the connected device based on current operating conditions
Whether software is in abnormality;
When the connected device software is in abnormality, using the connected device software as treating deployment facility
Software, and treat the corresponding target device software information of deployment facility software described in acquisition;
Target configuration file information is obtained based on the target device software information, target configuration file information is issued to
It is described to treat deployment facility software, to treat that deployment facility software is disposed accordingly described in control.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
The corresponding device software information of device software to be connected is obtained, wherein the device software information is including at least described
The corresponding identification information of device software to be connected and corresponding link information;
Based on the link information, the control device software to be connected carries out network connection;
Based on the identification information, the corresponding profile information of device software to be connected described in acquisition, to be formed
The correspondence list of the device software to be connected and profile information.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
Detect whether the connected device software uploads current operating conditions;
If detecting the connected device software has uploaded current operating conditions, judge at the connected device software
In normal condition;
If detecting the connected device software does not upload current operating conditions, judge at the connected device software
In abnormality.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
Obtain the correspondence list, and based on the target device software information in the correspondence list into
Row inquiry, to obtain target configuration file information;
Based on the corresponding target configuration file of target configuration file acquisition of information, and it is issued to and described treats deployment facility
Software, to treat that deployment facility software is disposed accordingly described in control.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
When there is no the target device software information in the correspondence list, then corresponding prompt message is sent.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
The operating status of deployment facility software is treated described in detection, and judges whether the operating status is normal condition;
When the operating status is normal condition, confirm to complete this time to dispose, and send corresponding prompt message.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
Monitor whether that there are the change of connected device software;
When increasing connected device software, the corresponding newly added equipment software letter of the connected device software newly increased is obtained
Breath;
According to the newly added equipment software information, the corresponding configuration file of connected device software that is newly increased described in acquisition
Information and configuration file, and be stored in the correspondence list.
Further, processor 1001 can call the automatic deployment program stored in memory 1005, also perform following
Operation:
When deleting connected device software, the corresponding equipment to be deleted of connected device software for obtaining the deletion is soft
Part information, and deleted in the correspondence list with it is described set the corresponding profile information of device software information to be deleted with
And configuration file.
With reference to Fig. 2, Fig. 2 is the flow diagram of one embodiment of automatic deployment method of present device software, described to set
The automatic deployment method of standby software includes:
Whether step S10, detects the current operating conditions of connected device, and judge the connected device in abnormal
State;
In the present embodiment, by detecting the current operating conditions of connected device software, and then judge that is detected has connected
Connect whether device software is in abnormality.Specifically, in track traffic administration, carried out maintenance management required for administrative staff
Device software quantity it is larger, for management that can be more convenient, run all equipment and in equipment soft
Part is attached with control terminal, and the equipment that the Detection & Controling end of timing is attached during device software is run is soft
The operating status of part, then sentences according to the working status of device software of the detected operating status to being connected
It is disconnected, and conventional judgment mode can be whether that the operation shape of institute's detection device software upload can be received when being detected
State information, can also be and can be obtained in time in the operating status for institute's detection device software, at this time by acquired operation
Status information compare to determine if to be in normal condition with normal status information.Further, it is above-mentioned refer to determine
When detection set-up mode it is unlimited, such as set at interval of 10 seconds detection once, except the detection device at having time interval is soft
The operating status of part, can also be real-time detection, and the actual operating state of Main Basiss track traffic management is set.
Step S20, when the connected device is in abnormality, using the connected device as treating that deployment sets
It is standby, and treat the corresponding target device information of deployment facility described in acquisition;
In the present embodiment, when the device software detected is in abnormality, the device software detected is arranged to
Treat deployment facility software, then obtain the target device software information treated corresponding to deployment facility software, target herein is pin
For treated deployment facility software, that is, for treating that the corresponding device software information of deployment facility software is referred to as mesh
Marking device software information, wherein, device software information includes at least identification information, the device software class for needing deployment facility software
Type and present position etc..Each has its corresponding device software information respectively with the device software that control terminal is attached,
In order to accurate control device software, device software is carried out maintenance management, and is needing to configure device software
, can also be complicated in problem so that being difficult to solve in control terminal except corresponding configuration file can be issued in control terminal when safeguarding
When certainly, the location of device software can be accurately known, so that staff can be promptly and accurately into safeguarding under line.
Step S30, obtains target configuration file information, by under target configuration file information based on the target device information
Deployment facility software is treated described in being sent to, to treat that deployment facility is disposed accordingly described in control.
In the present embodiment, obtaining after the target device software information of deployment facility software, according to acquired mesh
Marking device software information obtains corresponding profile information, and then obtains corresponding configuration file and treat deployment facility to control
Software carries out corresponding deployment operation.Specifically, a device software configuration is stored with the corresponding memory space of control terminal
The inquiry list of fileinfo, and corresponding configuration file is stored with, it is stored with what is be attached with control terminal in this list
The correspondence of all devices software and profile information, so that the accurately inquiry phase after target device software information is obtained
The profile information and corresponding configuration file answered.
In the present embodiment, in device software operational process, the operating status of the detection connected device software of timing,
And judge whether detected device software is in abnormality, when in abnormality, by the device software of abnormality
It is arranged to treat deployment facility software, then obtains and treat the corresponding target device software information of deployment facility software, finally according to mesh
Marking device software information obtains corresponding target configuration file information, treats that deployment facility software is disposed accordingly with control.
Realize in the management of Transit Equipment software, carry out automatic deployment for the device software under abnormality, carry
High device software deployment efficiency and the accuracy of deployment.
Further, with reference to Fig. 3, Fig. 3 is that the flow of another embodiment of automatic deployment method of present device software is shown
It is intended to.
Step S40, obtains the corresponding facility information of device software to be connected, wherein the device software information includes at least
The corresponding identification information of device software to be connected and corresponding link information;
Step S50, based on the link information, the control device software to be connected carries out network connection.
Step S60, based on the identification information, the corresponding configuration file letter of device software to be connected described in acquisition
Breath, with the correspondence list of device software to be connected described in formation and profile information.
In the present embodiment, be attached for needs but and not connected device software, obtain device software pair to be connected
The device software information answered, wherein acquired device software information includes at least the corresponding identification information of device software to be connected
And corresponding link information, then it is attached according to corresponding link information with control terminal, and it is soft based on equipment to be connected
The identification information of part, obtains profile information corresponding with this device software, to obtain correspondence list, wherein corresponding close
Device software and profile information are stored with series of tables, and forms one-to-one relation.
In the present embodiment, the link information in device software information complete device software to be connected and control terminal it
Between connection, wherein, link information includes at least PORT COM, with will device software and control terminal be connected according to PORT COM
It is attached.During the management of actual Transit Equipment software, the device software being managed has many,
And can also be different there are route, the factors such as device software type is different so that when being attached it needs to be determined that this sets
The standby corresponding connectivity port of software, and then the different connections completed to all devices software based on PORT COM.
For the ease of staff configuration distributing can be carried out to the device software software that is connected in control terminal, therefore
When all devices software and control terminal are attached, in control terminal by the profile information for the device software being attached
Stored, wherein different device softwares correspond to different profile informations, accomplish to correspond, for example pair can be set
Standby software and profile information are numbered, shown in table 1 specific as follows:
Table 1
Wherein, device software 1 correspond to this " profile information 1 ", its corresponding configuration file for " configuration file 1 ", with
Exemplified by device software software upgrading, such as when upgrading to device software 1, then placed in the corresponding upgrade file of control terminal
" in configuration file 1 ", 1 corresponding software of device software is in low configuration phase, it is necessary to carry out upgrading processing to it at this time,
Therefore when needing to carry out upgrading processing to device software 1, i.e., when device software 1 occurs abnormal, " the institute of configuration file 1 " is obtained
Corresponding configuration file, and device software 1 is issued to, to complete the configuration to device software 1, that is, complete upgrading.Except
Device software information is corresponded with configuration file, the device software for belonging to same device software type can also be made
For a classification, such as, device software 1 and device software 2 are type A, and device software 3 is type B, device software 4 and equipment
Software 5 is Type C, when needing the configuration file to device software 1 to carry out upgrading processing, it is necessary to which upgrading configuration is placed
In " in configuration file 1 ", can quickly and accurately being searched according to the device software information of device software 1 at this time, to find
Target location, i.e., determine that device software 1 belongs to type A, is then searched in the device software in type A, to look for first
To device software 1., can be according to the corresponding device software of the device software when will equally detect that a certain device software occurs abnormal
Information accurately finds corresponding configuration file, to complete the configuration to the device software.
Except classifying in the manner described above to device software, the actual geographic position residing for device software is also based on
Put, in track transportation industry, involved device software also has certain position difference to a certain extent, such as can be with
According to the different to being distinguished to device software of station, such as device software 1 and device software 3 belong to station 1, device software
2nd, device software 4 and device software 5 belong to station 2, then can management when enhanced convenience, can not if there is control terminal
When solving the problems, such as, the location of device software and corresponding device software information can be accurately known.
In the present embodiment, before corresponding device software and control terminal are attached, deposited accordingly in control terminal
Storage stores corresponding relation list in space, and connected device software is wherein store in relation list and is believed with corresponding configuration file
Breath so that when device software runs appearance exception, corresponding configuration file can be fast and accurately found, to complete to exception
The configuration distributing processing of device software.
Further, with reference to Fig. 4, Fig. 4 is the refinement flow diagram of step S10 in Fig. 2.
Step S101, detects whether the connected device software uploads current operating conditions;
Step S102, if detecting the connected device software has uploaded current operating conditions, has connected described in judgement
Device software is in normal condition;
Step S103, if detecting the connected device software does not upload current operating conditions, has connected described in judgement
Device software is in abnormality.
In the present embodiment, when detecting the current operating conditions of connected device software, according to the connection detected
Whether equipment uploads current operating conditions to judge that detected connected device is in normal condition or abnormality.Tool
Body, when being connected by control terminal with each device software, device software is attached with control terminal by network, and to each
When device software is detected, when the network connection for determining each device software and control terminal is normal, device software and control terminal
Communication connection be in normal condition, when connected device running software is normal, the operating status of the device software can controlled
End processed can obtain in time when being detected, but when device software runs appearance exception, just can't detect device software and sent out
The running state information gone out, and then when judging whether device software is in abnormality, can according to whether can be when detecting
The running state information of institute's detection device software is obtained in time.
Further, can also be according to following manner, if no matter equipment when judging whether device software is in abnormality
Whether software is in abnormality, and control terminal can obtain the running state information of institute's detection device software when detecting, at this time
A running state information list can be increased in control terminal, be in corresponding when normal condition is run to store each device software
Normal state information, can be specifically corresponding text log information, and then in the operating status for detecting each device software
When, contrasted based on acquired running state information with corresponding normal state information, it is soft with the equipment for determining detected
Whether part is in normal operating condition.
For the above-mentioned judgment mode referred to, in the present embodiment preferably the first, i.e., according to whether equipment can be detected
The operating status of software determines that it is up state or abnormal operating condition.
Further, with reference to Fig. 5, Fig. 5 is the refinement flow diagram of step S30 in Fig. 2.
Step S301, obtains the correspondence list, and based on the target device software information in the corresponding pass
It is to be inquired about in class table, to obtain target configuration file information;
Step S302, corresponding target configuration file is obtained based on the profile information, and is issued to and described is treated portion
Device software is affixed one's name to, to treat that deployment facility software is disposed accordingly described in control.
In the present embodiment, obtaining after the corresponding target device software information of deployment facility software, from correspondence
The corresponding profile information of target device software information is inquired about in list, and phase is obtained based on obtained profile information
The configuration file answered, and then configuration file is issued, treat that deployment facility software completes corresponding deployment with control.Specifically
Ground, if if shown in correspondence list table 1, when device software 2, which is shown, in target device software information is in abnormality,
I.e. display device software 2 is in abnormal, then is inquired about in correspondence list is inquired about, obtained target configuration file information
For " configuration file 2 ", and then after corresponding configuration file is obtained, you can device software 2 is directly issued to, with completion pair
The configuration of device software 2.
Further, if not inquired in correspondence list and the corresponding information of target device software information
When, then send corresponding prompt message.Specifically, during actual management, may be controlled in device software software
Configuration file is not stored in corresponding memory by end in time so that when device software is in abnormality, is failed to
Corresponding configuration file is timely obtained, then sends corresponding prompt message in control terminal at this time, to inform staff, tool
It can be to carry out text prompt on the corresponding display interface of control terminal body, can also be and send corresponding voice messaging.
Further, after corresponding configuration file to corresponding device software is issued, detect the device software and configuring
Operating status after file deployment completion, and judge whether it is in normal condition, and determined in detection at the device software
When normal condition, in control terminal show and prompt accordingly, and then complete the deployment to the device software.
Further, when control terminal is controlled management to connected device software, when the increase for carrying out device software
And when deleting, based on increase or the corresponding device software information of device software deleted, increase or delete corresponding in control terminal
Information, such as, with table 1 for correspondence list, if desired carry out device software replacement, then moved at this time by device software 1
Except afterwards, by the corresponding " profile information 1 " and " configuration file 1 " is deleted of device software 1 in correspondence list
Remove, and when increasing new equipment software 1,1 corresponding relevant information of new equipment software is stored in correspondence list, with shape
The configuration file of Cheng Xin, and new equipment software 1 is completed to configure based on new configuration file.
Further, in order to aid in understanding the automatic deployment method of present device software, one is provided herein and is preferably implemented
Example, referring in particular to Fig. 6, Fig. 6 is the sequential flow diagram of one preferred embodiment of automatic deployment method of present device software,
Wherein, the connection mode of different blocks is as shown in fig. 7, Fig. 7 is the frame involved by the automatic deployment method of present device software
Frame structure chart.
The automatic deployment method of the device software includes:
1st, configuration of IP, and at the end of configuration complete device software startup;
2nd, query facility state is detected, and when inquiring about failure, the corresponding IP information of query facility;
3rd, the reception request of deployment request and receiving device return is sent;
4th, deployment information, equipment reporting equipment state after deployment success is configured are sent;
5th, when the success of query facility state, confirm that completing this deployed with devices completes.
Specifically, when equipment is completed to install, when being configured to device software, communication service is passed through by control centre
The status information for the device software that equipment uploads is obtained, when inquiring about failure, by sending corresponding deployment request to equipment, and
Corresponding deployment information is issued after deployment is received, deployment result is inquired about finally by communication service, and then is inquiring about
Whole deployment process is completed during success.
The present invention also provides a kind of automatic deployment device of device software.
The automatic deployment device of device software provided by the present invention includes:Memory, processor and it is stored in described deposit
On reservoir and the automatic deployment program that can run on the processor, when the automatic deployment program is performed by the processor
The step of realizing the automatic deployment method of device software as described above.
Wherein, the automatic deployment program run on the processor is performed realized method and can refer to the present invention
The each embodiment of automatic deployment method of device software, details are not described herein.
In addition the embodiment of the present invention also proposes a kind of computer-readable recording medium.
Automatic deployment program is stored with computer-readable recording medium of the present invention, the automatic deployment program is by processor
The step of automatic deployment method of device software as described above is realized during execution.
Wherein, the automatic deployment program run on the processor is performed realized method and can refer to the present invention
The each embodiment of automatic deployment method of device software, details are not described herein.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. automatic deployment method of device software, it is characterised in that the automatic deployment method of the device software include with Lower step:The current operating conditions of connected device software are detected, and judge the connected device software based on current operating conditions Whether abnormality is in;When the connected device software is in abnormality, using the connected device software as treating that deployment facility is soft Part, and treat the corresponding target device software information of deployment facility software described in acquisition;Target configuration file information is obtained based on the target device software information, target configuration file information is issued to described Deployment facility software is treated, to treat that deployment facility software is disposed accordingly described in control.
- 2. the automatic deployment method of device software as claimed in claim 1, it is characterised in that the detection connected device is soft The current operating conditions of part, and judge whether the connected device software is in the step of abnormality based on current operating conditions Further included before rapid:The corresponding device software information of device software to be connected is obtained, wherein the device software information includes at least the company for the treatment of Connect the corresponding identification information of device software and corresponding link information;Based on the link information, the control device software to be connected carries out network connection;Based on the identification information, the corresponding profile information of device software to be connected described in acquisition, with described in formation The correspondence list of device software to be connected and profile information.
- 3. the automatic deployment method of device software as claimed in claim 2, it is characterised in that the detection connected device is soft The current operating conditions of part, and judge whether the connected device software is in the step of abnormality based on current operating conditions Suddenly include:Detect whether the connected device software uploads current operating conditions;If detecting the connected device software has uploaded current operating conditions, judge that the connected device software is in just Normal state;If detecting the connected device software does not upload current operating conditions, judge that the connected device software is in different Normal state.
- 4. the automatic deployment method of device software as claimed in claim 3, it is characterised in that described to be based on the target device Software information obtains target configuration file information, to treat that the step of deployment facility software is carried out and disposed accordingly is wrapped described in control Include:The correspondence list is obtained, and is looked into based on the target device software information in the correspondence list Ask, to obtain target configuration file information;Based on the corresponding target configuration file of target configuration file acquisition of information, and it is issued to and described treats that deployment facility is soft Part, to treat that deployment facility software is disposed accordingly described in control.
- 5. the automatic deployment method of device software as claimed in claim 4, it is characterised in that described to obtain the correspondence List, and the step of inquired about based on the target device software information in the correspondence list after further include:When there is no the target device software information in the correspondence list, then corresponding prompt message is sent.
- 6. the automatic deployment method of device software as claimed in claim 1 or 2, it is characterised in that described to be based on the target Device software acquisition of information target configuration file information, to treat the step of deployment facility software is disposed accordingly described in control Further include afterwards:The operating status of deployment facility software is treated described in detection, and judges whether the operating status is normal condition;When the operating status is normal condition, confirm to complete this time to dispose, and send corresponding prompt message.
- 7. the automatic deployment method of device software as claimed in claim 2, it is characterised in that the automatic portion of the device software Arranging method further includes:Monitor whether that there are the change of connected device software;When increasing connected device software, the corresponding newly added equipment software information of the connected device software newly increased is obtained;According to the newly added equipment software information, the corresponding profile information of connected device software that is newly increased described in acquisition And configuration file, and be stored in the correspondence list.
- 8. the automatic deployment method of device software as claimed in claim 7, it is characterised in that it is described monitor whether exist connected Further included after the step of connecing the change of device software:When deleting connected device software, the corresponding device software letter to be deleted of connected device software of the deletion is obtained Breath, and delete from the correspondence list with it is described set the corresponding profile information of device software information to be deleted and Configuration file.
- 9. the automatic deployment device of a kind of device software, it is characterised in that the automatic deployment device of the device software includes:Deposit Reservoir, processor and the automatic deployment program that can be run on the memory and on the processor is stored in, it is described automatic The automatic deployment such as device software described in any item of the claim 1 to 8 is realized when deployment program is performed by the processor The step of method.
- 10. a kind of computer-readable recording medium, it is characterised in that automatic portion is stored with the computer-readable recording medium Program is affixed one's name to, such as device software described in any item of the claim 1 to 8 is realized when the automatic deployment program is executed by processor Automatic deployment method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325849.6A CN108037963A (en) | 2017-12-12 | 2017-12-12 | Automatic deployment method, device and the computer-readable recording medium of device software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325849.6A CN108037963A (en) | 2017-12-12 | 2017-12-12 | Automatic deployment method, device and the computer-readable recording medium of device software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108037963A true CN108037963A (en) | 2018-05-15 |
Family
ID=62102967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711325849.6A Pending CN108037963A (en) | 2017-12-12 | 2017-12-12 | Automatic deployment method, device and the computer-readable recording medium of device software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108037963A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113970911A (en) * | 2021-10-29 | 2022-01-25 | 深圳供电局有限公司 | A system and method for monitoring equipment operation |
CN114363163A (en) * | 2021-12-09 | 2022-04-15 | 北京六方云信息技术有限公司 | HTTPS-based device deployment method, system, device and medium |
CN115102860A (en) * | 2022-08-24 | 2022-09-23 | 广东电网有限责任公司广州供电局 | Power Internet of things application issuing and deploying method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1346089A (en) * | 2000-09-26 | 2002-04-24 | 华为技术有限公司 | Intelligent upgrade method, system and device |
CN101094229A (en) * | 2007-07-24 | 2007-12-26 | 深圳市融合视讯科技有限公司 | Increment upgrading system and method for networked application programs |
CN101840234A (en) * | 2010-05-13 | 2010-09-22 | 深圳市元征软件开发有限公司 | Embedded automobile fault diagnosis equipment and updating method thereof |
CN107193578A (en) * | 2016-03-14 | 2017-09-22 | 丰田自动车株式会社 | For motor vehicle software management system, management server and vehicle |
-
2017
- 2017-12-12 CN CN201711325849.6A patent/CN108037963A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1346089A (en) * | 2000-09-26 | 2002-04-24 | 华为技术有限公司 | Intelligent upgrade method, system and device |
CN101094229A (en) * | 2007-07-24 | 2007-12-26 | 深圳市融合视讯科技有限公司 | Increment upgrading system and method for networked application programs |
CN101840234A (en) * | 2010-05-13 | 2010-09-22 | 深圳市元征软件开发有限公司 | Embedded automobile fault diagnosis equipment and updating method thereof |
CN107193578A (en) * | 2016-03-14 | 2017-09-22 | 丰田自动车株式会社 | For motor vehicle software management system, management server and vehicle |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113970911A (en) * | 2021-10-29 | 2022-01-25 | 深圳供电局有限公司 | A system and method for monitoring equipment operation |
CN114363163A (en) * | 2021-12-09 | 2022-04-15 | 北京六方云信息技术有限公司 | HTTPS-based device deployment method, system, device and medium |
CN115102860A (en) * | 2022-08-24 | 2022-09-23 | 广东电网有限责任公司广州供电局 | Power Internet of things application issuing and deploying method and system |
CN115102860B (en) * | 2022-08-24 | 2022-11-22 | 广东电网有限责任公司广州供电局 | Power Internet of things application issuing deployment method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104822090B (en) | The methods, devices and systems of video playback | |
CN107330035A (en) | Operation Log synchronous method, mobile terminal and computer-readable recording medium in a kind of database | |
CN109656827B (en) | Control tree generation method and terminal equipment | |
CN108899082A (en) | Maintenance service management method, system, terminal and computer readable storage medium | |
CN110831109B (en) | Network selection method, terminal, network indication method and network side equipment | |
CN107908487A (en) | Task control management method, device, equipment and computer-readable recording medium | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
WO2015027849A1 (en) | Methods, devices, and systems for correlating terminals | |
CN104580177B (en) | Resource provider method, device and system | |
CN106714274B (en) | access point connection method and device | |
CN108519886A (en) | A kind of APK application installation packages configuration method, server, system and storage medium | |
CN108228230A (en) | Upgrade method, terminal and the computer readable storage medium of UFS firmwares | |
CN108037963A (en) | Automatic deployment method, device and the computer-readable recording medium of device software | |
CN103310009A (en) | Method, device and terminal for updating webpage data | |
CN109922078A (en) | Upgrade control method, mobile terminal and computer readable storage medium | |
CN108549826A (en) | Method of calibration, terminal, server and the readable storage medium storing program for executing of application program | |
CN110475386A (en) | A kind of carrying configuration method, terminal and the network equipment of RRC connection reconstruction | |
CN107423099B (en) | Key code programming method, server, terminal, key code programming system and storage medium | |
CN106293738A (en) | The update method of a kind of facial expression image and device | |
CN108268232B (en) | Picture display method, device, system and storage medium | |
CN104363590A (en) | Access point connection method and device | |
CN105246075A (en) | Access point connecting method and device | |
CN106708553A (en) | Identifier generation method, device and system | |
CN115952096A (en) | Fault detection method, device, equipment and medium of data center software system | |
CN106878153A (en) | A kind of message sharing method and device and mobile terminal, server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |