CN113064868A - Submarine cable detection data automatic publishing and updating method - Google Patents

Submarine cable detection data automatic publishing and updating method Download PDF

Info

Publication number
CN113064868A
CN113064868A CN202110295251.7A CN202110295251A CN113064868A CN 113064868 A CN113064868 A CN 113064868A CN 202110295251 A CN202110295251 A CN 202110295251A CN 113064868 A CN113064868 A CN 113064868A
Authority
CN
China
Prior art keywords
data
file
storage path
submarine cable
publishing
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
CN202110295251.7A
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.)
Guangdong Kenuo Surveying Engineering Co ltd
China Energy Engineering Group Guangdong Electric Power Design Institute Co Ltd
Original Assignee
Guangdong Kenuo Surveying Engineering Co ltd
China Energy Engineering Group Guangdong Electric Power Design Institute 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 Guangdong Kenuo Surveying Engineering Co ltd, China Energy Engineering Group Guangdong Electric Power Design Institute Co Ltd filed Critical Guangdong Kenuo Surveying Engineering Co ltd
Priority to CN202110295251.7A priority Critical patent/CN113064868A/en
Publication of CN113064868A publication Critical patent/CN113064868A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a submarine cable detection data automatic release and update method, which is characterized in that whether a preset data storage path has a change event or not is monitored in real time, when the change event exists, a changed file and a data type of the changed file are obtained, and data processing is carried out on the changed file and the changed file is released to be corresponding space geographic service by calling a data release service corresponding to the data type of the changed file from a database, so that submarine cable detection data is automatically updated and released, the visualization of the changed file can be realized by accessing the geographic spatial service by using an external system, and the management efficiency of marine cable detection data is improved.

Description

Submarine cable detection data automatic publishing and updating method
Technical Field
The invention relates to the field of submarine cable detection, in particular to a submarine cable detection data automatic publishing and updating method.
Background
The submarine cable is a cable paved on the seabed by using insulating materials, is used for solving the problem of power grid supply in a cross-sea area, improves the power supply stability of the power grid and realizes the connection between the connection island and the power grid in a continental area.
The submarine cable which is already put into operation is maintained by detecting the submarine cable regularly. In the prior art, the submarine cable detection data is loosely managed, the detection data management result is usually managed in a document mode, the updating and data publishing need manual operation, and the publishing and updating efficiency is low.
Disclosure of Invention
The embodiment of the application provides a submarine cable detection data automatic publishing and updating method, which can improve submarine cable detection data automatic publishing and updating efficiency. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for automatically publishing and updating submarine cable detection data, including the following steps:
monitoring whether a preset data storage path has a change event or not; wherein the change event is generated in response to a change operation of the data file;
acquiring a changed file and the data type of the changed file;
calling data release service corresponding to the data type of the changed file from a database, processing the data of the changed file and releasing the changed file into corresponding space geographic service; and the data release service of each data type of submarine cable detection data is stored in the database.
Optionally, the preset data storage path includes a first data storage path and a second data storage path;
before the step of monitoring whether a preset data storage path has a change event, the method further comprises the following steps:
acquiring submarine cable detection data;
dividing the submarine cable test data into structured data and unstructured data;
storing the structured data to a first data storage path and the unstructured data to the second data storage path.
Optionally, the step of monitoring whether there is a change event in the preset data storage path includes:
monitoring whether a change event exists in the first data storage path and/or the second data storage path.
Optionally, after the step of storing the unstructured data in the second data storage path, the method further includes:
acquiring file information of the unstructured data; wherein the file information comprises a data name, a data type, an MD5 value and a last update time;
generating a data index table according to the file information of the unstructured data;
the step of monitoring whether there is a change event in the second data storage path comprises:
acquiring a data index table according to a set time period;
and comparing the data index table with the data index table acquired in the last time period, and judging whether the second data storage path has a change event according to a comparison result.
Optionally, the first data storage path is a spatial database; the structured data is stored in the spatial database according to a preset storage mode;
the step of monitoring whether the first data storage path has a change event comprises the following steps:
acquiring an information record table of the spatial database according to a set time period; wherein the information record table comprises the data type, the position information and the quantity of each piece of structured data;
and comparing the information record table with the information record table acquired in the last time period, and judging whether a change event exists according to a comparison result.
Optionally, the structured data includes a spatial information data file; the data release service comprises a spatial information release service;
when the change event is the change of the number of the spatial information data files, calling a spatial information publishing service corresponding to the spatial information data files from a database to publish the spatial information data files;
when the change event is a new data type, generating new position information in the spatial database;
associating the position information with the newly added data type, and adjusting the storage mode of the spatial database;
calling a spatial information publishing service corresponding to the spatial information data file from a database, and publishing the spatial information data file;
and when the change event is the update of the spatial information data file, calling a spatial information publishing service corresponding to the spatial information data file from a database, and publishing the spatial information data file.
Optionally, before the step of invoking the spatial information publishing service corresponding to the spatial information data file from the database, the method further includes:
judging whether a space information publishing service corresponding to the space information data file exists in a database or not;
and if not, prompting the user to configure the visual style of the newly added layer data type and generating corresponding spatial information publishing service.
In a second aspect, an embodiment of the present application provides an automatic issuing and updating apparatus for submarine cable detection data, including:
the monitoring module is used for monitoring whether a change event exists in the first data storage path and/or the second data storage path; wherein the change event is generated in response to a change operation of the data file;
the changed file acquisition module is used for acquiring the changed file and the data type of the changed file;
the publishing module is used for calling data publishing services corresponding to the data types of the changed files from the database, processing the data of the changed files and publishing the changed files into corresponding space geographic services; and the data release service of each data type of submarine cable detection data is stored in the database.
In a third aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for automatically publishing and updating submarine cable detection data according to any one of the above items.
In a fourth aspect, an embodiment of the present application provides a computer device, including: a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the method for automatic distribution and update of submarine cable test data according to any one of the preceding claims when executing the computer program:
in the embodiment of the application, whether a preset data storage path has a change event or not is monitored in real time, when the change event exists, a changed file and the data type of the changed file are obtained, data processing is carried out on the changed file and the changed file is published as a corresponding space geographic service by calling a data publishing service corresponding to the data type of the changed file from a database, so that automatic updating and publishing of submarine cable detection data are achieved, visualization of the changed file can be achieved by accessing the geographic spatial service through an external system, and management efficiency of marine cable detection data is improved. .
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is a flow chart of a method for automatically publishing and updating submarine cable test data according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an automatic issuing and updating apparatus for submarine cable detection data according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
As shown in fig. 1, an embodiment of the present application provides a submarine cable data detection method, including the following steps:
step S1: monitoring whether a preset data storage path has a change event or not; wherein the change event is generated in response to a change operation of the data file;
the preset data storage path is used for storing submarine cable detection data.
The change event is used for determining whether the preset data storage path has a data file changed. In one embodiment, the change event may include an update event or an addition event, and specifically, whether the data storage path has an update or an addition event may be determined by monitoring the number of data files in the data storage path or the MD5 value of each data file to determine whether the data file has been added or modified.
Step S2: acquiring a changed file and the data type of the changed file;
the submarine cable detection data are measurement data obtained by detecting submarine cables through measures such as measurement, geophysical prospecting and hydrological detection, and the measurement data comprise single-beam data, side-scan sonar data, multi-beam data, shallow profile data, buried depth analysis results, flow field, erosion depth and other hydrological early warning data.
Submarine cable detection data can be divided into hidden danger data, basic data, three-dimensional layers, result images and measurement data. In one embodiment, each data type can be further divided into a plurality of sub-types according to the file format of the data type, so that more refined classification is realized.
Step S3: and calling a data release service corresponding to the data type of the changed file from the database, processing the data of the changed file and releasing the changed file into a corresponding space geographic service.
And data publishing services of various data types of submarine cable detection data are stored in the database, and the data publishing services are used for processing the data of the changed files and publishing the changed files as corresponding space geographic services. The space geographic service includes a visual view of the data files, and external systems (e.g., business systems) can access the space geographic service to realize the visual of the changed files. Specifically, the data publishing service includes various parameters and corresponding visualization methods or programs required for generating a visualization view of the changed file, where the visualization view can be displayed on a display device.
In the embodiment of the application, whether a preset data storage path has a change event or not is monitored in real time, when the change event exists, a changed file and the data type of the changed file are obtained, data processing is carried out on the changed file and the changed file is published as a corresponding space geographic service by calling a data publishing service corresponding to the data type of the changed file from a database, so that automatic updating and publishing of submarine cable detection data are achieved, visualization of the changed file can be achieved by accessing the geographic spatial service through an external system, and management efficiency of marine cable detection data is improved.
In one embodiment, the predetermined data storage path includes a first data storage path and a second data storage path; before the step of monitoring whether a preset data storage path has a change event, the method further comprises the following steps:
acquiring submarine cable detection data;
dividing the submarine cable test data into structured data and unstructured data;
storing the structured data to a first data storage path and the unstructured data to the second data storage path.
The structured data refers to data with a fixed structure formulated according to a standard field, the unstructured data refers to data without a fixed structure, the submarine cable detection data generally comprises multiple items of data such as a three-dimensional layer, a result image, measurement data and hidden danger point data, and the data are combed according to the structured data and the unstructured data, so that the work of automatic detection, automatic service release and the like of subsequent data is facilitated.
In one embodiment, the submarine cable test data may be divided into structured data and unstructured data in the submarine cable data classification of table 1:
TABLE 1 submarine Cable data Classification Table
Figure BDA0002984090690000051
Figure BDA0002984090690000061
In a preferred embodiment, for structured data with a fixed structure and field, an existing enterprise-level spatial database (e.g., ArcGIS, etc.) can be directly utilized as the first data storage path to store the structured data in the enterprise-level spatial database according to a preset storage manner, the enterprise-level spatial database integrates a plurality of programmable components, and a user storing and managing the structured data can directly invoke the programmable components in the enterprise-level spatial database to edit, thereby improving the management efficiency of the structured data.
The second data storage path is used for storing unstructured data; in a preferred embodiment, the first data storage path and the second data storage path may further include a plurality of data storage sub-paths, wherein each data storage sub-path corresponds to a data type, so as to classify the submarine cable detection data more finely.
The submarine cable detection data are divided into structured data and unstructured data, and the structured data and the unstructured data are stored in different storage paths respectively, so that the submarine cable measurement data can be sorted, stored and called conveniently.
In one embodiment, the step of monitoring whether there is a change event in the preset data storage path includes: monitoring whether a change event exists in the first data storage path and/or the second data storage path.
Specifically, the step of monitoring whether there is a change event in the first data storage path includes:
acquiring an information record table of the spatial database according to a set time period;
and comparing the data types and the data quantities in the information record table and the information record table acquired in the last time period, and judging whether a change event exists according to a comparison result.
The time period may be set according to an actual requirement of a user, and in one embodiment, the time period may be configured by using a Timer function of Python to form a timing task, and the above steps are performed every other time period to monitor whether a change event exists in the first data storage path.
The information record table may include a data type, location information, quantity, primary key name and creation time of each structured data and a distribution identification of the structured data. For example, for published structured data, its publication identifier is 0; for non-published structured data, its publication identifier is 1.
Comparing the information record table with the information record table acquired in the last time period, specifically comparing the data type, the quantity and the creation time of the information record table with the information record table acquired in the last time period, and determining the change event to be quantity change, newly added data type or data update according to the comparison result. When the number of files in the information record list is different from the number of files in the information record list acquired in the last time period, determining that the event is changed into a change in number; when the data type of a certain file in the information record table does not appear in the information record table acquired in the last time period, determining a change event as a new data type; and when the creation time of a certain file in the information recording list is later than the creation time of the certain file in the information recording list acquired in the last time period, determining the change event as data updating. It should be noted that "a file" in the above-mentioned contents may refer to one or more files.
In one embodiment, the structured data comprises a spatial information data file; the data release service comprises a spatial information release service;
when the change event is the change of the number of the spatial information data files, calling a spatial information publishing service corresponding to the spatial information data files from a database to publish the spatial information data files;
when the change event is a new data type, generating new position information in the spatial database;
associating the position information with the newly added data type, and adjusting the storage mode of the spatial database;
calling a spatial information publishing service corresponding to the spatial information data file from a database, and publishing the spatial information data file;
and when the change event is the update of the spatial information data file, calling a spatial information publishing service corresponding to the spatial information data file from a database, and publishing the spatial information data file.
The spatial information publishing service comprises parameters required for visualizing a layer, such as a layer style and a publishing mode preset by a user, and the spatial information publishing service is used for publishing the spatial information data file by calling the spatial information publishing service corresponding to the spatial information data file to obtain a visual view, and the business system is accessed to the visual view to realize visual display of the spatial information data file.
By the mode, automatic publishing, detection updating and front-end automatic display of the spatial information data file can be realized, frequent and repeatable work is automated, communication cost of map service publishing is effectively reduced, and submarine cable layer updating efficiency is improved.
In an embodiment of the present application, the second data storage path includes a plurality of second data storage sub-paths; each second data storage sub-path corresponds to a data type of the structured data respectively;
storing the unstructured data to a second data storage path comprises:
and storing the structured data to the corresponding second data storage sub-path according to the data type of each piece of unstructured data.
The step of monitoring whether there is a change event in the second data storage path comprises:
monitoring the second data storage sub-paths for a change event.
In one embodiment, after the step of storing the unstructured data to the second data storage path, the method further comprises:
acquiring file information of the unstructured data;
generating a data index table according to the file information of the unstructured data;
the file information refers to attribute information of the data file, and includes information such as an update person, a data name, a data type, an MD5 value, a last update time, a storage path, a file size (byte), and a creation time.
The data index table includes file information of each unstructured data.
The step of monitoring whether there is a change event in the second data storage path comprises:
acquiring a data index table according to a set time period;
and comparing the data index table with the data index table acquired in the last time period, and judging whether the second data storage path has a change event according to a comparison result.
The time period may be set according to the actual requirement of the user, and in one embodiment, the time period may be configured by using a Timer function of Python to form a timing task, and the above steps are performed every other time period to monitor whether there is a change event in the second data storage path.
Comparing the data index table with the data index table acquired in the previous time period, and judging whether the second data storage path has a change event according to the comparison result specifically includes:
comparing the number of the files in the data index table with the number of the files in the data index table acquired in the last time period with the MD5 value;
and when the number of the files in the data index table and the number of the files in the data index table acquired in the last time period are different from the MD5 value, judging that the second data storage path has a change event.
Specifically, when the number of files in the data index table is greater than the number of files in the data index table acquired in the last time period, a change event is judged to be a new file increase; when the MD5 value of a certain file in the data index table is different from the MD5 value of the file in the data index table acquired in the last time period, judging that the change event is file updating; it should be noted that "a file" in the above-mentioned contents may refer to one or more files.
Preferably, before the step of monitoring whether there is a change event in the second data storage path, the method further includes:
creating a history version folder in the second data storage path; wherein the historical version folder is named by the current date; the historical version folder stores all files and a configuration file under a second data storage path of the current date; the configuration file stores version information such as version number, updater, update date and the like.
By creating the historical version folder comprising the current version information, the loss of the historical version data after the file is updated is avoided, and the user can trace and manage the historical version conveniently.
In one embodiment, the data publication service further comprises a data update service; the database comprises data updating services of various data types;
and when the second data storage path has a change event, calling data updating service corresponding to the data type of the changed file in the database, and visualizing the changed file.
And regenerating a visual view of the changed file by calling a data updating service corresponding to the data type of the changed file, so as to realize the updating of the submarine cable detection data.
In one embodiment, before the step of calling the data publishing service corresponding to the data type of the changed file from the database, the method further includes:
judging whether a data release service corresponding to the data type of the changed file exists in a database or not;
and if not, prompting the user to configure the visual style of the newly added data type and generating the corresponding data release service.
For the newly added data type, the visualization patterns such as the color and the width of the visualization layer and the sharing authority of the visualization layer can be configured, a corresponding layer configuration table is generated, and the visualization layer can be generated according to the information in the layer configuration table when the data publishing service is called.
In one embodiment, after the step of generating the corresponding data publishing service, the method further comprises:
and configuring the sharing authority of the data issuing service.
The sharing authority comprises an owner authority and a specific user authority, the owner authority can be accessed by the owner, the specific user authority is only provided for the specific user to access, and the sharing authority of the data issuing service can be configured according to the place where the service is issued and the authority of the issuer. Specifically, the sharing right of the service may be configured as a specific group user right of the group where the user is located according to the location where the service is published and the right of the publisher.
In one embodiment, when the file is changed into unstructured data in the formats of a mosaic data set or a raster data set,. mxd,. rlt,. slpk and the like, an existing publishing function in the Python service can be directly called to visualize the data so as to improve publishing efficiency.
In one embodiment, after the step of performing data processing on the change file and publishing the change file as a corresponding spatial geographic service, the method further includes:
configuring the access authority of the changed file;
the access rights include owner rights, which are accessible to the owner, and specific user rights, which are only provided to the specific user for access. Specifically, the checking and sharing of different areas of the same map layer can be configured for a specific target group according to the information of the access user, such as authority and areas, so that the data confidentiality is improved, unnecessary service release is reduced, and the load pressure of a server is relieved.
Preferably, after the step of configuring the access right of the change file, the method further includes:
generating a layer configuration record;
the layer configuration record comprises information such as a layer name, a layer service URL, a layer type, a 2D/3D support type, release time and authority. The layer configuration table can be used for dynamically acquiring layer service configuration information at the front end through an interface, and is used for judging whether a data release service corresponding to the data type of the change file exists in the database.
As shown in fig. 2, an embodiment of the present application further provides an automatic issuing and updating apparatus for submarine cable detection data, including:
the monitoring module 1 is configured to monitor whether a change event exists in the first data storage path and/or the second data storage path; wherein the change event is generated in response to a change operation of the data file;
a changed file obtaining module 2, configured to obtain a changed file to be changed and a data type of the changed file;
the publishing module 3 is used for calling data publishing services corresponding to the data types of the changed files from a database, processing the data of the changed files and publishing the changed files as corresponding space geographic services; and the data release service of each data type of submarine cable detection data is stored in the database.
It should be noted that, when the submarine cable detection data automatic issuing and updating apparatus provided in the above embodiment executes the submarine cable detection data automatic issuing and updating method, only the division of the above functional modules is taken as an example, and in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the automatic issuing and updating device for submarine cable detection data and the automatic issuing and updating method for submarine cable detection data provided by the above embodiments belong to the same concept, and details of implementation processes are shown in the method embodiments and are not described herein again.
The present invention also provides a computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of any of the above-mentioned methods for automatically publishing and updating submarine cable test data.
The present invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Computer readable storage media, which include both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The invention also provides computer equipment comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the steps of the submarine cable detection data automatic publishing and updating method according to any one of the above items when executing the computer program.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (10)

1. A submarine cable detection data automatic publishing and updating method is characterized by comprising the following steps:
monitoring whether a preset data storage path has a change event or not; wherein the change event is generated in response to a change operation of the data file;
acquiring a changed file and the data type of the changed file;
calling data release service corresponding to the data type of the changed file from a database, processing the data of the changed file and releasing the changed file into corresponding space geographic service; and the data release service of each data type of submarine cable detection data is stored in the database.
2. The submarine cable test data automatic release and update method according to claim 1, wherein the preset data storage paths include a first data storage path and a second data storage path;
before the step of monitoring whether a preset data storage path has a change event, the method further comprises the following steps:
acquiring submarine cable detection data;
dividing the submarine cable test data into structured data and unstructured data;
storing the structured data to a first data storage path and the unstructured data to the second data storage path.
3. The method for automatically publishing and updating submarine cable test data according to claim 2, wherein the step of monitoring the preset data storage path for a change event comprises:
monitoring whether a change event exists in the first data storage path and/or the second data storage path.
4. The method for automated ocean bottom cable test data release and update according to claim 2, further comprising, after the step of storing the unstructured data to the second data storage path:
acquiring file information of the unstructured data; wherein the file information comprises a data name, a data type, an MD5 value and a last update time;
generating a data index table according to the file information of the unstructured data;
the step of monitoring whether there is a change event in the second data storage path comprises:
acquiring a data index table according to a set time period;
and comparing the data index table with the data index table acquired in the last time period, and judging whether the second data storage path has a change event according to a comparison result.
5. The method for automatic distribution and updating of submarine cable test data according to claim 2, wherein said first data storage path is a spatial database; the structured data is stored in the spatial database according to a preset storage mode;
the step of monitoring whether the first data storage path has a change event comprises the following steps:
acquiring an information record table of the spatial database according to a set time period; wherein the information record table comprises the data type, the position information and the quantity of each piece of structured data;
and comparing the information record table with the information record table acquired in the last time period, and judging whether a change event exists according to a comparison result.
6. The method for automatic release and update of submarine cable test data according to claim 5, wherein said structured data comprises spatial information data files; the data release service comprises a spatial information release service;
when the change event is the change of the number of the spatial information data files, calling a spatial information publishing service corresponding to the spatial information data files from a database to publish the spatial information data files;
when the change event is a new data type, generating new position information in the spatial database;
associating the position information with the newly added data type, and adjusting the storage mode of the spatial database;
calling a spatial information publishing service corresponding to the spatial information data file from a database, and publishing the spatial information data file;
and when the change event is the update of the spatial information data file, calling a spatial information publishing service corresponding to the spatial information data file from a database, and publishing the spatial information data file.
7. The method for automatically releasing and updating submarine cable test data according to claim 6, wherein before the step of calling the spatial information releasing service corresponding to the spatial information data file from the database, the method further comprises:
judging whether a space information publishing service corresponding to the space information data file exists in a database or not;
and if not, prompting the user to configure the visual style of the newly added layer data type and generating corresponding spatial information publishing service.
8. An automatic submarine cable detection data publishing and updating device is characterized by comprising:
the monitoring module is used for monitoring whether a change event exists in the first data storage path and/or the second data storage path; wherein the change event is generated in response to a change operation of the data file;
the changed file acquisition module is used for acquiring the changed file and the data type of the changed file;
the publishing module is used for calling data publishing services corresponding to the data types of the changed files from the database, processing the data of the changed files and publishing the changed files into corresponding space geographic services; and the data release service of each data type of submarine cable detection data is stored in the database.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when being executed by a processor realizes the steps of the method for automatic distribution and update of submarine cable test data according to any of claims 1-7.
10. A computer device, comprising: memory, a processor and a computer program stored in the memory and executable by the processor, the processor when executing the computer program implementing the steps of the method for automatic distribution and update of submarine cable test data according to any of claims 1-7.
CN202110295251.7A 2021-03-19 2021-03-19 Submarine cable detection data automatic publishing and updating method Pending CN113064868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110295251.7A CN113064868A (en) 2021-03-19 2021-03-19 Submarine cable detection data automatic publishing and updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110295251.7A CN113064868A (en) 2021-03-19 2021-03-19 Submarine cable detection data automatic publishing and updating method

Publications (1)

Publication Number Publication Date
CN113064868A true CN113064868A (en) 2021-07-02

Family

ID=76562363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110295251.7A Pending CN113064868A (en) 2021-03-19 2021-03-19 Submarine cable detection data automatic publishing and updating method

Country Status (1)

Country Link
CN (1) CN113064868A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9221496D0 (en) * 1992-09-18 1992-11-25 Stelton Ltd Efficient computer system processing operations
CN101655376A (en) * 2009-07-28 2010-02-24 北京四维图新科技股份有限公司 Preprocessing method for distributing navigation electronic map service information and device thereof
GB201217916D0 (en) * 2012-10-05 2012-11-21 Release Consulting Ltd Publishing of an application program interface
CN104573987A (en) * 2015-01-28 2015-04-29 国网四川省电力公司成都供电公司 Method for achieving interoperability integration of PCS and power grid multi-source service system
CN105635257A (en) * 2015-12-24 2016-06-01 福建天泉教育科技有限公司 Method and system for automatically detecting data update
CN106534370A (en) * 2016-12-22 2017-03-22 上海爱数信息技术股份有限公司 End-to-end data management/operation method and system, server and terminal devices
CN107659607A (en) * 2017-07-21 2018-02-02 国网浙江省电力公司 The external delivery system of gathered data based on distributed service processing
CN108549722A (en) * 2018-04-25 2018-09-18 稿定(厦门)科技有限公司 Multi-platform data publication method, system and medium
CN109064345A (en) * 2018-08-14 2018-12-21 中国平安人寿保险股份有限公司 Message treatment method, system and computer readable storage medium
CN109088909A (en) * 2018-06-15 2018-12-25 上海盛付通电子支付服务有限公司 A kind of service gray scale dissemination method and equipment based on merchant type
CN111273908A (en) * 2020-02-14 2020-06-12 神州数码融信软件有限公司 Automatic generation method of business interface

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9221496D0 (en) * 1992-09-18 1992-11-25 Stelton Ltd Efficient computer system processing operations
CN101655376A (en) * 2009-07-28 2010-02-24 北京四维图新科技股份有限公司 Preprocessing method for distributing navigation electronic map service information and device thereof
GB201217916D0 (en) * 2012-10-05 2012-11-21 Release Consulting Ltd Publishing of an application program interface
CN104573987A (en) * 2015-01-28 2015-04-29 国网四川省电力公司成都供电公司 Method for achieving interoperability integration of PCS and power grid multi-source service system
CN105635257A (en) * 2015-12-24 2016-06-01 福建天泉教育科技有限公司 Method and system for automatically detecting data update
CN106534370A (en) * 2016-12-22 2017-03-22 上海爱数信息技术股份有限公司 End-to-end data management/operation method and system, server and terminal devices
CN107659607A (en) * 2017-07-21 2018-02-02 国网浙江省电力公司 The external delivery system of gathered data based on distributed service processing
CN108549722A (en) * 2018-04-25 2018-09-18 稿定(厦门)科技有限公司 Multi-platform data publication method, system and medium
CN109088909A (en) * 2018-06-15 2018-12-25 上海盛付通电子支付服务有限公司 A kind of service gray scale dissemination method and equipment based on merchant type
CN109064345A (en) * 2018-08-14 2018-12-21 中国平安人寿保险股份有限公司 Message treatment method, system and computer readable storage medium
CN111273908A (en) * 2020-02-14 2020-06-12 神州数码融信软件有限公司 Automatic generation method of business interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕憧憬等: "基于Web服务的海洋空间数据共享技术研究与实现", 计算机应用与软件, no. 12, 15 December 2016 (2016-12-15) *

Similar Documents

Publication Publication Date Title
US20170286878A1 (en) Real time map rendering with data clustering and expansion and overlay
CN110443552B (en) Method and device for automatically transmitting product main data information
CN114237466B (en) Inspection point configuration method and device
WO2013101510A1 (en) System and method for importing netcdf data
US20170171041A1 (en) System capacity heatmap
US10565278B2 (en) Packaged searching system and method
CN113064868A (en) Submarine cable detection data automatic publishing and updating method
Heipke et al. Updating geospatial databases from images
CN110489329A (en) A kind of output method of test report, device and terminal device
CN107801418B (en) Floating population estimation device and method using map search record
CN105512312A (en) Accelerating method for two-dimensional map library
CN115718824A (en) Method for judging position of equipment and automatically pushing equipment information through space distance
KR20190121905A (en) Asset relationship topology visualization and monitoring system through service-centric mapping
CN114510180A (en) Role authority control method and device of application program and mobile terminal
US10685313B2 (en) Systems and/or methods for path finding on model structures
CN105205095B (en) A kind of quick storage and querying method of irregular Grid square
CN109711458A (en) A kind of drawing classification management method and device
CN117876642B (en) Digital model construction method, computer program product and electronic equipment
CN117931810B (en) Structured management method and system for spatial image data
CN112184904B (en) Digital integration method and device
CN107861858A (en) File test method and device, storage medium and processor
CN113835988B (en) Index information prediction method and system
CN107862480B (en) Service management method, release management device, medium, and electronic device
CN116797136A (en) Data analysis method, processor and machine-readable storage medium
CN117130997A (en) Log processing method, device, electronic equipment and computer readable 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