CN109471855A - Ships data index establishing method, loading method, device and computer equipment - Google Patents
Ships data index establishing method, loading method, device and computer equipment Download PDFInfo
- Publication number
- CN109471855A CN109471855A CN201811055395.XA CN201811055395A CN109471855A CN 109471855 A CN109471855 A CN 109471855A CN 201811055395 A CN201811055395 A CN 201811055395A CN 109471855 A CN109471855 A CN 109471855A
- Authority
- CN
- China
- Prior art keywords
- signal point
- point data
- data
- information
- attribute information
- 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
Links
Landscapes
- Traffic Control Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of ships data index establishing methods, which comprises obtains the signal point data of ship and the attribute information of the signal point data;The signal point data is stored to first database and obtains storage location corresponding with the signal point data;According to the storage location and the attribute information, the index relative between the storage location and the attribute information is established.The storage and reading speed of signal point data can be improved in the present invention program, while reducing the maintenance cost after signal point data changes.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of ships data index establishing method, loading method,
Device and computer equipment.
Background technique
In dredging vessel data-sharing systems, server platform end needs to store a large amount of data, including by ship end
It is transmitted to real-time running data, historical data, the report data at server platform end.Server platform end is needed to these data
It is stored, so that all kinds of analysis modules, business module be facilitated to carry out data access.Dredging operation data index is established at present
Mode mostly uses relevant database, i.e., establishes table in the database for store historical data.
Due to different type dredging vessel, it builds period, application scenarios, system composition, function composition, data composition
Difference, in design database table storage organization, general way is that every a line of database table represents a storage note
Record, each column of database table represent a signaling point, that is, need to be stored in different signals in different column, example
If the signaling point quantity of certain ship is 1000, it is necessary to create 1000 column in database table to be stored.In addition, dredging
Dredge equipment, control system is frequently necessary to upgrading, this signaling point that will lead to ship changes frequent occurrence, once signaling point send out
Changing, then the storage organization of database table must also adjust therewith, and these maintenance works then need by manually into
Row.
Traditional data directory establishes mode, there is a problem of that storage efficiency is low, maintenance cost is high.
Summary of the invention
The purpose of the present invention is to provide a kind of ships data index establishing method, loading method, device and computers to set
It is standby, storage and reading speed can be improved, while reducing the maintenance cost after data change.
The purpose of the present invention is achieved through the following technical solutions:
A kind of ships data index establishing method, which comprises
Obtain the signal point data of ship and the attribute information of the signal point data;
The signal point data is stored to first database and obtains storage location corresponding with the signal point data;
According to the storage location and the attribute information, the rope between the storage location and the attribute information is established
Draw relationship.
The attribute information of the signal point data for obtaining ship and the signal point data in one of the embodiments,
Include:
Initial signal point data and attribute information corresponding with the initial signal point data are obtained, by the initial signal
Point data carries out Binary Conversion and obtains preprocessed signal point data;
The target compression corresponding with the target property information for inquiring the second database purchase, according to what is inquired
The preprocessed signal point data is carried out compression and obtains signal point data by compression ratio, and the initial signal point data is corresponding
Attribute information of the attribute information as the signal point data.
The attribute information includes name information and classification information in one of the embodiments, is deposited described in the foundation
The index relative that storage space is set between the attribute information includes:
Establish the first index relative between the storage location, name information and the classification information.
The attribute information further includes initial signal point data acquisition time and initial signal in one of the embodiments,
Point data source information, the index relative established between the storage location and the attribute information further include:
Establish the storage location, name information, initial signal point data acquisition time and initial signal point data source letter
The second index relative between breath.
A kind of loading method of the data using the storage of above-mentioned ships data index establishing method, which comprises
The target property information for obtaining echo signal point data, in conjunction with the index relative between attribute information and storage location
And the target property information inquires target storage position corresponding with the target property information;
Extract the echo signal point data corresponding with the target storage position stored in first database.
In one of the embodiments, the method also includes:
Inquire the target compression corresponding with the target property information of the second database purchase;
The echo signal point data is subjected to decompression according to the target compression inquired and obtains target pretreatment letter
The target preprocessed signal point data is carried out the target initial signal point that reversed Binary Conversion obtains ship by number point data
Data.
A kind of data directory establishes device, and described device includes:
First obtains module, for obtaining the signal point data of ship and the attribute information of the signal point data, by institute
Signal point data is stated to store to first database and obtain storage location corresponding with the signal point data;
Index establishes module, for establishing the storage location and institute according to the storage location and the attribute information
State the index relative between attribute information.
A kind of data loading device, described device include:
Second obtains module, for obtaining the target property information of echo signal point data, in conjunction with attribute information and storage
Index relative and the target property information between position inquire target corresponding with the target property information and store position
It sets;
Third obtains module, for extracting the target corresponding with the target storage position stored in first database letter
Number point data.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, and feature exists
In the processor realizes following steps when executing the computer program:
Obtain ship signal point data and the signal point data attribute information, by the signal point data store to
First database simultaneously obtains storage location corresponding with the signal point data;
According to the storage location and the attribute information, the rope between the storage location and the attribute information is established
Draw relationship.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
Following steps are realized when being executed by processor:
Obtain ship signal point data and the signal point data attribute information, by the signal point data store to
First database simultaneously obtains storage location corresponding with the signal point data;
According to the storage location and the attribute information, the rope between the storage location and the attribute information is established
Draw relationship.
According to the scheme of aforementioned present invention, the signal point data of ship and the attribute letter of the signal point data are obtained
The signal point data is stored to first database and obtains storage location corresponding with the signal point data by breath;According to
The storage location and the attribute information, establish the index relative between the storage location and the attribute information, and first
Storage organization in database is exactly the index between the storage location of each signal point data and the attribute information of signal point data
Relationship, when storing new signal point data every time or when signal point data is updated, it is only necessary to newly-increased signal point data
Or modification update signal point data, do not need to modify to the storage organization of first database, can be improved storage and
Reading speed, while reducing the maintenance issues after data change.
Detailed description of the invention
Fig. 1 is the applied environment figure of ships data index establishing method in one embodiment;
Fig. 2 is the flow diagram of ships data index establishing method in one embodiment;
Fig. 3 is the flow diagram of ships data index establishing method in another embodiment;
Fig. 4 is the flow diagram of ships data loading method in one embodiment;
Fig. 5 is the flow diagram of ships data loading method in another embodiment;
Fig. 6 is the structural block diagram that ships data index establishes device in one embodiment;
Fig. 7 is the structural block diagram that ships data index establishes device in another embodiment;
Fig. 8 is the structural block diagram of ships data loading device in one embodiment;
Fig. 9 is the structural block diagram of ships data loading device in another embodiment;
Figure 10 is the internal structure chart of computer equipment in one embodiment;
Figure 11 is the internal structure chart of computer equipment in another embodiment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this
Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention,
And the scope of protection of the present invention is not limited.
Fig. 1 is the schematic diagram of internal structure of server in one embodiment.The server includes being connected by system bus
Processor, non-volatile memory medium, network interface, built-in storage, input unit.Wherein the non-volatile of the server is deposited
Storage media has operating system, further includes that a kind of data directory establishes device, which establishes device for realizing a kind of ship
Oceangoing ship data directory method for building up.The processor supports the operation of entire server for providing calculating and control ability.Server
In built-in storage provide environment for the operation that the data directory in non-volatile memory medium establishes device, network interface is used for
It is communicated with other servers or terminal, is such as sent to other clothes when server response clicking operation can produce control command
Business device or terminal etc..Input unit is keyboard, mouse or touch screen etc..Specifically, server obtains the signal points of ship
According to the attribute information with the signal point data, the signal point data is stored to first database and obtained and the signal
The corresponding storage location of point data;According to the storage location and the attribute information, the storage location and the category are established
Index relative between property information.Wherein, server can use the service of the either multiple server compositions of independent server
Device cluster is realized.It, not only can be with it will be understood by those skilled in the art that ships data index establishing method provided by the present application
Applied in application environment shown in FIG. 1, can also applying but be not limited in various computers or server.
In one embodiment, it as shown in Fig. 2, providing a kind of ships data index establishing method, applies in this way
It is illustrated for server in Fig. 1, comprising the following steps:
Step S101 obtains the signal point data of ship and the attribute information of the signal point data;
The signal point data is stored to first database and is obtained corresponding with the signal point data by step S102
Storage location;
It is marked specifically, storage location can be arranged to storage location, the side of acquisition target store path can also be passed through
Formula obtains storage location.
Step S103 establishes the storage location and attribute letter according to the storage location and the attribute information
Index relative between breath.
Specifically, the storage organization in first database is exactly the storage location and signal point data of each signal point data
Index relative between attribute information, when storing new signal point data every time or when signal point data is updated, only
The signal point data for needing newly-increased signal point data or modification to update, does not need to repair the storage organization of first database
Change.
In above-mentioned ships data index establishing method, by the signal point data and the signal point data that obtain ship
The signal point data is stored to first database and obtains storage position corresponding with the signal point data by attribute information
It sets;According to the storage location and the attribute information, the index established between the storage location and the attribute information is closed
It is that the storage organization in first database is exactly between the storage location of each signal point data and the attribute information of signal point data
Index relative, when storing new signal point data every time or when signal point data is updated, it is only necessary to newly-increased signal
The signal point data that point data or modification update, does not need to modify to the storage organization of first database, can be improved
Storage and reading speed, while reducing the maintenance issues after data change.
In one of the embodiments, as shown in figure 3, the signal point data and the signal point data for obtaining ship
Attribute information include:
Step S1011 obtains the initial signal point data and attribute corresponding with initial signal point data letter of ship
The initial signal point data is carried out Binary Conversion and obtains preprocessed signal point data by breath;
Specifically, initial signal point data is carried out Binary Conversion, storage can be improved by compressing after Binary Conversion
It deposits and reading speed, reduces occupied space.
Step S1012 inquires the target compression corresponding with the target property information of the second database purchase, according to
The preprocessed signal point data is carried out compression and obtains signal point data by the compression ratio inquired, by the initial signal point
Attribute information of the corresponding attribute information of data as the signal point data.
Specifically, being stored with the attribute information and the corresponding pressure of each attribute information of multiple signal point datas in the second database
Shrinkage.
For example, initial signal point data is the data of ship end transmission, the attribute of initial signal point data includes switching value
With two kinds of analog quantity, since switching value data is different with the data volume of analog data, the compression ratio eight of switching value data
A switching value data distributes a byte, and the compression ratio of analog data is that each analog data distributes four bytes.
The attribute information includes name information and classification information in one of the embodiments, is deposited described in the foundation
It includes: to establish the storage location, name information and classification letter that storage space, which sets the index relative between the attribute information,
The first index relative between breath.
Specifically, classification information still falls within original classification, does not need when initial signaling point data change
Change the first index relative structure set and carrys out storing data, for example, when ship signaling point changes, signal classification
It still can only be analog quantity or switching value, so not may require that the first index structure of change first database storage to store
Corresponding data, only need to be to the corresponding signal point data of modification.
The attribute information further includes initial signal point data acquisition time and initial signal in one of the embodiments,
Point data source information, the index relative established between the storage location and the attribute information further include: described in foundation
The second index between storage location, name information, initial signal point data acquisition time and initial signal point data source information
Relationship.
Specifically, establishing storage location, name information, initial signal point data acquisition time and initial signal point data source
The second index relative between information, it is corresponding convenient for the such as specified ship of inquiry preset time period or specified data source
Initial signal point data.
A kind of ships data rope described in above-described embodiment is utilized as shown in figure 4, providing in one of the embodiments,
Draw the loading method of the data of method for building up storage, which comprises
Step S401 obtains the target property information of echo signal point data, in conjunction between attribute information and storage location
Index relative and the target property information inquire corresponding with target property information target storage position;
Step S402 extracts echo signal corresponding with the target storage position points stored in first database
According to.
For example, name information is " ship end signal point unit ", corresponding classification information is " analog quantity ", it is only necessary to inquire class
Not Wei " analog quantity " entitled " ship end signal point unit " corresponding storage location, corresponding signal point data can be extracted.
In one of the embodiments, as shown in figure 5, the method also includes:
Step S403 inquires the target compression corresponding with the target property information of the second database purchase;
Specifically, being stored with multiple attribute informations and the corresponding compression ratio of each attribute information in the second database.
The echo signal point data is carried out decompression according to the target compression inquired and obtains target by step S404
Preprocessed signal point data, at the beginning of the target preprocessed signal point data is carried out the target that reversed Binary Conversion obtains ship
Beginning signal point data.
Specifically, being stored with multiple attribute informations and the corresponding compression ratio of each attribute information in the second database.
For example, initial signal point data is the data of ship end transmission, the attribute of initial signal point data includes switching value
With two kinds of analog quantity, since switching value data is different with the data volume of analog data, the compression ratio eight of switching value data
A switching value data distributes a byte, and the compression ratio of analog data is that each analog data distributes four bytes.
In one of the embodiments, the index relative inquiry according between attribute information and storage location with it is described
The corresponding storage location of attribute information includes: to obtain name information and classification information, according to the name information, classification information and
First index relative inquires storage location corresponding with the name information and classification information.
Specifically, the inquiry of storage location can be carried out by name information and classification information, can also be believed by title
Breath, initial signal point data acquisition time and initial signal point data source information carry out the inquiry of storage location.
In one of the embodiments, the index relative inquiry according between attribute information and storage location with it is described
The corresponding storage location of attribute information further include: obtain name information, initial signal point data acquisition time and initial signal point
Data source information, according to the name information, initial signal point data acquisition time, initial signal point data source information and second
Index relative is inquired corresponding with the name information, initial signal point data acquisition time and initial signal point data source information
Storage location.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one of the embodiments, as shown in fig. 6, providing a kind of data directory establishes device, described device includes:
First obtains module 601, for obtaining the signal point data of ship and the attribute information of the signal point data;
Memory module 602, for storing to first database and obtaining and the signal points signal point data
According to corresponding storage location;
Index establishes module 603, for according to the storage location and the attribute information, establish the storage location and
Index relative between the attribute information.
In one of the embodiments, as shown in fig. 7, the first acquisition module 601 includes:
First acquisition unit 6011, for obtaining initial signal point data and category corresponding with the initial signal point data
Property information, by the initial signal point data carry out Binary Conversion obtain preprocessed signal point data;
Second acquisition unit 6012, for inquiring the target corresponding with the target property information of the second database purchase
The preprocessed signal point data is carried out compression according to the compression ratio inquired and obtains signal point data, by institute by compression ratio
State attribute information of the corresponding attribute information of initial signal point data as the signal point data.
The attribute information includes name information and classification information in one of the embodiments, and the index is built
Formwork erection block 603 is specifically used for the first index relative established between the storage location, name information and the classification information.
The attribute information further includes initial signal point data acquisition time and initial signal in one of the embodiments,
Point data source information, the index establish module 603 and specifically are also used to establish the storage location, name information, initial signal
The second index relative between point data acquisition time and initial signal point data source information.
In one of the embodiments, as shown in figure 8, providing a kind of data loading device, described device includes:
Second obtains module 801, for obtaining the target property information of echo signal point data, in conjunction with attribute information and deposits
Storage space set between index relative and the target property information inquire corresponding with target property information target and store
Position;
Data extraction module 802, for extracting the mesh corresponding with the target storage position stored in first database
Mark signal point data.
In one of the embodiments, as shown in figure 9, described device further include:
Enquiry module 803, for inquiring the targeted compression corresponding with the target property information of the second database purchase
Rate;
Third obtains module 804, for being carried out the echo signal point data according to the target compression inquired
Decompression obtains target preprocessed signal point data, and the target preprocessed signal point data is carried out reversed Binary Conversion acquisition
The target initial signal point data of ship.
The second acquisition module 801 is specifically used for obtaining name information and classification information in one of the embodiments,
According to the name information, classification information and the first index relative, deposit corresponding with the name information and classification information is inquired
Storage space is set.
The second acquisition module 801 specifically is also used to obtain name information, initial signal in one of the embodiments,
Point data acquisition time and initial signal point data source information, according to the name information, initial signal point data acquisition time,
Initial signal point data source information and the second index relative, inquiry and the name information, initial signal point data acquisition time
Storage location corresponding with initial signal point data source information.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 10.The computer equipment include the processor connected by device bus, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating device, computer program and data
Library.The built-in storage provides environment for the operation of operating device and computer program in non-volatile memory medium.The calculating
The database of machine equipment indexes the data established and be related to for storing data.The network interface of the computer equipment is used for and outside
Terminal by network connection communication.To realize a kind of ships data index foundation side when the computer program is executed by processor
Method.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in figure 11.The computer equipment includes the processor connected by system bus, memory, network interface, shows
Display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment
Memory includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer
Program.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The meter
The network interface for calculating machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor
To realize a kind of ships data index establishing method.The display screen of the computer equipment can be liquid crystal display or electronic ink
Water display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer equipment
Key, trace ball or the Trackpad being arranged on shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 10-11, only portion relevant to application scheme
The block diagram of separation structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer
Equipment may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure
It sets.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of the signal point data for obtaining ship and the letter when executing computer program
The signal point data is stored to first database and is obtained corresponding with the signal point data by the attribute information of number point data
Storage location;According to the storage location and the attribute information, establish between the storage location and the attribute information
Index relative.
Processor executes the signal point data for obtaining ship and institute when computer program in one of the embodiments,
The attribute information for stating signal point data includes: to obtain initial signal point data and attribute corresponding with the initial signal point data
The initial signal point data is carried out Binary Conversion and obtains preprocessed signal point data by information;Inquire the second data inventory
The target compression corresponding with the target property information of storage, according to the compression ratio inquired by the preprocessed signal point
Data carry out compression and obtain signal point data, count using the corresponding attribute information of the initial signal point data as the signal
According to attribute information.
It includes name information and class that processor, which executes attribute information when computer program, in one of the embodiments,
Other information, the index relative established between the storage location and the attribute information include: establish the storage location,
The first index relative between name information and the classification information.
It further includes initial signal point that processor, which executes attribute information when computer program, in one of the embodiments,
Data obtaining time and initial signal point data source information, the rope established between the storage location and the attribute information
Draw relationship further include: establish the storage location, name information, initial signal point data acquisition time and initial signal point data
The second index relative between source information.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of the objective attribute target attribute for obtaining echo signal point data when executing computer program
Information, in conjunction between attribute information and storage location index relative and the target property information inquiry with the target category
The property corresponding target storage position of information;Extract target corresponding with the target storage position letter stored in first database
Number point data.
In one of the embodiments, processor execute computer program when the method also includes: inquiry the second data
The target compression corresponding with the target property information of library storage;According to the target compression inquired by the target
Signal point data carries out decompression and obtains target preprocessed signal point data, the target preprocessed signal point data is carried out reversed
The target initial signal point data of Binary Conversion acquisition ship.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the attribute letter of the signal point data and the signal point data that obtain ship when being executed by processor
The signal point data is stored to first database and obtains storage location corresponding with the signal point data by breath;According to
The storage location and the attribute information, establish the index relative between the storage location and the attribute information.
When computer program is executed by processor in one of the embodiments, it is described obtain ship signal point data and
The attribute information of the signal point data includes: to obtain initial signal point data and category corresponding with the initial signal point data
Property information, by the initial signal point data carry out Binary Conversion obtain preprocessed signal point data;Inquire the second database
The target compression corresponding with the target property information of storage, according to the compression ratio inquired by the preprocessed signal
Point data carries out compression and obtains signal point data, using the corresponding attribute information of the initial signal point data as the signaling point
The attribute information of data.
When computer program is executed by processor in one of the embodiments, the attribute information include name information and
Classification information, the index relative established between the storage location and the attribute information include: to establish the storage position
It sets, the first index relative between name information and the classification information.
The attribute information further includes initial signal when computer program is executed by processor in one of the embodiments,
Point data acquisition time and initial signal point data source information, it is described to establish between the storage location and the attribute information
Index relative further include: establish the storage location, name information, initial signal point data acquisition time and initial signal points
According to the second index relative between source information.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the target property information for obtaining echo signal point data when being executed by processor, believe in conjunction with attribute
Index relative and the target property information between breath and storage location inquire mesh corresponding with the target property information
Mark storage location;Extract the echo signal point data corresponding with the target storage position stored in first database.
When computer program is executed by processor in one of the embodiments, the method also includes: inquiry second number
The target compression corresponding with the target property information stored according to library;According to the target compression inquired by the mesh
Mark signal point data carries out decompression and obtains target preprocessed signal point data, the target preprocessed signal point data is carried out anti-
The target initial signal point data of ship is obtained to Binary Conversion.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of ships data index establishing method, which is characterized in that the described method includes:
Obtain the signal point data of ship and the attribute information of the signal point data;
The signal point data is stored to first database and obtains storage location corresponding with the signal point data;
According to the storage location and the attribute information, the index established between the storage location and the attribute information is closed
System.
2. ships data index establishing method according to claim 1, which is characterized in that the signaling point for obtaining ship
The attribute information of data and the signal point data includes:
The initial signal point data of acquisition ship and attribute information corresponding with the initial signal point data, by the initial letter
Number point data carries out Binary Conversion and obtains preprocessed signal point data;
The target compression corresponding with the target property information for inquiring the second database purchase, according to the compression inquired
The preprocessed signal point data is carried out compression and obtains signal point data by rate, by the corresponding attribute of the initial signal point data
Attribute information of the information as the signal point data.
3. ships data index establishing method according to claim 1, which is characterized in that the attribute information includes title
Information and classification information, the index relative established between the storage location and the attribute information include:
Establish the first index relative between the storage location, name information and the classification information.
4. ships data index establishing method according to claim 3, which is characterized in that the attribute information further includes just
Beginning signaling point data obtaining time and initial signal point data source information, it is described to establish the storage location and the attribute information
Between index relative further include:
Establish the storage location, name information, initial signal point data acquisition time and initial signal point data source information it
Between the second index relative.
5. a kind of loading method of the ships data of the storage of ships data index establishing method described in exploitation right 4, feature exist
In, which comprises
Obtain echo signal point data target property information, in conjunction between attribute information and storage location index relative and
The target property information inquires target storage position corresponding with the target property information;
Extract the echo signal point data corresponding with the target storage position stored in first database.
6. ships data loading method according to claim 5, which is characterized in that the method also includes:
Inquire the target compression corresponding with the target property information of the second database purchase;
The echo signal point data is subjected to decompression according to the target compression inquired and obtains target preprocessed signal point
The target preprocessed signal point data is carried out the target initial signal points that reversed Binary Conversion obtains ship by data
According to.
7. a kind of ships data index establishes device, which is characterized in that described device includes:
First obtains module, for obtaining the signal point data of ship and the attribute information of the signal point data;
Memory module, for storing to first database and obtaining corresponding with the signal point data signal point data
Storage location;
Index establishes module, for establishing the storage location and the category according to the storage location and the attribute information
Index relative between property information.
8. a kind of ships data loading device, which is characterized in that described device includes:
Second obtains module, for obtaining the target property information of echo signal point data, in conjunction with attribute information and storage location
Between index relative and the target property information inquire corresponding with target property information target storage position;
Third obtains module, for extracting the echo signal point corresponding with the target storage position stored in first database
Data.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811055395.XA CN109471855B (en) | 2018-09-11 | 2018-09-11 | Ship data index establishing method, loading method, device and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811055395.XA CN109471855B (en) | 2018-09-11 | 2018-09-11 | Ship data index establishing method, loading method, device and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109471855A true CN109471855A (en) | 2019-03-15 |
CN109471855B CN109471855B (en) | 2021-07-06 |
Family
ID=65664213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811055395.XA Active CN109471855B (en) | 2018-09-11 | 2018-09-11 | Ship data index establishing method, loading method, device and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109471855B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160034506A1 (en) * | 2006-10-17 | 2016-02-04 | Commvault Systems, Inc. | Method and system for offline indexing of content and classifying stored data |
CN105589862A (en) * | 2014-10-21 | 2016-05-18 | 杭州华为企业通信技术有限公司 | License plate data index structure building method, retrieval method and device |
CN105630847A (en) * | 2014-11-21 | 2016-06-01 | 深圳市腾讯计算机系统有限公司 | Data storage method as well as data query method, apparatus and system |
CN105701096A (en) * | 2014-11-25 | 2016-06-22 | 腾讯科技(深圳)有限公司 | Index generation method, data inquiry method, index generation device, data inquiry device and system |
CN106407201A (en) * | 2015-07-29 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Data processing method and apparatus |
-
2018
- 2018-09-11 CN CN201811055395.XA patent/CN109471855B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160034506A1 (en) * | 2006-10-17 | 2016-02-04 | Commvault Systems, Inc. | Method and system for offline indexing of content and classifying stored data |
CN105589862A (en) * | 2014-10-21 | 2016-05-18 | 杭州华为企业通信技术有限公司 | License plate data index structure building method, retrieval method and device |
CN105630847A (en) * | 2014-11-21 | 2016-06-01 | 深圳市腾讯计算机系统有限公司 | Data storage method as well as data query method, apparatus and system |
CN105701096A (en) * | 2014-11-25 | 2016-06-22 | 腾讯科技(深圳)有限公司 | Index generation method, data inquiry method, index generation device, data inquiry device and system |
CN106407201A (en) * | 2015-07-29 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Data processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN109471855B (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110647582B (en) | Method, device, storage medium and computer equipment for block chain network consensus verification | |
CN105094707A (en) | Method and device for storing and reading data | |
CN108804548B (en) | Test data query method, device, computer equipment and storage medium | |
CN108268645A (en) | Big data processing method and system | |
US20180329921A1 (en) | Method and apparatus for storing time series data | |
CN105550246B (en) | The system and method for load networks picture under Android platform | |
CN110362542B (en) | Nuclear power station file encoding method and device, computer equipment and storage medium | |
CN109446065A (en) | User tag test method, device, computer equipment and storage medium | |
CN110109868A (en) | Method, apparatus and computer program product for index file | |
CN106648569A (en) | Target serialization achieving method and device | |
CN110597552B (en) | Configuration method, device, equipment and storage medium of project continuous integrated pipeline | |
CN113486114B (en) | Block chain intelligent contract calling management method | |
CN109471855A (en) | Ships data index establishing method, loading method, device and computer equipment | |
CN111782649A (en) | Data acquisition format updating method and device, computer equipment and storage medium | |
CN106020786A (en) | Method and device for dynamically restoring application program, and related system | |
CN106250472A (en) | A kind of EXCEL data lead-in method | |
CN113918651A (en) | Business data and capital flow processing method, device, equipment and medium | |
CN109656936A (en) | Method of data synchronization, device, computer equipment and storage medium | |
CN101859242B (en) | Register reading and writing method and device | |
CN109710409A (en) | A kind of EMS memory management process, system, device and readable storage medium storing program for executing | |
CN114625372A (en) | Automatic component compiling method and device, computer equipment and storage medium | |
CN110022341A (en) | A kind of data transmission method and relevant device | |
CN104572655A (en) | Data processing method, device and system | |
CN107817972A (en) | Cache code process method, apparatus, storage medium and electronic equipment | |
US20200348879A1 (en) | Method, device, and computer program product for storage management |
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 |