CN108920594A - A kind of energy information search method and relevant apparatus - Google Patents

A kind of energy information search method and relevant apparatus Download PDF

Info

Publication number
CN108920594A
CN108920594A CN201810677200.9A CN201810677200A CN108920594A CN 108920594 A CN108920594 A CN 108920594A CN 201810677200 A CN201810677200 A CN 201810677200A CN 108920594 A CN108920594 A CN 108920594A
Authority
CN
China
Prior art keywords
oad
data
retrieval
address
area
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
CN201810677200.9A
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.)
Nanjing Haixing Power Grid Technology Co Ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Original Assignee
Nanjing Haixing Power Grid Technology Co Ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Haixing Power Grid Technology Co Ltd, Hangzhou Hexing Electrical Co Ltd, Ningbo Henglida Technology Co Ltd filed Critical Nanjing Haixing Power Grid Technology Co Ltd
Priority to CN201810677200.9A priority Critical patent/CN108920594A/en
Publication of CN108920594A publication Critical patent/CN108920594A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of energy information search methods, including:It is retrieved to obtain OAD management regional address in corresponding electric energy meter information management area according to electric energy meter search condition;It is retrieved to obtain OAD data memory area address in the OAD directorial area of OAD management regional address meaning;It is retrieved to obtain energy information in the data storage area OAD of OAD data memory area address meaning.Pass through the index structure of electric energy meter information management area, OAD directorial area and the data storage area OAD, realize the retrieval to energy data, there was only three-level chained list due to structure and only exist and mutually search without being inquired between peer between the superior and the subordinate, reduces the memory that index structure integrally occupies.Disclosed herein as well is a kind of energy information retrieval device, server and computer readable storage mediums, have the above beneficial effect.

Description

A kind of energy information search method and relevant apparatus
Technical field
This application involves acquiring electric energy information and administrative skill field, in particular to a kind of energy information search method, electricity It can information indexing device, server and computer readable storage medium.
Background technique
With the development of electronic information technology, electronic information technology has been deep into every family, convenient for people's lives. It, can be by the data of the information system automatic collection electric energy meter of electric energy meter, to record, see in electric energy used in everyday It surveys, the normal operation of maintenance electric energy meter, realizes the control and management to electric energy meter, saved in realizing electric energy meter management A large amount of human cost.
Currently, in power collection systems object-oriented agreement acquisition terminal, need to carry out mass data storage use In retrieval, high requirement thus is needed for the storage of database and efficiency, non-linux wherein under database requirement more It is high.In the prior art, in acquiring electric energy information and the acquisition terminal of management system, PostgreSQL database is mostly used to carry out data greatly Storage and management.
But the database of open source needs committed memory resource more, and tie up to meet diversified functional requirement Difficulty angle is protected, is difficult to exclude there are problem, solves the problems, such as that progress is very slow.Meanwhile PostgreSQL database needs file system Being supported just can be used, higher to the request memory of acquisition terminal.And the typically no installation of acquisition terminal of energy information Biggish memory can not support biggish memory due to the limitation of cost and actual installation environment to database application.
Therefore, the requirement how reduced in the case where realizing the database function of acquisition terminal to memory is this field skill The Important Problems of art personnel concern.
Summary of the invention
The purpose of the application is to provide a kind of energy information search method, energy information retrieval device, server and meter Calculation machine readable storage medium storing program for executing can reduce the use to memory by three-stagesearch structure, while accelerate retrieval rate.
In order to solve the above technical problems, the application provides a kind of energy information search method, including:
Retrieval data type is determined according to electric energy meter search condition, in the corresponding electric energy meter information of the retrieval data type Directorial area is retrieved, and OAD management regional address is obtained;
OAD directorial area according to OAD search condition in OAD management regional address meaning is retrieved, and OAD data are obtained Store regional address;
It is examined according to OAD data retrieval condition in the data storage area OAD of the OAD data memory area address meaning Rope obtains energy information.
Optionally, retrieval data type is determined according to electric energy meter search condition, in the corresponding electricity of the retrieval data type Energy table information management area is retrieved, and OAD management regional address is obtained, including:
Retrieval data type is determined according to electric energy meter search condition, in the corresponding electric energy meter information of the retrieval data type Directorial area is retrieved, and the absolute first address of OAD directorial area is obtained;
Correspondingly, the OAD directorial area according to OAD search condition in OAD management regional address meaning is retrieved, obtain OAD data memory area address, including:
OAD directorial area according to OAD search condition in the absolute first address meaning of the OAD directorial area is retrieved, and is obtained The absolute first address in the data storage area OAD;
Correspondingly, according to OAD data retrieval condition in the data storage area OAD of the OAD data memory area address meaning It is retrieved, obtains energy information, including:
According to OAD data retrieval condition the data storage area OAD of the absolute first address meaning in the data storage area OAD into Row retrieval, obtains energy information.
Optionally, retrieval data type is determined according to electric energy meter search condition, in the corresponding electricity of the retrieval data type Energy table information management area is retrieved, and OAD management regional address is obtained, including:
The retrieval data type is determined according to the electric energy meter search condition;
When the retrieval data type be routine data, retrieved, obtained in routine data electric energy meter information management area The OAD manages regional address;
When the retrieval data type be event data, retrieved, obtained in event data electric energy meter information management area The OAD manages regional address.
Optionally, the OAD directorial area according to OAD search condition in OAD management regional address meaning is retrieved, and is obtained OAD data memory area address, including:
OAD directorial area according to OAD search condition in OAD management regional address meaning is searched, and OAD letter is obtained Breath;
The OAD data memory area address is determined according to the OAD information.
The application also provides a kind of energy information retrieval device, including:
Electric energy meter retrieval module, for determining retrieval data type according to electric energy meter search condition, in the retrieval data The corresponding electric energy meter information management area of type is retrieved, and OAD management regional address is obtained;
OAD retrieval module is carried out for the OAD directorial area according to OAD search condition in OAD management regional address meaning Retrieval, obtains OAD data memory area address;
Data retrieval module, for according to OAD data retrieval condition the OAD data memory area address meaning OAD Data storage area is retrieved, and energy information is obtained.
Optionally, the electric energy meter retrieval module includes:
Electric energy meter absolute address retrieval unit, for determining retrieval data type according to electric energy meter search condition, described The corresponding electric energy meter information management area of retrieval data type is retrieved, and the absolute first address of OAD directorial area is obtained;
Correspondingly, the OAD retrieval module includes:
OAD absolute address retrieval unit, for signified in the absolute first address of the OAD directorial area according to OAD search condition OAD directorial area retrieved, obtain the absolute first address in the data storage area OAD;
Correspondingly, the data retrieval module includes:
Data absolute address retrieval unit, for absolutely first in the data storage area OAD according to OAD data retrieval condition The data storage area OAD of address meaning is retrieved, and energy information is obtained.
Optionally, the electric energy meter retrieval module, including:
Data type determination unit, for determining the retrieval data type according to the electric energy meter search condition;
Routine data retrieval unit is believed for being routine data when the retrieval data type in routine data electric energy meter Breath directorial area is retrieved, and the OAD management regional address is obtained;
Event data retrieval unit is believed for being event data when the retrieval data type in event data electric energy meter Breath directorial area is retrieved, and the OAD management regional address is obtained.
Optionally, the OAD retrieval module, including:
OAD information acquisition unit, for managing the OAD directorial area of regional address meaning in the OAD according to OAD search condition It is searched, obtains OAD information;
Address determination unit, for determining the OAD data memory area address according to the OAD information.
The application also provides a kind of server, including:
Memory, for storing computer program;
Processor, the step of energy information search method as described above is realized when for executing the computer program.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium The step of machine program, the computer program realizes energy information search method as described above when being executed by processor.
A kind of energy information search method provided herein, including:Retrieval number is determined according to electric energy meter search condition It according to type, is retrieved in the corresponding electric energy meter information management area of the retrieval data type, obtains OAD management regional address;Root OAD directorial area according to OAD search condition in OAD management regional address meaning is retrieved, with obtaining the data storage area OAD Location;It is retrieved, is obtained in the data storage area OAD of the OAD data memory area address meaning according to OAD data retrieval condition Energy information.
By the index structure of electric energy meter information management area, OAD directorial area and the data storage area OAD, realize to electric energy The retrieval of data only has three-level chained list and only exists and mutually searched between the superior and the subordinate without being looked between peer due to structure It askes, therefore reduces the memory that index structure integrally occupies, and improve retrieval rate, when the index structure is placed on flash When middle operation, the data retrieval compared with low latency may be implemented, further decrease the occupancy to memory.
The application also provides a kind of energy information retrieval device, server and computer readable storage medium, have with Upper beneficial effect, this will not be repeated here.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of energy information search method provided by the embodiment of the present application;
Fig. 2 is the flow chart of another kind energy information search method provided by the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram of energy information retrieval device provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of energy information search method, energy information retrieval device, server and meter Calculation machine readable storage medium storing program for executing can reduce the use to memory by three-stagesearch structure, while accelerate retrieval rate.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The main database purchase energy information by installing open source in a device in the prior art, but in energy information The performance for acquiring the terminal used with management domain is lower, and generally uses the database of open source, and the usual function of PostgreSQL database It is more that committed memory can be enriched, it can not efficient operation in the terminal.Especially when retrieving data, need to occupy in a large amount of It deposits.
Therefore, the present embodiment provides a kind of energy information search methods, pass through electric energy meter information management area, OAD directorial area And the index structure of the data storage area OAD, it realizes the retrieval to energy data, there was only three-level chained list due to structure and only deposit It is mutually being searched between the superior and the subordinate without being inquired between peer, therefore is reducing the memory that index structure integrally occupies, and And improve retrieval rate, when the index structure is placed on run in flash when, the data retrieval compared with low latency may be implemented, into One step reduces the occupancy to memory.
Specifically, referring to FIG. 1, Fig. 1 is a kind of process of energy information search method provided by the embodiment of the present application Figure.
This method may include:
S101 determines retrieval data type according to electric energy meter search condition, in the corresponding electric energy meter letter of retrieval data type Breath directorial area is retrieved, and OAD management regional address is obtained;
This step is intended to determine retrieval data type according to electric energy meter search condition, in the corresponding electric energy of retrieval data type Table information management area is retrieved, and OAD (Object Attribute Descriptor object properties descriptor) directorial area is obtained Address.Wherein, OAD manages the address that regional address is OAD directorial area corresponding to electric energy meter search condition.This step is mainly Electric energy meter information management area is used into a variety of electric energy meter information management areas according to the difference of the type of the data stored, when it In certain a kind of data type needs when being updated or removing, electric energy meter information management area is carried out according to data type to operate meeting It is more convenient.For example, not having at this time to electric energy meter message tube when the electric energy meter information management area of event data needs to be purged Data type in reason area is screened, directly the data of the electric energy meter information management area of removing event data, is facilitated According to the data manipulation that data type carries out, the efficiency of the data processing of electric energy meter information management area is improved.
Wherein, electric energy meter information management area saves the corresponding relationship of electric energy table address and OAD management regional address, due to one Electric energy meter is usually corresponding with multiple OAD objects, and each OAD object saves different electric energy attribute values, for example, electric current, voltage or Power.
In S101, electric energy meter search condition includes electric energy meter information, therefore in the corresponding electric energy meter of retrieval data type The address of the corresponding OAD directorial area of the electric energy meter is retrieved in information management area according to electric energy meter information.Wherein, electric energy meter is retrieved Condition may include the serial number of the ID number or electric energy meter of electric energy meter in the electric energy meter information management area, can also be The address of electric energy meter.
Optionally, this step can also include managing regional address to OAD by the check code in electric energy meter information management area It is verified, keeps the correctness of OAD management regional address, prevent the address read error.
Optionally, this step may include:
Step 1: determining retrieval data type according to electric energy meter search condition;
Step 2: being retrieved, being obtained in routine data electric energy meter information management area when retrieval data type is routine data Regional address is managed to OAD;
Step 3: being retrieved, being obtained in event data electric energy meter information management area when retrieval data type is event data Regional address is managed to OAD.
According to retrieval data type in this optinal plan, routine data electric energy meter letter has been divided into electric energy meter information management Directorial area and event data electric energy meter information management area are ceased, selects corresponding electric energy meter to believe further according to determining retrieval data type Breath directorial area is retrieved.
S102, the OAD directorial area according to OAD search condition in OAD management regional address meaning are retrieved, are obtained corresponding OAD data memory area address;
On the basis of step S101, this step is intended to the OAD according to OAD search condition in OAD management regional address meaning Directorial area is retrieved, and OAD data memory area address is obtained.Wherein, OAD directorial area saves the multiple of corresponding electric energy meter OAD information, each OAD information include but is not limited to OAD data memory area address, data item OAD, gap periods, OAD type, Storage depth, data item OAD data length and check bit data.
Accordingly, it is possible to be retrieved in OAD directorial area by OAD search condition, with obtaining the data storage area OAD Location.It is retrieved specifically, OAD search condition can be by data item OAD, is also possible to be retrieved by OAD type, It can also be and retrieved by OAD data length, can also be which type of data by required OAD data, and select Suitable OAD search condition is selected, is not specifically limited herein.
The OAD data memory area address obtained after retrieval has been directed toward the data storage area OAD, directly stores in the memory block The OAD data that can be used.For example, OAD data memory area address has been directed toward current data storage regional address, stored in the area It is the current data recorded according to certain rule entirely, at this time in the electric current number needed according to OAD data retrieval conditional information retrieval According to.
Optionally, this step may include:
Step 1: the OAD directorial area according to OAD search condition in OAD management regional address meaning is searched, OAD is obtained Information;
Step 2: determining OAD data memory area address according to OAD information.
This optinal plan describes a kind of method for retrieving OAD data memory area address, first pass through OAD search condition into Row is searched and obtains corresponding OAD information, since OAD information contains a variety of data, the determination from OAD information is needed to obtain OAD Data memory area address.
S103 is examined according to OAD data retrieval condition in the data storage area OAD of OAD data memory area address meaning Rope obtains energy information.
On the basis of step S102, this step is intended to be retrieved according to OAD search condition in the data storage area OAD, Obtain energy information.Wherein, the data storage area OAD is the memory block of OAD data memory area address meaning.
This embodiment describes one kind to be based on electric energy meter information management area, OAD directorial area and the data storage area OAD three The energy information search method of data field namely three tables.Since the mode of energy information is simple, need using more complicated inspection Rope mode, therefore the storage of energy information data is achieved that in the present embodiment by the structure of three tables, it greatly simplifies Data store organisation and index structure are avoided using the complicated and cumbersome data store organisation in prior art database, And it does not need using database in the prior art to be support.Having subtracted unwanted functional structure in database reduces pair Data storage function can be used in the lesser terminal of memory in the occupancy of memory.Simultaneously as the retrieval mode is simple, Retrieval mode only between level-one and another grade, there is no the retrievals between level-one, therefore retrieval rate is very fast, can should Data storage function uses in the flash (flash memory) of terminal, is further reduced the occupancy to memory, reduces the cost of terminal.
On the basis of a upper embodiment, the present embodiment is another for the speed offer for further increasing energy information retrieval Kind energy information search method.In the present embodiment, mainly retrieves to obtain OAD directorial area by absolute first address and OAD data are deposited Storage area, due to absolute first address be that static address is kept fixed within a certain period of time constant, and nondynamic address or relative address It carries out jumping processing in search procedure, accelerate address jumps speed, has further speeded up energy information retrieval Speed.
Specifically, referring to FIG. 2, Fig. 2 is the stream of another kind energy information search method provided by the embodiment of the present application Cheng Tu.
This method may include:
S201 determines retrieval data type according to electric energy meter search condition, in the corresponding electric energy meter letter of retrieval data type Breath directorial area is retrieved, and the absolute first address of OAD directorial area is obtained;
S202, the OAD directorial area according to OAD search condition in the absolute first address meaning of OAD directorial area are retrieved, are obtained The absolute first address in the data storage area OAD;
S203, according to OAD data retrieval condition in the data storage area OAD of the absolute first address meaning in the data storage area OAD It is retrieved, obtains energy information.
The main distinction of the S201 to S203 of the present embodiment and a upper embodiment be retrieve respectively obtain be OAD management The absolute first address of the absolute first address in area and the data storage area OAD can quickly find corresponding number by absolute first address According to storage table, to accelerate the speed of energy information retrieval.So that when the database that the embodiment provides is used in flash Also the data retrieval of low latency may be implemented.
Based on above embodiments, the embodiment of the present application can also provide a kind of database construction method, can by this method To construct the database of three tables in above-described embodiment.Specifically, the database is made of three-level chained list, it is electric energy respectively Table information management area, OAD information management area and the data storage area OAD.
Wherein, electric energy meter information management area data renewal frequency is lower facilitates peasant household relatively stable.Every time only in scheme When changing, be possible to need to refresh again primary.Other mosts of the time keep stablizing, and do not need erasable, it is only necessary to Reading.Routine data and event data are stored separately, and are divided into 2 electric energy meter information management areas.For the peace for guaranteeing the information area Quan Xing can save a backup to electric energy meter information management area.Verification uses:Electric energy table address+oad_info_addr's Crc16 value, the storage of 2 bytes.The estimation of electric energy meter information management area memory space:(8+4+2) * 1024*2=28KB byte.
Electric energy meter information management area, main contents include:Electric energy meter address information, electric energy meter OAD manage absolute first address The check bit of (being directed toward OAD information management area) and the former information, verification use 2 byte CRC.
Data structure is as follows:
OAD information management area, OAD information management regional address by electric energy meter information management area " OAD directorial area is absolutely first Location " oad_info_addr is obtained.The address determines write-in when creating tables of data Sheet.Executing code is:Sheet+ meter、oad_info_addr+infoOAD、Addr。
OAD information management area main contents include:Data store first address (i.e. the execution data storage area OAD), data item OAD, gap periods, OAD type, storage depth, the check bit of data item OAD data length and the former information, verification use 2 Byte CRC.
Wherein, data item OAD_X:All known marks of DL698.45 agreement and undefined mark.INT32U data class Type.
The data storage area location head Addr_X:Each OAD mark, the absolute first address of data storage area, by electric energy meter information Directorial area is calculated when creating.INT32U data type.
Gap periods TI:Data storage cycles are indicated, to distinguish the same Data Identification different interval, referring specifically to TI Description.INT8U [3] data type.
Data type Type:The corresponding feature of OAD data item is indicated, such as the differentiation of real time data and freezing data.Its In, 1 byte, OAD_TYPE enumerated data type:
Data length:OAD data item it is corresponding one record, length, byte unit.This data length includes T1+T2+ T3+DATA.INT16U data type.
Check bit:
Using table address+OAD management area information, crc16,2 bytes are calculated.
OAD information management area memory space is estimated:
The OAD information management area of one electric energy meter, memory space estimation (support 64 OAD Data Identification meters according to maximum It calculates):(4+4+3+1+2+2+2+2) * 64=20*64 byte=1280 bytes is calculated, Data Identification management according to 1024 meters The size in area needs:1024*1280=1.28MB memory space.
The data structure of OAD information is as follows:
OAD data memory area address is obtained by " the data storage area location the head " addr_x of OAD information management area.The address exists When increasing OAD, dynamically distributes address and be written.
The data storage area OAD main contents include record head HEAD-Sum, record the moment, acquisition starting markers, acquisition at Function markers, acquisition storage markers, real data length, data are gone, and data field verification, verification uses 2 byte CRC.
It estimates in the space of the data storage area OAD:
The data storage area OAD of one electric energy meter, memory space estimation (support 64 OAD Data Identification meters according to maximum It calculates, 32 byte of mean data length, average storage depth 16):(20+32+4) * 64 * 16=56KB.According to 1024 meters It calculates, data space:1024*56K=56MB.
The structural body of OAD data is as follows:
The embodiment of the present application provides a kind of construction method of database, can construct to obtain three-level chained list by the method Database for storing energy information, due to only needing to realize the retrieval to energy information, do not need additional other data Library facility reduces the function of needing to realize, therefore can reduce the use to memory.Meanwhile the structure of table is simply to electricity Energy information can accelerate retrieval rate when being retrieved, and when spatial database is stored in flash also be may be implemented compared with low latency Information retrieval speed.
A kind of energy information retrieval device provided by the embodiments of the present application is introduced below, a kind of electricity described below Can information indexing device with a kind of above-described energy information search method can correspond to each other reference.
Referring to FIG. 3, Fig. 3 is a kind of structural schematic diagram of energy information retrieval device provided by the embodiment of the present application.
The apparatus may include:
Electric energy meter retrieval module 100, for determining retrieval data type according to electric energy meter search condition, in retrieval data class The corresponding electric energy meter information management area of type is retrieved, and OAD management regional address is obtained;
OAD retrieval module 200 is carried out for the OAD directorial area according to OAD search condition in OAD management regional address meaning Retrieval, obtains OAD data memory area address;
Data retrieval module 300, for according to OAD data retrieval condition OAD data memory area address meaning OAD number It is retrieved according to memory block, obtains energy information.
Optionally, electric energy meter retrieval module 100 may include:
Electric energy meter absolute address retrieval unit is being retrieved for determining retrieval data type according to electric energy meter search condition The corresponding electric energy meter information management area of data type is retrieved, and the absolute first address of OAD directorial area is obtained;
Correspondingly, OAD retrieval module 200 may include:
OAD absolute address retrieval unit, for according to OAD search condition the absolute first address meaning of OAD directorial area OAD Directorial area is retrieved, and the absolute first address in the data storage area OAD is obtained;
Correspondingly, data retrieval module 300 may include:
Data absolute address retrieval unit is used for according to OAD data retrieval condition in the absolute first address in the data storage area OAD The signified data storage area OAD is retrieved, and energy information is obtained.
Optionally, electric energy meter retrieval module 100 may include:
Data type determination unit, for determining retrieval data type according to electric energy meter search condition;
Routine data retrieval unit, for being routine data when retrieval data type, in routine data electric energy meter message tube Reason area is retrieved, and OAD management regional address is obtained;
Event data retrieval unit, for being event data when retrieval data type, in event data electric energy meter message tube Reason area is retrieved, and OAD management regional address is obtained.
Optionally, OAD retrieval module 200 may include:
OAD information acquisition unit is carried out for the OAD directorial area according to OAD search condition in OAD management regional address meaning It searches, obtains OAD information;
Address determination unit, for determining OAD data memory area address according to OAD information.
The embodiment of the present application also provides a kind of server, including:
Memory, for storing computer program;
Processor, when for executing computer program the step of the realization such as energy information search method of above embodiments.
The embodiment of the present application also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, when computer program is executed by processor the step of the realization such as energy information search method of above embodiments.
The computer readable storage medium may include:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists This is not repeated them here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to a kind of energy information search method provided herein, energy information retrieval device, server and Computer readable storage medium is described in detail.Principle and embodiment of the specific case to the application used herein It is expounded, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that For those skilled in the art, under the premise of not departing from the application principle, can also to the application into Row some improvements and modifications, these improvement and modification are also fallen into the protection scope of the claim of this application.

Claims (10)

1. a kind of energy information search method, which is characterized in that including:
Retrieval data type is determined according to electric energy meter search condition, in the corresponding electric energy meter information management of the retrieval data type Area is retrieved, and OAD management regional address is obtained;
OAD directorial area according to OAD search condition in OAD management regional address meaning is retrieved, and the storage of OAD data is obtained Regional address;
It is retrieved, is obtained in the data storage area OAD of the OAD data memory area address meaning according to OAD data retrieval condition To energy information.
2. energy information search method according to claim 1, which is characterized in that determined and examined according to electric energy meter search condition Rope data type is retrieved, with obtaining OAD directorial area in the corresponding electric energy meter information management area of the retrieval data type Location, including:
Retrieval data type is determined according to electric energy meter search condition, in the corresponding electric energy meter information management of the retrieval data type Area is retrieved, and the absolute first address of OAD directorial area is obtained;
Correspondingly, the OAD directorial area according to OAD search condition in OAD management regional address meaning is retrieved, OAD is obtained Data memory area address, including:
OAD directorial area according to OAD search condition in the absolute first address meaning of the OAD directorial area is retrieved, and OAD number is obtained According to the absolute first address in memory block;
Correspondingly, being carried out according to OAD data retrieval condition in the data storage area OAD of the OAD data memory area address meaning Retrieval, obtains energy information, including:
It is examined according to OAD data retrieval condition in the data storage area OAD of the absolute first address meaning in the data storage area OAD Rope obtains energy information.
3. energy information search method according to claim 1, which is characterized in that determined and examined according to electric energy meter search condition Rope data type is retrieved, with obtaining OAD directorial area in the corresponding electric energy meter information management area of the retrieval data type Location, including:
The retrieval data type is determined according to the electric energy meter search condition;
When the retrieval data type is routine data, is retrieved, obtained described in routine data electric energy meter information management area OAD manages regional address;
When the retrieval data type is event data, is retrieved, obtained described in event data electric energy meter information management area OAD manages regional address.
4. energy information search method according to claim 1, which is characterized in that according to OAD search condition in the OAD The OAD directorial area of management regional address meaning is retrieved, and OAD data memory area address is obtained, including:
OAD directorial area according to OAD search condition in OAD management regional address meaning is searched, and OAD information is obtained;
The OAD data memory area address is determined according to the OAD information.
5. a kind of energy information retrieves device, which is characterized in that including:
Electric energy meter retrieval module, for determining retrieval data type according to electric energy meter search condition, in the retrieval data type Corresponding electric energy meter information management area is retrieved, and OAD management regional address is obtained;
OAD retrieval module is examined for the OAD directorial area according to OAD search condition in OAD management regional address meaning Rope obtains OAD data memory area address;
Data retrieval module, for according to OAD data retrieval condition the OAD data memory area address meaning OAD data Memory block is retrieved, and energy information is obtained.
6. energy information according to claim 5 retrieves device, which is characterized in that the electric energy meter retrieval module includes:
Electric energy meter absolute address retrieval unit, for determining retrieval data type according to electric energy meter search condition, in the retrieval The corresponding electric energy meter information management area of data type is retrieved, and the absolute first address of OAD directorial area is obtained;
Correspondingly, the OAD retrieval module includes:
OAD absolute address retrieval unit, for according to OAD search condition the absolute first address meaning of the OAD directorial area OAD Directorial area is retrieved, and the absolute first address in the data storage area OAD is obtained;
Correspondingly, the data retrieval module includes:
Data absolute address retrieval unit is used for according to OAD data retrieval condition in the absolute first address in the data storage area OAD The signified data storage area OAD is retrieved, and energy information is obtained.
7. energy information according to claim 5 retrieves device, which is characterized in that the electric energy meter retrieval module, including:
Data type determination unit, for determining the retrieval data type according to the electric energy meter search condition;
Routine data retrieval unit, for being routine data when the retrieval data type, in routine data electric energy meter message tube Reason area is retrieved, and the OAD management regional address is obtained;
Event data retrieval unit, for being event data when the retrieval data type, in event data electric energy meter message tube Reason area is retrieved, and the OAD management regional address is obtained.
8. energy information according to claim 5 retrieves device, which is characterized in that the OAD retrieval module, including:
OAD information acquisition unit is carried out for the OAD directorial area according to OAD search condition in OAD management regional address meaning It searches, obtains OAD information;
Address determination unit, for determining the OAD data memory area address according to the OAD information.
9. a kind of server, which is characterized in that including:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the described in any item energy information retrievals of Claims 1-4 The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as Claims 1-4 described in any item energy information retrieval sides when the computer program is executed by processor The step of method.
CN201810677200.9A 2018-06-27 2018-06-27 A kind of energy information search method and relevant apparatus Pending CN108920594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810677200.9A CN108920594A (en) 2018-06-27 2018-06-27 A kind of energy information search method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810677200.9A CN108920594A (en) 2018-06-27 2018-06-27 A kind of energy information search method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN108920594A true CN108920594A (en) 2018-11-30

Family

ID=64422502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810677200.9A Pending CN108920594A (en) 2018-06-27 2018-06-27 A kind of energy information search method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN108920594A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427396A (en) * 2019-08-02 2019-11-08 南方电网科学研究院有限责任公司 Electric energy meter data retrieval method, device, equipment and computer readable storage medium
CN112614331A (en) * 2020-12-14 2021-04-06 杭州海兴电力科技股份有限公司 Method for reading electric energy meter event and electric energy meter event reading system
CN116303124A (en) * 2023-03-29 2023-06-23 浙江正泰仪器仪表有限责任公司 Data searching method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389997A (en) * 2012-05-10 2013-11-13 深圳市金蝶友商电子商务服务有限公司 Invoice information retrieval method and system
CN104835095A (en) * 2015-04-24 2015-08-12 贺星 Cloud computing health care public service platform
US20170177328A1 (en) * 2015-12-18 2017-06-22 International Business Machines Corporation Identifying user managed software modules
CN107870973A (en) * 2017-09-20 2018-04-03 广东东为信息技术有限公司 A kind of document storage system accelerated multi-path monitoring and played back simultaneously
CN107957904A (en) * 2017-11-21 2018-04-24 积成电子股份有限公司 The power information acquisition tasks management method of exchange agreement based on object-oriented

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389997A (en) * 2012-05-10 2013-11-13 深圳市金蝶友商电子商务服务有限公司 Invoice information retrieval method and system
CN104835095A (en) * 2015-04-24 2015-08-12 贺星 Cloud computing health care public service platform
US20170177328A1 (en) * 2015-12-18 2017-06-22 International Business Machines Corporation Identifying user managed software modules
CN107870973A (en) * 2017-09-20 2018-04-03 广东东为信息技术有限公司 A kind of document storage system accelerated multi-path monitoring and played back simultaneously
CN107957904A (en) * 2017-11-21 2018-04-24 积成电子股份有限公司 The power information acquisition tasks management method of exchange agreement based on object-oriented

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427396A (en) * 2019-08-02 2019-11-08 南方电网科学研究院有限责任公司 Electric energy meter data retrieval method, device, equipment and computer readable storage medium
CN112614331A (en) * 2020-12-14 2021-04-06 杭州海兴电力科技股份有限公司 Method for reading electric energy meter event and electric energy meter event reading system
CN116303124A (en) * 2023-03-29 2023-06-23 浙江正泰仪器仪表有限责任公司 Data searching method and device, electronic equipment and storage medium
CN116303124B (en) * 2023-03-29 2024-01-30 浙江正泰仪器仪表有限责任公司 Data searching method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10740308B2 (en) Key_Value data storage system
CN103425663B (en) Embedded system data base establishment table, deposit record, the method and apparatus for deleting record
US10229129B2 (en) Method and apparatus for managing time series database
CN103336849B (en) A kind of database retrieval system improves the method and device of retrieval rate
CN104583891B (en) For the devices, systems and methods that the adaptable caching in non-volatile main memory system is changed
CN106201355B (en) Data processing method and device and storage system
CN107026881B (en) Method, device and system for processing service data
CN106648446A (en) Time series data storage method and apparatus, and electronic device
CN108920594A (en) A kind of energy information search method and relevant apparatus
CN108733507A (en) The method and apparatus of file backup and recovery
CN105468642A (en) Data storage method and apparatus
CN110008142A (en) Storing data management method, device, equipment and computer readable storage medium
TW201346932A (en) Data migration for composite non-volatile storage device
CN108090165A (en) A kind of acquisition methods of the collection of illustrative plates variation based on embedded chart database
CN109144791A (en) Data conversion storage method, apparatus and data management server
CN109117088A (en) A kind of data processing method and system
CN104050057B (en) Historical sensed data duplicate removal fragment eliminating method and system
CN104461384B (en) A kind of method for writing data and storage device
CN107506466A (en) A kind of small documents storage method and system
CN116166849A (en) Data management method, device, equipment and storage medium
CN109189343A (en) A kind of metadata rule method, apparatus, equipment and computer readable storage medium
CN109446167A (en) A kind of storage of daily record data, extracting method and device
CN105677650B (en) A kind of data cached storage method and device
CN105138278B (en) A kind of the naked of intelligent substation network message takes inventory method for storing
CN104391947A (en) Real-time processing method and system of mass GIS (geographic information system) data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication