CN115934142A - Geological disaster equipment management method, system, readable storage medium and computer - Google Patents

Geological disaster equipment management method, system, readable storage medium and computer Download PDF

Info

Publication number
CN115934142A
CN115934142A CN202211558490.8A CN202211558490A CN115934142A CN 115934142 A CN115934142 A CN 115934142A CN 202211558490 A CN202211558490 A CN 202211558490A CN 115934142 A CN115934142 A CN 115934142A
Authority
CN
China
Prior art keywords
equipment
task
updating
sequence
target
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
CN202211558490.8A
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.)
Jiangxi Fashion Technology Co Ltd
Original Assignee
Jiangxi Fashion Technology 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 Jiangxi Fashion Technology Co Ltd filed Critical Jiangxi Fashion Technology Co Ltd
Priority to CN202211558490.8A priority Critical patent/CN115934142A/en
Publication of CN115934142A publication Critical patent/CN115934142A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a geological disaster equipment management method, a system, a readable storage medium and a computer, wherein the method comprises the following steps: when the acquired task to be processed is an equipment updating task, analyzing a task data sequence and target equipment in the equipment updating task; acquiring a corresponding equipment data sequence from the equipment list, and performing sequence comparison on the task data sequence and the equipment data sequence to obtain a public subsequence and a characteristic subsequence; defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, and judging whether the difference file package meets the updating requirement of an equipment updating task; and if the difference file package meets the updating requirement of the equipment updating task, utilizing the difference file package to update the target equipment. The invention obtains the characteristic subsequence by using a sequence comparison mode, and automatically updates the target equipment through the difference file packet obtained by editing and converting the characteristic subsequence, thereby improving the working efficiency.

Description

Geological disaster equipment management method, system, readable storage medium and computer
Technical Field
The invention relates to the technical field of equipment management, in particular to a geological disaster equipment management method, a geological disaster equipment management system, a readable storage medium and a computer.
Background
With the rapid development of science and technology and the improvement of living standard of people, the ecological construction requirement is continuously improved, and the basic work of geological environment is further accelerated. At present, as the number of geological disaster equipment is continuously increased, the equipment management is also very important.
Currently, the management of equipment for geological disasters, for example: equipment upgrading, equipment maintenance, equipment control and the like all need geology cloud platform equipment to issue the instruction, and staff's manual operation inputs instruction and corresponding task to in the geology disaster equipment to make geology disaster equipment carry out corresponding operation according to instruction and task, nevertheless because the quantity of geology disaster equipment is comparatively huge, lead to staff's operating time to increase, seriously influence work efficiency and staff's work enthusiasm, consume a large amount of cost of labor and time cost.
Disclosure of Invention
In view of the above, it is an object of the present invention to provide a method, a system, a readable storage medium, and a computer for managing geological disaster equipment, so as to solve at least the above-mentioned deficiencies of the related art.
The invention provides a geological disaster equipment management method, which comprises the following steps:
when the acquired task to be processed is an equipment updating task, analyzing a task data sequence and target equipment in the equipment updating task;
acquiring a device data sequence corresponding to the target device from a device list, and performing sequence comparison on the task data sequence and the device data sequence to obtain a public subsequence and a characteristic subsequence;
defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, and judging whether the difference file package meets the updating requirement of the equipment updating task;
and if the difference file package meets the updating requirement of the equipment updating task, utilizing the difference file package to update the target equipment.
Further, before the step when the acquired task to be processed is a device update task, the method further includes:
acquiring equipment information of a plurality of geological disaster equipment, wherein the equipment information comprises equipment installation time, equipment serial numbers and equipment data sequences;
constructing a mapping relation between each equipment serial number and each equipment data sequence to obtain an equipment mapping table;
and sequencing the equipment mapping table according to the equipment installation time to obtain an equipment list of each geological disaster equipment.
Further, before the step when the acquired task to be processed is a device update task, the method further includes:
when a task to be processed is obtained, analyzing a task identifier of the task to be processed;
performing sequence conversion on the task identifier to obtain an identifier sequence corresponding to the task identifier;
and determining the task type of the task to be processed according to the identification sequence.
Further, after the step of updating the geological disaster device with the difference file package, the method further includes:
sending a verification signal to the target equipment, and continuously acquiring a signal fed back by the target equipment within preset time;
when a verification success signal exists in the signals fed back by the target equipment, completing the equipment updating task;
and when the signal fed back by the target equipment does not have a verification success signal, sending out an alarm signal.
Further, after the step of sending an alarm signal when the verification success signal does not exist in the signal fed back by the target device, the method further includes:
judging whether a plurality of target devices in the device updating task exist or not;
and if the number of the target devices in the device updating task is multiple, skipping the current target device and recording the execution log of the current target device, and updating the next target device.
The invention also provides a geological disaster equipment management system, which comprises:
the task analysis module is used for analyzing a task data sequence and target equipment in the equipment updating task when the acquired task to be processed is the equipment updating task;
the sequence comparison module is used for acquiring a device data sequence corresponding to the target device from a device list and performing sequence comparison on the task data sequence and the device data sequence to obtain a public subsequence and a characteristic subsequence;
the sequence conversion module is used for defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode and judging whether the difference file package meets the updating requirement of the equipment updating task or not;
and the equipment updating module is used for updating the target equipment by using the difference file package if the difference file package meets the updating requirement of the equipment updating task.
Further, the system further comprises:
the device information acquisition module is used for acquiring device information of a plurality of geological disaster devices, wherein the device information comprises device installation time, device serial numbers and device data sequences;
the sequence mapping module is used for constructing a mapping relation between each equipment serial number and each equipment data sequence so as to obtain an equipment mapping table;
and the equipment list building module is used for sequencing the equipment mapping table according to the equipment installation time so as to obtain an equipment list of each geological disaster equipment.
Further, the system further comprises:
the task identifier analyzing module is used for analyzing the task identifier of the task to be processed when the task to be processed is obtained;
the identification sequence conversion module is used for carrying out sequence conversion on the task identification to obtain an identification sequence corresponding to the task identification;
and the task type determining module is used for determining the task type of the task to be processed according to the identification sequence.
Further, the system further comprises:
the device verification module is used for sending a verification signal to the target device and continuously acquiring a signal fed back by the target device within a preset time;
the updating confirmation module is used for finishing the equipment updating task when a verification success signal exists in the signals fed back by the target equipment;
and the updating alarm module is used for sending out an alarm signal when the verification success signal does not exist in the signal fed back by the target equipment.
Further, the system further comprises:
the target equipment judging module is used for judging whether a plurality of target equipment exist in the equipment updating task;
and the equipment processing module is used for skipping the current target equipment and recording the execution log of the current target equipment if the number of the target equipment in the equipment updating task is multiple, and updating the next target equipment.
The invention also proposes a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the geological disaster device management method described above.
The invention also provides a computer, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the geological disaster equipment management method.
Compared with the prior art, the invention has the beneficial effects that: acquiring a device data sequence corresponding to target devices from a device list, and comparing the device data sequences to distinguish a public subsequence and a characteristic subsequence in the device data sequence; the method comprises the steps of defining a character editing mode of a characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, determining an updating requirement of equipment by judging the difference file package, updating the target equipment by using the difference file package, and obtaining the characteristic subsequence by using a sequence comparison mode, so that the subsequent editing conversion is carried out by using the characteristic subsequence, the target equipment is automatically updated by using the difference file package, the manual operation of workers is avoided, and the working efficiency and the working enthusiasm are improved.
Drawings
FIG. 1 is a flow chart of a geological disaster facility management method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a geological disaster facility management method according to a second embodiment of the present invention;
fig. 3 is a block diagram showing the construction of a geological disaster facility management system according to a third embodiment of the present invention;
fig. 4 is a block diagram showing a computer according to a fourth embodiment of the present invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Example one
Referring to fig. 1, a geological disaster equipment management method in a first embodiment of the present invention is shown, and the method specifically includes steps S101 to S104:
s101, when the acquired task to be processed is an equipment updating task, analyzing a task data sequence and target equipment in the equipment updating task;
in the embodiment, the equipment adopts geological disaster equipment, namely geological disaster data, wherein the data type is the type of the data, and comprises a control type (representing to control the geological disaster equipment), an optimization type (representing to optimize the geological disaster equipment) and an upgrade type (representing to upgrade the geological disaster equipment), and the serial numbers corresponding to the types are 0000, 0001, 0010 and 0011;
the data processing capacity is the processing size of the data, the processing memory consumed for processing the data is consumed, when the data processing capacity is greater than 80% of the system processing memory, the data processing capacity is large, the serial number of the data processing capacity is marked as 0100, when the data processing capacity is 30-80% of the system processing memory, the data processing capacity is general, the serial number of the data processing capacity is marked as 0110, when the data processing capacity is less than 30% of the system processing memory, the data processing capacity is small, and the serial number of the data processing capacity is marked as 0111;
the data importance degree is the influence degree of the data on the target equipment in the equipment updating task, and when the influence degree is greater than 30%, the importance degree is high, and the serial number of the data is marked as 1000; when the influence degree is 10-30%, the importance degree is general, and the serial number is marked as 1100; when the influence degree is less than 10%, it means that the degree of importance is low, then the serial number is marked as 1110; the influence degree can be set by a user when the device leaves a factory, the importance degree of various parameters and/or programs of the device is set, when data in a device updating task is the same as data header files of various parameters and/or programs, the importance degree of the data is the same as the importance degree of the parameters, and the data header files are data identifiers of the parameters and/or programs.
Specifically, after obtaining the above sequence numbers, the sequence numbers are combined to obtain a corresponding task data sequence, for example: when the data type of the equipment updating task is the control type, the data processing amount is 50% of the system processing memory, and the data importance degree is 10%, the task data sequence of the equipment updating task is as follows: 000001101110.
s102, acquiring a device data sequence corresponding to the target device from a device list, and performing sequence comparison on the task data sequence and the device data sequence to obtain a public subsequence and a characteristic subsequence;
in specific implementation, device data sequences of each device, namely sequences corresponding to various parameters and/or programs of the device, are obtained in advance, a universal sequence and a feature sequence in the device data sequences of each device are distinguished, a mapping relation is constructed according to the universal sequence, the feature sequence and each device, so as to obtain a device sequence mapping table, the feature sequences and the universal sequences corresponding to different data types, data processing amounts and data importance degrees are recorded in the device sequence mapping table, the feature sequences are sequences corresponding to different data of various parameters and/or programs of each device, the universal sequences are sequences corresponding to the same data of various parameters and/or programs of each device, after the device updating task and the corresponding task data sequences are obtained, the device data sequences corresponding to a target device in the device updating task are found in the device sequence mapping table, the task data sequences and the device data sequences are compared, so that the universal sequence and the feature sequences of the target device in the device updating task can be found, the universal sequences and the feature sequences are marked as common subsequences.
For example: the task sequence table of the device update task is as follows: 000001101101110, the target device of the device update task is a controller, a device data sequence corresponding to the controller is called through a device sequence mapping table, and a feature sequence and a general sequence corresponding to 000001101110 of the task sequence list in the device data sequence are respectively used as a feature subsequence and a public subsequence.
S103, defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, and judging whether the difference file package meets the updating requirement of the equipment updating task;
in specific implementation, a character table corresponding to the characteristic subsequence is constructed in advance, after the characteristic subsequence of the equipment updating task is obtained, the character of the characteristic subsequence is found by using the character table, the character is position information corresponding to characteristic data in the equipment updating task, corresponding data can be found in the equipment updating task through the character, and the data are converted into a difference file packet;
further, in order to avoid the abnormal occurrence of the differential file package, it is necessary to determine whether the differential file package meets the update requirement of the device update task.
And S104, if the difference file package meets the updating requirement of the equipment updating task, utilizing the difference file package to update the target equipment.
In specific implementation, if the difference file package meets the update requirement of the device update task, the device update is performed on the target device by using the difference file package.
In summary, in the geological disaster device management method in the above embodiment of the present invention, the device data sequence corresponding to the target device is obtained in the device list, and the device data sequence is compared to distinguish the public subsequence and the characteristic subsequence in the device data sequence; the method comprises the steps of defining a character editing mode of a characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, determining an updating requirement of equipment by judging the difference file package, updating the target equipment by using the difference file package, and obtaining the characteristic subsequence by using a sequence comparison mode so as to be convenient for subsequent editing and conversion through the characteristic subsequence, and automatically updating the target equipment by using the difference file package, thereby avoiding manual operation of workers and improving working efficiency and working enthusiasm.
Example two
Referring to fig. 2, a geological disaster equipment management method in a second embodiment of the present invention is shown, and the method specifically includes steps S201 to S205:
s201, acquiring equipment information of a plurality of geological disaster equipment, wherein the equipment information comprises equipment installation time, equipment serial numbers and equipment data sequences;
s202, constructing a mapping relation between each equipment serial number and each equipment data sequence to obtain an equipment mapping table;
s203, sequencing the equipment mapping table according to the equipment installation time to obtain an equipment list of each geological disaster equipment;
in specific implementation, the equipment information of each geological disaster equipment is obtained, a mapping relation is established between the equipment serial number in the equipment information and the equipment data sequence to obtain an equipment mapping table, and the equipment mapping table is sorted according to the equipment installation time to obtain an equipment list of each geological disaster equipment.
The device data sequence is a sequence corresponding to various parameters and/or programs of the device, the device serial number is a device number, and each device contains a unique device serial number.
It can be understood that the device list includes device information of each geological disaster device, and when a task for a geological disaster device is acquired, the device information of the target device can be found in the device list by analyzing the target device of the task.
S204, when the task to be processed is obtained, analyzing the task identifier of the task to be processed;
s205, performing sequence conversion on the task identifier to obtain an identifier sequence corresponding to the task identifier;
s206, determining the task type of the task to be processed according to the identification sequence;
in specific implementation, the task to be processed can be issued by a terminal device, wherein the terminal device is a device with a communication function, such as a mobile phone and a computer, and when the terminal device needs to issue a task to a geological disaster device, a task identifier is attached, sequence conversion is performed on the task identifier, and a task type of the task is included in an identifier sequence obtained through conversion, wherein the identifier sequence includes a device updating task, a device control task, a device optimization task and the like.
S207, when the acquired task to be processed is an equipment updating task, analyzing a task data sequence and target equipment in the equipment updating task;
in specific implementation, when a terminal device needs to perform device update on a target device, a device update task is issued, and required task data is attached to the device update task, the task data is subjected to data conversion to obtain a task data sequence, the task data sequence is respectively marked as corresponding serial numbers for data types, data processing amounts and data importance degrees which are required to be updated in the device update task, and the serial numbers are combined in a preset combination mode to form the task data sequence, wherein the data types are data types and comprise a control type (indicating to control geological disaster devices), an optimization type (indicating to optimize geological disaster devices) and an upgrade type (indicating to upgrade geological disaster devices), and the serial numbers corresponding to the types are 0000, 0001, 0010 and 0011;
the data processing capacity is the processing size of the data, the processing memory consumed for processing the data is consumed, when the data processing capacity is greater than 80% of the system processing memory, the data processing capacity is large, the serial number of the data processing capacity is marked as 0100, when the data processing capacity is 30-80% of the system processing memory, the data processing capacity is general, the serial number of the data processing capacity is marked as 0110, when the data processing capacity is less than 30% of the system processing memory, the data processing capacity is small, and the serial number of the data processing capacity is marked as 0111;
the data importance degree is the influence degree of the data on the target equipment in the equipment updating task, and when the influence degree is greater than 30%, the importance degree is high, and the serial number of the data is marked as 1000; when the influence degree is 10-30%, the importance degree is general, and the serial number is marked as 1100; when the degree of influence is less than 10%, meaning that the degree of importance is low, its sequence number is marked 1110; the influence degree can be set by a user when the device leaves a factory, the importance degree of various parameters and/or programs of the device is set, when data in a device updating task is the same as data header files of various parameters and/or programs, the importance degree of the data is the same as the importance degree of the parameters, and the data header files are data identifiers of the parameters and/or programs.
Specifically, after obtaining the above sequence numbers, the sequence numbers are combined to obtain a corresponding task data sequence, for example: when the data type of the device update task is the control type, the data processing amount is 50% of the system processing memory, and the data importance degree is 10%, the task data sequence of the device update task is as follows: 000001101110.
s208, acquiring a device data sequence corresponding to the target device from a device list, and performing sequence comparison on the task data sequence and the device data sequence to obtain a public subsequence and a characteristic subsequence;
in specific implementation, an apparatus data sequence corresponding to a target apparatus, that is, a sequence corresponding to various parameters and/or programs of the apparatus, is obtained from the apparatus list, a general sequence and a feature sequence in the apparatus data sequence of each apparatus are distinguished, a mapping relationship is constructed according to the general sequence, the feature sequence and each apparatus to obtain an apparatus sequence mapping table, the feature sequence and the general sequence corresponding to different data types, data processing amounts and data importance degrees are recorded in the apparatus sequence mapping table, the feature sequence is a sequence corresponding to different data of various parameters and/or programs of each apparatus, the general sequence is a sequence corresponding to the same data of various parameters and/or programs of each apparatus, after an apparatus update task and a corresponding task data sequence are obtained, an apparatus data sequence corresponding to the target apparatus in the apparatus update task is found in the apparatus sequence mapping table, the task data sequence is compared with the apparatus data sequence, that the general sequence and the feature sequence in the apparatus update task are found, the general sequence and the feature sequence are marked as a common feature subsequence, and the feature sequence is marked as a common feature subsequence.
For example: the task sequence table of the device update task is as follows: 000001101101110, the target device of the device update task is a controller, a device data sequence corresponding to the controller is called through a device sequence mapping table, and a feature sequence and a general sequence corresponding to 000001101110 of the task sequence list in the device data sequence are respectively used as a feature subsequence and a public subsequence.
S209, defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, and judging whether the difference file package meets the updating requirement of the equipment updating task;
in specific implementation, a character table corresponding to the characteristic subsequence is constructed in advance, after the characteristic subsequence of the equipment updating task is obtained, the character of the characteristic subsequence is found by using the character table, the character is position information corresponding to characteristic data in the equipment updating task, corresponding data can be found in the equipment updating task through the character, and the data are converted into a difference file packet;
further, in order to avoid the abnormal occurrence of the differential file package, it is necessary to determine whether the differential file package meets the update requirement of the device update task.
S210, if the difference file package meets the updating requirement of the equipment updating task, utilizing the difference file package to update the target equipment;
in specific implementation, if the difference file package meets the update requirement of the device update task, the device update is performed on the target device by using the difference file package.
S211, sending a verification signal to the target device, and continuously acquiring a signal fed back by the target device within a preset time;
s212, when a verification success signal exists in the signals fed back by the target equipment, completing the equipment updating task;
s213, when the signal fed back by the target equipment does not have a verification success signal, an alarm signal is sent out;
in specific implementation, when the target device is updated, the feedback signal of the target device is continuously obtained within a preset time (in this embodiment, the preset time is 10 minutes), and it can be understood that the target device feeds back a plurality of signals according to the received update task when the device is updated;
for example: the method comprises the steps of generating a state signal (equipment state during updating), an updating signal (updating state of equipment during updating), a verification signal (signal for judging whether updating is successful) and the like, wherein when the verification success signal exists in a plurality of signals, the device updating task is finished, and when the verification success signal does not exist in the plurality of signals, the device updating task possibly has abnormity in the updating process, an alarm signal is sent out, all state signals and updating signals fed back by target equipment within the preset time are obtained, the state signal and the updating signal are compared on the same time line, when the updating signal is not matched with the state information, the time point when the updating signal is not matched is recorded, the equipment running log of the time point is found, and the target equipment is maintained according to the running log.
It can be understood that when the device performs the device update task, the status signal will be always marked as "update" and the update signal will also be always marked as "update status", and if the statuses of the two signals do not correspond at a certain time point, it means that at the time point, there is an interruption in the device update task or an abnormality in the device.
S214, judging whether a plurality of target devices in the device updating task exist or not;
s215, if there are a plurality of target devices in the device update task, skipping the current target device and recording the execution log of the current target device, and performing device update on the next target device.
In specific implementation, when a plurality of target devices exist in the device update task, the operation of the device update task is not affected by the occurrence of an abnormality of any device, so that the current target device is skipped over, the execution log of the current target device is recorded, the next target device is updated, and the problem of the abnormality can be found through the execution log of the current target device.
In summary, in the geological disaster equipment management method in the above embodiments of the present invention, the accuracy of equipment management is increased, the running precision of tasks is ensured, and the working efficiency of equipment management is improved by judging the signals fed back by the equipment.
EXAMPLE III
In another aspect, referring to fig. 3, a geological disaster equipment management system according to a third embodiment of the present invention is further provided, and includes:
the task analysis module 11 is configured to analyze a task data sequence and target equipment in the equipment update task when the acquired to-be-processed task is an equipment update task;
a sequence comparison module 12, configured to obtain a device data sequence corresponding to the target device from a device list, and perform sequence comparison between the task data sequence and the device data sequence to obtain a common subsequence and a feature subsequence;
a sequence conversion module 13, configured to define a character editing mode of the feature subsequence, convert the feature subsequence into a difference file package by using the character editing mode, and determine whether the difference file package meets an update requirement of the device update task;
and the device updating module 14 is configured to perform device updating on the target device by using the difference file package if the difference file package meets the updating requirement of the device updating task.
In some optional embodiments, the system further comprises:
the device information acquisition module is used for acquiring device information of a plurality of geological disaster devices, wherein the device information comprises device installation time, device serial numbers and device data sequences;
the sequence mapping module is used for constructing a mapping relation between each equipment serial number and each equipment data sequence so as to obtain an equipment mapping table;
and the equipment list building module is used for sequencing the equipment mapping table according to the equipment installation time so as to obtain an equipment list of each geological disaster equipment.
In some optional embodiments, the system further comprises:
the task identifier analyzing module is used for analyzing the task identifier of the task to be processed when the task to be processed is obtained;
the identification sequence conversion module is used for carrying out sequence conversion on the task identification to obtain an identification sequence corresponding to the task identification;
and the task type determining module is used for determining the task type of the task to be processed according to the identification sequence.
In some optional embodiments, the system further comprises:
the device verification module is used for sending a verification signal to the target device and continuously acquiring a signal fed back by the target device within a preset time;
the updating confirmation module is used for finishing the equipment updating task when a verification success signal exists in the signals fed back by the target equipment;
and the updating alarm module is used for sending out an alarm signal when the verification success signal does not exist in the signal fed back by the target equipment.
In some optional embodiments, the system further comprises:
the target equipment judging module is used for judging whether a plurality of target equipment exist in the equipment updating task;
and the equipment processing module is used for skipping the current target equipment and recording an execution log of the current target equipment if the number of the target equipment in the equipment updating task is multiple, and updating the next target equipment.
The functions or operation steps of the modules and units when executed are substantially the same as those of the method embodiments, and are not described herein again.
The implementation principle and the generated technical effect of the geological disaster equipment management system provided by the embodiment of the invention are the same as those of the method embodiment, and for brief description, corresponding contents in the method embodiment can be referred to where the system embodiment is not mentioned.
Example four
Referring to fig. 4, a computer according to a fourth embodiment of the present invention is further provided, and includes a memory 10, a processor 20, and a computer program 30 stored in the memory 10 and executable on the processor 20, where the processor 20 executes the computer program 30 to implement the above-mentioned geological disaster equipment management method.
The memory 10 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 10 may in some embodiments be an internal storage unit of a computer, for example a hard disk of the computer. The memory 10 may also be an external storage device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 10 may also include both an internal storage unit and an external storage device of the computer. The memory 10 may be used not only to store application software installed in a computer and various kinds of data, but also to temporarily store data that has been output or will be output.
In some embodiments, the processor 20 may be an Electronic Control Unit (ECU), a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip, and is configured to run program codes stored in the memory 10 or process data, such as executing an access restriction program.
It should be noted that the configuration shown in fig. 4 does not constitute a limitation of the computer, and in other embodiments the computer may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
Embodiments of the present invention further provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the geological disaster device management method as described above.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer readable storage medium may even be paper or another suitable readable storage medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other readable storage medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A geological disaster facility management method, comprising:
when the acquired task to be processed is an equipment updating task, analyzing a task data sequence and target equipment in the equipment updating task;
acquiring a device data sequence corresponding to the target device from a device list, and performing sequence comparison on the task data sequence and the device data sequence to obtain a public subsequence and a characteristic subsequence;
defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode, and judging whether the difference file package meets the updating requirement of the equipment updating task;
and if the difference file package meets the updating requirement of the equipment updating task, utilizing the difference file package to update the target equipment.
2. A geological disaster device management method according to claim 1, characterized in that before the step when the acquired task to be processed is a device update task, the method further comprises:
acquiring equipment information of a plurality of geological disaster equipment, wherein the equipment information comprises equipment installation time, equipment serial numbers and equipment data sequences;
constructing a mapping relation between each equipment serial number and each equipment data sequence to obtain an equipment mapping table;
and sequencing the equipment mapping table according to the equipment installation time to obtain an equipment list of each geological disaster equipment.
3. A geological disaster device management method according to claim 1, characterized in that before the step when the acquired task to be processed is a device update task, the method further comprises:
when a task to be processed is obtained, analyzing a task identifier of the task to be processed;
performing sequence conversion on the task identifier to obtain an identifier sequence corresponding to the task identifier;
and determining the task type of the task to be processed according to the identification sequence.
4. The geological disaster device management method as claimed in claim 1, wherein after the step of performing device update on the geological disaster device using the difference file package, the method further comprises:
sending a verification signal to the target equipment, and continuously acquiring a signal fed back by the target equipment within a preset time;
when a verification success signal exists in the signals fed back by the target equipment, completing the equipment updating task;
and when the signal fed back by the target equipment does not have a verification success signal, sending out an alarm signal.
5. The geological disaster device management method according to claim 4, wherein after the step of issuing an alarm signal when the verification success signal does not exist in the signal fed back by the target device, the method further comprises:
judging whether a plurality of target devices in the device updating task exist or not;
and if the number of the target devices in the device updating task is multiple, skipping the current target device and recording the execution log of the current target device, and updating the next target device.
6. A geological disaster equipment management system, comprising:
the task analysis module is used for analyzing a task data sequence and target equipment in the equipment updating task when the acquired task to be processed is the equipment updating task;
the sequence comparison module is used for acquiring a device data sequence corresponding to the target device from a device list and performing sequence comparison on the task data sequence and the device data sequence to obtain a public subsequence and a characteristic subsequence;
the sequence conversion module is used for defining a character editing mode of the characteristic subsequence, converting the characteristic subsequence into a difference file package by using the character editing mode and judging whether the difference file package meets the updating requirement of the equipment updating task or not;
and the equipment updating module is used for updating the target equipment by using the difference file package if the difference file package meets the updating requirement of the equipment updating task.
7. The geological disaster device management system as recited in claim 6, wherein said system further comprises:
the device information acquisition module is used for acquiring device information of a plurality of geological disaster devices, wherein the device information comprises device installation time, device serial numbers and device data sequences;
the sequence mapping module is used for constructing a mapping relation between each equipment serial number and each equipment data sequence so as to obtain an equipment mapping table;
and the equipment list building module is used for sequencing the equipment mapping table according to the equipment installation time so as to obtain an equipment list of each geological disaster equipment.
8. The geological disaster device management system as recited in claim 6, wherein said system further comprises:
the task identifier analyzing module is used for analyzing the task identifier of the task to be processed when the task to be processed is obtained;
the identification sequence conversion module is used for carrying out sequence conversion on the task identification to obtain an identification sequence corresponding to the task identification;
and the task type determining module is used for determining the task type of the task to be processed according to the identification sequence.
9. A readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements a method of geological disaster equipment management as claimed in any one of claims 1 to 5.
10. A computer comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements a method of geological disaster management as claimed in any of claims 1 to 5.
CN202211558490.8A 2022-12-06 2022-12-06 Geological disaster equipment management method, system, readable storage medium and computer Pending CN115934142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211558490.8A CN115934142A (en) 2022-12-06 2022-12-06 Geological disaster equipment management method, system, readable storage medium and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211558490.8A CN115934142A (en) 2022-12-06 2022-12-06 Geological disaster equipment management method, system, readable storage medium and computer

Publications (1)

Publication Number Publication Date
CN115934142A true CN115934142A (en) 2023-04-07

Family

ID=86555070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211558490.8A Pending CN115934142A (en) 2022-12-06 2022-12-06 Geological disaster equipment management method, system, readable storage medium and computer

Country Status (1)

Country Link
CN (1) CN115934142A (en)

Similar Documents

Publication Publication Date Title
CN109002971B (en) Task management method and device, computer equipment and storage medium
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN109002424B (en) File format conversion method and device, computer equipment and storage medium
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN114564294A (en) Intelligent service arranging method and device, computer equipment and storage medium
CN113127413B (en) Operator data processing method, device, server and storage medium
CN105426544B (en) Method and device for monitoring database state
CN114281663A (en) Test processing method, test processing device, electronic equipment and storage medium
CN109240916A (en) Information output controlling method, device and computer readable storage medium
CN112256574A (en) Vehicle diagnosis method and system and related equipment
CN116204428A (en) Test case generation method and device
CN111193631B (en) Information processing method, system, and computer-readable storage medium
CN115934142A (en) Geological disaster equipment management method, system, readable storage medium and computer
CN114661569B (en) Dynamic buried point acquisition method for user behavior data
CN115880116A (en) Task scheduling method, system, readable storage medium and computer equipment
CN115561700A (en) Method and device for analyzing metering standard of direct current electric energy meter
CN115643149A (en) Equipment management method and system
CN114238130A (en) Performance test method, device, equipment and storage medium
CN108415814B (en) Method for automatically recording field change, application server and computer readable storage medium
CN111045849A (en) Method, device, server and storage medium for identifying reason of checking abnormality
US20120233224A1 (en) Data processing
CN113762373B (en) Load characteristic anomaly identification method and device, electronic equipment and medium
JP7426490B2 (en) Online office network disturbance processing method and device
CN111581207B (en) File generation method and device of Azkaban project and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination