CN117056405A - Ship software monitoring data acquisition processing method, system and storage medium - Google Patents

Ship software monitoring data acquisition processing method, system and storage medium Download PDF

Info

Publication number
CN117056405A
CN117056405A CN202310888828.4A CN202310888828A CN117056405A CN 117056405 A CN117056405 A CN 117056405A CN 202310888828 A CN202310888828 A CN 202310888828A CN 117056405 A CN117056405 A CN 117056405A
Authority
CN
China
Prior art keywords
query
operation data
query method
monitoring server
time
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.)
Granted
Application number
CN202310888828.4A
Other languages
Chinese (zh)
Other versions
CN117056405B (en
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.)
719th Research Institute Of China State Shipbuilding Corp
Original Assignee
719th Research Institute Of China State Shipbuilding Corp
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 719th Research Institute Of China State Shipbuilding Corp filed Critical 719th Research Institute Of China State Shipbuilding Corp
Priority to CN202310888828.4A priority Critical patent/CN117056405B/en
Publication of CN117056405A publication Critical patent/CN117056405A/en
Application granted granted Critical
Publication of CN117056405B publication Critical patent/CN117056405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application belongs to the technical field of data processing, and particularly relates to a ship software monitoring data acquisition and processing method, a system and a storage medium, wherein the method comprises the following steps: the method comprises the steps that ship software sends operation data of each time to a storage server through a network, the storage server stores the operation data of each time sent by the ship software, and the operation data of each time of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information; and inquiring operation data meeting the inquiry rules from the storage server by a proper inquiry method every time the monitoring server passes a preset fixed time period, and analyzing and processing the operation condition of the ship software according to the inquired operation data by the monitoring server. The application can improve the efficiency of inquiring the operation data from the storage server.

Description

Ship software monitoring data acquisition processing method, system and storage medium
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a ship software monitoring data acquisition and processing method, a system and a storage medium.
Background
At present, reliable operation of ship software is an effective way for improving the informatization level of the ship, and in order to ensure reliable operation of the ship software, real-time acquisition and storage of operation data of the ship software are generally required, so that the operation data of the ship software can be analyzed and processed when needed.
The Chinese patent with publication number of CN114661800A discloses a data acquisition method and a data acquisition system, wherein a visual configuration platform uniformly manages acquisition configuration distributed on each server, and simple configuration uniform management is realized; the acquisition system server is responsible for transmitting the instruction to realize intranet penetration; the acquisition client comprises a system acquisition client and a server acquisition client, wherein an acquisition task supporting remote access data is distributed to the system acquisition client, and a local data acquisition task is distributed to the server acquisition client; the data cleaning module is responsible for receiving the data collected and reported by all clients, however, the data collecting efficiency of the application is lower. The Chinese patent publication No. CN1858744A discloses a data query system and a data query method, which comprises a plurality of databases, wherein each database is connected with a query terminal, each query terminal and each database are connected with a communication network, the data query method is characterized in that the data query terminal sends a data query request to a local database, acquires a data pointer pointing to a remote database and resends the data query request to the remote database, but the application does not consider the efficiency problem when querying data from the databases. Therefore, the application provides a ship software monitoring data acquisition processing method, a system and a storage medium.
Disclosure of Invention
The application collects the operation data of the ship software, sends the operation data of the ship software to the storage server for storage, and queries the operation data of the ship software from the storage server at fixed time by the monitoring server to analyze the operation condition of the ship software.
In order to achieve the above purpose, the application provides a ship software monitoring data acquisition and processing method, which mainly comprises the following steps:
step 1, ship software sends operation data of each time to a storage server through a network, the storage server stores the operation data of each time sent by the ship software, and the operation data of each time of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information;
step 2, inquiring the operation data meeting the inquiry rule from the storage server through a proper inquiry method every time the monitoring server passes a preset fixed time period, and analyzing and processing the operation condition of the ship software according to the inquired operation data by the monitoring server;
the storage server stores the operation data of each time sent by the ship software by taking a preset number of operation data as a storage unit.
As a preferable technical solution of the present application, the monitoring server may query the operation data satisfying a query rule from the storage server by a first query method and a second query method, the monitoring server may query the storage server each time with the storage unit as a minimum query unit using the first query method, and the monitoring server may query the storage server each time with the operation data as a minimum query unit using the second query method.
As a preferred technical solution of the present application, the monitoring server queries the operation data satisfying a query rule from the storage server by a suitable query method every time a preset fixed period of time passes, including the following steps:
step 21, the monitoring server judges whether or not a preset number of times of inquiry has been performed after the inquiry is started, and if the preset number of times of inquiry has not been performed, the monitoring server continues to step 22, and if the preset number of times of inquiry has been performed, the monitoring server continues to step 23;
step 22, the monitoring server generates a judgment value at will, meanwhile, the monitoring server compares the judgment value with a preset first threshold value, the monitoring server determines to use a first query method when the judgment value is smaller than or equal to the first threshold value, the monitoring server determines to use a second query method when the judgment value is larger than the first threshold value, and the step 25 is continued;
step 23, the monitoring server generates a judgment value at will, meanwhile, the monitoring server compares the judgment value with a preset second threshold value, if the judgment value is smaller than or equal to the second threshold value, the monitoring server checks whether a preferred query method is stored, if the preferred query method is not stored, the monitoring server calculates query evaluation values corresponding to the first query method and the second query method respectively based on the previous queries, the query method corresponding to the largest query evaluation value is judged to be the preferred query method, the monitoring server determines to use the preferred query method, continues to step 25, if the preferred query method is stored, the monitoring server directly determines to use the preferred query method, continues to step 25, and continues to step 24, if the judgment value is larger than the second threshold value;
step 24, the monitoring server checks whether a preferred query method is stored, when the preferred query method is not stored, the monitoring server calculates query evaluation values corresponding to the first query method and the second query method respectively based on previous queries, determines the query method corresponding to the largest query evaluation value as the preferred query method, determines to use a query method different from the preferred query method, continues step 25, and when the preferred query method is stored, the monitoring server directly determines to use a query method different from the preferred query method, and continues step 25;
step 25, the monitoring server queries the operation data meeting the query rule from the storage server according to the determined query method, and based on the previous query, the monitoring server calculates the query evaluation values corresponding to the first query method and the second query method respectively, determines the query method corresponding to the largest query evaluation value as the preferred query method, and jumps to step 21.
As a preferred embodiment of the present application, the second threshold is greater than the first threshold.
As a preferred technical solution of the present application, the monitoring server stores the query method used, the number of the operation data queried, the time spent for the query, and the query rule after each query.
As a preferred embodiment of the present application, the monitoring server calculates a first result value of the total amount of the operation data queried using the preferred query method divided by the total time spent using the preferred query method after each query, and calculates a second result value of the total amount of the operation data queried using the query methods other than the preferred query method divided by the total time spent using the query methods other than the preferred query method, and increases the second threshold value in case that a difference between the first result value and the second result value exceeds a preset difference threshold value.
As a preferred technical solution of the present application, the ship software sends the operation data of each time to the storage server through a network, and the method includes the following steps:
step 11, under the condition that the ship software is monitored to have abnormal operation, the ship software compares the operation function information, the common operation parameter information and the detailed operation parameter information contained in the operation data of this time with the operation function information, the common operation parameter information and the detailed operation parameter information contained in the operation data sent last time respectively, and sends information different from the information in the operation data sent last time in the operation data of this time to the storage server;
and 12, under the condition that the ship software is not monitored to have abnormal operation, the ship software compares the operation function information and the common operation parameter information contained in the current operation data with the operation function information and the common operation parameter information contained in the operation data sent last time, and sends information different from the information in the operation data sent last time in the current operation data to the storage server.
The application also provides a ship software monitoring data acquisition and processing system, which comprises the following modules:
the ship software module is used for collecting each operation data and sending each operation data to the storage server, wherein each operation data of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information;
the storage server module is used for storing each operation data sent by ship software;
and the monitoring server module is used for inquiring the operation data meeting the inquiry rule from the storage server through a proper inquiry method every time a preset fixed time period passes, and analyzing and processing the operation condition of the ship software according to the inquired operation data.
The present application also provides a storage medium storing program instructions, wherein the program instructions, when executed, control a device in which the storage medium is located to perform any one of the methods described above.
Compared with the prior art, the application has the following beneficial effects:
in the application, the ship software transmits each operation data to the storage server through the network, the storage server stores each operation data transmitted by the ship software, each operation data of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information, and each time the monitoring server passes a preset fixed time period, the operation data meeting the query rule is queried from the storage server through a proper query method, and the monitoring server analyzes and processes the operation condition of the ship software according to the queried operation data. The application not only can improve the efficiency of the storage server for collecting the operation data from the ship software, but also can improve the efficiency of the monitoring server for inquiring the operation data from the storage server.
Drawings
FIG. 1 is a flow chart of steps of a method for collecting and processing ship software monitoring data;
fig. 2 is a structural diagram of a ship software monitoring data acquisition and processing system of the application.
Description of the embodiments
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of this disclosure.
The application provides a ship software monitoring data acquisition processing method shown in figure 1, which is realized mainly by executing the following steps:
step 1, ship software sends operation data of each time to a storage server through a network, the storage server stores the operation data of each time sent by the ship software, and the operation data of each time of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information;
and step 2, inquiring the operation data meeting the inquiry rules from the storage server through a proper inquiry method every time the monitoring server passes a preset fixed time period, and analyzing and processing the operation condition of the ship software according to the inquired operation data by the monitoring server.
Specifically, the ship software generates operation data when each operation is performed, the operation data comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information, the operation condition of the ship software can be known through the operation data, for example, the operation function information in one operation data of the ship software is a communication function between the ship software operation and the outside, the common operation parameter information is a communication source address, a communication destination address and the like, the detailed operation parameter information is communication data, a communication type and the like, the ship software sends the operation data of each time to a storage server for storage, a monitoring server periodically inquires the operation data of the ship software from the storage server, and a proper inquiry method is required to be used for ensuring the inquiry efficiency in the process, so that the monitoring server analyzes the operation condition of the ship software according to the operation data of the ship software, and further repairs the operation fault of the ship software and ensures the reliable operation of the ship software.
Further, the process of storing the operation data of each time sent by the ship software by the storage server includes storing the operation data of each time sent by the ship software in a predetermined number of operation data units;
further, the monitoring server may query the operation data satisfying a query rule from the storage server by a first query method and a second query method, the monitoring server may query the storage server each time by using the first query method with the storage unit as a minimum query unit, and the monitoring server may query the storage server each time by using the second query method with the operation data as a minimum query unit;
specifically, after the storage server receives a large amount of operation data from ship software, a certain amount of operation data is used as a storage unit to store the large amount of operation data, wherein each storage unit corresponds to a unique storage unit ID, each storage unit corresponds to storage unit information, the storage unit information is description information of all operation data in the storage unit, such as operation time information and operation function information of all operation data, for example, therefore, the monitoring server can query a plurality of operation data meeting a query rule from the storage server through a first query method and a second query method, the query rule designates the operation time information included in the operation data, the operation function information and the common operation parameter information sometimes designate detailed operation parameter information included in the operation data, when the first query method is used, the storage unit is determined from the storage server according to the query rule and combined with the storage unit information each time, and then all operation data in the storage unit are searched to obtain the required operation data, and when the second query method is used, the operation data is searched from the storage server as the minimum query unit each time, that is the most operation data is searched for in the storage server each time. The query efficiency using the second query method may be higher if the operation data of each query is scattered in a large number of storage units according to the query rule because no additional determination of the storage units is required, the query efficiency using the first query method may be higher if the operation data of each query is concentrated in a small number of storage units according to the query rule because the number of times of retrieval is smaller, and thus an appropriate query method should be selected according to the query rule when the monitoring server queries the operation data from the storage server, and a process of querying the operation data from the storage server by the monitoring server will be described in detail below.
Further, each time the monitoring server passes a preset fixed time period, the operation data meeting the query rule is queried from the storage server through a suitable query method, and the method comprises the following steps:
step 21, the monitoring server judges whether or not a preset number of times of inquiry has been performed after the inquiry is started, and if the preset number of times of inquiry has not been performed, the monitoring server continues to step 22, and if the preset number of times of inquiry has been performed, the monitoring server continues to step 23;
step 22, the monitoring server generates a judgment value at will, and at the same time, the monitoring server compares the judgment value with a preset first threshold value, and when the judgment value is smaller than or equal to the first threshold value, the monitoring server determines to use a first query method, and when the judgment value is larger than the first threshold value, the monitoring server determines to use a second query method, and continues to step 25;
step 23, the monitoring server generates a judgment value at will, meanwhile, the monitoring server compares the judgment value with a preset second threshold value, if the judgment value is smaller than or equal to the second threshold value, the monitoring server checks whether a preferred query method is stored, if the preferred query method is not stored, the monitoring server calculates query evaluation values corresponding to the first query method and the second query method respectively based on previous queries, and judges the query method corresponding to the largest query evaluation value as the preferred query method, the monitoring server determines to use the preferred query method, and continues to step 25, if the preferred query method is stored, the monitoring server directly determines to use the preferred query method, continues to step 25, and continues to step 24, if the judgment value is larger than the second threshold value;
step 24, the monitoring server checks whether the preferred query method is stored, when the preferred query method is not stored, the monitoring server calculates query evaluation values corresponding to the first query method and the second query method respectively based on previous queries, determines the query method corresponding to the largest query evaluation value as the preferred query method, determines to use a query method different from the preferred query method, continues to step 25, and when the preferred query method is stored, the monitoring server directly determines to use a query method different from the preferred query method, and continues to step 25;
step 25, the monitoring server queries the operation data meeting the query rule from the storage server according to the determined query method, and based on the previous query, the monitoring server calculates the query evaluation values corresponding to the first query method and the second query method respectively, determines the query method corresponding to the largest query evaluation value as the preferred query method, and jumps to step 21;
further, the second threshold is greater than the first threshold.
Specifically, in step 21, the monitoring server determines whether a certain number of queries have been performed after the start of the query, if a certain number of queries have not been performed, continuing to step 22, if a certain number of queries have been performed, continuing to step 23, in step 22, the monitoring server arbitrarily generates a determination value, which may be a value between 0 and 100, and compares the magnitude relation between the determination value and the first threshold, if the determination value is equal to or less than the first threshold, the monitoring server determines to use the first query method, if the determination value is greater than the first threshold, the monitoring server determines to use the second query method, the first threshold is generated according to the determination value, and in the case that the determination value is a value between 0 and 100, the first threshold may be set to 50, in the case that a certain number of queries have not been performed through step 22, the monitoring server selects the first query method and the second query method relatively fairly, and then directly jumps to step 25, in step 23, the monitoring server generates a judgment value at will, the judgment value is also a value between 0 and 100, the monitoring server compares the magnitude relation between the judgment value and the second threshold, if the judgment value is larger than the second threshold, continuing to step 24, if the judgment value is smaller than or equal to the second threshold, the monitoring server checks whether the preferred query method is stored, when the preferred query method is not stored, determines the preferred query method, the monitoring server uses the determined preferred query method, when the preferred query method is stored, the monitoring server uses the stored preferred query method, then jumps to step 25, the second threshold is also set according to the judgment value, when the judgment value is a value between 0 and 100, the second threshold value may be set to 90, wherein the determination process of the preferred query method is based on the previously performed query, the query evaluation values corresponding to the first query method and the second query method are calculated, respectively, the query method corresponding to the largest query evaluation value is determined to be the preferred query method, the larger the query evaluation value is, the higher the query efficiency of the corresponding query method is, the calculation method of the query evaluation value will be described later, in step 24, the monitoring server checks whether the preferred query method is stored, when the preferred query method is not stored, the preferred query method is determined through the above-mentioned determination process, the monitoring server determines that the query method different from the preferred query method is used, when the preferred query method is stored, the monitoring server directly determines that the query method different from the preferred query method is used, then continues to step 25, the monitoring server selects to use the preferred query method in most cases, selects the query method other than the preferred query method in a small number of cases, so that the higher query efficiency can be obtained, in step 25, the monitoring server determines whether the query method is used, when the data is not stored, the monitoring server is skipped from the monitoring server, and the monitoring server performs the determination process when the monitoring method is not used, and the monitoring server directly performs the query step 21, and the number of times of the preferred query is not determined. The monitoring server can always query data from the storage server by using a proper query method through the method, so that query efficiency is ensured.
Further, the monitoring server stores the query method, the number of the operation data queried, the time spent for query, and the query rule after each query.
Specifically, the monitoring server stores the used query method, the number of the queried operation data, the time spent for query and the query rule after each query, wherein the time spent for query refers to the time spent for the monitoring server to query all the desired operation data from the storage server by using the determined query method, and the query evaluation value can be calculated according to the content stored by the monitoring server after each query.
Further, the monitoring server calculates a first result value of the total amount of the operation data queried using the preferred query method divided by the total time spent using the preferred query method after each query, and calculates a second result value of the total amount of the operation data queried using the query methods other than the preferred query method divided by the total time spent using the query methods other than the preferred query method, and increases the second threshold value if a difference between the first result value and the second result value exceeds a preset difference threshold value.
Specifically, after the monitoring server inquires out the operation data satisfying the inquiry rule from the storage server, the monitoring server also calculates a first result value of the total amount of operation data inquired out using the preferred inquiry method divided by the total time spent using the preferred inquiry method, and a second result value of the total amount of operation data inquired out using the inquiry method other than the preferred inquiry method divided by the total time spent using the inquiry method other than the preferred inquiry method, the first result value and the second result value can represent the inquiry efficiency of the inquiry method other than the preferred inquiry method, respectively, and when the first result value exceeds the second result value to some extent, the second threshold value should be increased in order to further improve the inquiry efficiency of the operation data inquired out of the storage server by the monitoring server, because the monitoring server will use the preferred inquiry method more times as the second threshold value increases.
Further, the monitoring server determines whether the current query rule changes from the previous query rule after each query, and lowers the second threshold when the current query rule changes from the previous query rule.
Specifically, in the process that the monitoring server queries the operation data satisfying the query rule from the storage server, the preferred query method is determined according to the previous query, and the query efficiency using the preferred query method is relatively high, but when the query rule is significantly changed compared with the previous query rule, the previously determined preferred query method may not be applicable any more, and in order to improve the query efficiency, the monitoring server should try to use the query method other than the previously determined preferred query method more often, so the second threshold value should be reduced, and the significant change of the query rule compared with the previous query rule refers to the significant change of the important information in the query rule compared with the important information in the previous query rule, such as the operation function information in the query rule.
Further, the ship software transmits the operation data of each time to the storage server through a network, and the method comprises the following steps:
step 11, when the ship software is monitored that an operation abnormality occurs, the ship software compares operation function information, normal operation parameter information and detailed operation parameter information contained in the operation data of this time with operation function information, normal operation parameter information and detailed operation parameter information contained in the operation data transmitted last time, respectively, and transmits information different from information in the operation data transmitted last time in the operation data of this time to the storage server;
and 12, under the condition that the ship software is not monitored to have abnormal operation, the ship software compares the operation function information and the common operation parameter information contained in the current operation data with the operation function information and the common operation parameter information contained in the operation data transmitted last time, and transmits information different from the information in the operation data transmitted last time in the current operation data to the storage server.
Specifically, in the process that the ship software sends the operation data of each time to the storage server through the network, if the collected complete operation data is sent to the storage server, communication burden is caused, and some information in the operation data is actually not needed to be sent to the storage server under the condition that the ship software operates normally, in order to solve the technical problem, in step 11, when the ship software is monitored to generate the operation abnormality, the main information of the operation data of this time is respectively compared with the main information of the operation data sent last time, the main information of the operation data of this time and the main information of the operation data sent last time are different, the main information refers to operation function information, common operation parameter information, and detailed operation parameter information, the operation abnormality of the ship software can be found by the monitoring software deployed together with the ship software, in step 12, when the ship software is not monitored to generate the operation abnormality, the part information of the operation data of this time is respectively compared with the main information of the operation data sent last time, the main information of the operation data of this time and the operation data of this time are different information of the operation parameter information of the operation data of this time, and the operation parameter information of this time are different information of the operation data.
According to another aspect of the embodiment of the present application, referring to fig. 2, there is further provided a system for collecting and processing ship software monitoring data, including a ship software module, a storage server module, and a monitoring server module, configured to implement a method for collecting and processing ship software monitoring data as described above, where specific functions of each module are as follows:
the ship software module is used for collecting each operation data and sending each operation data to the storage server, wherein each operation data of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information;
the storage server module is used for storing each operation data sent by ship software;
and the monitoring server module is used for inquiring the operation data meeting the inquiry rule from the storage server through a proper inquiry method every time a preset fixed time period passes, and analyzing and processing the operation condition of the ship software according to the inquired operation data.
According to another aspect of the embodiment of the present application, there is also provided a storage medium storing program instructions, where the program instructions, when executed, control a device in which the storage medium is located to perform the method of any one of the above.
It should be understood that, although the steps in the flowcharts of the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of computer programs, which may be stored on a non-transitory computer readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The 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) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as the scope of the description of the present specification as long as there is no contradiction between the combinations of the technical features.
The foregoing examples have been presented to illustrate only a few embodiments of the application and are described in more detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the application.

Claims (9)

1. The ship software monitoring data acquisition and processing method is characterized by comprising the following steps of:
step 1, ship software sends operation data of each time to a storage server through a network, the storage server stores the operation data of each time sent by the ship software, and the operation data of each time of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information;
step 2, inquiring the operation data meeting the inquiry rule from the storage server through a proper inquiry method every time the monitoring server passes a preset fixed time period, and analyzing and processing the operation condition of the ship software according to the inquired operation data by the monitoring server;
the storage server stores the operation data of each time sent by the ship software by taking a preset number of operation data as a storage unit.
2. The ship software monitoring data acquisition and processing method according to claim 1, wherein the monitoring server can query the operation data meeting a query rule from the storage server through a first query method and a second query method, the monitoring server uses the first query method to query the storage server each time with the storage unit as a minimum query unit, and the monitoring server uses the second query method to query the storage server each time with the operation data as a minimum query unit.
3. The method for collecting and processing ship software monitoring data according to claim 2, wherein each time a predetermined fixed period of time passes by the monitoring server, the operation data satisfying the query rule is queried from the storage server by a suitable query method, comprising the steps of:
step 21, the monitoring server judges whether or not a preset number of times of inquiry has been performed after the inquiry is started, and if the preset number of times of inquiry has not been performed, the monitoring server continues to step 22, and if the preset number of times of inquiry has been performed, the monitoring server continues to step 23;
step 22, the monitoring server generates a judgment value at will, meanwhile, the monitoring server compares the judgment value with a preset first threshold value, the monitoring server determines to use a first query method when the judgment value is smaller than or equal to the first threshold value, the monitoring server determines to use a second query method when the judgment value is larger than the first threshold value, and the step 25 is continued;
step 23, the monitoring server generates a judgment value at will, meanwhile, the monitoring server compares the judgment value with a preset second threshold value, if the judgment value is smaller than or equal to the second threshold value, the monitoring server checks whether a preferred query method is stored, if the preferred query method is not stored, the monitoring server calculates query evaluation values corresponding to the first query method and the second query method respectively based on the previous queries, the query method corresponding to the largest query evaluation value is judged to be the preferred query method, the monitoring server determines to use the preferred query method, continues to step 25, if the preferred query method is stored, the monitoring server directly determines to use the preferred query method, continues to step 25, and continues to step 24, if the judgment value is larger than the second threshold value;
step 24, the monitoring server checks whether a preferred query method is stored, when the preferred query method is not stored, the monitoring server calculates query evaluation values corresponding to the first query method and the second query method respectively based on previous queries, determines the query method corresponding to the largest query evaluation value as the preferred query method, determines to use a query method different from the preferred query method, continues step 25, and when the preferred query method is stored, the monitoring server directly determines to use a query method different from the preferred query method, and continues step 25;
step 25, the monitoring server queries the operation data meeting the query rule from the storage server according to the determined query method, and based on the previous query, the monitoring server calculates the query evaluation values corresponding to the first query method and the second query method respectively, determines the query method corresponding to the largest query evaluation value as the preferred query method, and jumps to step 21.
4. A method of collecting and processing ship software monitoring data according to claim 3, wherein the second threshold is greater than the first threshold.
5. The method of claim 4, wherein the monitoring server stores the query method used, the number of the operational data queried, the time spent for the query, and the query rule after each query.
6. The ship software monitoring data acquisition processing method according to claim 5, wherein the monitoring server calculates a first result value of a total amount of the operation data queried using a preferred query method divided by a total time spent using the preferred query method, and calculates a second result value of a total amount of the operation data queried using a query method other than the preferred query method divided by a total time spent using the query method other than the preferred query method after each query, and increases the second threshold value in a case that a difference between the first result value and the second result value exceeds a preset difference threshold value.
7. The method for collecting and processing the monitoring data of the ship software according to claim 1, wherein the ship software transmits the operation data of each time to the storage server through a network, and the method comprises the following steps:
step 11, under the condition that the ship software is monitored to have abnormal operation, the ship software compares the operation function information, the common operation parameter information and the detailed operation parameter information contained in the operation data of this time with the operation function information, the common operation parameter information and the detailed operation parameter information contained in the operation data sent last time respectively, and sends information different from the information in the operation data sent last time in the operation data of this time to the storage server;
and 12, under the condition that the ship software is not monitored to have abnormal operation, the ship software compares the operation function information and the common operation parameter information contained in the current operation data with the operation function information and the common operation parameter information contained in the operation data sent last time, and sends information different from the information in the operation data sent last time in the current operation data to the storage server.
8. A ship software monitoring data acquisition and processing system for implementing the method as claimed in any one of claims 1 to 7, comprising the following modules:
the ship software module is used for collecting each operation data and sending each operation data to the storage server, wherein each operation data of the ship software comprises operation time information, operation function information, common operation parameter information and detailed operation parameter information;
the storage server module is used for storing each operation data sent by ship software;
and the monitoring server module is used for inquiring the operation data meeting the inquiry rule from the storage server through a proper inquiry method every time a preset fixed time period passes, and analyzing and processing the operation condition of the ship software according to the inquired operation data.
9. A storage medium storing program instructions, wherein the program instructions, when executed, control a device in which the storage medium is located to perform the method of any one of claims 1 to 7.
CN202310888828.4A 2023-07-19 2023-07-19 Ship software monitoring data acquisition processing method, system and storage medium Active CN117056405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310888828.4A CN117056405B (en) 2023-07-19 2023-07-19 Ship software monitoring data acquisition processing method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310888828.4A CN117056405B (en) 2023-07-19 2023-07-19 Ship software monitoring data acquisition processing method, system and storage medium

Publications (2)

Publication Number Publication Date
CN117056405A true CN117056405A (en) 2023-11-14
CN117056405B CN117056405B (en) 2024-02-09

Family

ID=88659851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310888828.4A Active CN117056405B (en) 2023-07-19 2023-07-19 Ship software monitoring data acquisition processing method, system and storage medium

Country Status (1)

Country Link
CN (1) CN117056405B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170140068A1 (en) * 2014-12-26 2017-05-18 Samsung Electronics Co., Ltd. Query processing method, electronic device, and server
CN110085005A (en) * 2019-03-13 2019-08-02 中交广州航道局有限公司 Marine generator monitoring method, device, system and storage medium
CN112766909A (en) * 2021-01-20 2021-05-07 上海船舶电子设备研究所(中国船舶重工集团公司第七二六研究所) Intelligent management and control system and method suitable for ship fire safety and computer medium
CN113177036A (en) * 2021-04-14 2021-07-27 中国电力工程顾问集团中南电力设计院有限公司 Storage method, query method and display method of monitoring data
CN114780644A (en) * 2022-06-17 2022-07-22 鹏城实验室 Ship navigation data processing method, device, equipment and storage medium
CN116107794A (en) * 2023-04-10 2023-05-12 中国船舶集团有限公司第七一九研究所 Ship software fault automatic diagnosis method, system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170140068A1 (en) * 2014-12-26 2017-05-18 Samsung Electronics Co., Ltd. Query processing method, electronic device, and server
CN110085005A (en) * 2019-03-13 2019-08-02 中交广州航道局有限公司 Marine generator monitoring method, device, system and storage medium
CN112766909A (en) * 2021-01-20 2021-05-07 上海船舶电子设备研究所(中国船舶重工集团公司第七二六研究所) Intelligent management and control system and method suitable for ship fire safety and computer medium
CN113177036A (en) * 2021-04-14 2021-07-27 中国电力工程顾问集团中南电力设计院有限公司 Storage method, query method and display method of monitoring data
CN114780644A (en) * 2022-06-17 2022-07-22 鹏城实验室 Ship navigation data processing method, device, equipment and storage medium
CN116107794A (en) * 2023-04-10 2023-05-12 中国船舶集团有限公司第七一九研究所 Ship software fault automatic diagnosis method, system and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
丁蕙;: "物联网环境下舰船装备多源监测数据存储系统", 舰船科学技术, no. 04 *
张永祥, 明廷锋, 张晓峰: "舰船机电设备网络监测与远程诊断技术", 中国造船, no. 03 *
张汝政, 耿俊豹, 金家善, 辜健: "舰船机电设备技术状态综合监测分析系统的开发", 中国修船, no. 05 *
李伟;金国庆;: "基于大数据的舰船装备维修保障信息分析系统设计", 舰船电子工程, no. 02 *
王宏智;张冬梅;贾小平;: "舰船机舱智能监控系统的设计研究", 造船技术, no. 03 *

Also Published As

Publication number Publication date
CN117056405B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN109412870B (en) Alarm monitoring method and platform, server and storage medium
CN109039937B (en) Dynamic current limiting method, dynamic current limiting device, computer equipment and storage medium
CN111143163B (en) Data monitoring method, device, computer equipment and storage medium
CN109800131B (en) Monitoring processing method and device of Linux server, computer equipment and storage medium
CN110995468A (en) System fault processing method, device, equipment and storage medium of system to be analyzed
CN110309109B (en) Data monitoring method, device, computer equipment and storage medium
CN112612618B (en) Interface current limiting method and device, computer equipment and storage medium
CN108924258B (en) Background information pushing method and device, computer equipment and storage medium
CN104901975A (en) Web log safety analyzing method, device and gateway
CN110398375B (en) Method, device, equipment and medium for monitoring working state of vehicle cooling system
CN110391840B (en) Method and system for judging abnormality of telemetry parameters of sun synchronous orbit satellite
CN108763046B (en) Thread running monitoring method, device, computer equipment and storage medium
CN114443441B (en) Storage system management method, device and equipment and readable storage medium
CN111224939B (en) Task request intercepting method and device, computer equipment and storage medium
CN112070585A (en) Order state unified management method and device, computer equipment and storage medium
CN117056405B (en) Ship software monitoring data acquisition processing method, system and storage medium
CN114465959A (en) Interface dynamic flow control method and device, computer equipment and storage medium
CN113472881B (en) Statistical method and device for online terminal equipment
CN114528179B (en) Data acquisition program state monitoring method, device, equipment and storage medium
CN109857344B (en) Heartbeat state judgment method and device based on shared memory and computer equipment
CN113992378B (en) Security monitoring method and device, electronic equipment and storage medium
CN116302383A (en) Distributed heterogeneous data acquisition method, system, computer equipment and storage medium
CN111427698B (en) Azakban-based data synchronization method and device and computer equipment
CN115277803A (en) Message management method, system, computer equipment and storage medium
CN114661545A (en) Method, device and equipment for monitoring processor resources and storage medium

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
GR01 Patent grant
GR01 Patent grant