Multi-source status information intelligent collection method, product, medium and equipment
By establishing configuration information tables in the database of marine observation equipment, and automatically collecting and distributing multi-source status information files of the equipment, the problem of inability to realize intelligent management and remote monitoring in the existing technology is solved, and the equipment operation and maintenance efficiency and data are improved Security.
Patent Information
- Application Number
- CN202411488199.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-10-24
AI Technical Summary
Existing marine observation equipment cannot achieve intelligent management and cannot dynamically output effective equipment operating status information, which is not conducive to remote monitoring and management.
By establishing a configuration information table in the database, automatically filtering and collecting multi-source status information files of marine observation equipment, and encrypting the files, generating a destination hash table based on the configuration information table, and distributing the encrypted files to each observation Site.
It realizes the automatic collection and distribution of multi-source status information of marine observation equipment, supports remote monitoring and management, and improves equipment operation and maintenance efficiency and data transmission security.
Smart Images

Figure CN119011634B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ocean observation technology, and in particular to a multi-source state information intelligent collection method, product, medium and equipment. Background Art
[0002] In the field of ocean observation, ocean observation equipment such as automatic ocean observation stations, buoys and submerged buoys, and volunteer ship observation systems have been widely deployed in the entire sea area, and have achieved long-term business and large-scale applications. However, the above ocean observation equipment currently in use has not achieved intelligent management, and cannot dynamically output effective equipment operation status information, which is not conducive to remote monitoring and management. Summary of the invention
[0003] The purpose of the present invention is to provide a multi-source status information intelligent collection method, product, medium and equipment, which can automatically collect multi-source status information files of marine observation equipment, thereby facilitating remote monitoring and management of various observation sites.
[0004] To achieve the above object, the present invention provides the following solution.
[0005] In one aspect, the present invention provides a multi-source state information intelligent collection method, comprising:
[0006] Establish a configuration information table in the database; the configuration information stored in the configuration information table includes station name, station code, reading method, reading address, reading directory, destination name, destination code, destination address, acquisition method, acquisition address, data source, file type, parent node, start date and end date;
[0007] Filtering a multi-source status information file that can reflect the operating status of the equipment from a host computer of the ocean observation equipment according to the configuration information table; the ocean observation equipment includes an ocean automatic observation station, a buoy, a submerged buoy, and a volunteer ship observation system;
[0008] Combining multi-source status information files into a data linked list;
[0009] Encrypting the multi-source status information files to generate encrypted files;
[0010] Generate a destination hash table of multiple observation sites according to the configuration information table; the multiple observation sites include a central station, a sea area business center, and a national business center;
[0011] The data linked list is accessed according to the destination hash table, and the encrypted file is distributed to each observation site.
[0012] Optionally, the step of screening a multi-source status information file that can reflect the operating status of the equipment from a host computer of the ocean observation equipment according to the configuration information table specifically includes:
[0013] Query the configuration information table in the database, and establish a TCP / IP protocol-level access link with the host computer of the ocean observation equipment based on the server / client mode according to the reading method, reading address and reading directory in the configuration information;
[0014] According to the reading directory, data source, file type, start date and end date in the configuration information table, multi-source status information files that can reflect the operating status of the equipment are screened from the host computer of the ocean observation equipment, including ocean station delayed observation data files, ocean station real-time observation data files, buoy and submerged buoy raw data XML files, volunteer ship observation raw data files and operation process record files.
[0015] Optionally, the step of forming a data linked list from multiple source status information files specifically includes:
[0016] Establish a data linked list to store the attribute information of multi-source status information files. Each node of the data linked list stores the comprehensive information of a file, including: file name, file size, corresponding station code, storage directory and IP address information;
[0017] The multi-source status information files are organized into a chain data structure in the form of a data linked list.
[0018] Optionally, the encrypting the multi-source status information file to generate an encrypted file specifically includes:
[0019] The national secret SM4 algorithm is used to encrypt the multi-source status information files and generate encrypted files.
[0020] Optionally, generating a destination hash table of multiple observation sites according to the configuration information table specifically includes:
[0021] A destination hash table covering multiple observation sites is established according to the configuration information table. The key of the hash table is the site code, and the value of the hash table is the transmission comprehensive information. The transmission comprehensive information includes the destination name, destination code, destination address, acquisition method, acquisition address, data source and file type of each observation site.
[0022] Optionally, the step of accessing the data linked list according to the destination hash table and distributing the encrypted file to each observation site specifically includes:
[0023] The station code in the data linked list is accessed item by item according to the key of the hash table. If the key of the hash table is the same as the station code in the data linked list, the encrypted file corresponding to this station code is distributed to each observation site.
[0024] Optionally, distributing the encrypted file corresponding to the station code to each observation site specifically includes:
[0025] A multi-process communication remote object channel is established, and the encrypted files are distributed to the destination address corresponding to each observation site based on the TCP / IP protocol through the C / S mode.
[0026] On the other hand, the present invention also provides a computer program product, including a computer program, which implements the multi-source state information intelligent collection method when executed by a processor.
[0027] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which implements the multi-source state information intelligent collection method when executed by a processor.
[0028] On the other hand, the present invention further provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-source state information intelligent collection method.
[0029] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0030] The present invention discloses a multi-source status information intelligent collection method. After being deployed at each observation site, the multi-source status information files of the equipment can be dynamically collected from the host computers of marine observation equipment such as marine automatic observation stations, buoys and submerged buoys, volunteer ship observation systems, etc., thereby realizing remote monitoring and management of the above marine observation equipment and improving the equipment operation and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 The present invention provides a flowchart of a multi-source status information intelligent collection method. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] The present invention aims to provide a multi-source status information intelligent collection method, product, medium and equipment, which can automatically collect multi-source status information files of ocean observation equipment, thereby facilitating remote monitoring and management of various observation sites.
[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0036] Figure 1 The flowchart of the multi-source status information intelligent collection method provided by the present invention. The multi-source status information intelligent collection method of the present invention is usually deployed in observation sites such as central stations, sea area business centers, and national business centers. The observation site uses the multi-source status information intelligent collection method of the present invention to dynamically collect the status information of each marine observation device from the host computer of marine observation equipment such as marine automatic observation stations, buoys and submerged buoys, and volunteer ship observation systems, thereby realizing remote monitoring and management of the above marine observation equipment and improving equipment operation and maintenance efficiency.
[0037] See also Figure 1 The present invention provides a multi-source state information intelligent collection method, comprising:
[0038] Step 1: Create a configuration information table in the database.
[0039] In order to dynamically collect the status information of each ocean observation device from the host computer of ocean observation equipment such as ocean automatic observation stations, buoys and submerged buoys, volunteer ship observation systems, and distribute it to each observation site, it is first necessary to establish a configuration information table based on the configuration information such as the station name and station code of the ocean observation equipment and the configuration information such as the purpose name and purpose code of each observation site. Because the final acquired device status information is sent to each observation site, each observation site is the destination of the status information transmission.
[0040] Specifically, the configuration information stored in the configuration information table includes: station name, station code, reading method, reading address, reading directory, destination name, destination code, destination address, acquisition method, acquisition address, data source, file type, parent node, start date and end date. The station name and station code refer to the name and code of the ocean observation equipment, and the reading method includes reading in Socket API (Socket Application Programming Interface), CIFS (Common Internet File System) and FTP (File Transfer Protocol). The reading address refers to the host computer IP (Internet Protocol) address of the ocean observation equipment. The reading directory refers to the specific location where the status information file is stored in the host computer, and is also the specific location where the status information is obtained, for example: the operation log is stored in the location of ...\Data\MyLog\OutPut. The destination name and destination code refer to the name and code of the observation site. The destination address refers to the IP address of the server in the observation site. The acquisition method refers to the operation method of storing the status information on the observation site server, which is the same as the reading method, including Socket API method, CIFS method and FTP method. The reading method is to read the status information from the host computer, and the acquisition method is to write the status information to the observation station server. The acquisition address is the same as the reading address, that is, the host computer IP address. Data sources include ocean automatic observation station data sources, buoy and submerged buoy data sources, volunteer ship observation system data sources, etc. File type refers to the data type of the status information file, including ocean station delayed observation data files, ocean station real-time observation data files, buoy and submerged buoy raw data XML files, volunteer ship observation raw data files, operation process record files, etc. The superior node refers to the superior management department in terms of technology and business. For example, the superior node of the ocean automatic observation station is the central station to which it belongs. The start date and end date refer to the start and end time of the status information to be obtained.
[0041] Step 2: Filter the multi-source status information file that can reflect the operating status of the equipment from the host computer of the ocean observation equipment according to the configuration information table.
[0042] In order to obtain multi-source status information files from the host computer of ocean observation equipment, it is first necessary to deploy the host computer data sharing service client software in the host computers of ocean observation equipment such as ocean automatic observation stations, buoys and submerged buoys, and volunteer ship observation systems. The client software can provide network services such as remote data sharing, query, and download based on the TCP / IP (Transmission Control Protocol / Internet Protocol) protocol.
[0043] Query the configuration information table in the database (including: station name, station code, reading method, reading address, reading directory, destination name, destination code, destination address, acquisition method, acquisition address, data source, file type, parent node, start date, end date and other items), access the upper computer data sharing service client software based on the C / S (server / client) mode according to the reading method, reading address and reading directory items in the configuration information, and establish a TCP / IP protocol level access link with the upper computer.
[0044] Furthermore, according to the reading directory, data source, file type, start date, and end date items in the configuration information table in the database, multi-source status information files that can reflect the operating status of ocean observation equipment such as ocean automatic observation stations, buoys and submerged buoys, and volunteer ship observation systems are screened out, including: ocean station delayed observation data files, ocean station real-time observation data files, buoy and submerged buoy raw data XML files, volunteer ship observation raw data files, operation process record files, etc.
[0045] Step 3: Organize the multi-source status information files into a data linked list.
[0046] A data linked list (List) is a dynamic array that can store different types of data. Its size can be automatically adjusted according to actual usage, and it is very flexible to use. A data linked list (List) consists of multiple nodes (node). In step 2, there are multiple files to be collected, and a data linked list can be used to store these files to be collected. For example, each node is used to store the comprehensive information of a file, including: file name, file size, corresponding station code, storage directory, IP (Internet Protocol) address and other information. In this way, the information of multiple files to be collected forms a chain-like data structure through the data linked list. Each node of the linked list represents a file to be collected, and the entire data linked list represents all the files to be collected on the host computer.
[0047] That is to say, the present invention stores the attribute information of the above-mentioned multi-source status information file by establishing a data linked list, and each node of the data linked list stores the comprehensive information of a file, including: file name, file size, corresponding station code, storage directory, IP address, etc. Afterwards, the multiple files contained in the multi-source status information file are formed into a chain data structure in the form of a data linked list. By organizing all the files to be collected in the host computer through the data linked list, it is convenient to execute the subsequent file distribution steps.
[0048] Step 4: Encrypt the multi-source status information file to generate an encrypted file.
[0049] The multi-source status information files that need to be transmitted are encrypted, and the encryption standard uses the national SM4 algorithm for data encryption. Subsequently, each encrypted file can be distributed to the corresponding destination address based on the TCP / IP protocol through the C / S mode.
[0050] Step 5: Generate a destination hash table of multiple observation sites according to the configuration information table.
[0051] The hash table consists of multiple nodes, each of which includes a key and a value. Because the configuration information table in the database in step 1 may have multiple destinations, the hash table of the destination also has multiple nodes. In other words, the same multi-source status information file may be sent to different observation sites. For example, the status information of a certain marine automatic observation station (included in the multi-source status information file) may be sent to multiple destinations such as the central station, the sea area business center, and the national business center at the same time.
[0052] Therefore, the present invention establishes a hash table of the destinations of multiple observation sites based on the configuration information table in the database. The key of the hash table is the station code, and the value of the hash table is the transmission comprehensive information, including: destination name, destination code, destination address, acquisition method, acquisition address, data source, file type, etc.
[0053] Step 6: Access the data linked list based on the destination hash table and distribute the encrypted file to each observation site.
[0054] Visit each node in the hash table one by one, and then visit the station code of the data linked table one by one according to the key of the hash table. If the key of the hash table is the same as the station code of the data linked table, select the multi-source status information file corresponding to the station code to prepare for the next transmission, and then cycle in sequence. Cycling in sequence means visiting each node of the hash table in sequence (each node represents a destination), and performing the operation in step 6 once in each cycle.
[0055] In practical applications, observation sites such as central stations, sea area business centers, and national business centers all require the status information of ocean observation equipment to be obtained as soon as possible to facilitate real-time management. Therefore, the same multi-source status information file needs to be sent to different destinations, which is determined by actual business needs. Therefore, the multi-source status information intelligent acquisition method of the present invention is specially configured to distribute the status information to multiple destinations. In order to ensure the reliability and efficiency of the distribution of multi-source status information files, the present invention establishes a multi-process communication remote object channel, and distributes the encrypted files to the destination address corresponding to each observation site based on the TCP / IP protocol through the C / S mode.
[0056] The currently used marine observation equipment such as automatic marine observation stations, buoys and submerged buoys, volunteer ship observation systems, etc. do not have the function of automatically collecting and transmitting status information. The multi-source status information intelligent collection method proposed in the present invention can fill the vacancy of this function, and comprehensively collect multi-source status information files of marine observation equipment such as automatic marine observation stations, buoys and submerged buoys, volunteer ship observation systems, etc., which is conducive to improving the management precision of marine observation equipment. In addition, the multi-source status information files are encrypted using the national secret SM4 algorithm before transmission, which improves the security of data transmission. The encrypted files are distributed to multiple destination addresses according to the configuration, avoiding the possible loss of data in single-target transmission, thereby improving the reliability of status information acquisition.
[0057] In some embodiments, the present invention further provides a computer program product, including a computer program, which implements the multi-source state information intelligent collection method when executed by a processor.
[0058] In some embodiments, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which implements the multi-source state information intelligent collection method when executed by a processor.
[0059] In some embodiments, the present invention further provides a computer device, which includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the multi-source state information intelligent collection method can be implemented.
[0060] The multi-source status information intelligent collection method of the present invention mainly includes identifying the host computer address of marine observation equipment such as marine automatic observation stations, buoys and submerged buoys, and volunteer ship observation systems according to configuration information; screening multi-source status information files that can reflect the operating status of the equipment from the host computer; forming a data link list for the multi-source status information files, and encrypting the multi-source status information files; generating a destination hash table according to the configuration information, and establishing a multi-process communication remote object channel, and distributing the encrypted files to multiple destination addresses according to the configuration information. After the multi-source status information intelligent collection method, product, medium and equipment of the present invention are deployed at each observation site, the status information of the equipment can be automatically and dynamically collected from the host computers of marine observation equipment such as marine automatic observation stations, buoys and submerged buoys, and volunteer ship observation systems, thereby realizing remote monitoring and management of the above marine observation equipment and improving equipment operation and maintenance efficiency.
[0061] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A multi-source state information intelligent collection method, characterized in that: include: Create a configuration information table in the database; The configuration information stored in the configuration information table includes station name, station code, reading method, reading address, reading directory, destination name, destination code, destination address, acquisition method, acquisition address, data source, file type, parent node, start date and end date; the station name and station code refer to the name and code of the ocean observation equipment, and the reading method includes Socket API, CIFS and FTP methods are used for reading; the reading address refers to the IP address of the host computer of the ocean observation equipment; the reading directory refers to the specific location where the status information file is stored in the host computer, and is also the specific location where the status information is obtained, including the operation log stored in the location of ...\Data\MyLog\OutPut; the destination name and destination code refer to the name and code of the observation site; the destination address refers to the IP address of the server in the observation site; the acquisition method refers to the operation method of storing the status information on the observation site server, which is the same as the reading method, including SocketAPI method, CIFS method and FTP method; the reading method is the method of reading the status information from the host computer, and the acquisition method is the method of writing the status information to the observation site server; the acquisition address is the same as the reading address, that is, the host computer IP address; the data source includes the ocean automatic observation station data source, the buoy and submerged buoy data source, and the volunteer ship observation system data source; the file type refers to the data type of the status information file, including the ocean station delayed observation data file, the ocean station real-time observation data file, the buoy and submerged buoy raw data XML file, the volunteer ship observation raw data file, and the operation process record file; The superior node refers to the superior management department in terms of technology and business. The superior node of the marine automatic observation station is the central station to which it belongs; the start date and end date refer to the start and end time of the status information to be obtained; Filtering a multi-source status information file that can reflect the operating status of the equipment from a host computer of the ocean observation equipment according to the configuration information table; the ocean observation equipment includes an ocean automatic observation station, a buoy, a submerged buoy, and a volunteer ship observation system; Deploy the host computer data sharing service client software in the host computer of the ocean observation equipment. The client software can provide data remote sharing, query and download network services based on TCP / IP protocol. The method of screening a multi-source status information file that can reflect the operating status of the equipment from the host computer of the ocean observation equipment according to the configuration information table specifically includes: Query the configuration information table in the database, and establish a TCP / IP protocol-level access link with the host computer of the ocean observation equipment based on the server / client mode according to the reading method, reading address and reading directory in the configuration information; According to the read directory, data source, file type, start date and end date in the configuration information table, select multi-source status information files that can reflect the operating status of the equipment from the host computer of the ocean observation equipment, including ocean station delayed observation data files, ocean station real-time observation data files, buoy and submerged buoy raw data XML files, volunteer ship observation raw data files and operation process record files; Combining multi-source status information files into a data linked list; The step of forming a data linked list from multiple source status information files specifically includes: Establish a data linked list to store the attribute information of multi-source status information files. Each node of the data linked list stores the comprehensive information of a file, including: file name, file size, corresponding station code, storage directory and IP address information; The multi-source status information files are formed into a chain data structure in the form of a data link list; Encrypting the multi-source status information files to generate encrypted files; Generate a destination hash table of multiple observation sites according to the configuration information table; the multiple observation sites include a central station, a sea area business center, and a national business center; The generating of the destination hash table of the plurality of observation sites according to the configuration information table specifically includes: A destination hash table including multiple observation sites is established according to the configuration information table, wherein the key of the hash table is the site code, and the value of the hash table is the transmission comprehensive information; the transmission comprehensive information includes the destination name, destination code, destination address, acquisition method, acquisition address, data source and file type of each observation site; Access the data linked list based on the destination hash table and distribute the encrypted file to each observation site; The method of accessing the data linked table according to the destination hash table and distributing the encrypted file to each observation site specifically includes: Access the station code in the data linked list item by item according to the key of the hash table. If the key of the hash table is the same as the station code in the data linked list, distribute the encrypted file corresponding to this station code to each observation site. The encrypted file corresponding to the station code is distributed to each observation site, specifically including: A multi-process communication remote object channel is established, and the encrypted files are distributed to the destination address corresponding to each observation site based on the TCP / IP protocol through the C / S mode.
2. The multi-source state information intelligent collection method according to claim 1, characterized in that: The encrypting of the multi-source status information files to generate encrypted files specifically includes: The national secret SM4 algorithm is used to encrypt the multi-source status information files and generate encrypted files.
3. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the multi-source state information intelligent collection method described in any one of claims 1 to 2 is implemented.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the multi-source state information intelligent collection method described in any one of claims 1 to 2 is implemented.
5. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-source state information intelligent collection method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Dual-backup observation data center data screening method, system and device and medium
CN115941421A
Data access method and device and electronic equipment
CN116756138A