CN111382030A - Method, equipment and medium for unified management of multiple tasks - Google Patents

Method, equipment and medium for unified management of multiple tasks Download PDF

Info

Publication number
CN111382030A
CN111382030A CN202010185315.3A CN202010185315A CN111382030A CN 111382030 A CN111382030 A CN 111382030A CN 202010185315 A CN202010185315 A CN 202010185315A CN 111382030 A CN111382030 A CN 111382030A
Authority
CN
China
Prior art keywords
terminal service
service module
data processing
processing module
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010185315.3A
Other languages
Chinese (zh)
Inventor
李鑫
张小亮
李岩
元河清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202010185315.3A priority Critical patent/CN111382030A/en
Publication of CN111382030A publication Critical patent/CN111382030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3017Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0715Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a system implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/865Monitoring of software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for unified management of multiple tasks, which comprises the following steps: based on a communication protocol containing a data frame head and a frame tail and CRC (cyclic redundancy check), configuration management information is issued to a data processing module and a terminal service module; receiving an uploading log and alarm information processed by the data processing module and the terminal service module, and operating based on the uploading log and the alarm information; and periodically acquiring the operating states of the data processing module and the terminal service module, responding to the abnormal operating state and/or exceeding a preset threshold value, alarming and recording a log. The invention also discloses a computer device and a readable storage medium. The method, the equipment and the medium for multitask unified management ensure the reliability of messages issued to the data management module and the terminal service module through CRC, thereby improving the communication reliability between multitask unified management systems.

Description

Method, equipment and medium for unified management of multiple tasks
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a medium for unified multitask management.
Background
Multiple uncertain events occur when multiple tasks are performed simultaneously, efficiency is obviously reduced when work intensity is high, and various problems can occur in a traditional management mode, such as: the separate management of multiple systems easily causes the repetition and inconsistency of business rules and basic data, untimely updating, large configuration workload and easy error. The business rules and the data are stored in the system, are not easy to be known by operation and maintenance personnel, cannot be used by other systems, cannot exert the value of the data, and cannot realize automatic operation and maintenance. The management modes such as command lines and the like are suitable for professional staff, the management difficulty is high, and the efficiency is low. The data is not provided with a unique standard data source, so that the external supply modes of the data are various, the reference is disordered, and the management is inconvenient. The accuracy of the data which is not managed by the system cannot be guaranteed, and risks of being difficult to manage, easy to make mistakes, easy to leak and the like exist.
The multitask and multi-module software system is widely applied to various fields, and efficient and accurate communication among modules becomes an important technical problem influencing the efficiency and reliability of the system. The traditional serial port communication has the problems of accuracy, integrity and the like; the traditional SPI communication has the problem that the data correctness of the slave device is not verified due to the failure of a response mechanism.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, a device, and a medium for unified multitask management, which ensure the reliability of messages sent to a data management module and a terminal service module through CRC check, so as to improve the reliability of communication between unified multitask management systems.
Based on the above object, an aspect of the embodiments of the present invention provides a method for unified management of multiple tasks, including the following steps: based on a communication protocol containing a data frame head and a frame tail and CRC (cyclic redundancy check), configuration management information is issued to a data processing module and a terminal service module; receiving an uploading log and alarm information processed by the data processing module and the terminal service module, and operating based on the uploading log and the alarm information; and periodically acquiring the operating states of the data processing module and the terminal service module, responding to the abnormal operating state and/or exceeding a preset threshold value, alarming and recording a log.
In some embodiments, further comprising: monitoring the running process; and responding to abnormal exit of the process, automatically recovering and generating the log record.
In some embodiments, further comprising: and starting a watchdog to monitor the process and feeding the watchdog regularly.
In some embodiments, the issuing the configuration management information to the data processing module and the terminal service module includes: configuration management information is issued to the data processing module through RS232 serial port communication; and communicating with the terminal service module through the SPI bus.
In some embodiments, communicating with the terminal traffic module over the SPI bus comprises: selecting a terminal service module to be accessed through an SPI chip selection interface; and sending frame data with CRC to the terminal service module to be accessed.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: based on a communication protocol containing a data frame head and a frame tail and CRC (cyclic redundancy check), configuration management information is issued to a data processing module and a terminal service module; receiving an uploading log and alarm information processed by the data processing module and the terminal service module, and operating based on the uploading log and the alarm information; and periodically acquiring the operating states of the data processing module and the terminal service module, responding to the abnormal operating state and/or exceeding a preset threshold value, alarming and recording a log.
In some embodiments, further comprising: monitoring the running process; and responding to abnormal exit of the process, automatically recovering and generating the log record.
In some embodiments, further comprising: and starting a watchdog to monitor the process and feeding the watchdog regularly.
In some embodiments, the issuing the configuration management information to the data processing module and the terminal service module includes: configuration management information is issued to the data processing module through RS232 serial port communication; the communication with the terminal service module through the SPI bus comprises the following steps: selecting a terminal service module to be accessed through an SPI chip selection interface; and sending frame data with CRC to the terminal service module to be accessed.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the reliability of the message issued to the data management module and the terminal service module is ensured through CRC, so that the communication reliability between the multi-task unified management systems is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic diagram of an embodiment of a method for multitask unified management provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for unified management of multiple tasks. Fig. 1 is a schematic diagram illustrating an embodiment of a method for multitask unified management provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, based on the communication protocol containing the head and tail of data frame and CRC check, sending the configuration management information to the data processing module and the terminal service module;
s2, the received data processing module and the terminal service module process the uploading log and the alarm information after the management information is processed, and operate based on the uploading log and the alarm information; and
and S3, periodically acquiring the running states of the data processing module and the terminal service module, responding to the abnormal running state and/or exceeding a preset threshold value, alarming and recording a log.
In some embodiments of the present invention, the system management module monitors and manages other modules, so as to implement unified management of the multi-task module, thereby improving the reliability and performance of the system: uniformly issuing configuration management information through a communication protocol; receiving logs and alarm information uploaded by other modules, and performing operations such as display, storage, query and the like; and acquiring system information and running states of the system management module and other modules at regular time, responding to the abnormal running state and/or exceeding a preset threshold value, alarming and recording a log.
In some embodiments of the invention, CRC calculation to ensure reliability of communication, the SPI module implements a hardware CRC function. CRC calculations are performed separately for transmitted data and received data. The CRC is calculated for each bit using a programmable polynomial. In order to ensure the correctness of data, frame head and frame tail control is added in communication to ensure the integrity of frame information; and CRC is adopted to ensure the correctness of the content of the frame message. And if the correct frame head and frame tail cannot be accepted or the check fails, the data is determined to be incorrect, discarding processing is carried out, and error information is recorded.
According to some embodiments of the invention, further comprising: monitoring the running process; and responding to abnormal exit of the process, automatically recovering and generating the log record. The running of each process in the monitoring system management module is automatically recovered after the monitored process abnormally exits, so that the functions of the system management module are ensured to be continuously and effectively.
According to some embodiments of the invention, further comprising: and starting a watchdog to monitor the process and feeding the watchdog regularly. The process is prevented from being closed maliciously, and normal operation of the system management module is guaranteed.
According to some embodiments of the present invention, the issuing of the configuration management information to the data processing module and the terminal service module includes: configuration management information is issued to the data processing module through RS232 serial port communication; and communicating with the terminal service module through the SPI bus. The system management module and the data processing module adopt RS232 serial port communication, the system management module actively sends configuration management information or message requests, the data processing module responds to the message requests and processes the configuration management information sent by the system management module in time. The data processing module can automatically upload the contents of module information, log, alarm information and the like to the system management module.
According to some embodiments of the present invention, communicating with the terminal service module via the SPI bus comprises: selecting a terminal service module to be accessed through an SPI chip selection interface; and sending frame data with CRC to the terminal service module to be accessed. The SPI is a high-speed, full-duplex and synchronous communication bus, only four wires are occupied on the pins of the chip, the pins of the chip are saved, and meanwhile, the space is saved for the layout of the PCB, and convenience is provided. SPI does not define a speed limit and typical implementations can typically reach or even exceed 10 Mbps. The SPI is a communication mode of a single host and a plurality of slaves, and supports a software mode of a plurality of service processing modules in the system. The system management module is used as a host, the service control module is used as a slave, and the communication mode of a single host-a single slave or a single host-multiple slaves can be supported.
In some embodiments of the present invention, programming four communication pins controls the data communication parameters between the entire SPI device. Wherein, SCLK is the clock signal transmitted from the master device to the slave device, and controls the time and speed of data exchange; the SS is used for the master device to chip select the slave devices, so that the selected slave devices can be accessed by the master device; the MOSI is used for the SPI main equipment to send serial data to the slave equipment; MISO, Master In Slave Out, is mainly used for the SPI Master to receive serial data. The communication mode of the SPI can be controlled by defining a Clock Polarity (CPOL) and a Clock Phase (CPHA). The master and slave devices must use the same operating parameters SCLK, CPOL and CPHA to operate properly. Aiming at the problem that the slave equipment cannot respond in the SPI communication model, a verification mechanism is introduced into the communication model, and the reliability of data communication is further improved. Namely adding a message head, a message tail and a CRC checking mechanism. And after receiving the complete message frame, the slave equipment checks the correctness of the message, discards the message if the message is not checked, and stores and reports the related information.
It should be particularly noted that, the steps in the embodiments of the method for multitask unified management can be mutually intersected, replaced, added, and deleted, so that these methods for multitask unified management, which are transformed by reasonable permutation and combination, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, based on the communication protocol containing the head and tail of data frame and CRC check, sending the configuration management information to the data processing module and the terminal service module; s2, the received data processing module and the terminal service module process the uploading log and the alarm information after the management information is processed, and operate based on the uploading log and the alarm information; and S3, periodically acquiring the operation states of the data processing module and the terminal service module, responding to the abnormal operation state and/or exceeding a preset threshold value, alarming and recording a log.
In some embodiments, the steps further comprise: monitoring the running process; and responding to abnormal exit of the process, automatically recovering and generating the log record.
In some embodiments, the steps further comprise: and starting a watchdog to monitor the process and feeding the watchdog regularly.
In some embodiments, the issuing the configuration management information to the data processing module and the terminal service module includes: configuration management information is issued to the data processing module through RS232 serial port communication; selecting a terminal service module to be accessed through an SPI chip selection interface; and sending frame data with CRC to the terminal service module to be accessed.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for unified management of multiple tasks can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for unified management of multiple tasks, comprising:
based on a communication protocol containing a data frame head and a frame tail and CRC (cyclic redundancy check), configuration management information is issued to a data processing module and a terminal service module;
receiving an uploading log and alarm information processed by the data processing module and the terminal service module on the management information, and operating based on the uploading log and the alarm information; and
and periodically acquiring the running states of the data processing module and the terminal service module, responding to the abnormal running state and/or exceeding a preset threshold value, alarming and recording a log.
2. The method of claim 1, further comprising:
monitoring the running process;
and responding to abnormal exit of the process, automatically recovering and generating the log record.
3. The method of claim 1, further comprising:
and starting a watchdog to monitor the process and feeding the watchdog regularly.
4. The method of claim 1, wherein issuing configuration management information to the data processing module and the terminal service module comprises:
configuration management information is issued to the data processing module through RS232 serial port communication;
and communicating with the terminal service module through the SPI bus.
5. The method of claim 4, wherein communicating with the end service module over the SPI bus comprises:
selecting a terminal service module to be accessed through an SPI chip selection interface;
and sending frame data with CRC to the terminal service module to be accessed.
6. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of:
based on a communication protocol containing a data frame head and a frame tail and CRC (cyclic redundancy check), configuration management information is issued to a data processing module and a terminal service module;
receiving an uploading log and alarm information processed by the data processing module and the terminal service module on the management information, and operating based on the uploading log and the alarm information; and
and periodically acquiring the running states of the data processing module and the terminal service module, responding to the abnormal running state and/or exceeding a preset threshold value, alarming and recording a log.
7. The computer device of claim 6, wherein the steps further comprise:
monitoring the running process;
and responding to abnormal exit of the process, automatically recovering and generating the log record.
8. The computer device of claim 6, wherein the steps further comprise:
and starting a watchdog to monitor the process and feeding the watchdog regularly.
9. The computer device of claim 6, wherein the issuing the configuration management information to the data processing module and the terminal service module comprises:
configuration management information is issued to the data processing module through RS232 serial port communication;
selecting a terminal service module to be accessed through an SPI chip selection interface;
and sending frame data with CRC to the terminal service module to be accessed.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202010185315.3A 2020-03-17 2020-03-17 Method, equipment and medium for unified management of multiple tasks Pending CN111382030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010185315.3A CN111382030A (en) 2020-03-17 2020-03-17 Method, equipment and medium for unified management of multiple tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010185315.3A CN111382030A (en) 2020-03-17 2020-03-17 Method, equipment and medium for unified management of multiple tasks

Publications (1)

Publication Number Publication Date
CN111382030A true CN111382030A (en) 2020-07-07

Family

ID=71215374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010185315.3A Pending CN111382030A (en) 2020-03-17 2020-03-17 Method, equipment and medium for unified management of multiple tasks

Country Status (1)

Country Link
CN (1) CN111382030A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727210A (en) * 2021-08-06 2021-11-30 济南浪潮数据技术有限公司 Equipment information management method, system, storage medium and equipment
CN115955519A (en) * 2023-03-10 2023-04-11 北京智芯微电子科技有限公司 Method, device and system for sharing physical communication channel by multiple service applications

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021102A1 (en) * 1997-10-22 1999-04-29 Dynamic Mobile Data Systems, Inc. Management and control of wireless devices
CN107943575A (en) * 2017-12-07 2018-04-20 北京兆易创新科技股份有限公司 Multitask monitoring and managing method and device in SPI NAND

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021102A1 (en) * 1997-10-22 1999-04-29 Dynamic Mobile Data Systems, Inc. Management and control of wireless devices
CN107943575A (en) * 2017-12-07 2018-04-20 北京兆易创新科技股份有限公司 Multitask monitoring and managing method and device in SPI NAND

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
叶丹霞等: "GSM模块TC35及在远程监控系统中的应用", 《现代电子技术》 *
唐兴等: "微波传输设备的嵌入式监控系统设计与实现", 《电子测试》 *
张黎莎: "基于嵌入式系统配变计量监测终端设计", 《东北电力技术》 *
陈秘等: "基于MSP430F149的车载监控终端系统设计与实现", 《计算机工程与设计》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727210A (en) * 2021-08-06 2021-11-30 济南浪潮数据技术有限公司 Equipment information management method, system, storage medium and equipment
CN113727210B (en) * 2021-08-06 2023-08-22 济南浪潮数据技术有限公司 Equipment information management method, system, storage medium and equipment
CN115955519A (en) * 2023-03-10 2023-04-11 北京智芯微电子科技有限公司 Method, device and system for sharing physical communication channel by multiple service applications
CN115955519B (en) * 2023-03-10 2023-05-26 北京智芯微电子科技有限公司 Method, device and system for sharing physical communication channel by multi-service application

Similar Documents

Publication Publication Date Title
CN107423303B (en) Method and system for data synchronization
US20240045751A1 (en) Lighting Method and Apparatus Based on AMD Platform, Device and Readable Medium
US20230064411A1 (en) I2c bus communication control method, device and system, and readable storage medium
JPH07507891A (en) Intelligent process control communication system and method
CN111382030A (en) Method, equipment and medium for unified management of multiple tasks
JP2008071209A (en) Storage management program, storage management device and storage management method
WO2021174828A1 (en) Data processing method, apparatus, computer system, and readable storage medium
JP4884721B2 (en) Storage system and storage control method that do not require storage device format
CN111124722B (en) Method, equipment and medium for isolating fault memory
US11137918B1 (en) Administration of control information in a storage system
CN111142896A (en) Method and device for upgrading firmware of storage device and readable medium
CN110580235A (en) SAS expander communication method and device
CN111090324B (en) Method, equipment and medium for off-peak power-up of server hard disk
CN108958965A (en) A kind of BMC monitoring can restore the method, device and equipment of ECC error
CN104636271B (en) The data stored in visit order/address register device
US20090210634A1 (en) Data transfer controller, data consistency determination method and storage controller
CN111309553B (en) Method, system, equipment and medium for monitoring storage Jbod
CN111045710B (en) Method, equipment and medium for upgrading SAS-Expander firmware based on IPMI command
CN111176932B (en) Method and device for recording abnormal event log and readable medium
WO2016042465A1 (en) Replication of tape cartridge data
CN112558884A (en) Data protection method and NVMe-based storage device
CN116828511A (en) Method, device and system for realizing loading and activating license of base station
CN110781042B (en) Method, device and medium for detecting UBM (Universal boot Module) backboard based on BMC (baseboard management controller)
CN116125853A (en) Integrated circuit security control method and device, storage medium and electronic equipment
CN111123792B (en) Multi-main-system interactive communication and management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200707

RJ01 Rejection of invention patent application after publication