CN110553703B - Calibration information generation method and system based on oil meter - Google Patents

Calibration information generation method and system based on oil meter Download PDF

Info

Publication number
CN110553703B
CN110553703B CN201910977338.5A CN201910977338A CN110553703B CN 110553703 B CN110553703 B CN 110553703B CN 201910977338 A CN201910977338 A CN 201910977338A CN 110553703 B CN110553703 B CN 110553703B
Authority
CN
China
Prior art keywords
information
calibration
meter
instrument
oil
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
CN201910977338.5A
Other languages
Chinese (zh)
Other versions
CN110553703A (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.)
Guangzhou Chuangrui Automobile Electric Appliance Co ltd
Original Assignee
Guangzhou Chuangrui Automobile Electric Appliance 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 Guangzhou Chuangrui Automobile Electric Appliance Co ltd filed Critical Guangzhou Chuangrui Automobile Electric Appliance Co ltd
Priority to CN201910977338.5A priority Critical patent/CN110553703B/en
Publication of CN110553703A publication Critical patent/CN110553703A/en
Application granted granted Critical
Publication of CN110553703B publication Critical patent/CN110553703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/10Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the application provides a calibration information generation method and system based on an oil mass meter, and the calibration information generation method based on the oil mass meter is applied to an oil mass information calibration system consisting of the oil mass meter and an upper computer associated with the oil mass meter. The upper computer acquires handshake information sent by the fuel gauge and judges whether handshake communication can be performed or not according to the handshake information; when the upper computer successfully shakes hands with the excellent meter, the upper computer acquires relation information between oil quantity information uploaded by the oil quantity meter and display information; wherein, the oil mass information is uploaded by the oil sensor matched with the oil mass meter. By implementing the implementation mode, the relationship information can be used for directly calibrating the meters of the same series as the fuel meters, so that the calibration efficiency of the fuel meters is improved, and the method can also be used for batch import of data of the fuel meters of the same type, so that the calibration efficiency of the fuel meters is further improved.

Description

Calibration information generation method and system based on oil meter
Technical Field
The application relates to the technical field of instrument calibration, in particular to a calibration information generation method and system based on an oil mass instrument.
Background
At present, the oil consumption equipment which is continuously updated is greatly convenient for the life of people, but the oil sensor can be changed at any time in the using process and the developing process of the oil consumption equipment, and meanwhile, the corresponding oil tank can be changed at any time. However, in practice, it is found that the above changes all cause the software applied to the fuel gauge to be changed, which results in a process of recalibrating the fuel gauge, and meanwhile, for the fuel gauge which does not support online upgrade, the software needs to be broken down to upgrade, which may cause certain damage and usage influence to the gauge. Therefore, the existing oil meter calibration method still has great human influence and also has great efficiency problem.
Disclosure of Invention
An object of the embodiment of the application is to provide a calibration information generation method and system based on an oil mass meter, which can avoid artificial influence in a traditional calibration mode, improve the calibration efficiency of the oil mass meter, and can also be used for batch import of data of the oil mass meters of the same type, thereby further improving the calibration efficiency of the oil mass meter.
The first aspect of the embodiment of the application provides a calibration information generation method based on an oil quantity meter, and the method includes:
acquiring instrument communication information;
judging whether the instrument communication information is matched with preset instrument correction information or not;
when the meter communication information is matched with the meter correction information, meter display information and oil quantity information corresponding to the meter display information are acquired;
and generating calibration information according to the meter display information and the oil quantity information.
In the implementation process, the method can preferentially acquire meter communication information sent by the fuel gauge to confirm that the fuel gauge requests authorization from an upper computer (an execution main body in the embodiment) and touch the fuel gauge to enter a correction state; the upper computer performs handshake decryption according to the received meter communication information, and judges whether the fuel gauge can interact with the upper computer, namely whether the upper computer gives interactive authorization to the fuel gauge; when the meter communication information is matched with the meter correction information, the upper computer starts to acquire meter display information and oil quantity information uploaded by the oil quantity meter in the correction state; and finally, the upper computer generates calibration information with a corresponding relation according to the instrument display information and the oil quantity information so that other instruments of the same type as the oil quantity instrument can be directly downloaded for use. Therefore, by implementing the implementation mode, the standardized generation process of the calibration information can be completed through four steps of authorization request, handshake decryption, data storage and data processing, so that the acquisition efficiency of the calibration information is further improved under the condition that the data is accurate, the efficiency can be improved for the correction process of other meters of the same type as the fuel gauge, and meanwhile, the generation of human errors can be avoided.
Further, after the step of generating calibration information based on the meter display information and the oil amount information, the method further includes:
outputting the calibration information to an instrument to be calibrated so that the instrument to be calibrated performs calibration initialization based on the calibration information; the instrument to be calibrated and the oil mass instrument are the same type instruments.
In the implementation process, the method can also output the calibration information after the calibration information is generated, so that the instrument to be calibrated can be downloaded, and the instrument to be calibrated can perform calibration initialization of the instrument (namely, the instrument to be calibrated is corrected) according to the calibration information, so that manual calibration of the instrument to be calibrated according to the calibration information can be avoided, the calibration efficiency can be improved, and the calibration error can be reduced.
Further, the step of judging whether the meter communication information matches with preset meter calibration information includes:
acquiring encryption and decryption algorithm information included in the instrument communication information;
judging whether preset instrument correction information comprises the encryption and decryption algorithm information;
and when the instrument correction information comprises the encryption and decryption algorithm information, determining that the instrument communication information is matched with the instrument correction information.
In the implementation process, the method can acquire handshake information (namely encryption and decryption algorithm information which is included in instrument communication information) sent by the fuel gauge to the upper computer, and meanwhile, the upper computer judges whether the received encryption and decryption algorithm information is included in preset instrument correction information; when the encryption and decryption algorithm information used by the oil quantity meter exists in the upper computer, the upper computer determines that the upper computer can communicate with the oil quantity meter, the fact is known by the oil quantity meter, and uploading authorization is given to the oil quantity parameter and the meter parameter, so that the upper computer can continuously obtain meter display information and oil quantity information. Therefore, by implementing the implementation mode, the interactive verification between the fuel gauge and the upper computer can be safely and quickly carried out by using the handshake decryption principle, so that the two verified parties can transmit information through the agreed link, the safety, the stability and the information integrity of information interaction are improved, and the accuracy of generating the calibration information is improved.
Further, the step of acquiring meter display information and oil amount information corresponding to the meter display information includes:
acquiring a plurality of meter display sub-information and a plurality of oil mass sub-information which corresponds to the meter display sub-information one by one according to a preset information storage condition;
and generating meter display information and oil quantity information with corresponding relations by taking the plurality of meter display sub-information, the plurality of oil quantity sub-information and the corresponding relations between the plurality of meter display sub-information and the plurality of oil quantity sub-information as the basis.
In the implementation process, the method can preset various information storage conditions (such as real-time storage conditions, intermittent storage conditions, timing storage conditions, quantitative storage conditions and the like) so that the multiple meter display sub-information and the multiple oil quantum information can be stored according to the conditions, thereby improving the ordering and the neatness of information storage, and meanwhile, the meter display sub-information and the oil quantum information are appointed to be in one-to-one correspondence in the storage conditions, so that the obtained multiple meter display sub-information and the multiple oil meter display sub-information can be called as a group of corresponding data; meanwhile, the corresponding data set is sorted and stored to obtain a data set, wherein the data set is called meter display information and oil quantity information, and the meter display information and the oil quantity information are corresponding. Therefore, by implementing the implementation mode, a large amount of effective data can be obtained and integrated to obtain an ordered and orderly data set, so that the calculation and the generation of subsequent calibration information are facilitated, and the generation efficiency and the quality of the calibration information are improved.
Further, the step of generating calibration information based on the meter display information and the oil amount information includes:
performing information calibration on the instrument display information and the oil quantity information according to a preset information calibration algorithm to obtain calibration information; the information calibration algorithm at least comprises a percentage calibration algorithm and a threshold calibration algorithm.
In the implementation process, the method can sort and output the meter display information and the oil quantity information according to a preset information calibration algorithm, so that the finally obtained calibration information is information in accordance with an expected form, wherein the expected form at least comprises a percentage display form and a threshold display form (namely, a form in which the grid number displays the corresponding oil quantity). Therefore, the implementation of the embodiment can output the calibration information in a specific form to standardize the calibration information, thereby realizing the purpose of improving the generation efficiency and quality of the calibration information by standardization work.
A second aspect of the embodiments of the present application provides a calibration information generation system based on an oil amount meter, where the calibration information generation system includes:
the acquisition unit is used for acquiring the communication information of the instrument;
the judging unit is used for judging whether the instrument communication information is matched with preset instrument correction information or not;
the acquisition unit is further used for acquiring meter display information and oil quantity information corresponding to the meter display information when the meter communication information is matched with the meter correction information;
and the generating unit is used for generating calibration information according to the instrument display information and the oil quantity information.
In the implementation process, the calibration information generation system can acquire the meter communication information through the acquisition unit and carry out matching judgment on the meter communication information through the judgment unit, and if the meter communication information is matched with the preset meter correction information, the calibration information generation system is determined to be capable of being connected with the oil meter to realize an interaction function; at this time, the acquisition unit acquires the meter display information and the oil amount information of the oil amount meter on the bed again, and triggers the generation unit to process the meter display information and the oil amount information to generate standardized calibration information. Therefore, by implementing the implementation mode, the calibration information generation system can acquire the verification request and the oil quantity meter information through the acquisition unit, the judgment unit can perform matching verification on the verification request, so that the calibration information generation system can acquire the oil quantity meter information under the condition that the interaction condition between the calibration information generation system and the oil quantity meter is met, and finally the generation unit processes the meter display information and the oil quantity information to obtain standardized calibration information, so that the calibration information generation system has better calibration information generation efficiency and better calibration information generation accuracy.
Further, the calibration information generating system further includes:
the output unit is used for outputting the calibration information to an instrument to be calibrated so as to calibrate and initialize the instrument to be calibrated by taking the calibration information as a basis; the instrument to be calibrated and the oil mass instrument are the same type instruments.
In the implementation process, the calibration information generation system further includes an output unit capable of outputting the calibration information to other to-be-calibrated instruments, so that the to-be-calibrated instruments can initialize the instruments according to the calibration information, thereby realizing batch calibration of the to-be-calibrated instruments and further improving the calibration efficiency of the to-be-calibrated instruments.
Further, the judging unit includes:
the acquisition subunit is used for acquiring encryption and decryption algorithm information included in the instrument communication information;
the judgment subunit is used for judging whether the preset instrument correction information includes the encryption and decryption algorithm information;
and the determining subunit is configured to determine that the meter communication information matches the meter correction information when the meter correction information includes the encryption and decryption algorithm information.
In the implementation process, the obtaining subunit included in the judgment section element can obtain the encryption and decryption algorithm information included in the meter communication information, so that the judgment subunit can perform interactive verification between the calibration information generation system and the fuel quantity meter according to the encryption and decryption algorithm information, and therefore the possibility of interaction between the calibration information generation system and the fuel quantity meter is verified in a handshake decryption manner, and meanwhile, the handshake decryption manner can also improve the interactive safety and the integrity of the interactive information, and further improve the accuracy of the calibration information generation system.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to make the electronic device execute the calibration information generation method based on a fuel gauge according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores computer program instructions, where the computer program instructions, when read and executed by a processor, perform the method for generating calibration information based on a fuel gauge according to any one of the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a calibration information generation method based on an oil meter according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another calibration information generation method based on an oil meter according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a calibration information generation system based on an oil meter according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another calibration information generation system based on a fuel gauge according to an embodiment of the present application;
fig. 5 is a schematic view of an application scenario of a calibration information generation method based on an oil meter according to an embodiment of the present application;
fig. 6 is a schematic diagram of a display result of calibration information obtained based on a percentage calibration algorithm according to an embodiment of the present application;
fig. 7 is a schematic diagram of a display result of calibration information obtained based on a threshold calibration algorithm according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a calibration information generating method based on a fuel gauge according to an embodiment of the present application. The calibration information generation method based on the fuel gauge can be applied to various vehicle calibration processes, specifically, the calibration information generation method based on the fuel gauge can be applied to the vehicle fuel gauge, and the vehicle fuel gauge can acquire vehicle fuel sensor data; meanwhile, the calibration information generation method based on the oil mass meter can also be used in a scene of calibrating a large number of meters to be calibrated with the same model as the oil mass meter. The calibration information generation method based on the oil quantity meter comprises the following steps:
and S101, acquiring the communication information of the instrument.
In this embodiment, the meter communication information is handshake decryption information sent by the fuel gauge through the reserved communication interface.
In this embodiment, the handshake decryption information may include authorization request information, handshake decryption authentication information, and the like.
In this embodiment, the authorization request information is used to trigger the calibration information generation system to identify and verify the meter communication information.
In this embodiment, the handshake decryption authentication information includes encryption and decryption algorithm information used by the fuel gauge.
In this embodiment, the meter communication information may be acquired through the communication interface reserved for the fuel gauge, and may also be acquired through other communication methods. The other communication modes include various wireless communication modes and wired communication modes.
In this embodiment, after the fuel gauge sends the gauge communication information to the host computer (i.e., the gauge information generation system), the fuel gauge enters the calibration mode, and the calibration mode is used to determine whether to upload the fuel information and the gauge display information according to the success or failure of the handshake decryption process.
S102, judging whether the instrument communication information is matched with preset instrument correction information, if so, executing the steps S103-S104; if not, the flow is ended.
In this embodiment, the step may be understood as a handshake decryption step between the calibration information generation system and the fuel gauge; if the oil quantity is finished, the process of oil quantity adaptation calibration (namely the process from S103 to S104) is started.
In this embodiment, the preset instrument correction information includes an encryption/decryption algorithm that an upper computer (i.e., a calibration information generation system) has, and a specific encryption/decryption algorithm refers to a type of the encryption/decryption algorithm.
In this embodiment, the process of determining whether the meter communication information matches the preset meter calibration information may be understood as determining whether the same encryption/decryption algorithm or encryption/decryption algorithm type exists between the fuel quantity meter and the calibration information generation system, and if the same encryption/decryption algorithm or encryption/decryption algorithm type exists between the fuel quantity meter and the calibration information generation system, it indicates that the fuel quantity meter can interact with the calibration information generation system, and a symmetric key for information interaction between the fuel quantity meter and the calibration information generation system can be determined by using the same. And the above process is called a handshake decryption process.
In this embodiment, the purpose of the handshake decryption is to adjust the read-write control authority of one parameter in the fuel gauge. After the fuel gauge uploads the algorithm factor, the upper computer performs authorization calculation according to the algorithm factor and issues a calculation result to the fuel gauge so that the fuel gauge adjusts the read-write control authority of one parameter in the fuel gauge according to the calculation result.
In this embodiment, after the symmetric key is determined, the fuel gauge and the calibration information generating system may perform encryption interaction according to the symmetric key, where the data transmitted in the interaction process is encrypted data generated by encrypting the symmetric key, the private key of the fuel gauge, and the public key of the calibration information generating system. Wherein, the oil meter can generate an original data; then, carrying out encryption calculation on the original data by using a specific one-way algorithm to obtain a data fingerprint; then, encrypting the data fingerprint by using a private key of the oil mass meter to obtain intermediate data; then, encrypting the combined data of the original data and the intermediate data by using a symmetric key to obtain ciphertext data; and finally, encrypting the ciphertext data by using the public key of the calibration information generation system to obtain the encrypted data.
In this embodiment, the decryption process of the calibration information generation system is opposite to the encryption process, and details are not repeated in this embodiment.
And S103, acquiring meter display information and oil quantity information corresponding to the meter display information.
In this embodiment, the oil amount information includes oil sensor information that is uploaded to the oil amount meter by the oil sensor, and specifically, the oil sensor information is oil sensor resistance information corresponding to a current oil amount detected by the oil sensor.
In the present embodiment, the oil amount information can be simply understood as resistance value information representing the oil amount.
In this embodiment, the meter display information includes the grid number information displayed by the fuel gauge or the percentage information displayed by the fuel gauge, and the form of the meter display information is not limited in this embodiment.
In this embodiment, the meter display information and the oil amount information correspond to each other, that is, 50% of the meter display information corresponds to a resistance value of 50% of the oil amount.
And S104, generating calibration information according to the meter display information and the oil quantity information.
In the present embodiment, the calibration information is generated by extracting information of a fixed number of grids or a fixed percentage from the meter display information and the oil amount information.
For example, the calibration information is 10%, 20%, 30%, 40%, etc. meter display information and its corresponding oil amount information.
In this embodiment, an execution main body of the calibration information generation method based on the fuel gauge may be various electronic devices with computing capabilities, such as a computer, a smart phone, a tablet computer, and the like, and this embodiment is not limited at all.
In this embodiment, the calibration information generating method based on the fuel gauge may be executed by a software system installed in the electronic device, and details of this embodiment are not repeated.
In this embodiment, the execution main body of the calibration information generation method based on the fuel gauge may be a windows application software running in a computer, and the software can be used to send an authorized decryption request (i.e., meter communication information) to the fuel gauge for processing, acquire fuel amount information (which may include a fuel sensor parameter value during a fuel tank fuel drain process) in real time, calibrate corresponding fuel amount information and meter display information, and calibrate the meters to be calibrated in batches using calibration information obtained by calibration.
In this embodiment, the method is a calibration information obtaining method supporting the oil adding and discharging operation processes of different types of oil tanks. The method can automatically acquire the fuel quantity information (the fuel quantity information comprises fuel quantity sensor parameters of a fuel tank) and the instrument display information (such as fuel quantity percentage or fuel quantity grid threshold), and can also determine the display mode of the instrument display information (namely the instrument display information can be displayed according to the fuel quantity percentage relationship and can also support the fuel quantity grid display). Meanwhile, the oil meter is a meter which can calibrate the calibration information according to the method scheme and can permanently record the calibration information (the calibration information can be stored after the power is cut off and cannot disappear after the power is cut off).
It can be seen that, by implementing the calibration information generation method based on the fuel gauge described in fig. 1, the gauge communication information sent by the fuel gauge can be preferentially obtained to confirm that the fuel gauge is requesting authorization from an upper computer (an execution main body in this embodiment), and the fuel gauge is triggered to enter a calibration state; the upper computer performs handshake decryption according to the received meter communication information, and judges whether the fuel gauge can interact with the upper computer, namely whether the upper computer gives interactive authorization to the fuel gauge; when the meter communication information is matched with the meter correction information, the upper computer starts to acquire meter display information and oil quantity information uploaded by the oil quantity meter in the correction state; and finally, the upper computer generates calibration information with a corresponding relation according to the instrument display information and the oil quantity information so that other instruments of the same type as the oil quantity instrument can be directly downloaded for use. Therefore, by implementing the implementation mode, the standardized generation process of the calibration information can be completed through four steps of authorization request, handshake decryption, data storage and data processing, so that the acquisition efficiency of the calibration information is further improved under the condition that the data is accurate, the efficiency can be improved for the correction process of other meters of the same type as the fuel gauge, and meanwhile, the generation of human errors can be avoided.
Example 2
Referring to fig. 2, fig. 2 is a schematic flow chart of another calibration information generation method based on a fuel gauge according to an embodiment of the present application. The flow chart of the calibration information generation method based on the fuel gauge depicted in fig. 2 is improved according to the flow chart of the calibration information generation method based on the fuel gauge depicted in fig. 1. The calibration information generation method based on the oil quantity meter comprises the following steps:
s201, obtaining the communication information of the instrument.
In this embodiment, the meter communication information may be transmitted through a 4-wire serial port (UART) interface supported by the fuel gauge, where the signals that the interface may use include VCC, GND, RX, TX.
S202, acquiring encryption and decryption algorithm information included in the meter communication information.
In this embodiment, the meter communication information may be generated by the fuel gauge.
In this embodiment, the encryption and decryption algorithm information is encryption and decryption algorithm information that can be used by the fuel gauge.
In this embodiment, the encryption and decryption algorithm information is used to participate in the handshake decryption process to determine whether communication between the fuel gauge and the upper computer (calibration information generation system) is possible.
S203, judging whether the preset instrument correction information comprises the encryption and decryption algorithm information, if so, executing the steps S204-S208; if not, the flow is ended.
In this embodiment, the instrument calibration information includes that the encryption and decryption algorithm information indicates that the two have the same encryption and decryption algorithm information, and interaction is possible; if the instrument correction information does not include the encryption and decryption algorithm information, the two pieces of instrument correction information do not have the same encryption and decryption algorithm information and cannot interact with each other.
And S204, determining that the instrument communication information is matched with the instrument correction information.
In this embodiment, whether the meter communication information and the meter calibration information are matched or not can be understood as whether interaction between the two is possible or not.
S205, when the meter communication information is matched with the meter correction information, the meter display sub-information is acquired according to the preset information storage condition, and the oil quantity sub-information corresponding to the meter display sub-information one to one is acquired.
In this embodiment, the information storage condition may be real-time storage, time-sharing storage, or the like. The real-time storage means that one data is stored every moment, and the time-sharing storage means that one data is stored every 5 seconds or 10 seconds.
In this embodiment, the storage condition is only an example, and the information storage condition is not limited in this embodiment.
In this embodiment, the plurality of meter display sub-information and the plurality of oil amount sub-information correspond to each other one by one and correspond to the same time.
And S206, generating meter display information and oil quantity information with corresponding relations according to the corresponding relations among the plurality of meter display sub-information, the plurality of oil quantity sub-information and the plurality of meter display sub-information.
In this embodiment, step S206 may be understood as a process of performing a fixed generation on the meter display information and the oil amount information.
In this embodiment, there is a correspondence between the meter display information and the oil amount information, and the correspondence is formed by a correspondence between the plurality of display sub-information and the plurality of oil amount sub-information.
S207, performing information calibration on instrument display information and oil quantity information according to a preset information calibration algorithm to obtain calibration information; the information calibration algorithm at least comprises a percentage calibration algorithm and a threshold calibration algorithm.
In this embodiment, the information calibration algorithm is used to determine a display format of the calibration information.
In this embodiment, please refer to fig. 6, where fig. 6 is a schematic diagram of a display result of calibration information obtained based on a percentage calibration algorithm, where a percentage mark is used to indicate a current oil quantity (i.e., meter display information), and a resistance mark is used to indicate a resistance value of an oil sensor (i.e., oil quantity information) corresponding to the current oil quantity.
In this embodiment, please refer to fig. 7, and fig. 7 is a schematic diagram of a display result of calibration information obtained based on a threshold calibration algorithm, where a grid number mark is used to indicate a current oil quantity (i.e., meter display information), and a resistance mark is used to indicate a resistance value of an oil sensor (i.e., oil quantity information) corresponding to the current oil quantity.
For example, the generating process of the calibration information may include: placing oil in an oil tank to an indicating position, sampling the resistance value parameter of an oil sensor by an oil quantity meter, and acquiring the relationship between the resistance value of the oil sensor and the oil quantity at the moment and generating the calibration information at the moment; in the oil discharging process of the oil tank, the calibration information generating system can be in real-time communication with the oil quantity meter through the serial port so as to display the corresponding resistance value parameters of the oil sensor in real time. Meanwhile, a user can manually confirm the resistance value of the oil sensor and the oil discharging position of the oil tank according to the resistance value of the oil sensor displayed on the calibration information generating system, calibrate the calibration information (paired oil quantity information and instrument display information), and store the calibration information, so that the calibration of the oil quantity instrument is realized; meanwhile, the calibration information can also be used for subsequently calibrating other instruments to be calibrated in batches.
In this embodiment, the instrument display information may have a specific instrument display characteristic, and the instrument display characteristic may be a percentage display calibration characteristic and a grid display calibration characteristic, and the instrument display characteristic is embodied by the calculation result of the information calibration algorithm.
S208, outputting the calibration information to the instrument to be calibrated so as to calibrate and initialize the instrument to be calibrated based on the calibration information; wherein, the instrument to be calibrated and the oil mass instrument are the same type instruments.
In this embodiment, the calibration information may be stored and used for direct parameter downloading and calibration of subsequent instruments of the same model.
With this embodiment, the calibration information generation system may also save the use of the calibration information (which may be understood as calibration parameters for calibration) after completing the generation of the calibration information from both the fuel quantity information and the meter display information. Meanwhile, the calibration information generation system can also use the calibration information to calibrate a large number of instruments to be calibrated in batch, and the specific implementation architecture can refer to fig. 5. Wherein, the upper computer corresponds to an execution main body (namely a calibration information generation system) of the method; calibrating an oil mass meter corresponding to the meter; the oil sensor is connected with the oil quantity meter and used for transmitting mailbox information to the oil quantity meter so that the oil quantity meter can transmit the mailbox information to the calibration information generating system; the meter 1, the meter 2, the meter 3 and the meter 4 are used to indicate the meters to be calibrated. It can be seen that fig. 5 shows a process of transmitting oil quantity information and meter display information of the oil quantity meter to the upper computer so that the upper computer can derive calibration information to a large number of meters to be calibrated for batch calibration and matching.
By implementing the implementation mode, the method can output the oil quantity information, the meter display information and the corresponding relation of the oil quantity information and the meter display information to an upper computer (namely a calibration information generation system) through a communication interface of the oil quantity meter for storage; after the calibration information is generated by the method, the calibration information can be used for calibrating the information of the instrument display information and the oil quantity information of the batch information to be calibrated. Meanwhile, the method can also be suitable for indicating and calibrating the fuel quantity of the instrument by using various vehicle types of different fuel tanks, so that the development cost and the development period can be saved, and the efficiency, the precision and the convenience of correcting the fuel quantity information and the instrument display information can be improved.
It can be seen that, by implementing the calibration information generation method based on the fuel gauge described in fig. 2, the calibration information standard generation process can be completed through four steps of authorization request, handshake decryption, data storage and data processing, so that the acquisition efficiency of the calibration information is further improved under the condition that the data is accurate, the efficiency can be improved for the calibration process of other meters of the same type as the fuel gauge, and meanwhile, the generation of human errors can be avoided.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram of a calibration information generating system based on a fuel gauge according to an embodiment of the present application. Wherein, this calibration information generation system based on oil mass meter includes:
an obtaining unit 310, configured to obtain meter communication information;
a judging unit 320, configured to judge whether the meter communication information matches preset meter calibration information;
the obtaining unit 310 is further configured to obtain meter display information and oil amount information corresponding to the meter display information when the meter communication information matches the meter correction information;
the generating unit 330 is configured to generate calibration information based on the meter display information and the oil amount information.
In this embodiment, the calibration information generating system based on the oil amount meter may refer to any one of the explanations described in embodiment 1 or embodiment 2, and details of this embodiment are not repeated.
It can be seen that, with the calibration information generation system based on the fuel gauge described in fig. 3, the meter communication information can be acquired by the acquisition unit, and the matching judgment of the meter communication information is performed by the judgment unit, and if the meter communication information matches with the preset meter correction information, it is determined that the calibration information generation system can be connected with the fuel gauge to realize an interaction function; at this time, the acquisition unit acquires the meter display information and the oil amount information of the oil amount meter on the bed again, and triggers the generation unit to process the meter display information and the oil amount information to generate standardized calibration information. Therefore, by implementing the implementation mode, the calibration information generation system can acquire the verification request and the oil quantity meter information through the acquisition unit, the judgment unit can perform matching verification on the verification request, so that the calibration information generation system can acquire the oil quantity meter information under the condition that the interaction condition between the calibration information generation system and the oil quantity meter is met, and finally the generation unit processes the meter display information and the oil quantity information to obtain standardized calibration information, so that the calibration information generation system has better calibration information generation efficiency and better calibration information generation accuracy.
Example 4
Referring to fig. 4, fig. 4 is a schematic structural diagram of another calibration information generating system based on a fuel gauge according to an embodiment of the present application. The schematic structure of the calibration information generation system based on the fuel gauge depicted in fig. 4 is modified from the schematic structure of the calibration information generation system based on the fuel gauge depicted in fig. 3. Wherein, this calibration information generation system based on oil mass meter still includes:
the output unit 340 is configured to output calibration information to the instrument to be calibrated, so that the instrument to be calibrated performs calibration initialization based on the calibration information; wherein, the instrument to be calibrated and the oil mass instrument are the same type instruments.
As an optional implementation, the determining unit 320 includes:
an obtaining subunit 321, configured to obtain encryption and decryption algorithm information included in the meter communication information;
a judging subunit 322, configured to judge whether the preset meter correction information includes encryption/decryption algorithm information;
and the determining subunit 323 is configured to determine that the meter communication information matches the meter calibration information when the meter calibration information includes encryption/decryption algorithm information.
As an optional implementation, the obtaining unit 310 includes:
an obtaining subunit 311, configured to obtain a plurality of meter display sub-information based on a preset information storage condition, and obtain a plurality of oil volume sub-information in one-to-one correspondence with the plurality of meter display sub-information;
the generating sub-unit 312 is configured to generate the meter display information and the oil amount information having a corresponding relationship based on the corresponding relationship between the plurality of meter display sub-information, the plurality of oil amount sub-information, and the plurality of meter display sub-information and the plurality of oil amount sub-information.
As an optional implementation manner, the generating unit 330 is specifically configured to perform information calibration on the meter display information and the oil amount information according to a preset information calibration algorithm to obtain calibration information; the information calibration algorithm at least comprises a percentage calibration algorithm and a threshold calibration algorithm.
In this embodiment, the calibration information generating system based on the oil amount meter may refer to any one of the explanations described in embodiment 1 or embodiment 2, and details of this embodiment are not repeated.
It can be seen that, with the calibration information generation system based on the fuel gauge described in fig. 4, the obtaining unit can obtain the verification request and the fuel gauge information, and the determining unit can perform matching verification on the verification request, so that the calibration information generation system can obtain the fuel gauge information under the condition that the interaction condition between the calibration information generation system and the fuel gauge is met, and finally, the generation unit processes the gauge display information and the fuel gauge information to obtain the standardized calibration information, so that the calibration information generation system has better calibration information generation efficiency and better calibration information generation accuracy.
The embodiment of the application provides electronic equipment, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the electronic equipment to execute a calibration information generation method based on an oil quantity meter according to any one of embodiment 1 or embodiment 2 of the application.
The embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute the calibration information generation method based on the fuel gauge in any one of embodiment 1 or embodiment 2 of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (7)

1. A calibration information generation method based on an oil quantity meter is characterized by comprising the following steps:
acquiring instrument communication information;
acquiring encryption and decryption algorithm information included in the instrument communication information;
judging whether preset instrument correction information comprises the encryption and decryption algorithm information;
when the instrument correction information comprises the encryption and decryption algorithm information, determining that the instrument communication information is matched with the instrument correction information;
when the meter communication information is matched with the meter correction information, meter display information and oil quantity information corresponding to the meter display information are acquired;
performing information calibration on the instrument display information and the oil quantity information according to a preset information calibration algorithm to obtain calibration information; the information calibration algorithm at least comprises a percentage calibration algorithm and a threshold calibration algorithm.
2. The method of claim 1, wherein after the step of generating calibration information based on the meter display information and the fuel quantity information, the method further comprises:
outputting the calibration information to an instrument to be calibrated so that the instrument to be calibrated performs calibration initialization based on the calibration information; the instrument to be calibrated and the oil mass instrument are the same type instruments.
3. The method for generating calibration information based on a fuel gauge according to claim 1, wherein the step of acquiring gauge display information and fuel amount information corresponding to the gauge display information includes:
acquiring a plurality of meter display sub-information and a plurality of oil mass sub-information which corresponds to the meter display sub-information one by one according to a preset information storage condition;
and generating meter display information and oil quantity information with corresponding relations by taking the plurality of meter display sub-information, the plurality of oil quantity sub-information and the corresponding relations between the plurality of meter display sub-information and the plurality of oil quantity sub-information as the basis.
4. A calibration information generation system based on a fuel gauge, characterized by comprising:
the acquisition unit is used for acquiring the communication information of the instrument;
the judging unit is used for judging whether the instrument communication information is matched with preset instrument correction information or not;
the acquisition unit is further used for acquiring meter display information and oil quantity information corresponding to the meter display information when the meter communication information is matched with the meter correction information;
the generating unit is used for carrying out information calibration on the instrument display information and the oil quantity information according to a preset information calibration algorithm to obtain calibration information; the information calibration algorithm at least comprises a percentage calibration algorithm and a threshold calibration algorithm;
the judging unit includes:
the acquisition subunit is used for acquiring encryption and decryption algorithm information included in the instrument communication information;
the judgment subunit is used for judging whether the preset instrument correction information includes the encryption and decryption algorithm information;
and the determining subunit is configured to determine that the meter communication information matches the meter correction information when the meter correction information includes the encryption and decryption algorithm information.
5. The fuel gauge-based calibration information generating system of claim 4, further comprising:
the output unit is used for outputting the calibration information to an instrument to be calibrated so as to calibrate and initialize the instrument to be calibrated by taking the calibration information as a basis; the instrument to be calibrated and the oil mass instrument are the same type instruments.
6. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to make the electronic device execute the calibration information generation method based on the fuel gauge according to any one of claims 1 to 3.
7. A readable storage medium, wherein computer program instructions are stored in the readable storage medium, and when the computer program instructions are read and executed by a processor, the method for generating calibration information based on a fuel gauge according to any one of claims 1 to 3 is executed.
CN201910977338.5A 2019-10-14 2019-10-14 Calibration information generation method and system based on oil meter Active CN110553703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910977338.5A CN110553703B (en) 2019-10-14 2019-10-14 Calibration information generation method and system based on oil meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910977338.5A CN110553703B (en) 2019-10-14 2019-10-14 Calibration information generation method and system based on oil meter

Publications (2)

Publication Number Publication Date
CN110553703A CN110553703A (en) 2019-12-10
CN110553703B true CN110553703B (en) 2021-04-23

Family

ID=68742815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910977338.5A Active CN110553703B (en) 2019-10-14 2019-10-14 Calibration information generation method and system based on oil meter

Country Status (1)

Country Link
CN (1) CN110553703B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8079245B1 (en) * 2007-01-19 2011-12-20 EnerTrac, Inc. Fuel oil and propane monitoring, delivery and sale system and method
CN102650538A (en) * 2012-05-24 2012-08-29 上海神舟汽车节能环保有限公司 Combined measurement system for automobile fuel consumption and calibration method for oil tank liquid level sensor of
CN104089684A (en) * 2014-07-11 2014-10-08 重庆长安汽车股份有限公司 Automobile fuel gauge calibration method
CN109688098A (en) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 Safety communicating method, device, equipment and the computer readable storage medium of data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201404636A (en) * 2012-06-08 2014-02-01 Airbiquity Inc Assessment of electronic sensor data to remotely identify a motor vehicle and monitor driver behavior
WO2015044133A1 (en) * 2013-09-25 2015-04-02 Total S.A. Calibration of a meter built into a line of a hydrocarbon production plant
US10126761B2 (en) * 2015-12-29 2018-11-13 Hitachi Metals, Ltd. Gas insensitive mass flow control systems and methods
US20180024847A1 (en) * 2016-07-22 2018-01-25 Fisher-Rosemount Systems, Inc. Help system for a portable industrial device
US11940318B2 (en) * 2016-09-27 2024-03-26 Baker Hughes Energy Technology UK Limited Method for detection and isolation of faulty sensors
CN107702768B (en) * 2017-10-12 2020-03-03 西安航天动力研究所 High-pressure air large-flow field calibration device and method
CN208333627U (en) * 2018-07-02 2019-01-04 量质源检测有限公司 A kind of fluid flowmeter on-line checking self-calibrating device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8079245B1 (en) * 2007-01-19 2011-12-20 EnerTrac, Inc. Fuel oil and propane monitoring, delivery and sale system and method
CN102650538A (en) * 2012-05-24 2012-08-29 上海神舟汽车节能环保有限公司 Combined measurement system for automobile fuel consumption and calibration method for oil tank liquid level sensor of
CN104089684A (en) * 2014-07-11 2014-10-08 重庆长安汽车股份有限公司 Automobile fuel gauge calibration method
CN109688098A (en) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 Safety communicating method, device, equipment and the computer readable storage medium of data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谈谈加油站地罐容积标定系统的研制与开发;冯东;《石油库与加油站》;20031230;第12卷(第6期);第22-24页 *

Also Published As

Publication number Publication date
CN110553703A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
US10541986B2 (en) Method and apparatus for securing an application using a measurement of a location dependent physical property of the environment
CN107395614B (en) Single sign-on method and system
US10333710B2 (en) Method and system for determining desired size of private randomness using Tsallis entropy
CN110517147B (en) Transaction data processing method, device and system and computer readable storage medium
US10489833B2 (en) Remote verification of hearing device for e-commerce transaction
US20200213302A1 (en) Providing verified claims of user identity
JP6133479B1 (en) Meter reading system
US10243747B2 (en) Tamper detection for hardware devices
JP2017524173A5 (en)
FR2944598A1 (en) METHOD AND DEVICE FOR WEIGHTING
CN102089769B (en) Method of providing secure tamper-proof acquired data from process instruments
WO2013109534A1 (en) Systems and methods for enabling and disabling operation of manufacturing machines
EP2724273A1 (en) Mapping of health data
US20180048463A1 (en) Method and system for generating private randomness for the creation of public randomness
CN103250105A (en) Method and apparatus for parameterizing a safety device
CN105074690A (en) System and method for monitoring biometric data
EP3399489A1 (en) Settlement system, user terminal and method executed therein, settlement device and method executed therein, and program
CN110553703B (en) Calibration information generation method and system based on oil meter
JP6756195B2 (en) Cloud storage system
US11281430B2 (en) Random number generation device, information processing device, and random number generation method
CN111445250A (en) Block chain key testing method and device
CN109682435A (en) Pressure volume modification method, electronic equipment and storage medium
EP3218712A1 (en) Sobriety test authentication process and device
CN110717170B (en) Fingerprint login system, method and device of BIM system
CN112382007A (en) Mobile meter reading method and system for multiple types of gas meters

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