CN109828797A - Capture service processes management method and relevant device - Google Patents
Capture service processes management method and relevant device Download PDFInfo
- Publication number
- CN109828797A CN109828797A CN201910045285.3A CN201910045285A CN109828797A CN 109828797 A CN109828797 A CN 109828797A CN 201910045285 A CN201910045285 A CN 201910045285A CN 109828797 A CN109828797 A CN 109828797A
- Authority
- CN
- China
- Prior art keywords
- service processes
- configuration information
- grasp shoot
- shoot device
- candid photograph
- 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
- 238000000034 method Methods 0.000 title claims abstract description 201
- 230000008569 process Effects 0.000 title claims abstract description 183
- 238000007726 management method Methods 0.000 title claims abstract description 67
- 238000012544 monitoring process Methods 0.000 claims abstract description 48
- 238000004891 communication Methods 0.000 claims abstract description 43
- 230000008859 change Effects 0.000 claims abstract description 23
- 238000012360 testing method Methods 0.000 claims abstract description 13
- 230000002159 abnormal effect Effects 0.000 claims description 37
- 238000004590 computer program Methods 0.000 claims description 21
- 230000004044 response Effects 0.000 claims description 19
- 239000000523 sample Substances 0.000 claims description 19
- 238000001514 detection method Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 10
- 238000012795 verification Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 16
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012806 monitoring device Methods 0.000 description 2
- 238000011897 real-time detection Methods 0.000 description 2
- 238000000262 chemical ionisation mass spectrometry Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a kind of candid photograph service processes management method, device, electronic equipment and computer readable storage mediums.The described method includes: grasp shoot device is arranged monitoring programme and detects the configuration information of the grasp shoot device by the monitoring programme, wherein the configuration information includes the resolution ratio taken pictures, the time interval taken pictures or communication mode;Whether the configuration information that the grasp shoot device judgement detects has change compared to initial configuration information;When the configuration information detected is changed, the grasp shoot device candid photograph service processes out of service restart and run the candid photograph service processes;And the configuration information of grasp shoot device that will test out of the grasp shoot device is transferred to management server and is stored.The present invention can be automatically performed after the configuration information that user changes grasp shoot device and capture restarting for service processes, do not need manual intervention, reduce grasp shoot device fault time.
Description
Technical field
The present invention relates to computer fields, and in particular to a kind of candid photograph service processes management method, device, electronic equipment and
Computer readable storage medium.
Background technique
When existing grasp shoot device service processes continuous service, after configuration information of the administrative staff in modification grasp shoot device,
It needs manually to restart system to grasp shoot device process.However manually restart the process CIMS trouble of grasp shoot device, grasp shoot device is extensive
The multiple normal operating conditions time is long.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of candid photograph service processes management method, device, electronic equipment and computer
Readable storage medium storing program for executing can be automatically performed after the configuration information that user changes grasp shoot device and capture restarting for service processes, no
It requires manual intervention, reduces grasp shoot device fault time.
The first aspect of the application provides a kind of candid photograph service processes management method, which comprises
Grasp shoot device setting monitoring programme and the configuration information that the grasp shoot device is detected by the monitoring programme, wherein
The configuration information includes the resolution ratio taken pictures, the time interval taken pictures or communication mode;
Whether the configuration information that the grasp shoot device judgement detects has change compared to initial configuration information;
When the configuration information detected is changed, the grasp shoot device candid photograph service processes out of service, weight
Newly starts and run the candid photograph service processes;And
The configuration information for the grasp shoot device that the grasp shoot device will test out is transferred to management server and is stored.
Preferably, whether the configuration information that the grasp shoot device judgement detects has change to wrap compared to initial configuration information
It includes:
Pass through the information of the candid photograph service processes of the initial launch in grasp shoot device described in the monitor logging, and root
MD5 verification, record are carried out to the candid photograph service processes of initial launch according to the information of the candid photograph service processes of the initial launch of record
Initial summary info down;
The operation information for capturing service processes is detected by the monitoring programme timing and includes according to what is detected
The operation information of the configuration information carries out MD5 verification, records current summary info;
The presently described summary info is compared with the initial summary info for capturing service processes;
Matching for the grasp shoot device is judged according to the comparison result of the current summary info and the initial summary info
Whether confidence breath has change.
Preferably, it is grabbed described in the comparison result judgement according to the current summary info with the initial summary info
Whether the configuration information for clapping device has the change to include:
If the current summary info is consistent with the initial summary info, it is determined that the grasp shoot device matches confidence
Breath is not changed;And
If determine the grasp shoot device matches confidence when the current summary info and the inconsistent initial summary info
Breath is changed.
Preferably, the method also includes:
The management server generates journal file according to the configuration information of the grasp shoot device of acquisition, and the log is literary
Part shows user to check.
Preferably, the method also includes:
The configuration information for the grasp shoot device that the management server will acquire is sent to be connected with the management server communication
The mobile terminal connect.
Preferably, the method also includes:
The grasp shoot device monitors whether the candid photograph service processes have exception.
Preferably, whether the grasp shoot device monitoring candid photograph service processes have includes: extremely
Probe message is sent to the associated communication window of the candid photograph service processes;
If the response message of the communication window feedback is not received in preset time, it is determined that the candid photograph service processes fortune
Row is abnormal;
Obtain the stack information for capturing service processes;And
Abnormal log file is generated according to the stack information.
The second aspect of the application provides a kind of candid photograph service processes managing device, and described device includes:
Detection module is filled for monitoring programme to be arranged in grasp shoot device and detects the candid photograph by the monitoring programme
The configuration information set, wherein the configuration information includes the resolution ratio taken pictures, the time interval taken pictures or communication mode;
Judgment module, for judging whether the configuration information detected has change compared to initial configuration information;
Processing module, for when the configuration information detected is changed, the grasp shoot device out of service
Service processes are captured, restarts and runs the candid photograph service processes;And
Sending module, the configuration information of the grasp shoot device for will test out are transferred to management server and are stored.
The third aspect of the application provides a kind of electronic equipment, and the electronic equipment includes processor, and the processor is used
The candid photograph service processes management method is realized when executing the computer program stored in memory.
The fourth aspect of the application provides a kind of computer readable storage medium, is stored thereon with computer program, described
The candid photograph service processes management method is realized when computer program is executed by processor.
In the present invention, it when monitoring programme detects that configuration information is changed, is serviced by first candid photograph out of service
Process, then the candid photograph service processes of restarting operation grasp shoot device, can change in the configuration information of grasp shoot device
It is automatically performed afterwards and captures restarting for service processes, do not need manual intervention, reduce the fault time of grasp shoot device, capture simultaneously
The response speed that service processes rerun is faster.
Detailed description of the invention
Fig. 1 is the applied environment figure that service processes management method is captured in an embodiment of the present invention.
Fig. 2 is the flow chart that service processes management method is captured in an embodiment of the present invention.
Fig. 3 is the structure chart that service processes managing device is captured in an embodiment of the present invention.
Fig. 4 is the schematic diagram of electronic equipment of the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment
In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, the present invention captures service processes management method and applies in one or more electronic equipment.The electricity
Sub- equipment is that one kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing,
Its hardware includes but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated
Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit
(Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be the calculating such as desktop PC, laptop, tablet computer and cloud server
Equipment.The equipment can carry out man-machine friendship by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices with user
Mutually.
Embodiment 1
Fig. 1 is the applied environment figure that service processes management method is captured in an embodiment of the present invention.
As shown in fig.1, the candid photograph service processes management method is applied in grasp shoot device 1 and management server 2.Institute
It states grasp shoot device 1 to communicate to connect by network 3 and management server 2, for passing through the configuration information of the grasp shoot device 1 of monitoring
Network 3 is transferred to management server 2.In present embodiment, for supporting what grasp shoot device 1 was communicated with management server 2
Network of network 3 can be cable network, be also possible to wireless network, such as radio, Wireless Fidelity (Wireless
Fidelity, WIFI), honeycomb, satellite, broadcast etc..In present embodiment, the grasp shoot device 1 can be computer, notebook
The devices such as computer, smart phone.The management server 2 can be individual server, be also possible to multiple server clusters, such as
Cloud Server.
Fig. 2 is the flow chart that service processes method is captured in an embodiment of the present invention.The stream according to different requirements,
The sequence of step can change in journey figure, and certain steps can be omitted.
As shown in fig.2, the candid photograph service processes method specifically includes the following steps:
Step S201, grasp shoot device 1 are arranged monitoring programme and detect matching for the grasp shoot device 1 by the monitoring programme
Confidence breath.
In present embodiment, the monitoring programme can be position machine.The management server 2 includes a remote process
Supervisor services, the remote process supervisor services are a host computer.In this way, realizing grasp shoot device 1 by network 3
Capture the communication connection of the remote process supervisor services (host computer) in monitoring programme (slave computer) and management server 2.
In present embodiment, the configuration information of the grasp shoot device 1 include, but are not limited to the resolution ratio taken pictures, the time interval taken pictures,
Communication mode (whether supporting movement, telecommunications, connection network) etc..
In present embodiment, with the configuration information of real-time detection grasp shoot device 1 and it can be will test by the monitoring programme
The configuration information of grasp shoot device 1 out sends management server 2 to by network 3.In other embodiments, pass through the prison
Control program can periodically detect the configuration information of grasp shoot device 1, such as by monitoring programme every 1 minute detection grasp shoot device 1
Configuration information and the configuration information of grasp shoot device 1 that will test out be sent to management server 2.
Step S202, the grasp shoot device 1 judge that the configuration information detected changes compared to whether initial configuration information has
It is dynamic.
In present embodiment, step S203 is executed when the configuration information that judgement detects has change, when judgement detects
Configuration information step S201 is executed when not changing.
In present embodiment, the step S202 includes:
(S2021) grasp shoot device 1 is taken by the candid photograph of the initial launch in the monitor logging grasp shoot device 1
The information of business process, and according to the information of the candid photograph service processes of the initial launch of record to the candid photograph service processes of initial launch
MD5 (message-digestalgorithm5, md5-challenge) verification is carried out, initial summary info is recorded.
In present implementation, grasp shoot device 1 is referred to by the information of the candid photograph service processes of the monitor logging
The information of each configuration parameter.In present embodiment, whether changed by comparing each configuration parameter of grasp shoot device 1,
And it determines whether to restart candid photograph service processes according to comparison result.
In present embodiment, MD5 is the abbreviation of md5-challenge, is widely used on encryption and decryption technology, it is
" digital finger-print " of file.Any one file, either executable program, image file, temporary file or other are any
The file of type, it is much regardless of its volume, have and only one unique MD5 value of information, and if this is literary
Part is modified, its MD5 value will also change correspondingly.It therefore, can be by the MD5 value of comparison same file, to verify this
Whether file " is distorted " mistake.After having downloaded file, if wondering this file of downloading and the original document of website is
No striking resemblances, so that it may do MD5 verification to the file of downloading.If obtained MD5 value and website are announced identical, can confirm
Downloaded file is complete.If any difference, illustrate that the file of downloading is incomplete: or be process in file download
Middle appearance is wrong or is exactly that this file is modified by others.Thus, in the present embodiment, if grasp shoot device 1 matches confidence
It ceases that the resolution ratio such as taken pictures, the time interval taken pictures, communication mode is any when changing, it is corresponding to capture service processes
MD5 value can be corresponded to and be changed.
(S2022) operation information of service processes is captured simultaneously according to the packet detected by the monitoring programme timing detection
Operation information containing the configuration information carries out MD5 verification, records current summary info.
(S2023) presently described summary info is compared with the initial summary info for capturing service processes.
(S2024) match confidence according to what the comparison result of current summary info and initial summary info judge grasp shoot device 1
Whether breath has change.In present embodiment, if current summary info is consistent with initial summary info, monitoring program be can determine
The configuration information of grasp shoot device 1 is not changed;If current summary info and initial summary info are inconsistent, monitoring program is determined
The configuration information of grasp shoot device 1 is changed.
Step S203, when the configuration information detected is changed, the candid photograph service processes out of service of grasp shoot device 1,
It restarts and runs candid photograph service processes.
In present embodiment, when monitoring programme detects that configuration information is changed, taken by first candid photograph out of service
Business process, then the candid photograph service processes of restarting operation grasp shoot device 1, can occur in the configuration information of grasp shoot device 1
It is automatically performed after change and captures restarting for service processes, do not needed manual intervention, reduce the fault time of grasp shoot device 1, together
When capture the response speed that reruns of service processes faster.In present embodiment, manual amendment's grasp shoot device can be passed through
Configuration information can also modify the configuration information of grasp shoot device 1 by remote process supervisor services.
Step S204, the configuration information for the grasp shoot device 1 that grasp shoot device 1 will test out are transferred to the progress of management server 2
Storage.
In present embodiment, the configuration information for the grasp shoot device 1 that grasp shoot device 1 will test out is transferred to pipe by network 3
Reason server 2 is stored so that configuration information of the management server 2 to grasp shoot device 1 records.
In present embodiment, the method is after step s 204 further include: the grabbing according to acquisition of management server 2
The configuration information for clapping device 1 generates journal file, and shows user to check the journal file.
In present embodiment, the management server 2 according to the resolution ratio taken pictures of the grasp shoot device 1 of acquisition, take pictures
Time interval generates journal file, and user is showed to check.
In present embodiment, the method is after step s 204 further include: the candid photograph that the management server 2 will acquire
The configuration information of device 1 is sent to the mobile terminal with the management server 2 communication connection.
In present embodiment, the configuration information that management server 2 passes through the grasp shoot device 1 that will acquire is sent to and the pipe
The mobile terminal that reason server 2 communicates to connect is arranged accordingly for using the administrator of mobile terminal to go and find out what's going on and take in time
It applies.
In present embodiment, the method also includes:
The grasp shoot device 1 monitors whether the candid photograph service processes have exception.
In present embodiment, continual operation is captured service processes and is sent out to the associated communication window of service processes is captured
Probe message is sent, if not receiving the response message that communication window is returned according to probe message in preset duration, determines and captures
Service processes are abnormal, and obtain capture the current stack messages of service processes at this time, generate abnormal log according to stack information
File.It can monitor automatically in this way and capture the exception that service processes occur, and be obtained when being abnormal and capture service processes
Field data, convenient for analyzing and determining the abnormal cause for capturing service processes.
Specifically, whether the grasp shoot device 1 monitors the candid photograph service processes has and abnormal includes:
A, probe message is sent to the associated communication window of candid photograph service processes.
In the specific implementation process, service processes are captured and is associated with a communication window, the monitoring journey in grasp shoot device 1 in advance
Sequence sends probe message to communication window, and communication window can be a backstage being arranged except candid photograph service processes main window
Window does not influence to capture service processes normal operation.Optionally, monitoring programme can according to the preset time cycle to communication window
Mouth sends probe message, and the type present invention of probe message is with no restriction.
If the response message of the communication window feedback b, is not received in preset time, it is determined that the candid photograph service processes
It is operating abnormally.
In the specific implementation process, if capturing service processes normal operation, the associated communication window of service processes is captured
It, can be within a preset time to monitoring device feedback response message after receiving probe message;If capturing service processes operation
It is abnormal, the associated communication window of service processes is captured after receiving probe message, no normal direction monitoring programme feedback response message
Or feedback response message time-out, monitoring programme do not receive response message in preset duration, it is determined that capture service processes operation
It is abnormal.
C, the stack information for capturing service processes is obtained.
It in the specific implementation process, include capturing service processes to call the calling record of function and current in stack information
Program pointer address, monitoring programme obtain when determining that capturing service processes is abnormal and capture the current storehouse of service processes
Information.
D, abnormal log file is generated according to the stack information.
In the specific implementation process, monitoring programme generates abnormal log file according to the stack information of acquisition, wherein daily
The stack information captured when service processes are abnormal is preserved in journal file.Software analyzes personnel can be according to abnormal log
The abnormal cause of file analysis candid photograph service processes.
In the present invention, by sending probe message to the associated communication window of candid photograph service processes, in preset duration
The response message of communication window feedback is not received, determines that capturing service processes is abnormal, and obtains the storehouse for capturing service processes
Information simultaneously generates abnormal log file according to stack information, can monitor automatically capture the exception that service processes occur in this way, and
The field data for capturing service processes is obtained, when being abnormal convenient for analyzing and determining the abnormal cause for capturing service processes.
Embodiment 2
Fig. 3 is the structure chart that service processes managing device 40 is captured in an embodiment of the present invention.
In some embodiments, the candid photograph service processes managing device 40 is run in electronic equipment.The candid photograph clothes
Business management of process device 40 may include multiple functional modules as composed by program code segments.The candid photograph service processes management
The program code of each program segment in device 40 can store in memory, and as performed by least one processor, with
Execute the function of capturing service processes management.
In the present embodiment, the function of capturing service processes managing device 40 according to performed by it can be divided into
Multiple functional modules.As shown in fig.3, the candid photograph service processes managing device 40 may include detection module 401, judge mould
Block 402, processing module 403, sending module 404, log generation module 405 and transmission module 406.The so-called module of the present invention is
Refer to it is a kind of performed by least one processor and can complete the series of computation machine program segment of fixed function, deposit
Storage is in memory.In present embodiment, the detection module 401, judgment module 402, processing module 403, sending module 404
It operates in grasp shoot device 1, log generation module 405 and transmission module 406 operate in the management server 2.It is described
In some embodiments, the function about each module will be described in detail in subsequent embodiment.
Monitoring programme is arranged in grasp shoot device 1 and by grabbing described in monitoring programme detection for the detection module 401
Clap the configuration information of device 1.
In present embodiment, the monitoring programme can be position machine.The management server 2 includes a remote process
Supervisor services, the remote process supervisor services are a host computer.In this way, realizing grasp shoot device 1 by network 3
Capture the communication connection of the remote process supervisor services (host computer) in monitoring programme (slave computer) and management server 2.
In present embodiment, the configuration information of the grasp shoot device 1 include, but are not limited to the resolution ratio taken pictures, the time interval taken pictures,
Communication mode (whether supporting movement, telecommunications, connection network) etc..
In present embodiment, with the configuration information of real-time detection grasp shoot device 1 and it can be will test by the monitoring programme
The configuration information of grasp shoot device 1 out sends management server 2 to by network 3.In other embodiments, pass through the prison
Control program can periodically detect the configuration information of grasp shoot device 1, such as by monitoring programme every 1 minute detection grasp shoot device 1
Configuration information and the configuration information of grasp shoot device 1 that will test out be sent to management server 2.
The judgment module 402 judges whether the configuration information detected has change.
In present embodiment, the monitoring programme detection is continued through when the configuration information that judgement detects is not changed
The configuration information of the grasp shoot device 1.
Specifically, candid photograph of the judgment module 402 by the initial launch in the monitor logging grasp shoot device 1
The information of service processes, and according to the information of the candid photograph service processes of the initial launch of record to the candid photograph of initial launch service into
Cheng Jinhang MD5 verification, records initial summary info.
In present implementation, grasp shoot device 1 is referred to by the information of the candid photograph service processes of the monitor logging
The information of each configuration parameter.In present embodiment, whether changed by comparing each configuration parameter of grasp shoot device 1,
And it determines whether to restart candid photograph service processes according to comparison result.
In present embodiment, MD5 is the abbreviation of md5-challenge, is widely used on encryption and decryption technology, it is
" digital finger-print " of file.Any one file, either executable program, image file, temporary file or other are any
The file of type, it is much regardless of its volume, have and only one unique MD5 value of information, and if this is literary
Part is modified, its MD5 value will also change correspondingly.It therefore, can be by the MD5 value of comparison same file, to verify this
Whether file " is distorted " mistake.After having downloaded file, if wondering this file of downloading and the original document of website is
No striking resemblances, so that it may do MD5 verification to the file of downloading.If obtained MD5 value and website are announced identical, can confirm
Downloaded file is complete.If any difference, illustrate that the file of downloading is incomplete: or be process in file download
Middle appearance is wrong or is exactly that this file is modified by others.Thus, in the present embodiment, if grasp shoot device 1 matches confidence
It ceases that the resolution ratio such as taken pictures, the time interval taken pictures, communication mode is any when changing, it is corresponding to capture service processes
MD5 value can be corresponded to and be changed.
The judgment module 402 also captures the operation information and foundation of service processes by the monitoring programme timing detection
The operation information comprising the configuration information detected carries out MD5 verification, records current summary info, plucks presently described
It wants information to be compared with the initial summary info for capturing service processes, and is believed according to current summary info and initial abstract
The comparison result of breath judges whether the configuration information of grasp shoot device 1 has change.
In present embodiment, if current summary info is consistent with initial summary info, monitoring program can determine candid photograph
The configuration information of device 1 is not changed;If current summary info and initial summary info are inconsistent, monitoring program, which determines, is captured
The configuration information of device 1 is changed.
The processing module 403 is used for when the configuration information detected is changed, candid photograph service processes out of service,
It restarts and runs candid photograph service processes.
In present embodiment, when monitoring programme detects that configuration information is changed, taken by first candid photograph out of service
Business process, then the candid photograph service processes of restarting operation grasp shoot device 1, can occur in the configuration information of grasp shoot device 1
It is automatically performed after change and captures restarting for service processes, do not needed manual intervention, reduce the fault time of grasp shoot device 1, together
When capture the response speed that reruns of service processes faster.In present embodiment, manual amendment's grasp shoot device can be passed through
Configuration information can also modify the configuration information of grasp shoot device 1 by remote process supervisor services.
The configuration information for the grasp shoot device 1 that the sending module 404 will test out is transferred to management server 2 and is deposited
Storage.
In present embodiment, the configuration information for the grasp shoot device 1 that the sending module 404 will test out is passed by network 3
Management server 2 is defeated by be stored so that configuration information of the management server 2 to grasp shoot device 1 records.
Log generation module 405 generates day according to the configuration information of the grasp shoot device 1 of acquisition for controlling management server 2
Will file, and show user to check the journal file.
In present embodiment, log generation module 405 controls the taking pictures according to the grasp shoot device 1 of acquisition of management server 2
Resolution ratio, the time interval taken pictures generates journal file, and user showed to check.
Transmission module 406 be used for control the grasp shoot device 1 that the management server 2 will acquire configuration information be sent to
The mobile terminal that the management server 2 communicates to connect.
In present embodiment, transmission module 406 passes through matching for the grasp shoot device 1 that will acquire by control management server 2
Confidence breath is sent to the mobile terminal with the management server 2 communication connection for using the administrator of mobile terminal timely
Solution situation simultaneously takes appropriate measures.
In present embodiment, the detection module 401 is also used to monitor the candid photograph of grasp shoot device 1 by the monitoring programme
Whether service processes have exception.
In present embodiment, continual operation is captured service processes and is sent out to the associated communication window of service processes is captured
Probe message is sent, if not receiving the response message that communication window is returned according to probe message in preset duration, determines and captures
Service processes are abnormal, and obtain capture the current stack messages of service processes at this time, generate abnormal log according to stack information
File.It can monitor automatically in this way and capture the exception that service processes occur, and be obtained when being abnormal and capture service processes
Field data, convenient for analyzing and determining the abnormal cause for capturing service processes.
Specifically, whether the candid photograph service processes of monitoring programme monitoring grasp shoot device 1 have and abnormal include:
A, probe message is sent to the associated communication window of candid photograph service processes.
In the specific implementation process, service processes are captured and is associated with a communication window in advance, monitoring programme is to communication window
Probe message is sent, communication window can be the window for capturing a backstage being arranged except service processes main window, not influence
Service processes are captured to operate normally.Optionally, monitoring programme can send to communication window according to the preset time cycle and detect
Message, the type present invention of probe message is with no restriction.
If the response message of the communication window feedback b, is not received in preset time, it is determined that the candid photograph service processes
It is operating abnormally.
In the specific implementation process, if capturing service processes normal operation, the associated communication window of service processes is captured
It, can be within a preset time to monitoring device feedback response message after receiving probe message;If capturing service processes operation
It is abnormal, the associated communication window of service processes is captured after receiving probe message, no normal direction monitoring programme feedback response message
Or feedback response message time-out, monitoring programme do not receive response message in preset duration, it is determined that capture service processes operation
It is abnormal.
C, the stack information for capturing service processes is obtained.
It in the specific implementation process, include capturing service processes to call the calling record of function and current in stack information
Program pointer address, monitoring programme obtain when determining that capturing service processes is abnormal and capture the current storehouse of service processes
Information.
D, abnormal log file is generated according to the stack information.
In the specific implementation process, monitoring programme generates abnormal log file according to the stack information of acquisition, wherein daily
The stack information captured when service processes are abnormal is preserved in journal file.Software analyzes personnel can be according to abnormal log
The abnormal cause of file analysis candid photograph service processes.
In the present invention, by sending probe message to the associated communication window of candid photograph service processes, in preset duration
The response message of communication window feedback is not received, determines that capturing service processes is abnormal, and obtains the storehouse for capturing service processes
Information simultaneously generates abnormal log file according to stack information, can monitor automatically capture the exception that service processes occur in this way, and
The field data for capturing service processes is obtained, when being abnormal convenient for analyzing and determining the abnormal cause for capturing service processes.
Embodiment 3
Fig. 4 is the schematic diagram of electronic equipment 6 in an embodiment of the present invention.
The electronic equipment 6 includes memory 61, processor 62 and is stored in the memory 61 and can be described
The computer program 63 run on processor 62.The processor 62 realizes above-mentioned candid photograph clothes when executing the computer program 63
Step in process management method embodiment of being engaged in, such as step S201~S204 shown in Fig. 2.Alternatively, the processor 62 is held
The function of each module/unit in above-mentioned candid photograph service processes managing device embodiment, example are realized when the row computer program 63
Such as the module 401~406 in Fig. 3.
Illustratively, the computer program 63 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are executed by the processor 62, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, and described instruction section is used
In implementation procedure of the description computer program 63 in the electronic equipment 6.For example, the computer program 63 can be by
Detection module 401, judgment module 402, processing module 403, sending module 404, the log generation module 405 being divided into Fig. 3
And transmission module 406, each module concrete function is referring to embodiment 2.
The electronic equipment 6 can be above-mentioned grasp shoot device 1.In one embodiment, the electronic equipment 6 specifically may be used
Equipment is calculated for desktop PC, notebook, palm PC or cloud server etc..It will be understood by those skilled in the art that
The schematic diagram is only the example of electronic equipment 6, does not constitute the restriction to electronic equipment 6, may include more than illustrating
Or less component, certain components or different components are perhaps combined, such as the electronic equipment 6 can also include input
Output equipment, network access equipment, bus etc..
Alleged processor 62 can be central processing module (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor 62 is also possible to any conventional processing
Device etc., the processor 62 are the control centres of the electronic equipment 6, utilize various interfaces and the entire electronic equipment of connection
6 various pieces.
The memory 61 can be used for storing the computer program 63 and/or module/unit, and the processor 62 passes through
Operation executes the computer program and/or module/unit being stored in the memory 61, and calls and be stored in memory
Data in 61 realize the various functions of the meter electronic equipment 6.The memory 61 can mainly include storing program area and deposit
Store up data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound is broadcast
Playing function, image player function etc.) etc.;Storage data area can store according to electronic equipment 6 use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 61 may include high-speed random access memory, it can also include non-volatile
Property memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other
Volatile solid-state part.
If the integrated module/unit of the electronic equipment 6 is realized in the form of software function module and as independent
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real
All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program
At the computer program can be stored in a computer readable storage medium, and the computer program is held by processor
When row, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, institute
Stating computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..It is described
Computer-readable medium may include: any entity or device, recording medium, U that can carry the computer program code
Disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs
It is bright, the content that the computer-readable medium includes can according in jurisdiction make laws and patent practice requirement into
Row increase and decrease appropriate, such as do not include electric load according to legislation and patent practice, computer-readable medium in certain jurisdictions
Wave signal and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed electronic equipment and method, Ke Yitong
Other modes are crossed to realize.For example, electronic equipment embodiment described above is only schematical, for example, the module
Division, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in same treatment module
It is that modules physically exist alone, can also be integrated in equal modules with two or more modules.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " is not excluded for other modules or step, and odd number is not excluded for plural number.It is stated in electronic equipment claim
Multiple modules or electronic equipment can also be implemented through software or hardware by the same module or electronic equipment.The first, the
Second-class word is used to indicate names, and is not indicated any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of candid photograph service processes management method, which is characterized in that the described method includes:
Grasp shoot device setting monitoring programme and the configuration information that the grasp shoot device is detected by the monitoring programme, wherein described
Configuration information includes the resolution ratio taken pictures, the time interval taken pictures or communication mode;
Whether the configuration information that the grasp shoot device judgement detects has change compared to initial configuration information;
When the configuration information detected is changed, the grasp shoot device candid photograph service processes out of service open again
It moves and runs the candid photograph service processes;And
The configuration information for the grasp shoot device that the grasp shoot device will test out is transferred to management server and is stored.
2. capturing service processes management method as described in claim 1, which is characterized in that the grasp shoot device judgement detects
Configuration information whether there is the change to include: compared to initial configuration information
By the information of the candid photograph service processes of the initial launch in grasp shoot device described in the monitor logging, and according to note
The information of the candid photograph service processes of the initial launch of record carries out MD5 verification to the candid photograph service processes of initial launch, records just
Beginning summary info;
The operation information for capturing service processes is detected by the monitoring programme timing and includes described according to what is detected
The operation information of configuration information carries out MD5 verification, records current summary info;
The presently described summary info is compared with the initial summary info for capturing service processes;
According to the comparison result of the current summary info and the initial summary info judge the grasp shoot device with confidence
Whether breath has change.
3. capturing service processes management method as claimed in claim 2, which is characterized in that described to be believed according to the current abstract
The comparison result of breath and the initial summary info judges whether the configuration information of the grasp shoot device has the change to include:
If the current summary info is consistent with the initial summary info, it is determined that the configuration information of the grasp shoot device does not have
There is change;And
If when the current summary info and the inconsistent initial summary info, determining the configuration information hair of the grasp shoot device
Raw change.
4. capturing service processes management method as described in claim 1, which is characterized in that the method also includes:
The management server generates journal file according to the configuration information of the grasp shoot device of acquisition, and by the journal file exhibition
Show and is checked to user.
5. capturing service processes management method as described in claim 1, which is characterized in that the method also includes:
The configuration information for the grasp shoot device that the management server will acquire, which is sent to, to be connect with the management server communication
Mobile terminal.
6. capturing service processes management method as described in claim 1, which is characterized in that the method also includes:
The grasp shoot device monitors whether the candid photograph service processes have exception.
7. capturing service processes management method as claimed in claim 6, which is characterized in that grabbed described in the grasp shoot device monitoring
Whether bat service processes have includes: extremely
Probe message is sent to the associated communication window of the candid photograph service processes;
If the response message of the communication window feedback is not received in preset time, it is determined that the candid photograph service processes operation is different
Often;
Obtain the stack information for capturing service processes;And
Abnormal log file is generated according to the stack information.
8. a kind of candid photograph service processes managing device, which is characterized in that described device includes:
Detection module, for monitoring programme to be arranged in grasp shoot device and detects the grasp shoot device by the monitoring programme
Configuration information, wherein the configuration information includes the resolution ratio taken pictures, the time interval taken pictures or communication mode;
Judgment module, for judging whether the configuration information detected has change compared to initial configuration information;
Processing module, for when the configuration information detected is changed, the candid photograph of the grasp shoot device out of service
Service processes restart and run the candid photograph service processes;And
Sending module, the configuration information of the grasp shoot device for will test out are transferred to management server and are stored.
9. a kind of electronic equipment, it is characterised in that: the electronic equipment includes processor, and the processor is for executing memory
It is realized when the computer program of middle storage and captures service processes management method as described in any one of claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program
It is realized when being executed by processor and captures service processes management method as described in any one of claim 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910045285.3A CN109828797A (en) | 2019-01-17 | 2019-01-17 | Capture service processes management method and relevant device |
PCT/CN2019/118977 WO2020147415A1 (en) | 2019-01-17 | 2019-11-15 | Snapshot service process management method and apparatus, electronic device, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910045285.3A CN109828797A (en) | 2019-01-17 | 2019-01-17 | Capture service processes management method and relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109828797A true CN109828797A (en) | 2019-05-31 |
Family
ID=66860403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910045285.3A Pending CN109828797A (en) | 2019-01-17 | 2019-01-17 | Capture service processes management method and relevant device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109828797A (en) |
WO (1) | WO2020147415A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020147415A1 (en) * | 2019-01-17 | 2020-07-23 | 平安科技(深圳)有限公司 | Snapshot service process management method and apparatus, electronic device, and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621398A (en) * | 2008-06-30 | 2010-01-06 | 中兴通讯股份有限公司 | Client/server system and method for automatic multi-client synchronous configuration thereof |
CN103218242A (en) * | 2013-04-19 | 2013-07-24 | 飞天诚信科技股份有限公司 | Method of automatic update |
CN104168126A (en) * | 2013-05-20 | 2014-11-26 | 江苏华视文化传媒有限公司 | Self-maintenance and management system and method for unattended intelligent device |
CN104268055A (en) * | 2014-09-01 | 2015-01-07 | 腾讯科技(深圳)有限公司 | Program exception monitoring method and device |
CN105260238A (en) * | 2015-10-13 | 2016-01-20 | 珠海许继芝电网自动化有限公司 | Multi-process performance improvement deployment method |
CN106970967A (en) * | 2017-03-22 | 2017-07-21 | 中车大连机车研究所有限公司 | A kind of track circuit database real time updating method and system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4903244B2 (en) * | 2009-06-05 | 2012-03-28 | 株式会社日立製作所 | Computer system and failure recovery method |
CN102147725B (en) * | 2011-03-29 | 2013-09-18 | 福州瑞芯微电子有限公司 | Method for supporting dual cameras in Android |
CN102609644B (en) * | 2012-01-11 | 2015-05-13 | 杭州东信北邮信息技术有限公司 | File protection process |
CN103559151A (en) * | 2013-11-13 | 2014-02-05 | 上海斐讯数据通信技术有限公司 | Method and device for switching screen resolution of mobile terminal |
CN204104056U (en) * | 2014-10-16 | 2015-01-14 | 北京国通创安报警网络技术有限公司 | based on the integrated access device of cloud platform |
CN106445610A (en) * | 2016-10-08 | 2017-02-22 | 乐视控股(北京)有限公司 | Application processing method and device |
CN109828797A (en) * | 2019-01-17 | 2019-05-31 | 平安科技(深圳)有限公司 | Capture service processes management method and relevant device |
-
2019
- 2019-01-17 CN CN201910045285.3A patent/CN109828797A/en active Pending
- 2019-11-15 WO PCT/CN2019/118977 patent/WO2020147415A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621398A (en) * | 2008-06-30 | 2010-01-06 | 中兴通讯股份有限公司 | Client/server system and method for automatic multi-client synchronous configuration thereof |
CN103218242A (en) * | 2013-04-19 | 2013-07-24 | 飞天诚信科技股份有限公司 | Method of automatic update |
CN104168126A (en) * | 2013-05-20 | 2014-11-26 | 江苏华视文化传媒有限公司 | Self-maintenance and management system and method for unattended intelligent device |
CN104268055A (en) * | 2014-09-01 | 2015-01-07 | 腾讯科技(深圳)有限公司 | Program exception monitoring method and device |
CN105260238A (en) * | 2015-10-13 | 2016-01-20 | 珠海许继芝电网自动化有限公司 | Multi-process performance improvement deployment method |
CN106970967A (en) * | 2017-03-22 | 2017-07-21 | 中车大连机车研究所有限公司 | A kind of track circuit database real time updating method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020147415A1 (en) * | 2019-01-17 | 2020-07-23 | 平安科技(深圳)有限公司 | Snapshot service process management method and apparatus, electronic device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020147415A1 (en) | 2020-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105227626B (en) | Content pushing method and device and terminal | |
CN103793323B (en) | The automatic testing equipment and its automatic test approach of embedded software | |
CN107104816A (en) | A kind of information change monitoring method and device | |
CN106100902A (en) | High in the clouds index monitoring method and apparatus | |
WO2019051948A1 (en) | Method, apparatus, server, and storage medium for processing monitoring data | |
CN109697359A (en) | A kind of message prompt method, device, storage medium and electronic equipment | |
CN110224854A (en) | Dispositions method, device and the storage medium of block chain node | |
CN110113391A (en) | A kind of client loading method, device and a kind of client operation method, device | |
CN105117295A (en) | Memory resource release method and device and electronic equipment | |
CN112328448A (en) | Zookeeper-based monitoring method, monitoring device, equipment and storage medium | |
CN109684155A (en) | Monitor configuration method, device, equipment and readable storage medium storing program for executing | |
CN109558297A (en) | EMS memory management process and device | |
CN112711518B (en) | Log uploading method and device | |
CN105653316A (en) | Method and device for monitoring unloaded situation of software | |
CN109828797A (en) | Capture service processes management method and relevant device | |
CN113506100A (en) | Alliance link data processing method and device, computer equipment and storage medium | |
CN113138717A (en) | Node deployment method, device and storage medium | |
CN110298001B (en) | Method and device for acquiring log data packet and computer readable storage medium | |
CN107197088A (en) | Screenshot method and device based on Android mobile device | |
CN117331576A (en) | Application pre-download method, device, computer and storage medium | |
CN111031354B (en) | Multimedia playing method, device and storage medium | |
CN113890753A (en) | Digital identity management method, device, system, computer equipment and storage medium | |
CN113515425A (en) | Method and device for dynamically reporting data | |
CN116405334B (en) | Block chain-based computing power network flow processing method, equipment and medium | |
CN118200140B (en) | Data processing method, management system and related equipment |
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: 20190531 |
|
RJ01 | Rejection of invention patent application after publication |