CN106936859A - A kind of Cloud Server policy deployment system and method - Google Patents
A kind of Cloud Server policy deployment system and method Download PDFInfo
- Publication number
- CN106936859A CN106936859A CN201511005590.8A CN201511005590A CN106936859A CN 106936859 A CN106936859 A CN 106936859A CN 201511005590 A CN201511005590 A CN 201511005590A CN 106936859 A CN106936859 A CN 106936859A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- task
- cloud server
- submodule
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of Cloud Server policy deployment system and method, the system includes:Terminal device, for the log information of acquisition terminal equipment;Cloud Server, it passes through network connection to terminal device, and for the log information of receiving terminal apparatus, and storage and analysis log information process policy distribution to terminal device with by corresponding.The beneficial effect of the invention is:The long-term Data Collection substantial amounts of data of generation can carry out the big data mining analysis of various dimensions with combination product information, industry data, customer information;Long-range monitoring and early warning management, can greatly enhance the operation stability of product, and failure predication treatment can be effectively prevented from the occurrence probability of some incipient faults.
Description
Technical field
The present invention relates to communication technical field, more specifically to a kind of Cloud Server policy deployment system
And method.
Background technology
Currently, " reindustrialization " agitation in the U.S., " industry 4.0 " of Germany and " interconnection factory " strategy, day
The manufacturing industry transition of Han Deng states and the strategy and policy of Chinese intelligence manufacture 2025, show that conventionally manufactured industry will
Direction towards intelligent, networking is developed.Intelligent industrial-control equipment is the core of intelligent plant and "smart" products
Heart equipment, cloud platform is the core of informatization and network;At present, intelligent industrial-control equipment lacks network management,
The combination of cloud platform and intelligent industrial-control equipment will be the developing direction of industry control industry.
Industrial control equipment is applied in the varying environment of the industries such as track traffic, industrial automation, and for example track is handed over
Current industry, some industrial control equipments are used to Signalized control, shooting etc. of breaking rules and regulations, and this equipment is often erected at
Open-air atmosphere, does not have the good condition in building environment, in the high-temperature systems stabilization that high-temperature zone needs to face
Property test, low temperature environment similarly will face the low temperature environment stability of a system test.In industrial automation
In industry, industrial control equipment is frequently used in some production lines, it is necessary to face electricity when live plurality of devices works
The problems such as magnetic disturbance, stability requirement in the mechanism that mechanical oscillation bring.With the development of Internet of Things industry,
To the monitoring of industrial control equipment operation, it is necessary to data are analyzed by the sensing data of collecting device, set up
The more equipment operational factor of high efficient and reliable.
With the development and growth of company, corporate client group increases constantly, and sector application is also constantly rich
Richness, applied environment becomes more complicated variation.Our industrial control product is often applied in complex industrial environment
In, the variation of environment seriously tests the operation safety and stability of product.Some products are at other
Show excellent in sector application, but show not fully up to expectations in a certain special applied environment.As this is multiple
Miscellaneous changeable applied environment, in the urgent need to carrying out statistical analysis to the hardware data in complex environment running status,
Preferably to optimize product, and sales force is instructed more to agree with the product of applied environment to lead referral
Product.Reduce product and sell later maintenance cost.This programme main purpose realize the intelligent of industrial control equipment and
Some of network management, collection statistics industrial control equipment mainboard data, and main board system running environment are crucial
Data.Such pen data, is all abundant wealth resource for design and sale.
One of prior art, grinds the innovative remote device management softwares of magnificent SUSIAccess:
SUSIAccess is absorbed in all embedded devices of monitoring;Its collecting device status data, then will
Its record is in instrument board or form.When system fault, it will be automatic by ejecting warning or E-mail
Notify system manager.If there is serious systemic breakdown, it will restart automatically and operational diagnostics and system are extensive
Multiple step.If necessary, configuration software is updated or file updates, or even can be with capture screen helping
Diagnosis problem.SUSI Access differ primarily in that active acquisition state data simultaneously with other competing products
Automatic alarm.SUSI Access not only active detecting embedded devices, are also stored in service by related data
Assessment is used after being provided with device.Backup or recovery can be carried out with the help of eSOS utility programs.Additionally
Urgent OS programs are saved in ftp server or hidden partition, so as to finally eliminate all of user
It is worried.Recovery button is clicked on manually, and SUSI Access can start remote recovery function to recover whole system
System.These remote operations greatly reduce on-site maintenance work and reduces cost.
But, SUSIAccess is primarily present following shortcoming:
1st, gathered data and state make tentative repair action in addition to auto-alarm function, not.
2nd, processing is not analyzed to gathered data, failure predication result is produced.
3rd, do not have data analysis processing, with reference to design, produce design guidance rule.
4th, do not possess device client relation track meaning.
5th, do not possess customer relationship sector application data statistic analysis, produce product, industry, sale multidimensional
The empirical data of one.
Two, the AdlinkSema Cloud systems of prior art:
Under the trend that Internet of Things (IoT) occurs and flourishes, make current intelligent transfer layer product
Further possess excellent remote management technologies.With Cloud Server and M2M (Machine To Machine) frame
SEMA Cloud solutions and embedded device based on structure, can be directly without other additional designs
Connect cloud.
SEMA Cloud provide the collection of equipment its data and cloud client application in interior a whole set of architecture,
And including storing and processing Cloud Server function and remote monitoring and configuration all devices in related data
Application software.
SEMA Cloud assign user can reach remote monitoring power supply unit in voltage supply, system
The collection of cpu temperature and radiating fan rotation speed and other significant datas and analysis, whether decision-making system whereby
Whether place under normal operating condition, and needs to take prevention to interrupt the powers such as service measures.
SEMA provide status alarm setting and event real time alarm function, can allow user to system voltage,
Various data creation alarm critical values such as cpu temperature, rotation speed of the fan.Because the critical value storage for setting exists
Client, may achieve the reaction speed of near real-time.Once exceeding any user-defined limit value, system is
Short message or e-mail alert are sent, or even can be set and taken the direct measure for preventing the system failure.It is this pre-
The alert ability of maintenance is only the key core value that SEMA Cloud surmount existing remote management technologies.Compare it
The product function of his producer compares, as long as being solved by equipment is turned back on or reconfigured by system exception.
SEMA Cloud also provide remote diagnosis and troubleshooting function, can allow user or operator long-range
Need not leave to by field apparatus, you can timely repair system.System or such as barrier shutdown for some reason of any module,
BMC circuits still can work, and can carry generation problem for failure cause and collect and problem report analysis,
Can quickly allow related system personnel to complete problem to mediate and analysis.
By these powerful functions, help to prevent in advance or be greatly lowered system breakdown time risk,
Reduce site operation personnel workload and related manpower demand, so as to improve total system reliability and reduce
Maintenance cost.Especially in traffic management and monitoring or city safety monitoring etc., it is necessary to dispose a large amount of controls
Device and related interface devices are in the large scale system of broad spectrum, and whole possessing cost TCO benefits are especially bright
It is aobvious.
And AdlinkSema Cloud systems have the following disadvantages:
1st, do not have data analysis processing, with reference to design, produce design guidance rule.
2nd, do not possess device client relation track meaning.
3rd, do not possess customer relationship sector application data statistic analysis, produce product, industry, sale multidimensional
The empirical data of one.
The content of the invention
The technical problem to be solved in the present invention is, for Data Collection generation that in the prior art cannot be long-term
The big data that substantial amounts of data can carry out various dimensions with combination product information, industry data, customer information is excavated
Analysis, a kind of long-range monitoring and early warning defect that the unsound internal governance, there is provided Cloud Server policy deployment system
System and method.
The technical solution adopted for the present invention to solve the technical problems is:
Construct a kind of Cloud Server policy deployment system, including terminal device and Cloud Server;
The terminal device, for the log information of acquisition terminal equipment;
The Cloud Server, it passes through network connection to the terminal device, for receiving the terminal
The log information of equipment, and store and analyze the log information with by corresponding treatment policy distribution to described
Terminal device;The terminal device response treatment strategy simultaneously performs corresponding first task;
Wherein, the Cloud Server includes:
Data memory module, for storing received data file;
Event processing module, the log information for being uploaded to the terminal device carry out classification and/
Or format storage;
Policy management module, for processing strategy according to the terminal device and log information generation are described,
So that the terminal device performs the first task;
WEB modules, for the treatment strategy to be shown in into WEB interface;
Server com-munication module, for being communicated to connect with the terminal device by network.
In Cloud Server policy deployment system of the present invention, the terminal device includes:
Hardware monitoring module, for monitored according to the first task fan of the terminal device, disk,
The situation of internal memory, voltage, CPU and switching on and shutting down;
System-monitoring module, for monitored according to the first task terminal device system exception event,
File system event, system software running status and user management state;
Activation bit module, the hardware device list for checking the terminal device according to the first task
And hardware asset information, detect hardware driving information;
System information block, for obtained according to the first task terminal device SN information and
The version information of current operation system, and detect the licensing status of the current operation system;
Terminal communication module, for being communicated to connect with the Cloud Server by network.
In Cloud Server policy deployment system of the present invention, the hardware monitoring module includes:
Fan monitoring submodule, the current state of fan for reading the terminal device and rotating speed, foundation
The first task adjusts the rotating speed;
Disk monitoring submodule, the disk for obtaining the terminal device according to the first task is current
Pressure,volume and temperature;
Internal memory monitoring submodule, the internal memory for obtaining the terminal device according to the first task is current
Capacity, temperature and utilization rate;
Voltage monitoring submodule, the voltage condition for obtaining the terminal device according to the first task;
Cpu monitor submodule, the CPU for obtaining the terminal device according to the first task is current
Temperature and frequency;
Switching on and shutting down monitoring submodule, the switching on and shutting down shape for monitoring the terminal device according to the first task
State.
In Cloud Server policy deployment system of the present invention, the system-monitoring module includes:
System exception event submodule, the operation for checking the terminal device according to the first task is steady
It is qualitative with the presence or absence of exception;
File system event submodule, for checking the foundation of file according to the first task, changes and deletes
Except information;
System software running status submodule, for detecting the terminal device according to the first task
Application software whether be active;
User management submodule, the login of the account for managing the terminal device according to the first task
And exit.
In Cloud Server policy deployment system of the present invention, the activation bit module includes:
Hardware device list submodule, for checking that the terminal device is currently installed on according to the first task
Hardware device;
Hardware driving message sub-module, for detecting that the terminal device is currently installed on according to the first task
Hardware device drivers it is whether normal, and drive whether version needs to update;
Hardware asset information submodule, the hardware for detecting the terminal device according to the first task is provided
Source information.
In Cloud Server policy deployment system of the present invention, the system information block includes:
System version submodule, believes for obtaining the current version of the terminal device according to the first task
Breath;
Licensing status submodule, for judging the current operation system of the terminal device according to the first task
Whether system is legal;
SN message sub-modules, the SN information for uploading the terminal device itself to the Cloud Server.
In Cloud Server policy deployment system of the present invention, the data memory module includes:
Concurrent submodule, for being communicated with the terminal device by ftp file transfer protocol
Detection sub-module, for being detected to the Cloud Server by UNIX IPC mechanisms;
Database subsystem module, for being stored to data using MySQL database;
File system submodule, for carrying out file storage according to ext file system.
In Cloud Server policy deployment system of the present invention, the event processing module includes:
System event submodule, for obtaining the time in the log information, type and event source, to institute
The event in log information is stated to be classified, stored and processed;
File event submodule, for monitoring the file in the terminal device, the file is classified,
Storage and treatment.
In Cloud Server policy deployment system of the present invention, also include:
User terminal, it passes through network connection to the Cloud Server, for accessing the Cloud Server, checks
The log information and the treatment strategy, and send control command to the terminal by the Cloud Server
Apparatus;The terminal device performs corresponding second task after receiving the control command.
On the other hand, there is provided a kind of Cloud Server policy deployment method, there is provided Cloud Server plan as described above
Deployment system is omited, including:
The log information of terminal device acquisition terminal equipment;
The log information of the terminal device that terminal device described in cloud server is gathered, and store and
Analyze the log information and process policy distribution to the terminal device with by corresponding;
The terminal device response treatment strategy simultaneously performs corresponding first task;
Wherein, the received data file of data memory module storage;
Event processing module is classified and/or form to the log information that the terminal device is uploaded
Change storage;
Policy management module is tactful according to the terminal device and the log information generation treatment, so that
The terminal device performs the first task;
Be shown in the treatment strategy in WEB interface by WEB modules.
A kind of Cloud Server policy deployment system and method disclosed above has the advantages that:Receive in real time
Collect the running status of terminal data and analyze storage;The long-term Data Collection substantial amounts of data of generation can be combined
Product information, industry data, customer information carry out the big data mining analysis of various dimensions, produce directive significance
Design data, sales data, industry data etc.;Long-range monitoring and early warning management, can greatly enhance product
The operation stability of product, and failure predication treatment can be effectively prevented from the occurrence probability of some incipient faults.
Brief description of the drawings
A kind of structural representation of Cloud Server policy deployment system that Fig. 1 is provided for the present invention;
The schematic block diagram that Fig. 2 is connected for the terminal device for providing of the invention with Cloud Server;
The workflow diagram of the terminal device that Fig. 3 is provided for the present invention;
The structured flowchart of the data memory module that Fig. 4 is provided for the present invention;
The E-R figures of the tables of data that Fig. 5 is provided for the present invention;
The WEB Organization Charts that Fig. 6 is provided for the present invention;
A kind of flow chart of Cloud Server policy deployment method that Fig. 7 is provided for the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing and reality
Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
It is used to explain the present invention, is not intended to limit the present invention.
A kind of Cloud Server policy deployment system 100 and method that the present invention is provided, it is intended that monitoring
Hardware running status, and the failure predication of directive significance is made according to service data, the action such as reparation.To length
The Data Collection of phase and the mass data that produces is analyzed processing, with reference to key parameter in design of hardware and software,
Generation possesses the key index of design guidance meaning.Set up the associated data system of product, client, application industry
Meter relation, generation can instruct sale to recommend more suitable product data to specific user.
Referring to Fig. 1, Fig. 1 shows for a kind of structure of Cloud Server policy deployment system 100 that the present invention is provided
It is intended to, the Cloud Server policy deployment system 100 includes terminal device 1, Cloud Server 2 and user
Hold 3 three parts, there is provided whole Cloud Server policy deployment system solve the problems, such as system networking manage.
Terminal device 1, for the log information of acquisition terminal equipment;Terminal device 1 is arranged on
In terminal device, the terminal device is used for the mainboard running state data and thing of real-time collecting terminal device
Part, and these running state datas and event are reported to the data processing centre of Cloud Server by network.
For example, terminal device can by set collected based on terminal unit status and push high in the clouds APP and
Corresponding function is completed positioned at terminal device high in the clouds message response APP.
Cloud Server 2, it passes through network connection to the terminal device 1, for receiving the terminal
The log information of equipment, and store and analyze the log information with by corresponding treatment policy distribution to described
Terminal device 1;The terminal device 1 responds the treatment strategy and performs corresponding first
Business;For example, Cloud Server 2 can realize function above by disposing the data processing APP of Cloud Server 2.
User terminal 3, it passes through network connection to the Cloud Server 2, for accessing the Cloud Server 2,
The log information and the treatment strategy are checked, and control command to institute is sent by the Cloud Server 2
State terminal device 1;The terminal device 1 performs corresponding after receiving the control command
Two tasks.That is user can be by accessing high in the clouds data by terminal device such as mobile phone, apparatus such as computer
Processing center, checks equipment state and event anomalies, and pushes the smart machine of order to front end, completes
Some tasks are such as restarted, switching on and shutting down etc..For example, user terminal 3 can be by deployment for accessing Cloud Server 2
Web-browsing management service software realize above-mentioned functions.
Referring to Fig. 2, the signal that Fig. 2 is connected for the terminal device 1 for providing of the invention with Cloud Server 2
Block diagram;Corresponding software is set in terminal device, and these softwares are mainly responsible for data, and (these data include
System information, activation bit, hardware monitoring information, system monitoring information) collection, and to cloud service
The response treatment of the number order that the end of device 2 is assigned.Thus, the terminal device 1 includes:
Hardware monitoring module 14, for being set according to the first task and/or terminal described in the second Mission Monitor
The situation of standby fan, disk, internal memory, voltage, CPU and switching on and shutting down;Additionally, hardware monitoring module
14 fan, disk, internal memory, voltage, CPU and the switching on and shutting down that itself can also monitor the terminal device
Situation.
System-monitoring module 13, for being set according to the first task and/or terminal described in the second Mission Monitor
Standby system exception event, file system event, system software running status and user management state;
System-monitoring module 13 itself can also monitor the system exception event of the terminal device, file system event,
System software running status and user management state.
Activation bit module 12, for checking that the terminal sets according to the first task and/or the second task
Standby hardware device list and hardware asset information, detect hardware driving information;Activation bit module 12 is certainly
Body can also check hardware device list and the hardware asset information of the terminal device, detect hardware driving information.
System information block 11, sets for obtaining the terminal according to the first task and/or the second task
Standby SN information and the version information of current operation system, and detect the mandate of the current operation system
State;System information block 11 itself can also obtain the SN information and current operation of the terminal device
The version information of system, and detect the licensing status of the current operation system.
Terminal communication module 15, for being communicated to connect with the Cloud Server 2 by network.
Referring to Fig. 3, the workflow diagram of the terminal device 1 that Fig. 3 is provided for the present invention.By terminal
By terminal device, some hardware informations are obtained out the monitoring software (i.e. terminal device 1) set in equipment
Come, be monitored in real time, these information are stored in journal file according to respective form.Terminal device
Periodically (this time interval can be formulated by configuration file) passes through procotol by these data to device 1
Pass to Cloud Server 2.The transmission of data is set by terminal device 1 and actively initiated, and Cloud Server 2 connects
After receiving the request of the connection of terminal device 1, the life for preparing to receive data is sent to terminal device 1
Order, terminal device 1 receives order and sends data to Cloud Server 2.
The workflow is comprised the following steps:
S101, in terminal device, configuration corresponding document or corresponding monitoring software is set (i.e. terminal sets
Standby device 1) reach the purpose of monitoring terminal equipment.
The all parts state of S102, monitoring terminal equipment, it is specific as follows:
The hardware monitoring module 14 includes:
Fan monitoring submodule, the current state of fan for reading the terminal device and rotating speed, foundation
The first task and/or the second task adjust the rotating speed;The current state of fan and rotating speed are read,
The adjustment current rotating speed of fan.
Disk monitoring submodule, sets for obtaining the terminal according to the first task and/or the second task
The current capacity of standby disk, temperature and model;Obtain capacity, temperature and the model for working as front disk.
Internal memory monitoring submodule, sets for obtaining the terminal according to the first task and/or the second task
The current capacity of standby internal memory, temperature and utilization rate;Obtain the amount of capacity of current memory, temperature, make
With rate and model.
Voltage monitoring submodule, sets for obtaining the terminal according to the first task and/or the second task
Standby voltage condition;Obtain current vcc3.3, vbat, vcc12v, 5v memory voltage etc..
Cpu monitor submodule, sets for obtaining the terminal according to the first task and/or the second task
Standby CPU current temperature and frequency;Obtain the relevant informations such as temperature, the frequency of current CPU.
Switching on and shutting down monitoring submodule, for according to the first task and/or terminal described in the second Mission Monitor
The on-off state of equipment.Mainly based on shutdown, system receives automatic shutdown after order.
The system-monitoring module 13 includes:
System exception event submodule, for checking the end according to the first task and/or the second task
The operation stability of end equipment is with the presence or absence of abnormal;The module mainly obtains the one of influence system run all right
A little events, check these events with the presence or absence of abnormal.
File system event submodule, for checking file according to the first task and/or the second task
Set up, change and delete information;Check foundation, modification and the relevant information deleted of file.
System software running status submodule, for being examined according to the first task and/or the second task
Whether the application software for surveying the terminal device is active;Whether the application software being currently installed on is located
In active state.
User management submodule, for being set according to the first task and/or terminal described in the second task management
The login of standby account, exit and add deletion user.As account login with exit and add
Delete user.
The activation bit module 12 includes:
Hardware device list submodule, for checking the end according to the first task and/or the second task
The hardware device that end equipment is currently installed on;Which hardware device being currently installed on such as checked.
Hardware driving message sub-module, for detecting the end according to the first task and/or the second task
Whether the hardware device drivers that end equipment is currently installed on are normal, and drive whether version needs to update;As currently
Whether the hardware device drivers of installation are normal, drive whether version needs to update.
Hardware asset information submodule, for detecting the end according to the first task and/or the second task
The hardware asset information of end equipment.
The system information block 11 includes:
System version submodule, sets for obtaining the terminal according to the first task and/or the second task
Standby current version information;Obtain the version information of current system.
Licensing status submodule, for judging that the terminal sets according to the first task and/or the second task
Whether standby current operating system is legal;Judge whether current system is legal.
SN message sub-modules, the SN information for uploading terminal device itself to the Cloud Server 2.
Need the equipment of detection to generally comprise many station terminal equipment, have unique SN per station terminal equipment, pass through
The facility information upload server of terminal device, server can also be judged current letter by SN according to SN
Breath belongs to what which station terminal equipment was uploaded.
For aforementioned four module, programming realization is as follows:
1st, the hardware monitoring design of hardware monitoring module 14
(1) hardware data design
The data structure of internal memory
Other hardware information structures are defined as similar type of data structure
(2) information storage file Hard_infor.ini
The hardware information of acquisition is stored hereof, the form of document definition
From into a paragraph, the information being collected into is stored under corresponding paragraph each hardware configuration respectively,
Read and write-in is written and read according to corresponding identifier under paragraph
(3) function class
(4) relation of data structure and program
1) Get_Hardware_Function () is the function interface for obtaining hardware information,
Get_Hardware_XX obtains the concrete structure function of correlation under hardware information, such as fan
Get_Hardware_Fan();
2) hardware information for obtaining is stored in Hard_infor.ini files
(5) list of devices information
A. data structure
B. user's storage form Driver_Device.ini
File memory format is as follows:
[device name]
Name=XXXXXXXXXX
Version=XXXXXXXX
Manufacturer=XXXXXXXXXX
IO=XXXXXXXXXXXXXX
[device name]
Name=XXXXXXXXXX
Version=XXXXXXXX
Manufacturer=XXXXXXXXXX
IO=XXXXXXXXXXXXXX
.......................
............................
C. function class
D. the relation of data structure and program
1) Get_Driver_Function () is the function for obtaining facility information, and Get_Drive_XX () sets for hardware
Specifying information under standby.
The information for getting is stored in Driver_Device.ini.
2nd, system-monitoring module 13 is designed
System exception
(1) design data
(2) information Store file System_System.log
The data structure format of system exception storage is as follows:
(3) function class
(4) relation of data structure and program
Get_System_Function () is to obtain the abnormal function of whole system,
Get_System_SystemLog () is acquisition system exception function
2) information that system exception is obtained is stored in System_System.ini files
File abnormal monitoring
(1) data structure
(2) file layout System_File.log
File memory format is as follows:
(3) relation of data structure and program
1) Get_System_FileLog () is the system file function of record modification, the fileinfo of modification
Storage is in Svstem_File.ini
3rd, the monitoring system design of activation bit module 12
(1) module data structure
Software activation status data structure is defined
Software change type data structure is defined
(2) file layout System_Soft.log
File memory format is as follows:
(3) relation of data structure and program
1) Get_System_SoftLog () to obtain software operation state function, deposit by the application state for getting
It is placed in System_Soft.log.
4th, the monitoring system design of system information block 11
(1) user data structure
(2) user's storage form System_User.ini
File memory format is as follows:
(3) relation of data structure and program
1) Get_System_UserLog () is the function for obtaining User logs in state,
Get_System_UserFunction () is the function for deleting and adding user.
The information for getting is stored in System_User.ini.
Cloud Server 2 needs to carry out pushing some command informations to terminal device, transmits some configuration files,
And upgrading software, accordingly, to Cloud Server 2 the need for needing to set accordingly in terminal device 1
These message at end are responded, and trigger some message responses, complete to specify function, such as upgrading software,
Shutdown etc..
Such as Fig. 2, terminal device 1 sets the collection and upload that corresponding software realizes terminal device information,
Realize data receiver, the function such as Data Analysis Services and data storage in the end of Cloud Server 2.Major function is divided into
4 parts:Data storage, tactical management, event handling, WEB.The end of Cloud Server 2 sets corresponding soft
Part, so that the storage analysis and some responses of event of being mainly responsible for data are processed, and by event handling strategy
It is handed down to terminal device 1.The Cloud Server 2 includes:
Data memory module 21, for storing received data file;
Event processing module 23, for being divided the log information that the terminal device 1 is uploaded
Class and/or formatting storage;
Policy management module 22, for generating the treatment according to the terminal device and the log information
Strategy, so that the terminal device 1 performs the first task;
WEB modules 24, for the treatment strategy to be shown in into WEB interface;
Server com-munication module 25, for by network and the terminal device 1 and the user terminal 3
Communication connection.
For aforementioned four module, its concrete function and realization are as follows:
First, data memory module 21
Referring to Fig. 4, the structured flowchart of the data memory module 21 that Fig. 4 is provided for the present invention, the data
Memory module 21 includes:
Concurrent submodule 211, for by ftp file transfer protocol and the terminal device 1 and institute
User terminal 3 is stated to communicate
Detection sub-module 212, for being detected to the Cloud Server 2 by UNIX IPC mechanisms;
Database subsystem module 213, for being stored to data using MySQL database;
File system submodule 214, for carrying out file storage according to ext file system.
From fig. 4, it can be seen that the set running software at the end of Cloud Server 2 is in compatible POSIX standard
Linux operating system platforms on, Concurrent Server modules use socket API and ftp file
Host-host protocol and vsftpd increase income ftp server, and Monitor Module utilize unix IPC mechanisms,
Databse Module use MySQL database, and File System Module use ext paper series system
System carries out file storage.Referring to Fig. 5, the E-R figures of the tables of data that Fig. 5 is provided for the present invention;In database
Between tables of data by No. Device_sn of terminal come corresponding information source in mark data table in which
Terminal device.
If Dynamic_real_device_info is a tables of data in Fig. 5, and fan_speed etc. is then represented
Field included in the table.
Tables of data sets up data relationship by Device_sn, and web is responsible for display and the management work of data.
2nd, policy management module 22
Different management strategies, such as temperature are distributed in the end of Cloud Server 2 to the difference of terminal device application, if
Determine the ambient temperature range of terminal device stable operation, if it find that the temperature of terminal device exceedes the upper limit, then
The once task of alarming of record, and it is automatic by rotation speed of the fan grade one rank of rise.These strategies not only only have
The strategy of temperature treatment, also memory usage management strategy, disk utilization rate management strategy.These strategies
Can be different according to specific terminal device application, there is operating personnel's personalization to be configured, so ensure that
No matter terminal device runs in which type of environment, and the Essential Environment needed for it is all reliable and stable.
All of policy data is maintained in MySql Policy Tables, develops the tactical management page of web interface,
The addition of convenient strategy is deleted and changed.
3rd, event processing module 23
The event processing module 23 includes:
System event submodule, for obtaining the time in the log information, type and event source, to institute
The event in log information is stated to be classified, stored and processed;
File event submodule, for monitoring the file in the terminal device, the file is classified,
Storage and treatment.
Two above submodule is realized as follows:
1st, system event submodule
Terminal device can be subject to the factors such as environment and system, hardware to cause running meeting in running
The various anomalous events of generation, the active collection of terminal device 1 these anomalous events, and with form
The daily record form storage of change.
Anomalous event is stored with journal file, and storage format is as follows in specific file:
The data structure format of system exception storage is as follows:
The journal file collected in a period of time of terminal device 1, carries out uploading to cloud service by ftp
Device end.Cloud server end receives the journal file of terminal device upload, and journal analyzer is triggered automatically.Day
Will analysis program is according to the time type of daily record, and the information such as event source is right with reference to some strategies in database
Event is classified, storage, and treatment.As system license is expired, then record, and trigger one
Alarm signal is to manager.
2nd, file system event
In operation, there is file and changed or deleted by unexpected in terminal device, situations such as damage, cause be
System cannot run, or fluctuation of service.Can be to crucial in system for such case terminal device 1
File is monitored, such as in windows systems, the file below C disks in windows files.This
A little files are all often the files that system operation is relied on, once surprisingly being changed, or are deleted, will cause be
Unite the problem of operation, this problem is being difficult positioning afterwards, so just with being monitored record to critical file
Extremely it is necessary.The storage using formatting of file system event.
And stored by way of file journalization, it is as follows:
File memory format is as follows:
Homologous ray event, the formatted log of a period of time storage, will be uploaded to server by ftp, by
Server triggers, file system event analysis program is classified to daily record, storage, and is carried out with reference to strategy
Treatment.
4th, WEB modules 24
The WEB modules 24 are generally the web-browsing management service software for being deployed in Cloud Server 2.
Data combination customer relationship data that the end of Cloud Server 2 will receive, product information, industry data are carried out
Parsing, includes in web interface the result of decision after parsing, user terminal 3 such as mobile phone, apparatus such as computer
Equipment state and event anomalies can be checked by accessing the end data processing center of Cloud Server 2, and
Some of the recommendations data, such as products application advise industry, optimization item etc. are advised in design process, and intelligently push away
Lose one's life order to front end smart machine, complete some tasks and such as restart, the attended operation such as switching on and shutting down.
Referring to Fig. 6, the WEB Organization Charts that Fig. 6 is provided for the present invention.WEB service is built and uses Apache
The mode of+MySQL+PHP is carried out, and in linux system combination show in network performance, be
All it is more outstanding above system occupancy.
Referring to Fig. 7, a kind of flow chart of Cloud Server policy deployment method that Fig. 7 is provided for the present invention should
Cloud Server policy deployment method realized by Cloud Server policy deployment system 100 as described above, the party
Method includes:
The log information of S1, the acquisition terminal equipment of terminal device 1;
S2, Cloud Server 2 receive the log information of the terminal device that the terminal device 1 is gathered,
And store and analyze the log information with by corresponding treatment policy distribution to the terminal device 1;
S3, the terminal device 1 respond the treatment strategy and perform corresponding first task;
S4, user terminal 3 access the Cloud Server 2, check the log information, and take by the cloud
Business device 2 sends control command to the terminal device 1;
S5, the terminal device 1 perform corresponding second task after receiving the control command.
Do not have strict sequencing between above-mentioned steps, by the realization of the method, reach following effect:
1st, the running status of real-time collecting terminal data and storage is analyzed.
2nd, the long-term Data Collection substantial amounts of data of generation can be with combination product information, industry data, client
Information carries out the big data mining analysis of various dimensions, produces the design data of directive significance, sales data, OK
Industry data etc..
3rd, long-range monitoring and early warning management, can greatly enhance the operation stability of product, and failure is pre-
Survey treatment can be effectively prevented from the occurrence probability of some incipient faults.
To sum up, the mining multi-dimensional data of the application combination design data industry data customer data product information
Analysis, produces the data application method for having and designing and sell directive significance;With reference to industry data and product number
According to this and design data etc. failure predication functional method.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned
Specific embodiment, above-mentioned specific embodiment is only schematical, rather than restricted, this
The those of ordinary skill in field is not departing from present inventive concept and claim is protected under enlightenment of the invention
Under the ambit of shield, many forms can be also made, these are belonged within protection of the invention.
Claims (10)
1. a kind of Cloud Server policy deployment system, it is characterised in that taken including terminal device and cloud
Business device;
The terminal device, for the log information of acquisition terminal equipment;
The Cloud Server, it passes through network connection to the terminal device, for receiving the terminal
The log information of equipment, and store and analyze the log information with by corresponding treatment policy distribution to described
Terminal device;The terminal device response treatment strategy simultaneously performs corresponding first task;
Wherein, the Cloud Server includes:
Data memory module, for storing received data file;
Event processing module, the log information for being uploaded to the terminal device carry out classification and/
Or format storage;
Policy management module, for processing strategy according to the terminal device and log information generation are described,
So that the terminal device performs the first task;
WEB modules, for the treatment strategy to be shown in into WEB interface;
Server com-munication module, for being communicated to connect with the terminal device by network.
2. Cloud Server policy deployment system according to claim 1, it is characterised in that the end
End equipment device includes:
Hardware monitoring module, for monitored according to the first task fan of the terminal device, disk,
The situation of internal memory, voltage, CPU and switching on and shutting down;
System-monitoring module, for monitored according to the first task terminal device system exception event,
File system event, system software running status and user management state;
Activation bit module, the hardware device list for checking the terminal device according to the first task
And hardware asset information, detect hardware driving information;
System information block, for obtained according to the first task terminal device SN information and
The version information of current operation system, and detect the licensing status of the current operation system;
Terminal communication module, for being communicated to connect with the Cloud Server by network.
3. Cloud Server policy deployment system according to claim 2, it is characterised in that described hard
Part monitoring module includes:
Fan monitoring submodule, the current state of fan for reading the terminal device and rotating speed, foundation
The first task adjusts the rotating speed;
Disk monitoring submodule, the disk for obtaining the terminal device according to the first task is current
Pressure,volume and temperature;
Internal memory monitoring submodule, the internal memory for obtaining the terminal device according to the first task is current
Capacity, temperature and utilization rate;
Voltage monitoring submodule, the voltage condition for obtaining the terminal device according to the first task;
Cpu monitor submodule, the CPU for obtaining the terminal device according to the first task is current
Temperature and frequency;
Switching on and shutting down monitoring submodule, the switching on and shutting down shape for monitoring the terminal device according to the first task
State.
4. Cloud Server policy deployment system according to claim 2, it is characterised in that the system
System monitoring module includes:
System exception event submodule, the operation for checking the terminal device according to the first task is steady
It is qualitative with the presence or absence of exception;
File system event submodule, for checking the foundation of file according to the first task, changes and deletes
Except information;
System software running status submodule, for detecting the terminal device according to the first task
Application software whether be active;
User management submodule, the login of the account for managing the terminal device according to the first task
And exit.
5. Cloud Server policy deployment system according to claim 2, it is characterised in that the drive
Dynamic information module includes:
Hardware device list submodule, for checking that the terminal device is currently installed on according to the first task
Hardware device;
Hardware driving message sub-module, for detecting that the terminal device is currently installed on according to the first task
Hardware device drivers it is whether normal, and drive whether version needs to update;
Hardware asset information submodule, the hardware for detecting the terminal device according to the first task is provided
Source information.
6. Cloud Server policy deployment system according to claim 2, it is characterised in that the system
System information module includes:
System version submodule, believes for obtaining the current version of the terminal device according to the first task
Breath;
Licensing status submodule, for judging the current operation system of the terminal device according to the first task
Whether system is legal;
SN message sub-modules, the SN information for uploading the terminal device itself to the Cloud Server.
7. Cloud Server policy deployment system according to claim 1, it is characterised in that the number
Include according to memory module:
Concurrent submodule, for being communicated with the terminal device by ftp file transfer protocol
Detection sub-module, for being detected to the Cloud Server by UNIX IPC mechanisms;
Database subsystem module, for being stored to data using MySQL database;
File system submodule, for carrying out file storage according to ext file system.
8. Cloud Server policy deployment system according to claim 1, it is characterised in that the thing
Part processing module includes:
System event submodule, for obtaining the time in the log information, type and event source, to institute
The event in log information is stated to be classified, stored and processed;
File event submodule, for monitoring the file in the terminal device, the file is classified,
Storage and treatment.
9. Cloud Server policy deployment system according to claim 1, it is characterised in that also include:
User terminal, it passes through network connection to the Cloud Server, for accessing the Cloud Server, checks
The log information and the treatment strategy, and send control command to the terminal by the Cloud Server
Apparatus;The terminal device performs corresponding second task after receiving the control command.
10. a kind of Cloud Server policy deployment method, there is provided Cloud Server strategy as claimed in claim 1
Deployment system, it is characterised in that including:
The log information of terminal device acquisition terminal equipment;
The log information of the terminal device that terminal device described in cloud server is gathered, and store and
Analyze the log information and process policy distribution to the terminal device with by corresponding;
The terminal device response treatment strategy simultaneously performs corresponding first task;
Wherein, the received data file of data memory module storage;
Event processing module is classified and/or form to the log information that the terminal device is uploaded
Change storage;
Policy management module is tactful according to the terminal device and the log information generation treatment, so that
The terminal device performs the first task;
Be shown in the treatment strategy in WEB interface by WEB modules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511005590.8A CN106936859A (en) | 2015-12-29 | 2015-12-29 | A kind of Cloud Server policy deployment system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511005590.8A CN106936859A (en) | 2015-12-29 | 2015-12-29 | A kind of Cloud Server policy deployment system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106936859A true CN106936859A (en) | 2017-07-07 |
Family
ID=59458406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511005590.8A Pending CN106936859A (en) | 2015-12-29 | 2015-12-29 | A kind of Cloud Server policy deployment system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106936859A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880944A (en) * | 2018-07-27 | 2018-11-23 | 马占朝 | A kind of intelligent control method and system based under big data and cloud calculation service |
WO2019223179A1 (en) * | 2018-05-21 | 2019-11-28 | 平安科技(深圳)有限公司 | Remote log real-time viewing method, system, computer device, and storage medium |
CN110995497A (en) * | 2019-12-16 | 2020-04-10 | 厦门市美亚柏科信息股份有限公司 | Method for unified operation and maintenance in cloud computing environment, terminal device and storage medium |
CN111583442A (en) * | 2020-04-30 | 2020-08-25 | 上海华东汽车信息技术有限公司 | Terminal policy configuration method and device, computer equipment and storage medium |
CN111865674A (en) * | 2020-07-09 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Log processing method, device and medium |
CN111901698A (en) * | 2020-07-16 | 2020-11-06 | 武汉企秀网络科技有限公司 | Method for realizing high-concurrency storage of server |
CN112214463A (en) * | 2019-07-12 | 2021-01-12 | 中科云谷科技有限公司 | Monitoring method, device and system of GPS terminal and storage medium |
CN113434155A (en) * | 2021-06-18 | 2021-09-24 | 广州市玄武无线科技股份有限公司 | Automatic deployment system in mixed cloud mode |
CN113641991A (en) * | 2021-07-21 | 2021-11-12 | 的卢技术有限公司 | Automobile safety audit method and system |
CN114285870A (en) * | 2021-11-18 | 2022-04-05 | 深圳华侨城文化旅游科技集团有限公司 | Distributed black box system of travel equipment, control method thereof and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050208926A1 (en) * | 2004-03-16 | 2005-09-22 | Canon Kabushiki Kaisha | Access point and method for controlling connection among plural networks |
CN101753357A (en) * | 2008-12-18 | 2010-06-23 | 方大集团股份有限公司 | Network server centralized monitoring system and method |
CN104683214A (en) * | 2013-11-28 | 2015-06-03 | 上海斐讯数据通信技术有限公司 | Information publishing method and system |
-
2015
- 2015-12-29 CN CN201511005590.8A patent/CN106936859A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050208926A1 (en) * | 2004-03-16 | 2005-09-22 | Canon Kabushiki Kaisha | Access point and method for controlling connection among plural networks |
CN101753357A (en) * | 2008-12-18 | 2010-06-23 | 方大集团股份有限公司 | Network server centralized monitoring system and method |
CN104683214A (en) * | 2013-11-28 | 2015-06-03 | 上海斐讯数据通信技术有限公司 | Information publishing method and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019223179A1 (en) * | 2018-05-21 | 2019-11-28 | 平安科技(深圳)有限公司 | Remote log real-time viewing method, system, computer device, and storage medium |
CN108880944A (en) * | 2018-07-27 | 2018-11-23 | 马占朝 | A kind of intelligent control method and system based under big data and cloud calculation service |
CN112214463A (en) * | 2019-07-12 | 2021-01-12 | 中科云谷科技有限公司 | Monitoring method, device and system of GPS terminal and storage medium |
CN110995497A (en) * | 2019-12-16 | 2020-04-10 | 厦门市美亚柏科信息股份有限公司 | Method for unified operation and maintenance in cloud computing environment, terminal device and storage medium |
CN111583442A (en) * | 2020-04-30 | 2020-08-25 | 上海华东汽车信息技术有限公司 | Terminal policy configuration method and device, computer equipment and storage medium |
CN111865674A (en) * | 2020-07-09 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Log processing method, device and medium |
CN111865674B (en) * | 2020-07-09 | 2024-01-09 | 腾讯科技(深圳)有限公司 | Log processing method, device and medium |
CN111901698A (en) * | 2020-07-16 | 2020-11-06 | 武汉企秀网络科技有限公司 | Method for realizing high-concurrency storage of server |
CN113434155A (en) * | 2021-06-18 | 2021-09-24 | 广州市玄武无线科技股份有限公司 | Automatic deployment system in mixed cloud mode |
CN113641991A (en) * | 2021-07-21 | 2021-11-12 | 的卢技术有限公司 | Automobile safety audit method and system |
CN114285870A (en) * | 2021-11-18 | 2022-04-05 | 深圳华侨城文化旅游科技集团有限公司 | Distributed black box system of travel equipment, control method thereof and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106936860A (en) | A kind of monitoring system and method based on terminal device | |
CN106936858A (en) | A kind of cloud platform monitoring system and method | |
CN106936859A (en) | A kind of Cloud Server policy deployment system and method | |
US11015577B2 (en) | Wind farm supervision monitoring method, operation and maintenance plan controlled from a mobile terminal of a worker at a remote location and using work tickets | |
US10762476B2 (en) | Wind farm supervision monitoring system | |
CN102367742B (en) | Monitoring system | |
CN105871605A (en) | Operation and maintenance monitoring platform based on big power marketing data | |
CN103745322A (en) | Province-city secondary system integrated comprehensive monitoring and process management system in power dispatching and implementation method for system | |
CN107958337A (en) | A kind of information resources visualize mobile management system | |
CN108667666A (en) | A kind of intelligent O&M method and its system based on visualization technique | |
CN112732708A (en) | Museum cultural relic protection system based on environmental data acquisition and monitoring | |
CN103888287A (en) | Information system integrated operation and maintenance monitoring service early warning platform and realization method thereof | |
CN105631522A (en) | IT system operation and maintenance management system | |
CN105160724A (en) | Dangerous-chemical-enterprise key device inspection system based on mobile phone APP | |
CN103593804A (en) | Electric power information communication scheduling and monitoring platform | |
CN102916839A (en) | Automatic monitoring system for agricultural work in sugarhouse | |
CN105656698A (en) | Intelligent monitoring structure and method for network application system | |
CN103295155A (en) | Security core service system monitoring method | |
CN104637265A (en) | Dispatch-automated multilevel integration intelligent watching alarming system | |
CN117371952B (en) | Multi-project collaborative management system | |
CN110888786A (en) | Operation and maintenance monitoring system | |
KR100683580B1 (en) | Intelligent plant information system | |
CN116010456A (en) | Equipment processing method, server and rail transit system | |
CN108408362A (en) | A kind of intelligent transportation monitoring system and monitoring method for conveyer belt | |
CN113206867B (en) | Intelligent data acquisition monitoring system, method and timing acquisition service module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170707 |
|
RJ01 | Rejection of invention patent application after publication |