WO2020147415A1 - Snapshot service process management method and apparatus, electronic device, and readable storage medium - Google Patents

Snapshot service process management method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2020147415A1
WO2020147415A1 PCT/CN2019/118977 CN2019118977W WO2020147415A1 WO 2020147415 A1 WO2020147415 A1 WO 2020147415A1 CN 2019118977 W CN2019118977 W CN 2019118977W WO 2020147415 A1 WO2020147415 A1 WO 2020147415A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration information
service process
information
capture device
capture
Prior art date
Application number
PCT/CN2019/118977
Other languages
French (fr)
Chinese (zh)
Inventor
陈林
陈龙
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020147415A1 publication Critical patent/WO2020147415A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • This application relates to the field of computers, and in particular to a method, device, electronic equipment, and readable storage medium for managing the process of snapshot service.
  • the first aspect of the present application provides a method for managing the process of a snapshot service, the method including:
  • the capture device sets a monitoring program and detects configuration information of the capture device through the monitoring program, where the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
  • the capture device judges whether the detected configuration information is changed compared to the initial configuration information
  • the capture device stops running the capture service process, restarts and runs the capture service process
  • the capture device transmits the detected configuration information of the capture device to the management server for storage.
  • judging by the capturing device whether the detected configuration information is changed compared to the initial configuration information includes:
  • the monitoring program records the information of the initially running snapshot service process in the snapshot device, and performs MD5 verification on the initially running snapshot service process according to the recorded information of the initially running snapshot service process, and records the initial summary information ;
  • the judging whether the configuration information of the capture device has been changed according to the comparison result of the current summary information and the initial summary information includes:
  • the method further includes:
  • the management server generates a log file according to the acquired configuration information of the capture device, and displays the log file to the user for viewing.
  • the method further includes:
  • the management server sends the acquired configuration information of the capture device to the mobile terminal in communication connection with the management server.
  • the method further includes:
  • the snapping device monitors whether the snapping service process is abnormal.
  • the monitoring by the capturing device whether there is an abnormality in the capturing service process includes:
  • An exception log file is generated according to the stack information.
  • a second aspect of the present application provides an electronic device that includes a processor and a memory, the memory is configured to store at least one computer-readable instruction, and the processor is configured to execute the at least one computer-readable instruction to The process management method for the capture service is realized.
  • a third aspect of the present application provides a non-volatile readable storage medium that stores at least one computer readable instruction, and when the at least one computer readable instruction is executed by a processor The process management method for the capture service is realized.
  • a fourth aspect of the present application provides a device for managing the process of a capture service, the device including:
  • the detection module is used to set a monitoring program in the capture device and detect the configuration information of the capture device through the monitoring program, wherein the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
  • the judgment module is used to judge whether the detected configuration information has changed compared with the initial configuration information
  • a processing module configured to stop running the snapshot service process of the snapshot device, restart and run the snapshot service process when the detected configuration information changes;
  • the sending module is used to transmit the detected configuration information of the capture device to the management server for storage.
  • the snapshot service process can be automatically completed after the configuration information of the snapshot device is changed. Restarting does not require manual intervention, reducing the failure time of the capture device, and the response speed of the capture service process re-running is faster.
  • FIG. 1 is a diagram of the application environment of the method for managing the process of capturing services in an embodiment of this application.
  • Fig. 2 is a flowchart of a process management method for a snapshot service in an embodiment of the present application.
  • FIG. 3 is a structural diagram of a device for managing the process of capturing a service in an embodiment of the present application.
  • Figure 4 is a schematic diagram of the electronic equipment of the application.
  • FIG. 1 is a diagram of the application environment of the method for managing the process of capturing services in an embodiment of this application.
  • the process management method for the capture service is applied to the capture device 1 and the management server 2.
  • the capture device 1 is in communication connection with the management server 2 via the network 3, and is used to transmit the monitored configuration information of the capture device 1 to the management server 2 via the network 3.
  • the network 3 used to support the communication between the capture device 1 and the management server 2 may be a wired network or a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcast Wait.
  • the capture device 1 may be a computer, a notebook computer, a smart phone, or other devices.
  • the management server 2 may be a single server or multiple server clusters, such as cloud servers.
  • Fig. 2 is a flowchart of a method for capturing a service process in an embodiment of the present application. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the method for capturing service process includes the following steps:
  • Step S201 The capture device 1 sets a monitoring program and detects the configuration information of the capture device 1 through the monitoring program.
  • the monitoring program may be a lower-level computer.
  • the management server 2 includes a remote process management service program, and the remote process management service program is an upper computer.
  • the communication connection between the capture monitoring program (lower computer) of the capture device 1 and the remote process management service program (upper computer) in the management server 2 is realized through the network 3.
  • the configuration information of the capture device 1 includes, but is not limited to, the resolution of the photo, the time interval of the photo, and the communication mode (whether it supports mobile, telecommunications, China Unicom network), and so on.
  • the configuration information of the capture device 1 can be detected in real time through the monitoring program and the detected configuration information of the capture device 1 is transmitted to the management server 2 via the network 3.
  • the configuration information of the capture device 1 can be periodically detected through the monitoring program. For example, the configuration information of the capture device 1 can be detected every 1 minute through the monitoring program and the detected configuration information of the capture device 1 is sent to Management server 2.
  • step S202 the capture device 1 determines whether the detected configuration information is changed compared to the initial configuration information.
  • step S203 when it is determined that the detected configuration information has changed, step S203 is executed, and when it is determined that the detected configuration information has not changed, step S201 is executed.
  • the step S202 includes:
  • the snapping device 1 records the information of the initially running snapping service process in the snapping device 1 through the monitoring program, and performs MD5 (MD5) on the initially running snapping service process according to the recorded information of the initially running snapping service process.
  • MD5 MD5
  • message-digestalgorithm5, information-digest algorithm) check record the initial summary information.
  • the information of the capture service process recorded by the monitoring program refers to the information of each configuration parameter of the capture device 1.
  • the configuration parameters of the capture device 1 are compared to see if there is any change, and whether to restart the capture service process is determined according to the comparison result.
  • MD5 is an abbreviation of information-digest algorithm, which is widely used in encryption and decryption technology, and it is a "digital fingerprint" of a file. Any file, whether it is an executable program, image file, temporary file or any other type of file, and no matter how large it is, has and only a unique MD5 information value, and if the file is modified, its MD5 The value will also change accordingly. Therefore, you can verify whether the file has been "tampered” by comparing the MD5 value of the same file. After downloading the file, if you want to know whether the downloaded file is exactly the same as the original file on the website, you can do MD5 verification for the downloaded file.
  • the MD5 value obtained is the same as that published on the website, you can confirm that the downloaded file is complete. If there is a difference, the downloaded file is incomplete: either an error occurred during the file download, or the file has been modified by someone else. Therefore, in this embodiment, if any of the configuration information of the capture device 1, such as the resolution of the photo, the time interval of the photo, and the communication mode, changes, the MD5 value corresponding to the capture service process will correspondingly change.
  • (S2024) Determine whether the configuration information of the capture device 1 has been changed according to the comparison result of the current summary information and the initial summary information. In this embodiment, if the current summary information is consistent with the initial summary information, the monitoring program can determine that the configuration information of the capture device 1 has not changed; if the current summary information is inconsistent with the initial summary information, the monitoring program determines that the configuration information of the capture device 1 has occurred change.
  • Step S203 When the detected configuration information is changed, the capture device 1 stops running the capture service process, and restarts and runs the capture service process.
  • the monitoring program detects that the configuration information has changed, by first stopping the capture service process, and then restarting the capture service process running the capture device 1, the capture can be automatically completed after the configuration information of the capture device 1 is changed.
  • the restart of the service process does not require manual intervention, which reduces the failure time of the capture device 1, and at the same time, the response speed of the capture service process re-running is faster.
  • the configuration information of the capture device can be manually modified, or the configuration information of the capture device 1 can be modified through a remote process management service program.
  • Step S204 The capture device 1 transmits the detected configuration information of the capture device 1 to the management server 2 for storage.
  • the capture device 1 transmits the detected configuration information of the capture device 1 via the network 3 to the management server 2 for storage so that the management server 2 records the configuration information of the capture device 1.
  • the method further includes: the management server 2 generates a log file according to the acquired configuration information of the capture device 1, and displays the log file to the user for viewing.
  • the management server 2 generates a log file according to the captured resolution of the capture device 1 and the time interval of the photo, and displays it to the user for viewing.
  • the method further includes: the management server 2 sends the acquired configuration information of the capture device 1 to a mobile terminal communicatively connected with the management server 2.
  • the management server 2 sends the acquired configuration information of the capture device 1 to the mobile terminal communicatively connected with the management server 2 so that the administrator using the mobile terminal can understand the situation in time and take corresponding measures.
  • the method further includes:
  • the capture device 1 monitors whether the capture service process is abnormal.
  • the snapshot service process is continuously run and a detection message is sent to the communication window associated with the snapshot service process. If the response message returned by the communication window according to the detection message is not received within the preset time, it is determined that the snapshot service process is abnormal. At this time, the current stack message of the snapshot service process is obtained, and an exception log file is generated according to the stack information. This can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
  • the monitoring by the capture device 1 whether there is an abnormality in the capture service process includes:
  • the capture service process is pre-associated with a communication window, and the monitoring program in the capture device 1 sends detection messages to the communication window.
  • the communication window can be a background window set outside the main window of the capture service process, and does not affect the capture
  • the service process is running normally.
  • the monitoring program can send detection messages to the communication window according to a preset time period, and the type of detection messages is not limited in this application.
  • the communication window associated with the capture service process will feedback a response message to the monitoring device within a preset time after receiving the detection message; if the capture service process runs abnormally, the capture service process is associated After receiving the detection message in the communication window, it is unable to feedback the response message to the monitoring program or the feedback response message is timed out. If the monitoring program does not receive the response message within the preset time, it is determined that the snapshot service process is running abnormally.
  • the stack information includes the call record of the function called by the snapshot service process and the current program pointer address.
  • the monitoring program determines that the snapshot service process is abnormal, it obtains the current stack information of the snapshot service process.
  • the monitoring program generates an exception log file according to the obtained stack information, wherein the daily log file saves the stack information when the snapshot service process is abnormal.
  • Software analysts can analyze the abnormal cause of the snapshot service process based on the abnormal log file.
  • the capture service process by sending a detection message to the communication window associated with the capture service process, and no response message feedback from the communication window is received within a preset time, it is determined that the capture service process is abnormal, and the stack information of the capture service process is obtained and based on the stack
  • the information generates an abnormal log file, which can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
  • FIG. 3 is a structural diagram of a snapshot service process management device 40 in an embodiment of this application.
  • the capture service process management apparatus 40 runs in an electronic device.
  • the capture service process management device 40 may include multiple functional modules composed of program code segments.
  • the program code of each program segment in the capture service process management device 40 may be stored in the memory and executed by at least one processor to perform the function of the capture service process management.
  • the capture service process management device 40 can be divided into multiple functional modules according to the functions it performs.
  • the capture service process management apparatus 40 may include a detection module 401, a judgment module 402, a processing module 403, a sending module 404, a log generation module 405, and a transmission module 406.
  • the module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
  • the detection module 401, the judgment module 402, the processing module 403, and the sending module 404 run in the capture device 1, and the log generation module 405 and the transmission module 406 run in the management server 2.
  • the functions of each module will be described in detail in subsequent embodiments.
  • the detection module 401 sets a monitoring program in the capture device 1 and detects the configuration information of the capture device 1 through the monitoring program.
  • the monitoring program may be a lower-level computer.
  • the management server 2 includes a remote process management service program, and the remote process management service program is an upper computer.
  • the communication connection between the capture monitoring program (lower computer) of the capture device 1 and the remote process management service program (upper computer) in the management server 2 is realized through the network 3.
  • the configuration information of the capture device 1 includes, but is not limited to, the resolution of the photo, the time interval of the photo, and the communication mode (whether it supports mobile, telecommunications, China Unicom network), and so on.
  • the configuration information of the capture device 1 can be detected in real time through the monitoring program and the detected configuration information of the capture device 1 is transmitted to the management server 2 via the network 3.
  • the configuration information of the capture device 1 can be periodically detected through the monitoring program. For example, the configuration information of the capture device 1 can be detected every 1 minute through the monitoring program and the detected configuration information of the capture device 1 is sent to Management server 2.
  • the judgment module 402 judges whether the detected configuration information has been changed.
  • the monitoring program continues to detect the configuration information of the capture device 1.
  • the judging module 402 records the information of the initially running snapping service process in the snapping device 1 through the monitoring program, and performs MD5 calibration on the initially running snapping service process according to the recorded information of the initially running snapping service process. Verify and record the initial summary information.
  • the information of the capture service process recorded by the monitoring program refers to the information of each configuration parameter of the capture device 1.
  • the configuration parameters of the capture device 1 are compared to see if there is any change, and whether to restart the capture service process is determined according to the comparison result.
  • MD5 is an abbreviation of information-digest algorithm, which is widely used in encryption and decryption technology, and it is a "digital fingerprint" of a file. Any file, whether it is an executable program, image file, temporary file or any other type of file, no matter how large it is, has and only a unique MD5 information value, and if the file is modified, its MD5 The value will also change accordingly. Therefore, you can verify whether the file has been "tampered” by comparing the MD5 value of the same file. After downloading the file, if you want to know whether the downloaded file is exactly the same as the original file on the website, you can do MD5 verification for the downloaded file.
  • the MD5 value obtained is the same as that published on the website, you can confirm that the downloaded file is complete. If there is a difference, the downloaded file is incomplete: either an error occurred during the file download, or the file has been modified by someone else. Therefore, in this embodiment, if any of the configuration information of the capture device 1, such as the resolution of the photo, the time interval of the photo, and the communication mode, changes, the MD5 value corresponding to the capture service process will correspondingly change.
  • the judgment module 402 also periodically detects the operation information of the snapshot service process through the monitoring program and performs MD5 verification according to the detected operation information including the configuration information, records the current summary information, and compares the current summary information with The initial summary information of the capture service process is compared, and it is determined whether the configuration information of the capture device 1 has been changed according to the comparison result of the current summary information and the initial summary information.
  • the monitoring program can determine that the configuration information of the capture device 1 has not changed; if the current summary information is inconsistent with the initial summary information, the monitoring program determines that the configuration information of the capture device 1 has occurred change.
  • the processing module 403 is used to stop running the snapshot service process, restart and run the snapshot service process when the detected configuration information changes.
  • the monitoring program detects that the configuration information has changed, by first stopping the capture service process, and then restarting the capture service process running the capture device 1, the capture can be automatically completed after the configuration information of the capture device 1 is changed.
  • the restart of the service process does not require manual intervention, which reduces the failure time of the capture device 1, and at the same time, the response speed of the capture service process re-running is faster.
  • the configuration information of the capture device can be manually modified, or the configuration information of the capture device 1 can be modified through a remote process management service program.
  • the sending module 404 transmits the detected configuration information of the capture device 1 to the management server 2 for storage.
  • the sending module 404 transmits the detected configuration information of the capture device 1 via the network 3 to the management server 2 for storage so that the management server 2 records the configuration information of the capture device 1.
  • the log generation module 405 is configured to control the management server 2 to generate a log file according to the acquired configuration information of the capture device 1, and display the log file to the user for viewing.
  • the log generation module 405 controls the management server 2 to generate a log file according to the captured resolution of the capture device 1 and the time interval of the photo, and display it to the user for viewing.
  • the transmission module 406 is configured to control the management server 2 to send the acquired configuration information of the capture device 1 to the mobile terminal in communication connection with the management server 2.
  • the transmission module 406 controls the management server 2 to send the acquired configuration information of the capture device 1 to the mobile terminal in communication with the management server 2 so that the administrator using the mobile terminal can understand the situation in time and take corresponding measures. Measures.
  • the detection module 401 is also used to monitor whether the capture service process of the capture device 1 is abnormal through the monitoring program.
  • the snapshot service process is continuously run and a detection message is sent to the communication window associated with the snapshot service process. If the response message returned by the communication window according to the detection message is not received within the preset time, it is determined that the snapshot service process is abnormal. At this time, the current stack message of the snapshot service process is obtained, and an exception log file is generated according to the stack information. This can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
  • the monitoring program for monitoring whether there is an abnormality in the capture service process of the capture device 1 includes:
  • the capture service process is pre-associated with a communication window, and the monitoring program sends detection messages to the communication window.
  • the communication window can be a background window set outside the main window of the capture service process, and does not affect the normal operation of the capture service process.
  • the monitoring program can send detection messages to the communication window according to a preset time period, and the type of detection messages is not limited in this application.
  • the communication window associated with the capture service process will feedback a response message to the monitoring device within a preset time after receiving the detection message; if the capture service process runs abnormally, the capture service process is associated After receiving the detection message in the communication window, it is unable to feedback the response message to the monitoring program or the feedback response message is timed out. If the monitoring program does not receive the response message within the preset time, it is determined that the snapshot service process is running abnormally.
  • the stack information includes the call record of the function called by the snapshot service process and the current program pointer address.
  • the monitoring program determines that the snapshot service process is abnormal, it obtains the current stack information of the snapshot service process.
  • the monitoring program generates an exception log file based on the obtained stack information, and the daily log file saves the stack information when the snapshot service process is abnormal.
  • Software analysts can analyze the abnormal cause of the snapshot service process based on the abnormal log file.
  • the capture service process by sending a detection message to the communication window associated with the capture service process, and no response message feedback from the communication window is received within a preset time, it is determined that the capture service process is abnormal, and the stack information of the capture service process is obtained and based on the stack
  • the information generates an abnormal log file, which can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
  • FIG. 4 is a schematic diagram of the electronic device 6 in an embodiment of the application.
  • the electronic device 6 includes a memory 61, a processor 62, and a computer program 63 that is stored in the memory 61 and can run on the processor 62.
  • the steps in the embodiment of the method for managing the process of the capture service are implemented, for example, steps S201 to S204 shown in FIG. 2.
  • the processor 62 executes the computer program 63
  • the functions of the modules/units in the foregoing embodiment of the device for managing the process of capturing a service process are implemented, such as the modules 401 to 406 in FIG. 3.
  • the computer program 63 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 62 to complete This application.
  • the one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 63 in the electronic device 6.
  • the computer program 63 may be divided into a detection module 401, a judgment module 402, a processing module 403, a sending module 404, a log generation module 405, and a transmission module 406 in FIG. 3.
  • a detection module 401 a judgment module 402
  • a processing module 403 a sending module 404
  • a log generation module 405 a transmission module 406 in FIG. 3.
  • a transmission module 406 for specific functions of each module, refer to Embodiment 2.
  • the electronic device 6 may be the aforementioned capture device 1.
  • the electronic device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server.
  • a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server.
  • the schematic diagram is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6. It may include more or less components than those shown in the figure, or a combination of certain components, or different components. Components, for example, the electronic device 6 may also include input and output devices, network access devices, buses, and so on.
  • the so-called processor 62 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor can be a microprocessor or the processor 62 can also be any conventional processor, etc.
  • the processor 62 is the control center of the electronic device 6 and connects the entire electronic device 6 with various interfaces and lines. The various parts.
  • the memory 61 may be used to store the computer program 63 and/or modules/units.
  • the processor 62 runs or executes the computer programs and/or modules/units stored in the memory 61 and calls the computer programs and/or modules/units stored in the memory 61.
  • the data in 61 realizes various functions of the computer electronic device 6.
  • the memory 61 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data (such as audio data) created according to the use of the electronic device 6 and the like are stored.
  • the memory 61 may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • the integrated module/unit of the electronic device 6 is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a non-volatile readable storage medium.
  • this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a non-volatile readable storage medium.
  • the computer program is executed by the processor, it can implement the steps of the foregoing method embodiments.
  • the computer program is a series of computer readable instructions, and the computer readable instruction code may be in the form of source code, object code, executable file, or some intermediate form, etc.
  • the non-volatile readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read- Only Memory.
  • the functional modules in the various embodiments of the present application may be integrated in the same processing module, or each module may exist alone physically, or two or more modules may be integrated in the same module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of hardware plus software functional modules.

Abstract

A snapshot service process management method and apparatus, an electronic device, and a readable storage medium. The method comprises: a snapshot apparatus sets a monitoring program and detects configuration information of the snapshot apparatus by means of the monitoring program (S201), wherein the configuration information comprises a photographing resolution ratio, a photographing time interval, or a communication mode; the snapshot apparatus determines whether the detected configuration information is changed compared with initial configuration information (S202); when it is detected that the configuration information is changed, the snapshot apparatus stops running the snapshot service process and restarts and runs the snapshot service process (S203); the snapshot apparatus transmits the detected configuration information of the snapshot apparatus to a management server for storage (S204). The snapshot service process can be automatically restarted after a user changes the configuration information of the snapshot apparatus, manual intervention is not required, and the fault time of the snapshot apparatus is shortened.

Description

抓拍服务进程管理方法、装置、电子设备及可读存储介质Snapshot service process management method, device, electronic equipment and readable storage medium
本申请要求于2019年01月17日提交中国专利局,申请号为201910045285.3发明名称为“抓拍服务进程管理方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims to be submitted to the Chinese Patent Office on January 17, 2019. The application number is 201910045285.3. The priority of the Chinese patent application whose title is "Snapshot Service Process Management Method and Related Equipment", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请涉及计算机领域,具体涉及一种抓拍服务进程管理方法、装置、电子设备及可读存储介质。This application relates to the field of computers, and in particular to a method, device, electronic equipment, and readable storage medium for managing the process of snapshot service.
背景技术Background technique
现有抓拍装置服务进程持续运行时,当管理人员在修改抓拍装置的配置信息后,需要人工对抓拍装置进程重启系统。然而人工重启抓拍装置的流程比较麻烦,抓拍装置恢复正常工作状态时间比较长。When the service process of the existing capture device continues to run, when the manager modifies the configuration information of the capture device, the system needs to be manually restarted for the capture device process. However, the process of manually restarting the capture device is troublesome, and it takes a long time for the capture device to resume its normal working state.
发明内容Summary of the invention
鉴于以上内容,有必要提出一种抓拍服务进程管理方法、装置、电子设备和非易失性可读存储介质,可以在用户更改抓拍装置的配置信息后自动完成抓拍服务进程的重启,不需要人工干预,减少了抓拍装置故障时间。In view of the above, it is necessary to propose a snapshot service process management method, device, electronic equipment and non-volatile readable storage medium, which can automatically restart the snapshot service process after the user changes the configuration information of the capture device, without manual Intervention reduces the failure time of the capture device.
本申请的第一方面提供一种抓拍服务进程管理方法,所述方法包括:The first aspect of the present application provides a method for managing the process of a snapshot service, the method including:
抓拍装置设置监控程序并通过所述监控程序检测所述抓拍装置的配置信息,其中所述配置信息包括拍照的分辨率、拍照的时间间隔或通信方式;The capture device sets a monitoring program and detects configuration information of the capture device through the monitoring program, where the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
所述抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动;The capture device judges whether the detected configuration information is changed compared to the initial configuration information;
当检测出的所述配置信息发生改动时,所述抓拍装置停止运行抓拍服务进程,重新启动并运行所述抓拍服务进程;及When the detected configuration information changes, the capture device stops running the capture service process, restarts and runs the capture service process; and
所述抓拍装置将检测出的抓拍装置的配置信息传输给管理服务器进行存储。The capture device transmits the detected configuration information of the capture device to the management server for storage.
优选地,所述抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动包括:Preferably, judging by the capturing device whether the detected configuration information is changed compared to the initial configuration information includes:
通过所述监控程序记录所述抓拍装置内的初始运行的抓拍服务进程的信息,并根据记录的初始运行的抓拍服务进程的信息对初始运行的抓拍服务进程进行MD5校验,记录下初始摘要信息;The monitoring program records the information of the initially running snapshot service process in the snapshot device, and performs MD5 verification on the initially running snapshot service process according to the recorded information of the initially running snapshot service process, and records the initial summary information ;
通过所述监控程序定时检测所述抓拍服务进程的运行信息并依据检测出的包含所述 配置信息的所述运行信息进行MD5校验,记录下当前摘要信息;Periodically detect the operation information of the snapping service process through the monitoring program, perform MD5 verification according to the detected operation information including the configuration information, and record the current summary information;
将所述当前所述摘要信息与所述抓拍服务进程的初始摘要信息进行比较;Comparing the current summary information with the initial summary information of the snapshot service process;
根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动。Determine whether the configuration information of the capture device has been changed according to the comparison result of the current summary information and the initial summary information.
优选地,所述根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动包括:Preferably, the judging whether the configuration information of the capture device has been changed according to the comparison result of the current summary information and the initial summary information includes:
若所述当前摘要信息与所述初始摘要信息一致时,则确定所述抓拍装置的配置信息没有改动;及If the current summary information is consistent with the initial summary information, it is determined that the configuration information of the capture device has not changed; and
若所述当前摘要信息与所述初始摘要信息不一致时,确定所述抓拍装置的配置信息发生改动。If the current summary information is inconsistent with the initial summary information, it is determined that the configuration information of the capture device has changed.
优选地,所述方法还包括:Preferably, the method further includes:
所述管理服务器根据获取的抓拍装置的配置信息生成日志文件,并将所述日志文件展示给用户查看。The management server generates a log file according to the acquired configuration information of the capture device, and displays the log file to the user for viewing.
优选地,所述方法还包括:Preferably, the method further includes:
所述管理服务器将获取的抓拍装置的配置信息发送给与所述管理服务器通信连接的移动终端。The management server sends the acquired configuration information of the capture device to the mobile terminal in communication connection with the management server.
优选地,所述方法还包括:Preferably, the method further includes:
所述抓拍装置监控所述抓拍服务进程是否有异常。The snapping device monitors whether the snapping service process is abnormal.
优选地,所述抓拍装置监控所述抓拍服务进程是否有异常包括:Preferably, the monitoring by the capturing device whether there is an abnormality in the capturing service process includes:
向所述抓拍服务进程关联的通信窗口发送探测消息;Sending a detection message to the communication window associated with the capture service process;
若预设时间内未收到所述通信窗口反馈的响应消息,则确定所述抓拍服务进程运行异常;If the response message fed back by the communication window is not received within the preset time, it is determined that the snapshot service process is running abnormally;
获取所述抓拍服务进程的堆栈信息;及Acquiring the stack information of the capture service process; and
根据所述堆栈信息生成异常日志文件。An exception log file is generated according to the stack information.
本申请的第二方面提供一种电子设备,所述电子设备包括处理器和存储器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现所述抓拍服务进程管理方法。A second aspect of the present application provides an electronic device that includes a processor and a memory, the memory is configured to store at least one computer-readable instruction, and the processor is configured to execute the at least one computer-readable instruction to The process management method for the capture service is realized.
本申请的第三方面提供一种非易失性可读存储介质,所述非易失性可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现所述抓拍服务进程管理方法。A third aspect of the present application provides a non-volatile readable storage medium that stores at least one computer readable instruction, and when the at least one computer readable instruction is executed by a processor The process management method for the capture service is realized.
本申请的第四方面提供一种抓拍服务进程管理装置,所述装置包括:A fourth aspect of the present application provides a device for managing the process of a capture service, the device including:
检测模块,用于在抓拍装置内设置监控程序并通过所述监控程序检测所述抓拍装置的配置信息,其中所述配置信息包括拍照的分辨率、拍照的时间间隔或通信方式;The detection module is used to set a monitoring program in the capture device and detect the configuration information of the capture device through the monitoring program, wherein the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
判断模块,用于判断检测出的配置信息相较于初始配置信息是否有改动;The judgment module is used to judge whether the detected configuration information has changed compared with the initial configuration information;
处理模块,用于当检测出的所述配置信息发生改动时,停止运行所述抓拍装置的抓拍服务进程,重新启动并运行所述抓拍服务进程;及A processing module, configured to stop running the snapshot service process of the snapshot device, restart and run the snapshot service process when the detected configuration information changes; and
发送模块,用于将检测出的抓拍装置的配置信息传输给管理服务器进行存储。The sending module is used to transmit the detected configuration information of the capture device to the management server for storage.
本申请中,当监控程序检测到配置信息发生改动时,通过先停止运行抓拍服务进程,然后重新启动运行抓拍装置的抓拍服务进程,可以在抓拍装置的配置信息发生改动后自动完成抓拍服务进程的重启,不需要人工干预,减少了抓拍装置的故障时间,同时抓拍服务进程重新运行的响应速度更快。In this application, when the monitoring program detects that the configuration information has changed, by first stopping the snapshot service process, and then restarting the snapshot service process running the snapshot device, the snapshot service process can be automatically completed after the configuration information of the snapshot device is changed. Restarting does not require manual intervention, reducing the failure time of the capture device, and the response speed of the capture service process re-running is faster.
附图说明BRIEF DESCRIPTION
图1为本申请一实施方式中抓拍服务进程管理方法的应用环境图。FIG. 1 is a diagram of the application environment of the method for managing the process of capturing services in an embodiment of this application.
图2是本申请一实施方式中抓拍服务进程管理方法的流程图。Fig. 2 is a flowchart of a process management method for a snapshot service in an embodiment of the present application.
图3是本申请一实施方式中抓拍服务进程管理装置的结构图。FIG. 3 is a structural diagram of a device for managing the process of capturing a service in an embodiment of the present application.
图4为本申请电子设备的示意图。Figure 4 is a schematic diagram of the electronic equipment of the application.
具体实施方式detailed description
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to be able to understand the above objectives, features and advantages of the application more clearly, the application will be described in detail below with reference to the drawings and specific embodiments. It should be noted that the embodiments of the application and the features in the embodiments can be combined with each other if there is no conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本申请,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following description, many specific details are set forth in order to fully understand the present application. The described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present application. The terminology used in the specification of the present application herein is for the purpose of describing specific embodiments, and is not intended to limit the present application.
图1为本申请一实施方式中抓拍服务进程管理方法的应用环境图。FIG. 1 is a diagram of the application environment of the method for managing the process of capturing services in an embodiment of this application.
参阅图1所示,所述抓拍服务进程管理方法应用在抓拍装置1及管理服务器2中。所述抓拍装置1通过网络3与管理服务器2通信连接,用于将监测的抓拍装置1的配置信息通过网络3传输给管理服务器2。本实施方式中,用于支持抓拍装置1与管理服务器2进行通信 的网络网络3可以是有线网络,也可以是无线网络,例如无线电、无线保真(Wireless Fidelity,WIFI)、蜂窝、卫星、广播等。本实施方式中,所述抓拍装置1可以为计算机,笔记本电脑、智能手机等装置。所述管理服务器2可以为单个服务器,也可以是多个服务器集群,如云服务器。Referring to FIG. 1, the process management method for the capture service is applied to the capture device 1 and the management server 2. The capture device 1 is in communication connection with the management server 2 via the network 3, and is used to transmit the monitored configuration information of the capture device 1 to the management server 2 via the network 3. In this embodiment, the network 3 used to support the communication between the capture device 1 and the management server 2 may be a wired network or a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcast Wait. In this embodiment, the capture device 1 may be a computer, a notebook computer, a smart phone, or other devices. The management server 2 may be a single server or multiple server clusters, such as cloud servers.
图2是本申请一实施方式中抓拍服务进程方法的流程图。根据不同的需求,所述流程图中步骤的顺序可以改变,某些步骤可以省略。Fig. 2 is a flowchart of a method for capturing a service process in an embodiment of the present application. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
参阅图2所示,所述抓拍服务进程方法具体包括以下步骤:Referring to FIG. 2, the method for capturing service process includes the following steps:
步骤S201,抓拍装置1设置监控程序并通过所述监控程序检测所述抓拍装置1的配置信息。Step S201: The capture device 1 sets a monitoring program and detects the configuration information of the capture device 1 through the monitoring program.
本实施方式中,所述监控程序可以为一下位机。所述管理服务器2包括一远程进程管理服务程序,所述远程进程管理服务程序为一上位机。如此,通过网络3实现抓拍装置1的抓拍监控程序(下位机)与管理服务器2中的远程进程管理服务程序(上位机)的通信连接。本实施方式中,所述抓拍装置1的配置信息包括,但不限于拍照的分辨率、拍照的时间间隔、通信方式(是否支持移动、电信、联通网络)等。In this embodiment, the monitoring program may be a lower-level computer. The management server 2 includes a remote process management service program, and the remote process management service program is an upper computer. In this way, the communication connection between the capture monitoring program (lower computer) of the capture device 1 and the remote process management service program (upper computer) in the management server 2 is realized through the network 3. In this embodiment, the configuration information of the capture device 1 includes, but is not limited to, the resolution of the photo, the time interval of the photo, and the communication mode (whether it supports mobile, telecommunications, China Unicom network), and so on.
本实施方式中,通过所述监控程序可以实时检测抓拍装置1的配置信息并将检测出的抓拍装置1的配置信息通过网络3传送给管理服务器2。在其他实施方式中,通过所述监控程序可以定时地检测抓拍装置1的配置信息,如通过监控程序每隔1分钟检测抓拍装置1的配置信息并将检测出的抓拍装置1的配置信息发送给管理服务器2。In this embodiment, the configuration information of the capture device 1 can be detected in real time through the monitoring program and the detected configuration information of the capture device 1 is transmitted to the management server 2 via the network 3. In other embodiments, the configuration information of the capture device 1 can be periodically detected through the monitoring program. For example, the configuration information of the capture device 1 can be detected every 1 minute through the monitoring program and the detected configuration information of the capture device 1 is sent to Management server 2.
步骤S202,所述抓拍装置1判断检测出的配置信息相较于初始配置信息是否有改动。In step S202, the capture device 1 determines whether the detected configuration information is changed compared to the initial configuration information.
本实施方式中,当判断检测出的配置信息有改动时执行步骤S203,当判断检测出的配置信息没有改动时执行步骤S201。In this embodiment, when it is determined that the detected configuration information has changed, step S203 is executed, and when it is determined that the detected configuration information has not changed, step S201 is executed.
本实施方式中,所述步骤S202包括:In this embodiment, the step S202 includes:
(S2021)所述抓拍装置1通过所述监控程序记录抓拍装置1内的初始运行的抓拍服务进程的信息,并根据记录的初始运行的抓拍服务进程的信息对初始运行的抓拍服务进程进行MD5(message-digestalgorithm5,信息-摘要算法)校验,记录下初始摘要信息。(S2021) The snapping device 1 records the information of the initially running snapping service process in the snapping device 1 through the monitoring program, and performs MD5 (MD5) on the initially running snapping service process according to the recorded information of the initially running snapping service process. message-digestalgorithm5, information-digest algorithm) check, record the initial summary information.
本实施方法中,通过所述监控程序记录的抓拍服务进程的信息是指抓拍装置1的各个配置参数的信息。本实施方式中,通过比较抓拍装置1的各个配置参数是否发生改动,并依据比较结果确定是否要重启抓拍服务进程。In this implementation method, the information of the capture service process recorded by the monitoring program refers to the information of each configuration parameter of the capture device 1. In this embodiment, the configuration parameters of the capture device 1 are compared to see if there is any change, and whether to restart the capture service process is determined according to the comparison result.
本实施方式中,MD5是信息-摘要算法的缩写,被广泛用于加密和解密技术上,它是文件的“数字指纹”。任何一个文件,无论是可执行程序、图像文件、临时文件或者其他任何类型的文件,也不管它体积多大,都有且只有一个独一无二的MD5信息值,并且如果这个文件被修 改过,它的MD5值也将随之改变。因此,可以通过对比同一文件的MD5值,来校验这个文件是否被“篡改”过。当下载了文件后,如果想知道下载的这个文件和网站的原始文件是否一模一样,就可以给下载的文件做MD5校验。如果得到的MD5值和网站公布的相同,可确认所下载的文件是完整的。如有不同,说明下载的文件是不完整的:要么是在文件下载的过程中出现错误,要么就是此文件已被别人修改。因而,在本实施方式中,若抓拍装置1的配置信息如拍照的分辨率、拍照的时间间隔、通信方式等任一发生改变时,抓拍服务进程对应的MD5值会对应发生改变。In this embodiment, MD5 is an abbreviation of information-digest algorithm, which is widely used in encryption and decryption technology, and it is a "digital fingerprint" of a file. Any file, whether it is an executable program, image file, temporary file or any other type of file, and no matter how large it is, has and only a unique MD5 information value, and if the file is modified, its MD5 The value will also change accordingly. Therefore, you can verify whether the file has been "tampered" by comparing the MD5 value of the same file. After downloading the file, if you want to know whether the downloaded file is exactly the same as the original file on the website, you can do MD5 verification for the downloaded file. If the MD5 value obtained is the same as that published on the website, you can confirm that the downloaded file is complete. If there is a difference, the downloaded file is incomplete: either an error occurred during the file download, or the file has been modified by someone else. Therefore, in this embodiment, if any of the configuration information of the capture device 1, such as the resolution of the photo, the time interval of the photo, and the communication mode, changes, the MD5 value corresponding to the capture service process will correspondingly change.
(S2022)通过所述监控程序定时检测抓拍服务进程的运行信息并依据检测出的包含所述配置信息的运行信息进行MD5校验,记录下当前摘要信息。(S2022) The running information of the snapping service process is periodically detected through the monitoring program, MD5 verification is performed according to the detected running information including the configuration information, and the current summary information is recorded.
(S2023)将当前所述摘要信息与所述抓拍服务进程的初始摘要信息进行比较。(S2023) Compare the current summary information with the initial summary information of the snapshot service process.
(S2024)根据当前摘要信息与初始摘要信息的比较结果判断抓拍装置1的配置信息是否有改动。本实施方式中,若当前摘要信息与初始摘要信息一致,则监测程序能够确定抓拍装置1的配置信息没有改动;若当前摘要信息与初始摘要信息不一致,则监测程序确定抓拍装置1的配置信息发生改动。(S2024) Determine whether the configuration information of the capture device 1 has been changed according to the comparison result of the current summary information and the initial summary information. In this embodiment, if the current summary information is consistent with the initial summary information, the monitoring program can determine that the configuration information of the capture device 1 has not changed; if the current summary information is inconsistent with the initial summary information, the monitoring program determines that the configuration information of the capture device 1 has occurred change.
步骤S203,当检测出的配置信息发生改动时,抓拍装置1停止运行抓拍服务进程,重新启动并运行抓拍服务进程。Step S203: When the detected configuration information is changed, the capture device 1 stops running the capture service process, and restarts and runs the capture service process.
本实施方式中,当监控程序检测到配置信息发生改动时,通过先停止运行抓拍服务进程,然后重新启动运行抓拍装置1的抓拍服务进程,可以在抓拍装置1的配置信息发生改动后自动完成抓拍服务进程的重启,不需要人工干预,减少了抓拍装置1的故障时间,同时抓拍服务进程重新运行的响应速度更快。本实施方式中,可以通过人工修改抓拍装置的配置信息,也可以通过远程进程管理服务程序修改抓拍装置1的配置信息。In this embodiment, when the monitoring program detects that the configuration information has changed, by first stopping the capture service process, and then restarting the capture service process running the capture device 1, the capture can be automatically completed after the configuration information of the capture device 1 is changed. The restart of the service process does not require manual intervention, which reduces the failure time of the capture device 1, and at the same time, the response speed of the capture service process re-running is faster. In this embodiment, the configuration information of the capture device can be manually modified, or the configuration information of the capture device 1 can be modified through a remote process management service program.
步骤S204,抓拍装置1将检测出的抓拍装置1的配置信息传输给管理服务器2进行存储。Step S204: The capture device 1 transmits the detected configuration information of the capture device 1 to the management server 2 for storage.
本实施方式中,抓拍装置1将检测出的抓拍装置1的配置信息通过网络3传输给管理服务器2进行存储以便管理服务器2对抓拍装置1的配置信息进行记录。In this embodiment, the capture device 1 transmits the detected configuration information of the capture device 1 via the network 3 to the management server 2 for storage so that the management server 2 records the configuration information of the capture device 1.
本实施方式中,所述方法在步骤S204之后还包括:所述管理服务器2根据获取的抓拍装置1的配置信息生成日志文件,并将所述日志文件展示给用户查看。In this embodiment, after step S204, the method further includes: the management server 2 generates a log file according to the acquired configuration information of the capture device 1, and displays the log file to the user for viewing.
本实施方式中,所述管理服务器2根据获取的抓拍装置1的拍照的分辨率、拍照的时间间隔生成日志文件,并展示给用户查看。In this embodiment, the management server 2 generates a log file according to the captured resolution of the capture device 1 and the time interval of the photo, and displays it to the user for viewing.
本实施方式中,所述方法在步骤S204之后还包括:所述管理服务器2将获取的抓拍装置1的配置信息发送给与所述管理服务器2通信连接的移动终端。In this embodiment, after step S204, the method further includes: the management server 2 sends the acquired configuration information of the capture device 1 to a mobile terminal communicatively connected with the management server 2.
本实施方式中,管理服务器2通过将获取的抓拍装置1的配置信息发送给与所述管理服务器2通信连接的移动终端以供使用移动终端的管理员及时了解情况并采取相应的措施。In this embodiment, the management server 2 sends the acquired configuration information of the capture device 1 to the mobile terminal communicatively connected with the management server 2 so that the administrator using the mobile terminal can understand the situation in time and take corresponding measures.
本实施方式中,所述方法还包括:In this embodiment, the method further includes:
所述抓拍装置1监控所述抓拍服务进程是否有异常。The capture device 1 monitors whether the capture service process is abnormal.
本实施方式中,不间断的运行抓拍服务进程并向抓拍服务进程关联的通信窗口发送探测消息,如果预设时长内未接收到通信窗口根据探测消息返回的响应消息,确定抓拍服务进程发生异常,此时获取抓拍服务进程当前的堆栈消息,根据堆栈信息生成异常日志文件。这样可以自动监控抓拍服务进程发生的异常,并在发生异常时获取抓拍服务进程的现场数据,便于分析和确定抓拍服务进程的异常原因。In this embodiment, the snapshot service process is continuously run and a detection message is sent to the communication window associated with the snapshot service process. If the response message returned by the communication window according to the detection message is not received within the preset time, it is determined that the snapshot service process is abnormal. At this time, the current stack message of the snapshot service process is obtained, and an exception log file is generated according to the stack information. This can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
具体的,所述抓拍装置1监控所述抓拍服务进程是否有异常包括:Specifically, the monitoring by the capture device 1 whether there is an abnormality in the capture service process includes:
a.向抓拍服务进程关联的通信窗口发送探测消息。a. Send a probe message to the communication window associated with the snapshot service process.
在具体实施过程中,抓拍服务进程预先关联一个通信窗口,抓拍装置1中的监控程序向通信窗口发送探测消息,通信窗口可以为抓拍服务进程主窗口之外设置的一个后台的窗口,不影响抓拍服务进程正常运行。可选的,监控程序可以根据预设的时间周期向通信窗口发送探测消息,探测消息的类型本申请不作限制。In the specific implementation process, the capture service process is pre-associated with a communication window, and the monitoring program in the capture device 1 sends detection messages to the communication window. The communication window can be a background window set outside the main window of the capture service process, and does not affect the capture The service process is running normally. Optionally, the monitoring program can send detection messages to the communication window according to a preset time period, and the type of detection messages is not limited in this application.
b.若预设时间内未收到所述通信窗口反馈的响应消息,则确定所述抓拍服务进程运行异常。b. If the response message fed back by the communication window is not received within the preset time, it is determined that the snapshot service process is running abnormally.
在具体实施过程中,如果抓拍服务进程运行正常,抓拍服务进程关联的通信窗口在接收到探测消息后,会在预设时间内向监控装置反馈响应消息;如果抓拍服务进程运行异常,抓拍服务进程关联的通信窗口在接收到探测消息后,无法向监控程序反馈响应消息或反馈响应消息超时,监控程序在预设时长未接收到响应消息,则确定抓拍服务进程运行异常。In the specific implementation process, if the capture service process is running normally, the communication window associated with the capture service process will feedback a response message to the monitoring device within a preset time after receiving the detection message; if the capture service process runs abnormally, the capture service process is associated After receiving the detection message in the communication window, it is unable to feedback the response message to the monitoring program or the feedback response message is timed out. If the monitoring program does not receive the response message within the preset time, it is determined that the snapshot service process is running abnormally.
c.获取所述抓拍服务进程的堆栈信息。c. Obtain the stack information of the snapshot service process.
在具体实施过程中,堆栈信息中包括抓拍服务进程调用函数的调用记录和当前的程序指针地址,监控程序在确定抓拍服务进程发生异常时,获取抓拍服务进程当前的堆栈信息。In the specific implementation process, the stack information includes the call record of the function called by the snapshot service process and the current program pointer address. When the monitoring program determines that the snapshot service process is abnormal, it obtains the current stack information of the snapshot service process.
d.根据所述堆栈信息生成异常日志文件。d. Generate an exception log file based on the stack information.
在具体实施过程中,监控程序根据获取的堆栈信息生成异常日志文件,其中日常日志文件中保存有抓拍服务进程发生异常时的堆栈信息。软件分析人员可以根据异常日志文件分析抓拍服务进程的异常原因。In the specific implementation process, the monitoring program generates an exception log file according to the obtained stack information, wherein the daily log file saves the stack information when the snapshot service process is abnormal. Software analysts can analyze the abnormal cause of the snapshot service process based on the abnormal log file.
本申请中,通过向抓拍服务进程关联的通信窗口发送探测消息,在预设的时长内未收到通信窗口反馈的响应消息,确定抓拍服务进程发生异常,获取抓拍服务进程的堆栈信息并根据堆栈信息生成异常日志文件,这样可以自动监控抓拍服务进程发生的异常,并在发生异常 时获取抓拍服务进程的现场数据,便于分析和确定抓拍服务进程的异常原因。In this application, by sending a detection message to the communication window associated with the capture service process, and no response message feedback from the communication window is received within a preset time, it is determined that the capture service process is abnormal, and the stack information of the capture service process is obtained and based on the stack The information generates an abnormal log file, which can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
图3为本申请一实施方式中抓拍服务进程管理装置40的结构图。FIG. 3 is a structural diagram of a snapshot service process management device 40 in an embodiment of this application.
在一些实施例中,所述抓拍服务进程管理装置40运行于电子设备中。所述抓拍服务进程管理装置40可以包括多个由程序代码段所组成的功能模块。所述抓拍服务进程管理装置40中的各个程序段的程序代码可以存储于存储器中,并由至少一个处理器所执行,以执行抓拍服务进程管理的功能。In some embodiments, the capture service process management apparatus 40 runs in an electronic device. The capture service process management device 40 may include multiple functional modules composed of program code segments. The program code of each program segment in the capture service process management device 40 may be stored in the memory and executed by at least one processor to perform the function of the capture service process management.
本实施例中,所述抓拍服务进程管理装置40根据其所执行的功能,可以被划分为多个功能模块。参阅图3所示,所述抓拍服务进程管理装置40可以包括检测模块401、判断模块402、处理模块403、发送模块404、日志生成模块405及传输模块406。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机程序段,其存储在存储器中。本实施方式中,所述检测模块401、判断模块402、处理模块403、发送模块404运行在抓拍装置1中,日志生成模块405及传输模块406运行在所述管理服务器2中。所述在一些实施例中,关于各模块的功能将在后续的实施例中详述。In this embodiment, the capture service process management device 40 can be divided into multiple functional modules according to the functions it performs. Referring to FIG. 3, the capture service process management apparatus 40 may include a detection module 401, a judgment module 402, a processing module 403, a sending module 404, a log generation module 405, and a transmission module 406. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory. In this embodiment, the detection module 401, the judgment module 402, the processing module 403, and the sending module 404 run in the capture device 1, and the log generation module 405 and the transmission module 406 run in the management server 2. In some embodiments, the functions of each module will be described in detail in subsequent embodiments.
所述检测模块401在抓拍装置1内设置监控程序并通过所述监控程序检测所述抓拍装置1的配置信息。The detection module 401 sets a monitoring program in the capture device 1 and detects the configuration information of the capture device 1 through the monitoring program.
本实施方式中,所述监控程序可以为一下位机。所述管理服务器2包括一远程进程管理服务程序,所述远程进程管理服务程序为一上位机。如此,通过网络3实现抓拍装置1的抓拍监控程序(下位机)与管理服务器2中的远程进程管理服务程序(上位机)的通信连接。本实施方式中,所述抓拍装置1的配置信息包括,但不限于拍照的分辨率、拍照的时间间隔、通信方式(是否支持移动、电信、联通网络)等。In this embodiment, the monitoring program may be a lower-level computer. The management server 2 includes a remote process management service program, and the remote process management service program is an upper computer. In this way, the communication connection between the capture monitoring program (lower computer) of the capture device 1 and the remote process management service program (upper computer) in the management server 2 is realized through the network 3. In this embodiment, the configuration information of the capture device 1 includes, but is not limited to, the resolution of the photo, the time interval of the photo, and the communication mode (whether it supports mobile, telecommunications, China Unicom network), and so on.
本实施方式中,通过所述监控程序可以实时检测抓拍装置1的配置信息并将检测出的抓拍装置1的配置信息通过网络3传送给管理服务器2。在其他实施方式中,通过所述监控程序可以定时地检测抓拍装置1的配置信息,如通过监控程序每隔1分钟检测抓拍装置1的配置信息并将检测出的抓拍装置1的配置信息发送给管理服务器2。In this embodiment, the configuration information of the capture device 1 can be detected in real time through the monitoring program and the detected configuration information of the capture device 1 is transmitted to the management server 2 via the network 3. In other embodiments, the configuration information of the capture device 1 can be periodically detected through the monitoring program. For example, the configuration information of the capture device 1 can be detected every 1 minute through the monitoring program and the detected configuration information of the capture device 1 is sent to Management server 2.
所述判断模块402判断检测出的配置信息是否有改动。The judgment module 402 judges whether the detected configuration information has been changed.
本实施方式中,当判断检测出的配置信息没有改动时继续通过所述监控程序检测所述抓拍装置1的配置信息。In this embodiment, when it is determined that the detected configuration information has not been changed, the monitoring program continues to detect the configuration information of the capture device 1.
具体的,所述判断模块402通过所述监控程序记录抓拍装置1内的初始运行的抓拍服务进程的信息,并根据记录的初始运行的抓拍服务进程的信息对初始运行的抓拍服务进程进行MD5校验,记录下初始摘要信息。Specifically, the judging module 402 records the information of the initially running snapping service process in the snapping device 1 through the monitoring program, and performs MD5 calibration on the initially running snapping service process according to the recorded information of the initially running snapping service process. Verify and record the initial summary information.
本实施方法中,通过所述监控程序记录的抓拍服务进程的信息是指抓拍装置1的各个配 置参数的信息。本实施方式中,通过比较抓拍装置1的各个配置参数是否发生改动,并依据比较结果确定是否要重启抓拍服务进程。In this implementation method, the information of the capture service process recorded by the monitoring program refers to the information of each configuration parameter of the capture device 1. In this embodiment, the configuration parameters of the capture device 1 are compared to see if there is any change, and whether to restart the capture service process is determined according to the comparison result.
本实施方式中,MD5是信息-摘要算法的缩写,被广泛用于加密和解密技术上,它是文件的“数字指纹”。任何一个文件,无论是可执行程序、图像文件、临时文件或者其他任何类型的文件,也不管它体积多大,都有且只有一个独一无二的MD5信息值,并且如果这个文件被修改过,它的MD5值也将随之改变。因此,可以通过对比同一文件的MD5值,来校验这个文件是否被“篡改”过。当下载了文件后,如果想知道下载的这个文件和网站的原始文件是否一模一样,就可以给下载的文件做MD5校验。如果得到的MD5值和网站公布的相同,可确认所下载的文件是完整的。如有不同,说明下载的文件是不完整的:要么是在文件下载的过程中出现错误,要么就是此文件已被别人修改。因而,在本实施方式中,若抓拍装置1的配置信息如拍照的分辨率、拍照的时间间隔、通信方式等任一发生改变时,抓拍服务进程对应的MD5值会对应发生改变。In this embodiment, MD5 is an abbreviation of information-digest algorithm, which is widely used in encryption and decryption technology, and it is a "digital fingerprint" of a file. Any file, whether it is an executable program, image file, temporary file or any other type of file, no matter how large it is, has and only a unique MD5 information value, and if the file is modified, its MD5 The value will also change accordingly. Therefore, you can verify whether the file has been "tampered" by comparing the MD5 value of the same file. After downloading the file, if you want to know whether the downloaded file is exactly the same as the original file on the website, you can do MD5 verification for the downloaded file. If the MD5 value obtained is the same as that published on the website, you can confirm that the downloaded file is complete. If there is a difference, the downloaded file is incomplete: either an error occurred during the file download, or the file has been modified by someone else. Therefore, in this embodiment, if any of the configuration information of the capture device 1, such as the resolution of the photo, the time interval of the photo, and the communication mode, changes, the MD5 value corresponding to the capture service process will correspondingly change.
所述判断模块402还通过所述监控程序定时检测抓拍服务进程的运行信息并依据检测出的包含所述配置信息的运行信息进行MD5校验,记录下当前摘要信息,将当前所述摘要信息与所述抓拍服务进程的初始摘要信息进行比较,及根据当前摘要信息与初始摘要信息的比较结果判断抓拍装置1的配置信息是否有改动。The judgment module 402 also periodically detects the operation information of the snapshot service process through the monitoring program and performs MD5 verification according to the detected operation information including the configuration information, records the current summary information, and compares the current summary information with The initial summary information of the capture service process is compared, and it is determined whether the configuration information of the capture device 1 has been changed according to the comparison result of the current summary information and the initial summary information.
本实施方式中,若当前摘要信息与初始摘要信息一致,则监测程序能够确定抓拍装置1的配置信息没有改动;若当前摘要信息与初始摘要信息不一致,则监测程序确定抓拍装置1的配置信息发生改动。In this embodiment, if the current summary information is consistent with the initial summary information, the monitoring program can determine that the configuration information of the capture device 1 has not changed; if the current summary information is inconsistent with the initial summary information, the monitoring program determines that the configuration information of the capture device 1 has occurred change.
所述处理模块403用于当检测出的配置信息发生改动时,停止运行抓拍服务进程,重新启动并运行抓拍服务进程。The processing module 403 is used to stop running the snapshot service process, restart and run the snapshot service process when the detected configuration information changes.
本实施方式中,当监控程序检测到配置信息发生改动时,通过先停止运行抓拍服务进程,然后重新启动运行抓拍装置1的抓拍服务进程,可以在抓拍装置1的配置信息发生改动后自动完成抓拍服务进程的重启,不需要人工干预,减少了抓拍装置1的故障时间,同时抓拍服务进程重新运行的响应速度更快。本实施方式中,可以通过人工修改抓拍装置的配置信息,也可以通过远程进程管理服务程序修改抓拍装置1的配置信息。In this embodiment, when the monitoring program detects that the configuration information has changed, by first stopping the capture service process, and then restarting the capture service process running the capture device 1, the capture can be automatically completed after the configuration information of the capture device 1 is changed. The restart of the service process does not require manual intervention, which reduces the failure time of the capture device 1, and at the same time, the response speed of the capture service process re-running is faster. In this embodiment, the configuration information of the capture device can be manually modified, or the configuration information of the capture device 1 can be modified through a remote process management service program.
所述发送模块404将检测出的抓拍装置1的配置信息传输给管理服务器2进行存储。The sending module 404 transmits the detected configuration information of the capture device 1 to the management server 2 for storage.
本实施方式中,所述发送模块404将检测出的抓拍装置1的配置信息通过网络3传输给管理服务器2进行存储以便管理服务器2对抓拍装置1的配置信息进行记录。In this embodiment, the sending module 404 transmits the detected configuration information of the capture device 1 via the network 3 to the management server 2 for storage so that the management server 2 records the configuration information of the capture device 1.
日志生成模块405用于控制管理服务器2根据获取的抓拍装置1的配置信息生成日志文件,并将所述日志文件展示给用户查看。The log generation module 405 is configured to control the management server 2 to generate a log file according to the acquired configuration information of the capture device 1, and display the log file to the user for viewing.
本实施方式中,日志生成模块405控制管理服务器2根据获取的抓拍装置1的拍照的分辨率、拍照的时间间隔生成日志文件,并展示给用户查看。In this embodiment, the log generation module 405 controls the management server 2 to generate a log file according to the captured resolution of the capture device 1 and the time interval of the photo, and display it to the user for viewing.
传输模块406用于控制所述管理服务器2将获取的抓拍装置1的配置信息发送给与所述管理服务器2通信连接的移动终端。The transmission module 406 is configured to control the management server 2 to send the acquired configuration information of the capture device 1 to the mobile terminal in communication connection with the management server 2.
本实施方式中,传输模块406通过控制管理服务器2通过将获取的抓拍装置1的配置信息发送给与所述管理服务器2通信连接的移动终端以供使用移动终端的管理员及时了解情况并采取相应的措施。In this embodiment, the transmission module 406 controls the management server 2 to send the acquired configuration information of the capture device 1 to the mobile terminal in communication with the management server 2 so that the administrator using the mobile terminal can understand the situation in time and take corresponding measures. Measures.
本实施方式中,所述检测模块401还用于通过所述监控程序监控抓拍装置1的抓拍服务进程是否有异常。In this embodiment, the detection module 401 is also used to monitor whether the capture service process of the capture device 1 is abnormal through the monitoring program.
本实施方式中,不间断的运行抓拍服务进程并向抓拍服务进程关联的通信窗口发送探测消息,如果预设时长内未接收到通信窗口根据探测消息返回的响应消息,确定抓拍服务进程发生异常,此时获取抓拍服务进程当前的堆栈消息,根据堆栈信息生成异常日志文件。这样可以自动监控抓拍服务进程发生的异常,并在发生异常时获取抓拍服务进程的现场数据,便于分析和确定抓拍服务进程的异常原因。In this embodiment, the snapshot service process is continuously run and a detection message is sent to the communication window associated with the snapshot service process. If the response message returned by the communication window according to the detection message is not received within the preset time, it is determined that the snapshot service process is abnormal. At this time, the current stack message of the snapshot service process is obtained, and an exception log file is generated according to the stack information. This can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
具体的,所述监控程序监控抓拍装置1的抓拍服务进程是否有异常包括:Specifically, the monitoring program for monitoring whether there is an abnormality in the capture service process of the capture device 1 includes:
a.向抓拍服务进程关联的通信窗口发送探测消息。a. Send a probe message to the communication window associated with the snapshot service process.
在具体实施过程中,抓拍服务进程预先关联一个通信窗口,监控程序向通信窗口发送探测消息,通信窗口可以为抓拍服务进程主窗口之外设置的一个后台的窗口,不影响抓拍服务进程正常运行。可选的,监控程序可以根据预设的时间周期向通信窗口发送探测消息,探测消息的类型本申请不作限制。In the specific implementation process, the capture service process is pre-associated with a communication window, and the monitoring program sends detection messages to the communication window. The communication window can be a background window set outside the main window of the capture service process, and does not affect the normal operation of the capture service process. Optionally, the monitoring program can send detection messages to the communication window according to a preset time period, and the type of detection messages is not limited in this application.
b.若预设时间内未收到所述通信窗口反馈的响应消息,则确定所述抓拍服务进程运行异常。b. If the response message fed back by the communication window is not received within the preset time, it is determined that the snapshot service process is running abnormally.
在具体实施过程中,如果抓拍服务进程运行正常,抓拍服务进程关联的通信窗口在接收到探测消息后,会在预设时间内向监控装置反馈响应消息;如果抓拍服务进程运行异常,抓拍服务进程关联的通信窗口在接收到探测消息后,无法向监控程序反馈响应消息或反馈响应消息超时,监控程序在预设时长未接收到响应消息,则确定抓拍服务进程运行异常。In the specific implementation process, if the capture service process is running normally, the communication window associated with the capture service process will feedback a response message to the monitoring device within a preset time after receiving the detection message; if the capture service process runs abnormally, the capture service process is associated After receiving the detection message in the communication window, it is unable to feedback the response message to the monitoring program or the feedback response message is timed out. If the monitoring program does not receive the response message within the preset time, it is determined that the snapshot service process is running abnormally.
c.获取所述抓拍服务进程的堆栈信息。c. Obtain the stack information of the snapshot service process.
在具体实施过程中,堆栈信息中包括抓拍服务进程调用函数的调用记录和当前的程序指针地址,监控程序在确定抓拍服务进程发生异常时,获取抓拍服务进程当前的堆栈信息。In the specific implementation process, the stack information includes the call record of the function called by the snapshot service process and the current program pointer address. When the monitoring program determines that the snapshot service process is abnormal, it obtains the current stack information of the snapshot service process.
d.根据所述堆栈信息生成异常日志文件。d. Generate an exception log file based on the stack information.
在具体实施过程中,监控程序根据获取的堆栈信息生成异常日志文件,其中日常日志文 件中保存有抓拍服务进程发生异常时的堆栈信息。软件分析人员可以根据异常日志文件分析抓拍服务进程的异常原因。In the specific implementation process, the monitoring program generates an exception log file based on the obtained stack information, and the daily log file saves the stack information when the snapshot service process is abnormal. Software analysts can analyze the abnormal cause of the snapshot service process based on the abnormal log file.
本申请中,通过向抓拍服务进程关联的通信窗口发送探测消息,在预设的时长内未收到通信窗口反馈的响应消息,确定抓拍服务进程发生异常,获取抓拍服务进程的堆栈信息并根据堆栈信息生成异常日志文件,这样可以自动监控抓拍服务进程发生的异常,并在发生异常时获取抓拍服务进程的现场数据,便于分析和确定抓拍服务进程的异常原因。In this application, by sending a detection message to the communication window associated with the capture service process, and no response message feedback from the communication window is received within a preset time, it is determined that the capture service process is abnormal, and the stack information of the capture service process is obtained and based on the stack The information generates an abnormal log file, which can automatically monitor the abnormality of the snapshot service process, and obtain the field data of the snapshot service process when the abnormality occurs, so as to facilitate the analysis and determination of the abnormal cause of the snapshot service process.
图4为本申请一实施方式中电子设备6的示意图。FIG. 4 is a schematic diagram of the electronic device 6 in an embodiment of the application.
所述电子设备6包括存储器61、处理器62以及存储在所述存储器61中并可在所述处理器62上运行的计算机程序63。所述处理器62执行所述计算机程序63时实现上述抓拍服务进程管理方法实施例中的步骤,例如图2所示的步骤S201~S204。或者,所述处理器62执行所述计算机程序63时实现上述抓拍服务进程管理装置实施例中各模块/单元的功能,例如图3中的模块401~406。The electronic device 6 includes a memory 61, a processor 62, and a computer program 63 that is stored in the memory 61 and can run on the processor 62. When the processor 62 executes the computer program 63, the steps in the embodiment of the method for managing the process of the capture service are implemented, for example, steps S201 to S204 shown in FIG. 2. Alternatively, when the processor 62 executes the computer program 63, the functions of the modules/units in the foregoing embodiment of the device for managing the process of capturing a service process are implemented, such as the modules 401 to 406 in FIG. 3.
示例性的,所述计算机程序63可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器61中,并由所述处理器62执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,所述指令段用于描述所述计算机程序63在所述电子设备6中的执行过程。例如,所述计算机程序63可以被分割成图3中的检测模块401、判断模块402、处理模块403、发送模块404、日志生成模块405及传输模块406,各模块具体功能参见实施例2。Exemplarily, the computer program 63 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 62 to complete This application. The one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 63 in the electronic device 6. For example, the computer program 63 may be divided into a detection module 401, a judgment module 402, a processing module 403, a sending module 404, a log generation module 405, and a transmission module 406 in FIG. 3. For specific functions of each module, refer to Embodiment 2.
所述电子设备6可以是上述的抓拍装置1。在一实施方式中,所述电子设备6具体可为桌上型计算机、笔记本、掌上电脑或云端服务器等计算设备。本领域技术人员可以理解,所述示意图仅仅是电子设备6的示例,并不构成对电子设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备6还可以包括输入输出设备、网络接入设备、总线等。The electronic device 6 may be the aforementioned capture device 1. In one embodiment, the electronic device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server. Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6. It may include more or less components than those shown in the figure, or a combination of certain components, or different components. Components, for example, the electronic device 6 may also include input and output devices, network access devices, buses, and so on.
所称处理器62可以是中央处理模块(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者所述处理器62也可以是任何常规的处理器等,所述处理器62是所述电子设备6的控制中心,利用各种接口和线路连接整个电子设备6的各个部分。The so-called processor 62 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor 62 can also be any conventional processor, etc. The processor 62 is the control center of the electronic device 6 and connects the entire electronic device 6 with various interfaces and lines. The various parts.
所述存储器61可用于存储所述计算机程序63和/或模块/单元,所述处理器62通过运行或执行存储在所述存储器61内的计算机程序和/或模块/单元,以及调用存储在存储器61内 的数据,实现所述计电子设备6的各种功能。所述存储器61可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备6的使用所创建的数据(比如音频数据)等。此外,所述存储器61还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。The memory 61 may be used to store the computer program 63 and/or modules/units. The processor 62 runs or executes the computer programs and/or modules/units stored in the memory 61 and calls the computer programs and/or modules/units stored in the memory 61. The data in 61 realizes various functions of the computer electronic device 6. The memory 61 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data (such as audio data) created according to the use of the electronic device 6 and the like are stored. In addition, the memory 61 may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
所述电子设备6集成的模块/单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性可读存储介质中,所述计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序是一系列的计算机可读指令,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述非易失性可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory。If the integrated module/unit of the electronic device 6 is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a non-volatile readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile readable storage medium. When the computer program is executed by the processor, it can implement the steps of the foregoing method embodiments. Wherein, the computer program is a series of computer readable instructions, and the computer readable instruction code may be in the form of source code, object code, executable file, or some intermediate form, etc. The non-volatile readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read- Only Memory.
在本申请所提供的几个实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的电子设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the electronic device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
另外,在本申请各个实施例中的各功能模块可以集成在相同处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在相同模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated in the same processing module, or each module may exist alone physically, or two or more modules may be integrated in the same module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of hardware plus software functional modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他模块或步骤,单数不排除复数。电子设备权利要求中陈述的多个模块或电子设备也可以由同一个模块或电子设备通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "include" does not exclude other modules or steps, and the singular does not exclude the plural. Multiple modules or electronic devices stated in the claims of an electronic device can also be implemented by the same module or electronic device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Make modifications or equivalent replacements without departing from the spirit and scope of the technical solution of the present application.

Claims (20)

  1. 一种抓拍服务进程管理方法,其特征在于,所述方法包括:A method for managing a snapshot service process, characterized in that, the method includes:
    抓拍装置设置监控程序并通过所述监控程序检测所述抓拍装置的配置信息,其中所述配置信息包括拍照的分辨率、拍照的时间间隔或通信方式;The capture device sets a monitoring program and detects configuration information of the capture device through the monitoring program, where the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
    所述抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动;The capture device judges whether the detected configuration information is changed compared to the initial configuration information;
    当检测出的所述配置信息发生改动时,所述抓拍装置停止运行抓拍服务进程,重新启动并运行所述抓拍服务进程;及When the detected configuration information changes, the capture device stops running the capture service process, restarts and runs the capture service process; and
    所述抓拍装置将检测出的抓拍装置的配置信息传输给管理服务器进行存储。The capture device transmits the detected configuration information of the capture device to the management server for storage.
  2. 如权利要求1所述的抓拍服务进程管理方法,其特征在于,所述抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动包括:3. The method for managing the process of capturing a service process according to claim 1, wherein the capturing device judging whether the detected configuration information is changed compared to the initial configuration information comprises:
    通过所述监控程序记录所述抓拍装置内的初始运行的抓拍服务进程的信息,并根据记录的初始运行的抓拍服务进程的信息对初始运行的抓拍服务进程进行MD5校验,记录下初始摘要信息;The monitoring program records the information of the initially running snapshot service process in the snapshot device, and performs MD5 verification on the initially running snapshot service process according to the recorded information of the initially running snapshot service process, and records the initial summary information ;
    通过所述监控程序定时检测所述抓拍服务进程的运行信息并依据检测出的包含所述配置信息的所述运行信息进行MD5校验,记录下当前摘要信息;Periodically detect the operation information of the snapping service process through the monitoring program, perform MD5 verification according to the detected operation information including the configuration information, and record the current summary information;
    将所述当前所述摘要信息与所述抓拍服务进程的初始摘要信息进行比较;Comparing the current summary information with the initial summary information of the snapshot service process;
    根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动。Determine whether the configuration information of the capture device has been changed according to the comparison result of the current summary information and the initial summary information.
  3. 如权利要求2所述的抓拍服务进程管理方法,其特征在于,所述根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动包括:3. The method for managing the process of capturing a capture service according to claim 2, wherein the determining whether the configuration information of the capturing device has been changed according to the comparison result of the current summary information and the initial summary information comprises:
    若所述当前摘要信息与所述初始摘要信息一致时,则确定所述抓拍装置的配置信息没有改动;及If the current summary information is consistent with the initial summary information, it is determined that the configuration information of the capture device has not changed; and
    若所述当前摘要信息与所述初始摘要信息不一致时,确定所述抓拍装置的配置信息发生改动。If the current summary information is inconsistent with the initial summary information, it is determined that the configuration information of the capture device has changed.
  4. 如权利要求1所述的抓拍服务进程管理方法,其特征在于,所述方法还包括:8. The method for managing the process of capturing a service of claim 1, wherein the method further comprises:
    所述管理服务器根据获取的抓拍装置的配置信息生成日志文件,并将所述日志文件展示给用户查看。The management server generates a log file according to the acquired configuration information of the capture device, and displays the log file to the user for viewing.
  5. 如权利要求1所述的抓拍服务进程管理方法,其特征在于,所述方法还包括:8. The method for managing the process of capturing a service of claim 1, wherein the method further comprises:
    所述管理服务器将获取的抓拍装置的配置信息发送给与所述管理服务器通信连接的移动终端。The management server sends the acquired configuration information of the capture device to the mobile terminal in communication connection with the management server.
  6. 如权利要求1所述的抓拍服务进程管理方法,其特征在于,所述方法还包括:8. The method for managing the process of capturing a service of claim 1, wherein the method further comprises:
    所述抓拍装置监控所述抓拍服务进程是否有异常。The snapping device monitors whether the snapping service process is abnormal.
  7. 如权利要求6所述的抓拍服务进程管理方法,其特征在于,所述抓拍装置监控所述抓拍服务进程是否有异常包括:7. The method for managing a snapshot service process according to claim 6, wherein the monitoring by the snapshot device whether there is an abnormality in the snapshot service process comprises:
    向所述抓拍服务进程关联的通信窗口发送探测消息;Sending a detection message to the communication window associated with the capture service process;
    若预设时间内未收到所述通信窗口反馈的响应消息,则确定所述抓拍服务进程运行异常;If the response message fed back by the communication window is not received within the preset time, it is determined that the snapshot service process is running abnormally;
    获取所述抓拍服务进程的堆栈信息;及Acquiring the stack information of the capture service process; and
    根据所述堆栈信息生成异常日志文件。An exception log file is generated according to the stack information.
  8. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现以下步骤:An electronic device, wherein the electronic device includes a processor and a memory, the memory is used to store at least one computer-readable instruction, and the processor is used to execute the at least one computer-readable instruction to implement the following steps :
    抓拍装置设置监控程序并通过所述监控程序检测所述抓拍装置的配置信息,其中所述配置信息包括拍照的分辨率、拍照的时间间隔或通信方式;The capture device sets a monitoring program and detects configuration information of the capture device through the monitoring program, where the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
    所述抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动;The capture device judges whether the detected configuration information is changed compared to the initial configuration information;
    当检测出的所述配置信息发生改动时,所述抓拍装置停止运行抓拍服务进程,重新启动并运行所述抓拍服务进程;及When the detected configuration information changes, the capture device stops running the capture service process, restarts and runs the capture service process; and
    所述抓拍装置将检测出的抓拍装置的配置信息传输给管理服务器进行存储。The capture device transmits the detected configuration information of the capture device to the management server for storage.
  9. 如权利要求8所述的电子设备,其特征在于,所述处理器执行所述至少一个计算机可读指令以实现抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动时,具体包括:The electronic device according to claim 8, wherein the processor executes the at least one computer-readable instruction to enable the capture device to determine whether the detected configuration information is changed compared to the initial configuration information, which specifically includes :
    通过所述监控程序记录所述抓拍装置内的初始运行的抓拍服务进程的信息,并根据记录的初始运行的抓拍服务进程的信息对初始运行的抓拍服务进程进行MD5校验,记录下初始摘要信息;The monitoring program records the information of the initially running snapshot service process in the snapshot device, and performs MD5 verification on the initially running snapshot service process according to the recorded information of the initially running snapshot service process, and records the initial summary information ;
    通过所述监控程序定时检测所述抓拍服务进程的运行信息并依据检测出的包含所述配置信息的所述运行信息进行MD5校验,记录下当前摘要信息;Periodically detect the operation information of the snapping service process through the monitoring program, perform MD5 verification according to the detected operation information including the configuration information, and record the current summary information;
    将所述当前所述摘要信息与所述抓拍服务进程的初始摘要信息进行比较;Comparing the current summary information with the initial summary information of the snapshot service process;
    根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动。Determine whether the configuration information of the capture device has been changed according to the comparison result of the current summary information and the initial summary information.
  10. 如权利要求9所述的电子设备,其特征在于,所述处理器执行所述至少一个计算机可读指令以实现根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动时,具体包括:The electronic device of claim 9, wherein the processor executes the at least one computer-readable instruction to realize the judgment of the capture device according to the comparison result of the current summary information and the initial summary information When the configuration information is changed, it specifically includes:
    若所述当前摘要信息与所述初始摘要信息一致时,则确定所述抓拍装置的配置信息没有改动;及If the current summary information is consistent with the initial summary information, it is determined that the configuration information of the capture device has not changed; and
    若所述当前摘要信息与所述初始摘要信息不一致时,确定所述抓拍装置的配置信息发生改动。If the current summary information is inconsistent with the initial summary information, it is determined that the configuration information of the capture device has changed.
  11. 如权利要求8所述的电子设备,其特征在于,所述处理器执行所述至少一个计算机可读指令还用以实现以下步骤:8. The electronic device of claim 8, wherein the processor executing the at least one computer readable instruction is further configured to implement the following steps:
    监控所述抓拍服务进程是否有异常。Monitor whether the capture service process is abnormal.
  12. 如权利要求11所述的电子设备,其特征在于,所述处理器执行所述至少一个计算机可读指令以实现所述抓拍装置监控所述抓拍服务进程是否有异常时,具体包括:11. The electronic device according to claim 11, wherein when the processor executes the at least one computer-readable instruction to enable the capture device to monitor whether the capture service process is abnormal, it specifically comprises:
    向所述抓拍服务进程关联的通信窗口发送探测消息;Sending a detection message to the communication window associated with the capture service process;
    若预设时间内未收到所述通信窗口反馈的响应消息,则确定所述抓拍服务进程运行异常;If the response message fed back by the communication window is not received within the preset time, it is determined that the snapshot service process is running abnormally;
    获取所述抓拍服务进程的堆栈信息;及Acquiring the stack information of the capture service process; and
    根据所述堆栈信息生成异常日志文件。An exception log file is generated according to the stack information.
  13. 一种非易失性可读存储介质,其特征在于,所述非易失性可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:A non-volatile readable storage medium, wherein the non-volatile readable storage medium stores at least one computer readable instruction, and when the at least one computer readable instruction is executed by a processor, the following steps are implemented :
    抓拍装置设置监控程序并通过所述监控程序检测所述抓拍装置的配置信息,其中所述配置信息包括拍照的分辨率、拍照的时间间隔或通信方式;The capture device sets a monitoring program and detects configuration information of the capture device through the monitoring program, where the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
    所述抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动;The capture device judges whether the detected configuration information is changed compared to the initial configuration information;
    当检测出的所述配置信息发生改动时,所述抓拍装置停止运行抓拍服务进程,重新启动并运行所述抓拍服务进程;及When the detected configuration information changes, the capture device stops running the capture service process, restarts and runs the capture service process; and
    所述抓拍装置将检测出的抓拍装置的配置信息传输给管理服务器进行存储。The capture device transmits the detected configuration information of the capture device to the management server for storage.
  14. 如权利要求13所述的非易失性可读存储介质,其特征在于,所述至少一个计算机可读指令被所述处理器执行以实现抓拍装置判断检测出的配置信息相较于初始配置信息是否有改动时,具体包括:The non-volatile readable storage medium of claim 13, wherein the at least one computer readable instruction is executed by the processor to realize that the configuration information detected by the capture device is determined to be compared with the initial configuration information When there are changes, specifically include:
    通过所述监控程序记录所述抓拍装置内的初始运行的抓拍服务进程的信息,并根据记录的初始运行的抓拍服务进程的信息对初始运行的抓拍服务进程进行MD5校验,记录下初始摘要信息;The monitoring program records the information of the initially running snapshot service process in the snapshot device, and performs MD5 verification on the initially running snapshot service process according to the recorded information of the initially running snapshot service process, and records the initial summary information ;
    通过所述监控程序定时检测所述抓拍服务进程的运行信息并依据检测出的包含所述配置信息的所述运行信息进行MD5校验,记录下当前摘要信息;Periodically detect the operation information of the snapping service process through the monitoring program, perform MD5 verification according to the detected operation information including the configuration information, and record the current summary information;
    将所述当前所述摘要信息与所述抓拍服务进程的初始摘要信息进行比较;Comparing the current summary information with the initial summary information of the snapshot service process;
    根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动。Determine whether the configuration information of the capture device has been changed according to the comparison result of the current summary information and the initial summary information.
  15. 如权利要求14所述的非易失性可读存储介质,其特征在于,所述至少一个计算机可读指令被所述处理器执行以实现根据所述当前摘要信息与所述初始摘要信息的比较结果判断所述抓拍装置的配置信息是否有改动时,具体包括:The non-volatile readable storage medium of claim 14, wherein the at least one computer-readable instruction is executed by the processor to implement a comparison between the current summary information and the initial summary information As a result, when judging whether the configuration information of the capture device has been changed, it specifically includes:
    若所述当前摘要信息与所述初始摘要信息一致时,则确定所述抓拍装置的配置信息没有改动;及If the current summary information is consistent with the initial summary information, it is determined that the configuration information of the capture device has not changed; and
    若所述当前摘要信息与所述初始摘要信息不一致时,确定所述抓拍装置的配置信息发生改动。If the current summary information is inconsistent with the initial summary information, it is determined that the configuration information of the capture device has changed.
  16. 如权利要求13所述的非易失性可读存储介质,其特征在于,所述至少一个计算机可读指令被所述处理器执行时,还包括:The non-volatile readable storage medium according to claim 13, wherein when the at least one computer readable instruction is executed by the processor, it further comprises:
    所述管理服务器根据获取的抓拍装置的配置信息生成日志文件,并将所述日志文件展示给用户查看。The management server generates a log file according to the acquired configuration information of the capture device, and displays the log file to the user for viewing.
  17. 如权利要求13所述的非易失性可读存储介质,其特征在于,所述至少一个计算机可读指令被所述处理器执行时,还包括:The non-volatile readable storage medium according to claim 13, wherein when the at least one computer readable instruction is executed by the processor, it further comprises:
    所述管理服务器将获取的抓拍装置的配置信息发送给与所述管理服务器通信连接的移动终端。The management server sends the acquired configuration information of the capture device to the mobile terminal in communication connection with the management server.
  18. 如权利要求13所述的非易失性可读存储介质,其特征在于,所述至少一个计算机可读指令被所述处理器执行还用以实现以下步骤:The non-volatile readable storage medium of claim 13, wherein the at least one computer readable instruction is executed by the processor to further implement the following steps:
    监控所述抓拍服务进程是否有异常。Monitor whether the capture service process is abnormal.
  19. 如权利要求18所述的非易失性可读存储介质,其特征在于,所述至少一个计算机可读指令被所述处理器执行以实现抓拍装置监控所述抓拍服务进程是否有异常时,具体包括:The non-volatile readable storage medium according to claim 18, wherein the at least one computer readable instruction is executed by the processor to realize that when the capture device monitors whether the capture service process is abnormal, specifically include:
    向所述抓拍服务进程关联的通信窗口发送探测消息;Sending a detection message to the communication window associated with the capture service process;
    若预设时间内未收到所述通信窗口反馈的响应消息,则确定所述抓拍服务进程运行异常;If the response message fed back by the communication window is not received within the preset time, it is determined that the snapshot service process is running abnormally;
    获取所述抓拍服务进程的堆栈信息;及Acquiring the stack information of the capture service process; and
    根据所述堆栈信息生成异常日志文件。An exception log file is generated according to the stack information.
  20. 一种抓拍服务进程管理装置,其特征在于,所述装置包括:A snapshot service process management device, characterized in that the device includes:
    检测模块,用于在抓拍装置内设置监控程序并通过所述监控程序检测所述抓拍装置的配置信息,其中所述配置信息包括拍照的分辨率、拍照的时间间隔或通信方式;The detection module is used to set a monitoring program in the capture device and detect the configuration information of the capture device through the monitoring program, wherein the configuration information includes the resolution of the photo, the time interval of the photo, or the communication mode;
    判断模块,用于判断检测出的配置信息相较于初始配置信息是否有改动;The judgment module is used to judge whether the detected configuration information has changed compared with the initial configuration information;
    处理模块,用于当检测出的所述配置信息发生改动时,停止运行所述抓拍装置的抓拍服务进程,重新启动并运行所述抓拍服务进程;及A processing module, configured to stop running the snapshot service process of the snapshot device, restart and run the snapshot service process when the detected configuration information changes; and
    发送模块,用于将检测出的抓拍装置的配置信息传输给管理服务器进行存储。The sending module is used to transmit the detected configuration information of the capture device to the management server for storage.
PCT/CN2019/118977 2019-01-17 2019-11-15 Snapshot service process management method and apparatus, electronic device, and readable storage medium WO2020147415A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910045285.3 2019-01-17
CN201910045285.3A CN109828797A (en) 2019-01-17 2019-01-17 Capture service processes management method and relevant device

Publications (1)

Publication Number Publication Date
WO2020147415A1 true WO2020147415A1 (en) 2020-07-23

Family

ID=66860403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118977 WO2020147415A1 (en) 2019-01-17 2019-11-15 Snapshot service process management method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN109828797A (en)
WO (1) WO2020147415A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828797A (en) * 2019-01-17 2019-05-31 平安科技(深圳)有限公司 Capture service processes management method and relevant device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100313069A1 (en) * 2009-06-05 2010-12-09 Hitachi, Ltd. Computer system and failure recovery method
CN102147725A (en) * 2011-03-29 2011-08-10 福州瑞芯微电子有限公司 Method for supporting dual cameras in Android
CN102609644A (en) * 2012-01-11 2012-07-25 杭州东信北邮信息技术有限公司 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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
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
CN103218242B (en) * 2013-04-19 2016-04-06 飞天诚信科技股份有限公司 A kind of method of automatic renewal
CN104168126B (en) * 2013-05-20 2017-11-21 江苏华视文化传媒有限公司 A kind of unattended intelligent device self-maintenance management system and method
CN104268055B (en) * 2014-09-01 2017-07-14 腾讯科技(深圳)有限公司 The monitoring method and device of a kind of program exception
CN105260238B (en) * 2015-10-13 2018-10-02 珠海许继芝电网自动化有限公司 A kind of method of multi-process improving performance deployment
CN106970967B (en) * 2017-03-22 2020-04-28 中车大连机车研究所有限公司 Real-time updating method and system for track line database

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100313069A1 (en) * 2009-06-05 2010-12-09 Hitachi, Ltd. Computer system and failure recovery method
CN102147725A (en) * 2011-03-29 2011-08-10 福州瑞芯微电子有限公司 Method for supporting dual cameras in Android
CN102609644A (en) * 2012-01-11 2012-07-25 杭州东信北邮信息技术有限公司 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

Also Published As

Publication number Publication date
CN109828797A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
JP6861675B2 (en) Systems, methods, devices, and non-temporary computer-readable storage media for providing mobile device support services
US11750444B2 (en) Implementation of compliance settings by a mobile device for compliance with a configuration scenario
US9253265B2 (en) Hot pluggable extensions for access management system
US9876703B1 (en) Computing resource testing
US20150067147A1 (en) Group server performance correction via actions to server subset
US9124669B2 (en) Cooperative client and server logging
US10097427B2 (en) Service assurance platform as a user-defined service
WO2021184587A1 (en) Prometheus-based private cloud monitoring method and apparatus, and computer device and storage medium
CN112035472B (en) Data processing method, device, computer equipment and storage medium
WO2019051948A1 (en) Method, apparatus, server, and storage medium for processing monitoring data
CN114077525A (en) Abnormal log processing method and device, terminal equipment, cloud server and system
US9819933B2 (en) Automated testing of media devices
WO2020147415A1 (en) Snapshot service process management method and apparatus, electronic device, and readable storage medium
TW201510995A (en) Method for maintaining file system of computer system
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
CN110930110B (en) Distributed flow monitoring method and device, storage medium and electronic equipment
CN111611124B (en) Monitoring equipment analysis method, device, computer device and storage medium
WO2019241199A1 (en) System and method for predictive maintenance of networked devices
CN113448836A (en) Software interface testing method and device, electronic equipment and storage medium
CN114968696A (en) Index monitoring method, electronic equipment and chip system
CN108446219B (en) Application program operation method, system, medium and computing device
CN115695529B (en) Intelligent remote operation and maintenance method and device, computer equipment and storage medium
US20230161601A1 (en) System and method for facilitating management of edge computing nodes of an edge computing network
TWI836263B (en) Interface control system and method
TW202209099A (en) Exception log processing method, electronic device,terminal device, cloud server and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19910028

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19910028

Country of ref document: EP

Kind code of ref document: A1