Communication method, system and volume correction controller based on identified data
By using data-based communication methods in Internet of Things communication, through data incremental value and encryption algorithm processing, the problem of large and inaccurate data volume in traditional communication methods is solved, and data security and efficient transmission are achieved, and communication efficiency is improved. and gas companies’ work efficiency.
Patent Information
- Application Number
- CN202210932736.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-04
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-08-04
AI Technical Summary
Traditional IoT data communication methods have problems such as large amount of data, high cost and inaccurate data. How to collect and update data more easily in real time while ensuring data security.
The communication method based on identification data is adopted, by obtaining current and historical data, using a preset data increment model to generate historical data increment values, and using a digital array arrangement and symmetric encryption algorithm to generate identified data, and parsing it to realize data transmission.
Through data incremental value transmission, the amount of data is reduced, communication efficiency is improved, data security and privacy is ensured, the workload and cost of gas companies is reduced, and work efficiency and economic benefits are improved.
Smart Images

Figure CN115314279B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data updating, and in particular to a communication method and system based on identified data and communication of a volume correction controller. Background Art
[0002] With the development of science and technology, many new communication methods have emerged in the field of communication. When communicating, traditional IoT data needs to rely on wireless communication or wired communication media, which not only transmits a large amount of data, but also increases the equipment and cost of communication, and causes the data to be inaccurate. How can we collect data more conveniently and update it in real time and transmit data more safely? The present invention proposes a new communication method. Summary of the invention
[0003] The present invention aims at the shortcomings of the prior art and provides a communication method, system and device implemented by identified data.
[0004] In order to solve the above technical problems, the present invention is solved by the following technical solutions:
[0005] A communication method based on identified data comprises the following steps:
[0006] Get current time data and historical data sets;
[0007] Based on the current moment data and the historical data in the historical data set, a historical data increment value data set is obtained through a preset data increment model;
[0008] Arrange the historical data increment values in the historical data increment value data set using a number array arrangement based on a preset arrangement model to obtain a data increment value sequence;
[0009] Storing the obtained data increment value sequence based on a preset time interval;
[0010] Based on the preset arrangement order, the incremental value data value and the preset symmetric encryption algorithm model, the historical data incremental value generates the identified data, wherein the identified data includes header data and record data, the header data is the preset server IP address and port and the device unique identification code and the data incremental model function expression constant, and the record data is the current time data and historical data;
[0011] The identified data is obtained, and the identified data is analyzed to obtain an analysis result.
[0012] As an implementable method, the current moment data and historical data respectively include time, operating condition cumulative quantity, standard condition cumulative quantity, operating condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, cumulative gas purchase volume, unit price and remaining quantity, and are sorted according to the same preset arrangement model.
[0013] As an implementable method, the preset data increment model generates a corresponding function expression through data fitting using the original values of real-time data and historical data. The function expression is as follows:
[0014]
[0015] Among them, a i is a constant, i=0, 1, 2..., n, b and c are also constants, f(x) is the calculated value of the data fitting function relationship expression of the data item at time point x, that is, the data fitting value, and x represents the time point;
[0016] f g (x) represents the data fitting value of the cumulative amount of the working condition at the time point x, f b (x) represents the data fitting value of the standard cumulative amount at time point x, f l (x) represents the fitted value of the cumulative gas purchase volume at time point x, f s (x) represents the data fitting value of the residual at time point x, d(x) is the data item increment value, that is, the difference between the actual value at time point x and the data fitting value f(x), d g (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f g The difference of (x), d b (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f b The difference of (x), d l (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f l The difference of (x), d s (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f s The difference of (x).
[0017] As an implementable method, the preset data increment model generates a corresponding function expression through data fitting using the original values of real-time data and historical data. The function expression is as follows:
[0018]
[0019] Among them, b j is a constant j = 0, 1, 2..., m, c and d are also constants, and b of each data item jThe constant values of c and d are also different; y(x) is the calculated value of the data fitting function relationship expression of the data item at time point x, that is, the data fitting value, x represents the time point, y v (x), y u (x), y t (x), y p (x), y j (x) is divided into the data fitting values of the working condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, and unit price. d(x) is also used to represent the incremental value of the data items working condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, and unit price, that is, the difference between the actual value at time point x and the data incremental value y(x), d v (x), d u (x), d t (x), d p (x), d j (x) represents the incremental value of the instantaneous flow rate under working conditions, the instantaneous flow rate under standard conditions, temperature, pressure, and unit price at time point x.
[0020] As an implementable method, the data incremental value sequence is: time incremental value, working condition cumulative incremental value, standard condition cumulative incremental value, working condition instantaneous flow incremental value, standard condition instantaneous flow incremental value, temperature incremental value, pressure incremental value, cumulative gas purchase volume incremental value, unit price incremental value and remaining volume incremental value, wherein the first separator is used to separate the two incremental values, and the second separator is used to separate the incremental values between two time points.
[0021] As an implementable method, it also includes verification and encryption steps, specifically:
[0022] Performing a check operation on the historical data in the identified data, which may adopt any one of a sum check and a cyclic redundancy check (CRC);
[0023] The device unique identification code, data increment model function expression constants, current time data, historical data check value, timestamp, and digital signature are encrypted using a symmetric encryption algorithm, and the symmetric encryption algorithm is any one of DES, 3DES, SM4, AES, RC2 and RC4.
[0024] As an implementable method, the arrangement order of the identified data includes:
[0025] Identified data = data server IP address and port + symmetric encryption algorithm identification code + encrypted data part + historical data array, separated by the third separator;
[0026] The encrypted data part = device unique identification code + data increment model function expression constant + real-time data + historical data check value + timestamp + digital signature, separated by the fourth separator.
[0027] As an implementable method, obtaining the identified data, parsing the identified data, and obtaining the parsing result includes the following steps:
[0028] Acquire the identified data, and decode and store the identified data based on preset storage rules and algorithms;
[0029] The historical data increment value is reversely calculated according to the increment value rule to obtain the historical data and the current time data, and the current time data is used for gas consumption settlement and generation of payment amount for self-service payment.
[0030] A communication system based on identified data includes a first device and a data acquisition and analysis device, wherein the first device includes a data acquisition module, an incremental value calculation module, an arrangement module, a storage module and a data generation module;
[0031] The data acquisition module is used to acquire current time data and historical data sets;
[0032] The incremental value calculation module is used to obtain the historical data incremental value data set through a preset data incremental model based on the current moment data and the historical data in the historical data set;
[0033] The arrangement module is used to arrange the historical data increment values in the historical data increment value data set by using a number array arrangement based on a preset arrangement model to obtain a data increment value sequence;
[0034] The storage module is used to store the obtained data increment value sequence based on a preset time interval;
[0035] The data generation module is used to generate identified data from the historical data increment value based on a preset arrangement order, an incremental value data value and a preset symmetric encryption algorithm model, wherein the identified data includes header data and record data, the header data is a preset server IP address and port and a device unique identification code and a data increment model function expression constant, and the record data is current time data and historical data;
[0036] The data acquisition and analysis device is used to acquire the identified data, analyze the identified data, and obtain the analysis result.
[0037] A volume correction controller comprises a data acquisition module, an increment value calculation module, an arrangement module, a storage module and a data generation module;
[0038] The data acquisition module is used to acquire current time data and historical data sets;
[0039] The incremental value calculation module is used to obtain the historical data incremental value data set through a preset data incremental model based on the current moment data and the historical data in the historical data set;
[0040] The arrangement module is used to arrange the historical data increment values in the historical data increment value data set by using a number array arrangement based on a preset arrangement model to obtain a data increment value sequence;
[0041] The storage module is used to store the obtained data increment value sequence based on a preset time interval;
[0042] The data generation module is used to generate identified data from the incremental value of historical data based on a preset arrangement order, incremental data value and a preset symmetric encryption algorithm model, wherein the identified data includes header data and record data, the header data is a preset server IP address and port, a device unique identification code and a data incremental model function expression constant, and the record data is current time data and historical data.
[0043] The present invention has significant technical effects due to the adoption of the above technical solution:
[0044] Through the method of the present invention, the volume correction controller realizes Internet of Things communication;
[0045] The identified data is composed of two parts, of which the historical data is in the form of a digital array and transmitted in incremental values;
[0046] The historical value uses incremental values, which compresses the data transmission volume, reduces the data volume, and converts the numerical value of the data item to hide the actual value of the data item, which plays an encryption role and ensures data security; the encryption method of special data format is sampled. The data uses arrays and incremental sorting, which effectively compresses the data, reduces the data volume, and improves communication efficiency;
[0047] Equipment users can handle the process by themselves, which improves convenience and reduces the workload of gas companies, thereby improving the work efficiency and economic benefits of gas companies;
[0048] Real-time data encryption is used, while incremental values are used for historical data, and its checksum is encrypted, which not only ensures data security and privacy, but also reduces the amount of encrypted data, ensuring data generation and decoding efficiency and running speed.
[0049] The data uses verification algorithms, encryption processing and time stamps to prevent errors, tampering and encryption protection, ensuring data security. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0051] Figure 1 It is a schematic flow diagram of the method of the present invention;
[0052] Figure 2 It is a schematic diagram of the incremental value of the functional relationship expression of the cumulative data item in historical data;
[0053] Figure 3 It is a schematic diagram of the incremental value of the functional relationship expression of the instantaneous quantity data item in the historical data;
[0054] Figure 4 It is a schematic diagram of the functional modules of a communication system implemented based on the identified data;
[0055] Figure 5 The present invention is a schematic diagram of a volume correction controller data module. DETAILED DESCRIPTION
[0056] The present invention is further described in detail below in conjunction with embodiments. The following embodiments are for explanation of the present invention but the present invention is not limited to the following embodiments.
[0057] Embodiment 1:
[0058] A communication method based on identified data, such as Figure 1 As shown, the following steps are included:
[0059] S100, obtaining current time data and historical data sets;
[0060] S200, obtaining a historical data increment value data set based on the current moment data and the historical data in the historical data set through a preset data increment model;
[0061] S300, using a digital array arrangement to arrange the historical data increment values in the historical data increment value data set based on a preset arrangement model to obtain a data increment value sequence;
[0062] S400, storing the obtained data increment value sequence based on a preset time interval;
[0063] S500, based on a preset arrangement order, an incremental value data value and a preset symmetric encryption algorithm model, the historical data incremental value generates identified data, wherein the identified data includes header data and record data, the header data is a preset server IP address and port and a device unique identification code and a data incremental model function expression constant, and the record data is current time data and historical data;
[0064] S600: Acquire identified data, and parse the identified data to obtain parsing results.
[0065] In the present invention, the identified data is composed of two parts, wherein the historical data is in the form of a digital array and transmitted in increments; the historical value uses an incremental value to compress the data transmission volume, reducing the data volume, and converts the numerical value of the data item to hide the actual value of the data item, playing an encryption role to ensure data security; the encryption method of the special data format is sampled. The data is sorted in a digital array and increments, and the data is effectively compressed, reducing the data volume and improving communication efficiency.
[0066] Specifically, the current moment data and historical data respectively include time, working condition cumulative amount, standard condition cumulative amount, working condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, cumulative gas purchase volume, unit price and remaining amount, and are sorted according to the same preset arrangement model. The historical data in the historical data set is actually arranged according to time, and is not disorganized. The acquisition time can be set by yourself, or it can be set according to the usage regulations, such as one minute, ten minutes, and one hour. If it is more accurate, it can also be collected every second. After collection, it will be sorted in the set order, which is equivalent to having so many types of data items at each moment. In one embodiment, the unique identification code of the device is actually the unique identification code of the volume correction controller.
[0067] In one embodiment, the preset data increment model generates a corresponding function expression through data fitting based on the original values of real-time data and historical data (including operating condition cumulative amount, standard condition cumulative amount, cumulative gas purchase amount, and remaining amount). The function expression is as follows:
[0068]
[0069] Among them, a i is a constant, i=0, 1, 2..., n, b and c are also constants, f(x) is the calculated value of the data fitting function relationship expression of the data item at time point x, that is, the data fitting value, and x represents the time point;
[0070] f g (x) represents the data fitting value of the cumulative amount of the working condition at the time point x, f b(x) represents the data fitting value of the standard cumulative amount at time point x, f l (x) represents the fitted value of the cumulative gas purchase volume at time point x, f s (x) represents the data fitting value of the residual at time point x, d(x) is the data item increment value, that is, the difference between the actual value at time point x and the data fitting value f(x), d g (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f g The difference of (x), d b (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f b The difference of (x), d l (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f l The difference of (x), d s (x) represents the actual value of the cumulative amount of the working condition at time point x and the data fitting value f s The difference of (x) is obtained in this way, as shown in Figure 2 As shown in the figure, the curve is the fitting curve of the cumulative data of the working condition, the dots are the real data values, the five-pointed star is the relationship value of f(x) at the x time point obtained by data fitting according to formula 1, and d(x) is the difference between the real value of the cumulative amount of the working condition at the x time point and the data fitting value f(x).
[0071] In addition, the function expression in this embodiment can also be used for calculation, and the function expression is as follows:
[0072]
[0073] Among them, b j is a constant j = 0, 1, 2..., m, c and d are also constants, and b of each data item j The constant values of c and d are also different; y(x) is the calculated value of the data fitting function relationship expression of the data item at time point x, that is, the data fitting value, x represents the time point, y v (x), y u (x), y t (x), y p (x), y j (x) is divided into the data fitting values of the working condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, and unit price. d(x) is also used to represent the incremental value of the data items working condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, and unit price, that is, the difference between the actual value at time point x and the data fitting value y(x), d v (x), d u (x), d t (x), d p (x), d j(x) represents the incremental value of the instantaneous flow rate under working condition, instantaneous flow rate under standard condition, temperature, pressure, and unit price at time point x, such as Figure 3 As shown, the blue curve is the data fitting curve of temperature, the red dots are the real data values, the black five-pointed stars are the relationship values of y(x) at time point x calculated according to the data fitting of formula 2, and d(x) is the difference between the real value of temperature at time point x and the fitting value y(x).
[0074] As an implementable method, the data incremental value sequence is: time incremental value, working condition cumulative incremental value, standard condition cumulative incremental value, working condition instantaneous flow incremental value, standard condition instantaneous flow incremental value, temperature incremental value, pressure incremental value, cumulative gas purchase volume incremental value, unit price incremental value and remaining volume incremental value, wherein the first separator is used to separate the two incremental values, and the second separator is used to separate the incremental values between two time points.
[0075] For example, if the first separator is a comma and the second separator is a semicolon, then:
[0076]
[0077] In order to make the data more secure, verification and encryption steps are also included, specifically:
[0078] Performing a check operation on the historical data in the identified data, which may adopt any one of a sum check and a cyclic redundancy check (CRC);
[0079] The device unique identification code, data increment model function expression constants, current time data, historical data check value, timestamp, and digital signature are encrypted using a symmetric encryption algorithm, and the symmetric encryption algorithm is any one of DES, 3DES, SM4, AES, RC2 and RC4.
[0080] Equipment users can handle the process by themselves, which improves convenience and reduces the workload of gas companies, thereby improving the work efficiency and economic benefits of gas companies; real-time data encryption is used, and incremental values are used for historical data, and their check codes are encrypted, which not only ensures data security and privacy, but also reduces the amount of encrypted data, ensuring data generation and decoding efficiency and operating speed. The data uses check algorithms, encryption processing and timestamps to prevent errors, tampering and encryption protection, ensuring data security.
[0081] In one embodiment, the order of arrangement of the identified data includes:
[0082] Identified data = server IP address and port + symmetric encryption algorithm identification code + encrypted data part + historical data array, separated by the third separator;
[0083] The encrypted data part = device unique identification code + data increment model function expression constant + real-time data + historical data check value + timestamp + digital signature, separated by the fourth separator.
[0084] In addition, the step of obtaining the identified data, parsing the identified data, and obtaining the parsing result comprises the following steps:
[0085] Acquire the identified data, and decode and store the identified data based on preset storage rules and algorithms;
[0086] The historical data increment value is reversely calculated according to the increment value rule to obtain the historical data and the current time data, and the current time data is used for gas consumption settlement and generation of payment amount for self-service payment.
[0087] In all the above embodiments, the identified data may be represented in the form of a QR code or other forms.
[0088] Embodiment 2:
[0089] A communication system based on identified data, such as Figure 4 As shown, it includes a first device 10 and a data acquisition and analysis device 20, wherein the first device includes a data acquisition module 100, an incremental value calculation module 200, an arrangement module 300, a storage module 400 and a data generation module 500;
[0090] The data acquisition module 100 is used to acquire current time data and historical data sets;
[0091] The incremental value calculation module 200 is used to obtain a historical data incremental value data set based on the current moment data and the historical data in the historical data set through a preset data incremental model;
[0092] The arrangement module 300 is used to arrange the historical data increment values in the historical data increment value data set by using a digital array arrangement based on a preset arrangement model to obtain a data increment value sequence;
[0093] The storage module 400 is used to store the obtained data increment value sequence based on a preset time interval;
[0094] The data generation module 500 is used to generate identified data from the historical data increment value based on a preset arrangement order, an incremental value data value and a preset symmetric encryption algorithm model, wherein the identified data includes header data and record data, the header data is a preset server IP address and port and a device unique identification code and a data increment model function expression constant, and the record data is current time data and historical data;
[0095] The data acquisition and analysis device 20 is used to acquire the identified data, analyze the identified data, and obtain the analysis result.
[0096] Embodiment 3:
[0097] A volume correction controller, such as Figure 5 As shown, it includes a data acquisition module 100, an incremental value calculation module 200, an arrangement module 300, a storage module 400 and a data generation module 500;
[0098] The data acquisition module 100 is used to acquire current time data and historical data sets;
[0099] The incremental value calculation module 200 is used to obtain a historical data incremental value data set based on the current moment data and the historical data in the historical data set through a preset data incremental model;
[0100] The arrangement module 300 is used to arrange the historical data increment values in the historical data increment value data set by using a digital array arrangement based on a preset arrangement model to obtain a data increment value sequence;
[0101] The storage module 400 is used to store the obtained data increment value sequence based on a preset time interval;
[0102] The data generation module 500 is used to generate identified data from the incremental value of historical data based on a preset arrangement order, incremental data value and a preset symmetric encryption algorithm model, wherein the identified data includes header data and record data, the header data is a preset server IP address and port, a device unique identification code and a data incremental model function expression constant, and the record data is current time data and historical data.
[0103] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0104] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0105] The present invention is described with reference to the flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0108] It should be noted that:
[0109] The "one embodiment" or "embodiment" mentioned in the specification means that the specific features, structures or characteristics described in conjunction with the embodiment are included in at least one embodiment of the present invention. Therefore, the phrases "one embodiment" or "embodiment" appearing in various places throughout the specification do not necessarily refer to the same embodiment.
[0110] In addition, it should be noted that the shapes and names of the parts and components of the specific embodiments described in this specification may be different. Any equivalent or simple changes made based on the structure, features and principles described in the patent concept of the present invention are included in the protection scope of the patent of the present invention. The technicians in the technical field of the present invention can make various modifications or supplements to the specific embodiments described or replace them in a similar manner, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
Claims
1. A communication method based on identified data, characterized in that: The following steps are involved: Get current time data and historical data sets; Based on the current moment data and the historical data in the historical data set, a historical data increment value data set is obtained through a preset data increment model; Arrange the historical data increment values in the historical data increment value data set using a number array arrangement based on a preset arrangement model to obtain a data increment value sequence; Storing the obtained data increment value sequence based on a preset time interval; Based on the preset arrangement order, the incremental value data value and the preset symmetric encryption algorithm model, the historical data incremental value generates the identified data, wherein the identified data includes header data and record data, the header data is the preset server IP address and port and the device unique identification code and the data incremental model function expression constant, and the record data is the current time data and historical data; Acquire the identified data, analyze the identified data, and obtain the analysis result; The preset data increment model generates a corresponding function expression by fitting the original values of real-time data and historical data. The function expression is expressed as: in, is a constant, i = 0, 1, 2..., n, b and c are also constants, For at time point The calculated value of the data fitting function relationship expression of the data item, that is, the data fitting value, Indicates a point in time; The cumulative amount of representative working conditions is Fitting value of time point data, Represents the standard cumulative amount Fitting value of time point data, Represents the cumulative gas purchase volume Fitting value of time point data, Represents the remaining amount in Fitting value of time point data, is the incremental value of the data item, that is, Actual value at time point and data fitting value The difference, The cumulative amount of representative working conditions is Actual value at time point and data fitting value The difference, Represents the standard cumulative amount Actual value at time point and data fitting value The difference, Represents the cumulative gas purchase volume Actual value at time point and data fitting value The difference, Represents the remaining amount in Actual value at time point and data fitting value The difference between The preset arrangement order of the identified data includes: Identified data = data server IP, port + symmetric encryption algorithm identification code + encrypted data part + historical data array, separated by the third separator; The encrypted data part = device unique identification code + data increment model function expression constant + real-time data + historical data check value + timestamp + digital signature, separated by the fourth separator.
2. The communication method based on identified data according to claim 1, characterized in that: The current moment data and historical data respectively include time, operating condition cumulative quantity, standard condition cumulative quantity, operating condition instantaneous flow rate, standard condition instantaneous flow rate, temperature, pressure, cumulative gas purchase quantity, unit price and remaining quantity, and are respectively sorted according to the same preset arrangement model.
3. The communication method based on identified data according to claim 1, characterized in that: The preset data increment model generates a corresponding function expression by fitting the original values of real-time data and historical data. The function expression is also expressed as: in, is a constant j = 0, 1, 2..., m, e and d are also constants, and the data items The constant values of c and d are also different; for The calculated value of the data fitting function relationship expression of the data item at the time point, that is, the data fitting value, Indicates a point in time, , , , , It is divided into the data fitting values of working condition instantaneous flow, standard condition instantaneous flow, temperature, pressure and unit price. It indicates the incremental value of the data items working condition instantaneous flow, standard condition instantaneous flow, temperature, pressure, and unit price, that is, Actual value at a time point and data increment value The difference, , , , , Representative working condition instantaneous flow, standard condition instantaneous flow, temperature, pressure, unit price The incremental value of a time point.
4. The communication method based on identified data according to claim 1, characterized in that: The data increment value sequence is: time increment value, working condition cumulative quantity increment value, standard condition cumulative quantity increment value, working condition instantaneous flow increment value, standard condition instantaneous flow increment value, temperature increment value, pressure increment value, cumulative gas purchase quantity increment value, unit price increment value and remaining quantity increment value, wherein the first separator is used to separate the two incremental values, and the second separator is used to separate the incremental values between two time points.
5. The communication method based on identified data according to claim 1, characterized in that: It also includes verification and encryption steps, specifically: Performing a check operation on the historical data in the identified data, which may adopt any one of a sum check and a cyclic redundancy check; The device unique identification code, data increment model function expression constants, current time data, historical data check value, timestamp, and digital signature are encrypted using a symmetric encryption algorithm, and the symmetric encryption algorithm is any one of DES, 3DES, SM4, AES, RC2 and RC4.
6. The communication method based on identified data according to claim 1, characterized in that: The step of obtaining the identified data, parsing the identified data, and obtaining the parsing result comprises the following steps: Acquire the identified data, and decode and store the identified data based on preset storage rules and algorithms; The historical data increment value is reversely calculated according to the increment value rule to obtain the historical data and the current time data, and the current time data is used for gas consumption settlement and generation of payment amount for self-service payment.
7. A communication system based on identified data, characterized in that: It includes a first device and a data acquisition and analysis device, wherein the first device includes a data acquisition module, an incremental value calculation module, an arrangement module, a storage module and a data generation module; The data acquisition module is used to acquire current time data and historical data sets; The incremental value calculation module is used to obtain the historical data incremental value data set through a preset data incremental model based on the current moment data and the historical data in the historical data set; The arrangement module is used to arrange the historical data increment values in the historical data increment value data set by using a number array arrangement based on a preset arrangement model to obtain a data increment value sequence; The storage module is used to store the obtained data increment value sequence based on a preset time interval; The data generation module is used to generate identified data from the historical data increment value based on a preset arrangement order, an incremental value data value and a preset symmetric encryption algorithm model, wherein the identified data includes header data and record data, the header data is a preset server IP address and port and a device unique identification code and a data increment model function expression constant, and the record data is current time data and historical data; The data acquisition and analysis device is used to acquire the identified data, analyze the identified data, and obtain the analysis result; The preset data increment model generates a corresponding function expression by fitting the original values of real-time data and historical data. The function expression is expressed as: in, is a constant, i = 0, 1, 2..., n, b and c are also constants, For at time point The calculated value of the data fitting function relationship expression of the data item, that is, the data fitting value, Indicates a point in time; The cumulative amount of representative working conditions is Fitting value of time point data, Represents the standard cumulative amount Fitting value of time point data, Represents the cumulative gas purchase volume Fitting value of time point data, Represents the remaining amount in Fitting value of time point data, is the incremental value of the data item, that is, Actual value at time point and data fitting value The difference, The cumulative amount of representative working conditions is Actual value at time point and data fitting value The difference, Represents the standard cumulative amount Actual value at time point and data fitting value The difference, Represents the cumulative gas purchase volume Actual value at time point and data fitting value The difference, Represents the remaining amount in Actual value at time point and data fitting value The difference between The preset arrangement order of the identified data includes: Identified data = data server IP, port + symmetric encryption algorithm identification code + encrypted data part + historical data array, separated by the third separator; The encrypted data part = device unique identification code + data increment model function expression constant + real-time data + historical data check value + timestamp + digital signature, separated by the fourth separator.
8. A volume correction controller, characterized in that: It includes a data acquisition module, an incremental value calculation module, an arrangement module, a storage module and a data generation module; The data acquisition module is used to acquire current time data and historical data sets; The incremental value calculation module is used to obtain the historical data incremental value data set through a preset data incremental model based on the current moment data and the historical data in the historical data set; The arrangement module is used to arrange the historical data increment values in the historical data increment value data set by using a number array arrangement based on a preset arrangement model to obtain a data increment value sequence; The storage module is used to store the obtained data increment value sequence based on a preset time interval; The data generation module is used to generate identified data from the historical data increment value based on a preset arrangement order, an incremental value data value and a preset symmetric encryption algorithm model, wherein the identified data includes header data and record data, the header data is a preset server IP address and port and a device unique identification code and a data increment model function expression constant, and the record data is current time data and historical data; The preset data increment model generates a corresponding function expression by fitting the original values of real-time data and historical data. The function expression is as follows: in, is a constant, i = 0, 1, 2..., n, b and c are also constants, For at time point The calculated value of the data fitting function relationship expression of the data item, that is, the data fitting value, Indicates a point in time; The cumulative amount of representative working conditions is Fitting value of time point data, Represents the standard cumulative amount Fitting value of time point data, Represents the cumulative gas purchase volume Fitting value of time point data, Represents the remaining amount in Fitting value of time point data, is the incremental value of the data item, that is, Actual value at time point and data fitting value The difference, The cumulative amount of representative working conditions is Actual value at time point and data fitting value The difference, Represents the standard cumulative amount Actual value at time point and data fitting value The difference, Represents the cumulative gas purchase volume Actual value at time point and data fitting value The difference, Represents the remaining amount in Actual value at time point and data fitting value The difference between The preset arrangement order of the identified data includes: Identified data = data server IP, port + symmetric encryption algorithm identification code + encrypted data part + historical data array, separated by the third separator; The encrypted data part = device unique identification code + data increment model function expression constant + real-time data + historical data check value + timestamp + digital signature, separated by the fourth separator.
Citation Information
Patent Citations
Oil reservoir simulation auxiliary history fitting method and system, storage medium and equipment
CN109902329A
Abnormal data recognition method and system based on clustering analysis, and storage medium
CN110941648A
