CN114238232B - Intelligent ammeter file reading and writing system, method, equipment and medium - Google Patents

Intelligent ammeter file reading and writing system, method, equipment and medium Download PDF

Info

Publication number
CN114238232B
CN114238232B CN202111538014.5A CN202111538014A CN114238232B CN 114238232 B CN114238232 B CN 114238232B CN 202111538014 A CN202111538014 A CN 202111538014A CN 114238232 B CN114238232 B CN 114238232B
Authority
CN
China
Prior art keywords
data
file
read
write
reading
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.)
Active
Application number
CN202111538014.5A
Other languages
Chinese (zh)
Other versions
CN114238232A (en
Inventor
张晓平
李向锋
王鹏
霍梓航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Power Technology Co Ltd
Original Assignee
China Southern Power Grid Power 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 China Southern Power Grid Power Technology Co Ltd filed Critical China Southern Power Grid Power Technology Co Ltd
Priority to CN202111538014.5A priority Critical patent/CN114238232B/en
Publication of CN114238232A publication Critical patent/CN114238232A/en
Application granted granted Critical
Publication of CN114238232B publication Critical patent/CN114238232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files

Abstract

The application discloses a system, a method, equipment and a medium for reading and writing a file of an intelligent electric meter, wherein a file identification module identifies a data file of the intelligent electric meter and generates a data identification of the data file; the address segment dividing module divides the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, and each address segment corresponds to one data type; the attribute configuration module configures the attribute corresponding to each address segment according to the data type corresponding to each address segment; when the driver program receives a file reading or writing request from the data reading or writing interface, corresponding attributes are determined according to target data identifiers carried by the file reading or writing request, and corresponding reading or writing operation is carried out according to the attributes, so that the technical problems that the existing reading and writing method of the universal file system cannot adapt to the intelligent electric meter, data loss is easily caused by unreasonable storage of the data files, and the operation reliability of the intelligent electric meter is affected are solved.

Description

Intelligent ammeter file reading and writing system, method, equipment and medium
Technical Field
The application relates to the technical field of data processing, in particular to a system, a method, equipment and a medium for reading and writing a file of an intelligent electric meter.
Background
The traditional ammeter has the advantages of solidified functions, few data types and simple data structure, and can meet the read-write and storage requirements of basic data even though the traditional ammeter does not depend on a file system. The novel intelligent electric meter is rich in application types, especially in a novel electric power system, the new energy duty ratio is improved, the intelligent electric meter is required to participate in energy interaction more, so that the data types of the intelligent electric meter are more various, the data structure is complex, the storage position and the storage mode of the data have different requirements, the existing reading and writing method of the universal file system cannot adapt to the intelligent electric meter, and the data loss is easily caused by unreasonable storage of the data files, so that the operation reliability of the intelligent electric meter is influenced.
Disclosure of Invention
The application provides a smart meter file reading and writing system, a method, equipment and a medium, which are used for improving the technical problems that the reading and writing method of the existing general file system cannot be suitable for a smart meter, data loss is easily caused by unreasonable storage of data files, and the operation reliability of the smart meter is affected.
In view of this, the first aspect of the present application provides a smart meter file reading and writing system, including: the device comprises a data read-write interface, a file identification module, an address segment dividing module, an attribute configuration module and a driver;
the file identification module is used for identifying the data file of the intelligent ammeter and generating a data identification of the data file;
the address segment dividing module is used for dividing the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, and each address segment corresponds to one data type;
the attribute configuration module is used for configuring attributes corresponding to each address segment according to the data type corresponding to each address segment, wherein the attributes comprise the data type, the disc symbol, the read-write mode and the read-write length;
and the driver is used for determining the corresponding attribute according to the target data identifier carried by the file read or write request when the data read or write interface receives the file read or write request, and performing corresponding read or write operation according to the attribute.
Optionally, the driver is specifically configured to:
when a data read-write interface receives a file read-write request, acquiring a target data identifier carried by the request;
determining the attribute corresponding to the target data identifier according to the address segment to which the target data identifier belongs;
and performing corresponding data reading operation or writing operation according to the attribute corresponding to the target data identifier.
Optionally, the driver is further configured to:
and judging whether the read or write operation is normal or not, and returning to call errors when judging that the read or write operation is abnormal.
Optionally, the attribute further includes a verification manner, and the driver is further configured to:
after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result;
and when the verification result is abnormal, returning a calling error, and when the verification result is normal, returning a reading or writing result.
Optionally, the driver is further configured to:
and judging whether the target data identifier is qualified or not, and if not, returning to call errors.
The second aspect of the present application provides a method for reading and writing a file of a smart meter, which is applied to any one of the read and write systems of the first aspect of the present application, and the method includes:
identifying a data file of the intelligent ammeter, and generating a data identification of the data file;
dividing the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, wherein each address segment corresponds to one data type;
configuring attributes corresponding to each address segment according to the data type corresponding to each address segment, wherein the attributes comprise the data type, the disc character, the read-write mode and the read-write length;
when the data read-write interface receives a file read-write request, corresponding attributes are determined according to a target data identifier carried by the file read-write request, and corresponding read operation or write operation is performed according to the attributes.
Optionally, when the data read-write interface receives a file read-write request, determining a corresponding attribute according to a target data identifier carried by the file read-write request, and performing a corresponding read operation or write operation according to the attribute, where the determining includes:
when a data read-write interface receives a file read-write request, acquiring a target data identifier carried by the request;
determining the attribute corresponding to the target data identifier according to the address segment to which the target data identifier belongs;
and performing corresponding data reading operation or writing operation according to the attribute corresponding to the target data identifier.
Optionally, the attribute further includes a verification manner, and the method further includes:
judging whether the read or write operation is normal or not, and returning to call errors when judging that the read or write operation is abnormal;
after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result;
and when the verification result is abnormal, returning a calling error, and when the verification result is normal, returning a reading or writing result.
A third aspect of the present application provides a smart meter file reading and writing device, the device including a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the method for reading and writing the smart meter file according to any one of the second aspect according to the instruction in the program code.
A fourth aspect of the present application provides a computer readable storage medium storing program code, which when executed by a processor, implements the method for reading and writing a smart meter file according to any one of the second aspects.
From the above technical scheme, the application has the following advantages:
the application provides a smart electric meter file read-write system, include: the device comprises a data read-write interface, a file identification module, an address segment dividing module, an attribute configuration module and a driver; the file identification module is used for identifying the data file of the intelligent ammeter and generating a data identification of the data file; the address segment dividing module is used for dividing the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, and each address segment corresponds to one data type; the attribute configuration module is used for configuring attributes corresponding to the address segments according to the data types corresponding to the address segments, wherein the attributes at least comprise the data types and the read-write modes; and the driver is used for determining the corresponding attribute according to the target data identifier carried by the file read or write request when the data read or write interface receives the file read or write request, and performing corresponding read or write operation according to the attribute.
In the application, all data types of the intelligent electric meter are classified and standardized in important attribute, unique identification is carried out on data files, unified and simplified file read-write interface standard is provided, error reading, error storage and missing backup of important data of the intelligent electric meter are avoided, quick retrieval, safe and reliable classification operation of all data of the intelligent electric meter are realized, an APP programming interface is simplified, the technical problem that the read-write method of the conventional universal file system cannot be suitable for the intelligent electric meter, data loss is easily caused by unreasonable storage of the data files, and the operation reliability of the intelligent electric meter is affected is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a smart meter file reading and writing system provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for reading and writing a file of a smart meter according to an embodiment of the present application.
Detailed Description
The application provides a smart meter file reading and writing system, a method, equipment and a medium, which are used for improving the technical problems that the reading and writing method of the existing general file system cannot be suitable for a smart meter, data loss is easily caused by unreasonable storage of data files, and the operation reliability of the smart meter is affected.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The general file system cannot adapt to the novel intelligent ammeter for two reasons: firstly, most of the universal file system systems are large, equipment resources are occupied too much, and the universal file system systems are not suitable for the microkernel operating system architecture of the novel electric meter; more importantly, the universal file system only provides a universal file read-write interface, the read-write and storage specifications of specific data files of the intelligent ammeter are not formed, and the file read-write interface is not standardized particularly under the allowable types, storage modes and verification modes of the files and the special running state of the ammeter, so that the problems that the reliable running of the ammeter is affected due to data loss, unstable running and the like caused by unreasonable storage of the files are easy, and the file read-write interface cannot be provided for an APP simply, quickly and reliably, and the development difficulty of the APP of the ammeter cannot be reduced.
In order to improve the above problems, referring to fig. 1, an embodiment of the present application provides a smart meter file reading and writing system, including: a data read-write interface 11, a file identification module 12, an address segment dividing module 13, an attribute configuration module 14 and a driver 15;
the file identification module 12 is used for identifying a data file of the intelligent ammeter and generating a data identification of the data file;
the address segment dividing module 13 is configured to divide a range of the data identifier according to a data type of the data file, so as to obtain a plurality of address segments, where each address segment corresponds to one data type;
the attribute configuration module 14 is configured to configure attributes corresponding to each address segment according to the data type corresponding to each address segment, where the attributes include a data type, a disc symbol, a read-write mode and a read-write length;
and the driver 15 is configured to determine, when the data read-write interface 11 receives a file read-write request, a corresponding attribute according to a target data identifier carried by the file read-write request, and perform a corresponding read operation or write operation according to the attribute.
The data read-write interface 11 in the embodiment of the application provides a unified interface for reading and writing data files for developers and application APP; the file identification module 12 identifies a data file of the smart meter and generates a data identification of the data file; the data identification FSID provided by the file identification module 12 is unique for identifying a data file. The address segment dividing module 13 divides the range of the data identifier FSID to obtain a plurality of segments, each segment is an address segment, each address segment corresponds to a data type, and an FSID table can be generated for querying the address segment. The attribute configuration module 14 configures attributes corresponding to each address segment according to the data type corresponding to each address segment, wherein the attributes comprise a data type, a drive letter, a read-write mode and a read-write length, the data type comprises electric energy data, RAM temporary data, operation parameters, peripheral equipment and the like, and all the attributes can be uniquely determined by a data identifier FSID. When the data read/write interface 11 receives a file read or write request, the driver 15 determines a corresponding attribute according to a target data identifier carried by the file read or write request, and performs conversion of a virtual drive to a physical address and corresponding data read operation or write operation according to the attribute, where the data read or write operation includes multiple storage device types, such as RAM, EEPROM, FLASH, CHAR character devices. The data read-write interface is positioned at an application layer of the read-write system, the file identification module, the address segment dividing module and the attribute configuration module belong to a kernel layer of the read-write system, and the driver is positioned at a driver layer of the read-write system.
Further, the driver 15 is specifically configured to:
when a data read-write interface receives a file read-write request, acquiring a target data identifier carried by the request;
determining the attribute corresponding to the target data identifier according to the address segment to which the target data identifier belongs;
and performing corresponding data reading operation or writing operation according to the attribute corresponding to the target data identifier.
Further, the driver 15 is also configured to:
and judging whether the target data identification is qualified or not, and if not, returning to call errors.
In the embodiment of the present application, the data identifier is identified by bytes, so that the qualification range of the data identifier is 0 to 25535, when the target data identifier is not within the qualification range, the target data identifier is determined to be unqualified, a call error is returned, and when the target data identifier is determined to be qualified within the qualification range, the address field to which the target data identifier belongs is queried through the FSID table, so as to determine the corresponding attribute.
Further, the driver 15 is also configured to:
judging whether the read or write operation is normal or not, and returning to call errors when judging that the read or write operation is abnormal;
after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result;
and when the verification result is abnormal, returning a calling error, and when the verification result is normal, returning a reading or writing result.
The attribute in the embodiment of the application further includes a verification manner, after performing a read or write operation, the driver 15 determines whether the read or write operation is normal, and returns a call error when it is determined that the read or write operation is abnormal; after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result; when the checking result is abnormal, a calling error is returned, and the error can guide the system to restart or restore and then carry out data multiple backup and checking again; and when the verification result is normal, returning a reading or writing result, and ending the data reading and writing.
According to the embodiment of the application, all data types of the intelligent electric meter are classified and standardized in important attribute, unique identification is carried out through the FSID, unified and simplified file read-write interface standard is provided, error reading, error storage and missing backup of important data of the intelligent electric meter are avoided, quick retrieval, safe and reliable classification operation of all data of the intelligent electric meter are realized, and meanwhile an APP programming interface is simplified.
The above is an embodiment of a smart meter file reading and writing system provided in the present application, and the following is an embodiment of a smart meter file reading and writing method provided in the present application.
The embodiment of the application provides a method for reading and writing a file of an intelligent electric meter, which is applied to the system for reading and writing the file of the intelligent electric meter in the previous embodiment, and the method comprises the following steps:
and 101, marking a data file of the intelligent ammeter, and generating a data mark of the data file.
The data identification FSID of each data file is unique for identifying the data file.
Step 102, dividing the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, wherein each address segment corresponds to one data type.
Referring to fig. 2, the range of the data identifier FSID may be divided to obtain a plurality of sections, each section is an address segment, each address segment corresponds to a data type, and an FSID table may be generated for address segment query.
And 103, configuring attributes corresponding to the address segments according to the data types corresponding to the address segments, wherein the attributes comprise the data types, the disc symbols, the read-write modes and the read-write lengths.
And configuring attributes corresponding to each address segment according to the data type corresponding to each address segment, wherein the attributes comprise data types, disk symbols, read-write modes and read-write lengths, the data types comprise electric energy data, RAM temporary data, operation parameters, peripheral equipment and the like, and all the attributes can be uniquely determined by a data identifier FSID.
Step 104, when the data read-write interface receives a file read-write request, determining a corresponding attribute according to a target data identifier carried by the file read-write request, and performing corresponding read operation or write operation according to the attribute.
When the data read-write interface receives a file read-write request, corresponding attributes are determined according to a target data identifier carried by the file read-write request, and conversion of a virtual drive to a physical address and corresponding data read operation or write operation are executed according to the attributes, wherein the data read-write interface comprises multiple storage device types, such as RAM, EEPROM, FLASH, CHAR character devices.
Specifically, when a data read-write interface receives a file read-write request, a target data identifier carried by the request is obtained; then judging whether the target data identifier is qualified or not, wherein the data identifier in the embodiment of the application is identified by bytes, so that the qualification range of the data identifier is 0 to 25535, when the target data identifier is not in the qualification range, judging that the target data identifier is unqualified, returning to calling error, and when the target data identifier is in the qualification range, judging that the target data identifier is qualified, inquiring an address field to which the target data identifier belongs through an FSID table, and determining an attribute corresponding to the target data identifier according to the address field to which the target data identifier belongs; and performing corresponding data reading operation or writing operation according to the attribute corresponding to the target data identifier.
Further, judging whether the read or write operation is normal or not, and returning to call errors when judging that the read or write operation is abnormal; after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result; and when the verification result is abnormal, returning a calling error, and when the verification result is normal, returning a reading or writing result.
According to the embodiment of the application, all data types of the intelligent electric meter are classified and standardized in important attribute, unique identification is carried out through the FSID, unified and simplified file read-write interface standard is provided, error reading, error storage and missing backup of important data of the intelligent electric meter are avoided, quick retrieval, safe and reliable classification operation of all data of the intelligent electric meter are realized, and meanwhile an APP programming interface is simplified.
The embodiment of the application also provides a smart meter file reading and writing device, which comprises a processor and a memory;
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is used for executing the intelligent ammeter file reading and writing method in the method embodiment according to the instructions in the program codes.
The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium is used for storing program codes which are executed by a processor to realize the method for reading and writing the intelligent ammeter file in the embodiment of the method.
The terms "first," "second," "third," "fourth," and the like in the description of the present application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be capable of operation in sequences other than those illustrated or described herein, for example. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in this application, "at least one" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to execute all or part of the steps of the methods described in the embodiments of the present application by a computer device (which may be a personal computer, a server, or a network device, etc.). And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (8)

1. A smart meter file read-write system, comprising: the device comprises a data read-write interface, a file identification module, an address segment dividing module, an attribute configuration module and a driver;
the file identification module is used for identifying the data file of the intelligent ammeter and generating a data identification of the data file;
the address segment dividing module is used for dividing the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, and each address segment corresponds to one data type;
the attribute configuration module is used for configuring attributes corresponding to each address segment according to the data type corresponding to each address segment, wherein the attributes comprise the data type, the disc symbol, the read-write mode and the read-write length;
the driver is configured to determine, when the data read-write interface receives a file read-write request, a corresponding attribute according to a target data identifier carried by the file read-write request, and perform a corresponding read operation or write operation according to the attribute, where the specific steps are as follows:
when a data read-write interface receives a file read-write request, acquiring a target data identifier carried by the request;
determining the attribute corresponding to the target data identifier according to the address segment to which the target data identifier belongs;
and performing corresponding data reading operation or writing operation according to the attribute corresponding to the target data identifier.
2. The smart meter file read-write system of claim 1, wherein the driver is further configured to:
and judging whether the read or write operation is normal or not, and returning to call errors when judging that the read or write operation is abnormal.
3. The smart meter file read-write system of claim 1, wherein the attribute further comprises a verification manner, and the driver is further configured to:
after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result;
and when the verification result is abnormal, returning a calling error, and when the verification result is normal, returning a reading or writing result.
4. The smart meter file read-write system of claim 1, wherein the driver is further configured to:
and judging whether the target data identifier is qualified or not, and if not, returning to call errors.
5. A method for reading and writing a file of a smart meter, which is applied to the smart meter file reading and writing system of any one of claims 1 to 4, the method comprising:
identifying a data file of the intelligent ammeter, and generating a data identification of the data file;
dividing the range of the data identifier according to the data type of the data file to obtain a plurality of address segments, wherein each address segment corresponds to one data type;
configuring attributes corresponding to each address segment according to the data type corresponding to each address segment, wherein the attributes comprise the data type, the disc character, the read-write mode and the read-write length;
when the data read-write interface receives a file read-write request, determining a corresponding attribute according to a target data identifier carried by the file read-write request, and performing corresponding read operation or write operation according to the attribute, wherein the method comprises the following steps:
when a data read-write interface receives a file read-write request, acquiring a target data identifier carried by the request;
determining the attribute corresponding to the target data identifier according to the address segment to which the target data identifier belongs;
and performing corresponding data reading operation or writing operation according to the attribute corresponding to the target data identifier.
6. The smart meter file reading and writing method of claim 5, wherein the attribute further includes a verification manner, the method further comprising:
judging whether the read or write operation is normal or not, and returning to call errors when judging that the read or write operation is abnormal;
after judging that the reading or writing operation is normal, checking the reading or writing result according to a checking mode corresponding to the target data identifier to obtain a checking result;
and when the verification result is abnormal, returning a calling error, and when the verification result is normal, returning a reading or writing result.
7. The intelligent ammeter file reading and writing device is characterized by comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the smart meter file reading and writing method according to any one of claims 5 to 6 according to instructions in the program code.
8. A computer readable storage medium for storing program code which, when executed by a processor, implements the smart meter file reading and writing method of any one of claims 5-6.
CN202111538014.5A 2021-12-15 2021-12-15 Intelligent ammeter file reading and writing system, method, equipment and medium Active CN114238232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111538014.5A CN114238232B (en) 2021-12-15 2021-12-15 Intelligent ammeter file reading and writing system, method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111538014.5A CN114238232B (en) 2021-12-15 2021-12-15 Intelligent ammeter file reading and writing system, method, equipment and medium

Publications (2)

Publication Number Publication Date
CN114238232A CN114238232A (en) 2022-03-25
CN114238232B true CN114238232B (en) 2024-04-02

Family

ID=80756491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111538014.5A Active CN114238232B (en) 2021-12-15 2021-12-15 Intelligent ammeter file reading and writing system, method, equipment and medium

Country Status (1)

Country Link
CN (1) CN114238232B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007012061A (en) * 2005-06-27 2007-01-18 Seagate Technology Llc Redundancy for storage data structure
WO2009095413A2 (en) * 2008-01-31 2009-08-06 International Business Machines Corporation Method and system for encrypted file access
WO2012122915A1 (en) * 2011-03-14 2012-09-20 成都市华为赛门铁克科技有限公司 Method and apparatus for reading and writing data in file system
CN103218907A (en) * 2013-04-26 2013-07-24 深圳供电局有限公司 Mobile terminal and system for electricity field operation
CN103297560A (en) * 2013-05-21 2013-09-11 江苏物联网研究发展中心 Data flow classification method and data flow classification server
WO2017028688A1 (en) * 2015-08-14 2017-02-23 阿里巴巴集团控股有限公司 Method, device and system for reading and writing files
CN107463506A (en) * 2017-07-04 2017-12-12 积成电子股份有限公司 A kind of data storage and management method of electric energy meter
CN109085424A (en) * 2018-06-29 2018-12-25 宁波三星智能电气有限公司 A kind of intelligent meter display parameters reading/writing method
CN109885257A (en) * 2019-01-31 2019-06-14 维沃移动通信有限公司 A kind of disk file reading/writing method and device
CN111124313A (en) * 2019-12-24 2020-05-08 宁波三星医疗电气股份有限公司 Data reading and writing method and device for power acquisition terminal and electronic equipment
CN111540190A (en) * 2020-07-07 2020-08-14 南方电网数字电网研究院有限公司 Data distribution method and device based on double-core intelligent electric meter and computer equipment
CN111782605A (en) * 2020-07-06 2020-10-16 东信和平科技股份有限公司 Chip card file management method, device, terminal and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150106478A1 (en) * 2013-10-15 2015-04-16 Microsoft Corporation File handlers supporting dynamic data streams
US11231873B2 (en) * 2018-12-07 2022-01-25 Intel Corporation Apparatus and method for assigning velocities to write data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007012061A (en) * 2005-06-27 2007-01-18 Seagate Technology Llc Redundancy for storage data structure
WO2009095413A2 (en) * 2008-01-31 2009-08-06 International Business Machines Corporation Method and system for encrypted file access
WO2012122915A1 (en) * 2011-03-14 2012-09-20 成都市华为赛门铁克科技有限公司 Method and apparatus for reading and writing data in file system
CN103218907A (en) * 2013-04-26 2013-07-24 深圳供电局有限公司 Mobile terminal and system for electricity field operation
CN103297560A (en) * 2013-05-21 2013-09-11 江苏物联网研究发展中心 Data flow classification method and data flow classification server
WO2017028688A1 (en) * 2015-08-14 2017-02-23 阿里巴巴集团控股有限公司 Method, device and system for reading and writing files
CN107463506A (en) * 2017-07-04 2017-12-12 积成电子股份有限公司 A kind of data storage and management method of electric energy meter
CN109085424A (en) * 2018-06-29 2018-12-25 宁波三星智能电气有限公司 A kind of intelligent meter display parameters reading/writing method
CN109885257A (en) * 2019-01-31 2019-06-14 维沃移动通信有限公司 A kind of disk file reading/writing method and device
CN111124313A (en) * 2019-12-24 2020-05-08 宁波三星医疗电气股份有限公司 Data reading and writing method and device for power acquisition terminal and electronic equipment
CN111782605A (en) * 2020-07-06 2020-10-16 东信和平科技股份有限公司 Chip card file management method, device, terminal and storage medium
CN111540190A (en) * 2020-07-07 2020-08-14 南方电网数字电网研究院有限公司 Data distribution method and device based on double-core intelligent electric meter and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王顺江.《电力自动化通讯规约精解》.沈阳:东北大学出版社,2014,第240-241页. *

Also Published As

Publication number Publication date
CN114238232A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN101719149B (en) Data synchronization method and device
CN110718264A (en) Method and device for testing information of solid state disk, computer equipment and storage medium
CN103488460B (en) The system and method for automatic mark source code
CN111694612A (en) Configuration checking method, device, computer system and storage medium
CN109918221B (en) Hard disk error reporting analysis method, system, terminal and storage medium
CN110990331A (en) System-on-chip key management method, device, equipment and readable storage medium
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
CN114238232B (en) Intelligent ammeter file reading and writing system, method, equipment and medium
CN112214384A (en) Hard disk serial number management method, system, terminal and storage medium
CN108459960A (en) Method of automatic configuration, device, equipment and the storage medium of test environment
CN112216340A (en) Hard disk test method and device, storage medium and electronic equipment
CN111782605A (en) Chip card file management method, device, terminal and storage medium
CN110119335A (en) Server NTP process monitoring method, electronic device and storage medium
CN110347572A (en) A kind of performance logs output method, device, system, equipment and medium
CN111209138A (en) Operation and maintenance method and device of data storage system
CN109669829A (en) A kind of diagnosis adjustment method, device and server based on BMC
CN108459942A (en) A kind of data processing method, device and storage medium
CN111045891B (en) Monitoring method, device, equipment and storage medium based on java multithreading
CN113886342A (en) File format conversion method and device, storage medium and processor
CN114090673A (en) Data processing method, equipment and storage medium for multiple data sources
CN107818136B (en) Method and device for recycling garbage object data
CN112162954A (en) User operation log generation method, user operation log generation device
CN113326046A (en) Method and device for acquiring compiling time length
CN105353983A (en) Method and apparatus for identifying disk information in RAID
CN111143302B (en) Method and device for tracking Office document content change

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