CN116362769A - Method and system for tracing quality problem of finished oil, electronic equipment and storage medium - Google Patents

Method and system for tracing quality problem of finished oil, electronic equipment and storage medium Download PDF

Info

Publication number
CN116362769A
CN116362769A CN202310237327.XA CN202310237327A CN116362769A CN 116362769 A CN116362769 A CN 116362769A CN 202310237327 A CN202310237327 A CN 202310237327A CN 116362769 A CN116362769 A CN 116362769A
Authority
CN
China
Prior art keywords
oil
tank
tracing
batch
oil tank
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310237327.XA
Other languages
Chinese (zh)
Inventor
丁建华
吴世胜
雷友曦
余铸平
唐宇博
周国文
罗伟宏
赵君志
缪伟华
徐毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sinopec Sales Co ltd
China Petroleum and Chemical Corp
Original Assignee
Sinopec Sales Co ltd
China Petroleum and Chemical Corp
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 Sinopec Sales Co ltd, China Petroleum and Chemical Corp filed Critical Sinopec Sales Co ltd
Priority to CN202310237327.XA priority Critical patent/CN116362769A/en
Publication of CN116362769A publication Critical patent/CN116362769A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Geometry (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a system, electronic equipment and a storage medium for tracing quality problems of finished oil. And the source node in the product oil logistics system can be accurately traced, so that the root cause of the oil quality problem can be accurately found, the accuracy and reliability of tracing diagnosis are greatly improved, and the coverage area and scale of the oil quality problem can be conveniently and reversely deduced. The traceability result can be displayed in the digital twin model, so that the user can intuitively know the traceability result conveniently.

Description

Method and system for tracing quality problem of finished oil, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of tracing of finished oil, in particular to a method and a system for tracing the quality problem of the finished oil, electronic equipment and a computer readable storage medium.
Background
The finished oil is produced and processed by crude oil and mainly comprises gasoline, kerosene, diesel oil and other alternative fuels which accord with the national product quality standard and have the same purpose, such as ethanol gasoline, biodiesel and the like. At present, the proportion of petroleum import amount in China to petroleum consumption amount is increased year by year, and the quality problem of finished product oil is also becoming an increasingly important problem in the economic development process. Therefore, when the quality problem of the finished oil occurs, how to quickly and accurately perform the traceability analysis becomes a key problem to be solved.
At present, the conventional tracing mode is as follows: after the problem of oil quality occurs, laboratory analysis is carried out on a plurality of chemical characteristic indexes (such as evaporation temperature, sulfur content, aromatic hydrocarbon content and the like) of the problem oil, then the analysis result is matched with a plurality of pre-trained oil characteristic models, each oil characteristic model corresponds to an oil supplier, and if the analysis result is matched with which oil characteristic model, the problem oil can be traced back to be obtained from the corresponding oil supplier. For example, patent CN110335047a discloses an oil tracing analysis system, which constructs a matching model for each oil production plant according to the oil characteristic indexes of different oil suppliers, then matches the oil characteristic indexes of the traced oil with each matching model, and analyzes the similarity between the traced oil and the oil of each oil supplier, and the oil supplier with the largest similarity is the source.
However, the current tracing mode needs laboratory analysis on the problem oil products, and cannot meet the real-time requirement of tracing work. Moreover, the current tracing result can only trace back to the source of an oil product supplier, the source node in a product oil logistics system cannot be accurately traced back, and accurate tracing cannot be realized, so that the later-stage risk accurate investigation cannot be performed.
Disclosure of Invention
The invention provides a method and a system for tracing quality problems of finished oil, electronic equipment and a computer-readable storage medium, and aims to solve the technical problems that an existing tracing mode cannot meet real-time requirements and cannot achieve accurate tracing.
According to one aspect of the invention, a method for tracing quality problems of finished oil is provided, which comprises the following steps:
constructing a coupling model among all links of a product oil logistics system;
constructing a digital twin model of the product oil logistics system based on the coupling model;
and acquiring oil quality problem information by using the digital twin model, tracing the quality problem of the finished oil, and displaying a tracing result in the digital twin model.
Further, the process of constructing the coupling model among all links of the product oil logistics system specifically comprises the following steps:
Constructing a coupling relation between oil quality problem information and fueling information based on the user fueling record, wherein the fueling information comprises a fueling station code, a fueling station name, a fueling gun number and fueling time;
constructing a coupling relation between the number of the oil gun and the number of the oil tank of the gas station based on the corresponding relation of the tank gun;
carrying out tank storage dynamic batch analysis on the oil tank of the gas station, and constructing a coupling relation between the oil tank of the gas station and the oil inlet batch of the gas station according to an analysis result;
constructing a coupling relation between an oil warehouse oil tank and an oil inlet batch of a gas station based on the corresponding relation between the outlet bill number of the oil inlet batch of the gas station and the oil delivery crane position;
and carrying out tank dynamic batch analysis on the oil tank of the oil tank, and constructing the coupling relation between the oil tank of the oil tank and the oil inlet batch of the oil tank according to the analysis result.
Further, the process of carrying out the tank-stored dynamic batch analysis on the oil tank of the oil depot specifically comprises the following steps:
setting the initial batch of each oil tank in the initial state as S 0 Stock lifting number is L 0 The initial time is T 0 The initial batch ratio was 100%;
acquiring the stock lifting number L of an oil tank in an oil warehouse before first oil feeding Remainder 1 And first oil inlet information, wherein the first oil inlet information comprises the oil inlet lifting number L 1 And oil-in completion time T 1 Calculating the oil batch ratio of the oil tank of the oil reservoir after the first oil feeding, wherein the initial batch ratio is
Figure BDA0004122902830000021
First batch S 1 Is +.>
Figure BDA0004122902830000031
Acquiring the stock lifting number L of an oil tank in an oil warehouse before secondary oil feeding Surplus 2 And second oil inlet information, wherein the second oil inlet information comprises the oil inlet lifting number L 2 And oil-in completion time T 2 And calculating the oil batch ratio of the oil tank of the oil reservoir after the second oil feeding, at this time, the process is justThe initial batch has a duty ratio of
Figure BDA0004122902830000032
First batch S 1 Is +.>
Figure BDA0004122902830000033
Second batch S 2 Is +.>
Figure BDA0004122902830000034
Acquiring the stock lifting number L of an oil tank in an oil warehouse before the Nth oil inlet Residual N And the nth oil inlet information comprises the oil inlet lifting number L N And oil-in completion time T N And calculating the duty ratio of the latest three batches of oil products in the oil tank of the oil depot after the Nth oil inlet, wherein the duty ratios are respectively as follows:
Figure BDA0004122902830000035
Figure BDA0004122902830000036
further, the process of carrying out the tank-storing dynamic batch analysis on the oil tank of the gas station specifically comprises the following steps:
determining the current oil inlet batch components and the proportion of the oil inlet batch components of the oil tank of the gas station according to the oil filling time of the oil tank truck;
acquiring the stock lifting number of the oil tank of the gas station before oil is fed, the total oil quantity and the oil unloading completion time of the current loading, and the historical record batch and the duty ratio of the oil tank of the gas station;
and calculating to obtain the latest three batches and the duty ratio of the batches in the oil tank of the gas station after the oil filling is completed.
Further, the process of obtaining the oil quality problem information and tracing the quality problem of the product oil by using the digital twin model specifically comprises the following steps:
acquiring a fueling record of an oil complaint event reflected by a user from a customer service system;
the user fueling record is traced back to a fueling station code, a fueling station name, a fueling gun number and fueling time in a fueling station management and control system according to the user fueling record;
according to the number of the oil gun, tracing the oil gun number of the gas station corresponding to the oil gun from the integrated tank gun relation in the liquid level meter system;
according to the filling time and the number of the filling station oil tank, carrying out tank storage dynamic batch analysis on the filling station oil tank to obtain the latest three batches of oil batches and the duty ratio of the filling station oil tank when the filling station oil tank is filled, and further tracing to obtain the oil inlet batch of the oil tank truck and determining a warehouse outlet bill;
acquiring vehicle information and driver information from a logistics system according to the delivery bill number, and tracing to obtain the oil delivery table crane position of the oil depot according to the corresponding relation between the delivery bill number and the oil delivery crane position in the oil delivery table system;
the number of the oil tank of the oil depot is obtained based on the crane position of the oil depot and the time of the delivery bill;
carrying out tank dynamic batch analysis on the oil tank of the oil tank, and tracing to obtain an oil inlet batch of the oil tank according to an analysis result;
And executing the steps for a plurality of oil complaints, and carrying out statistical analysis on a plurality of tracing results to obtain the root cause of the oil quality problem.
Further, the process of constructing the digital twin model of the product oil logistics system based on the coupling model specifically comprises the following steps:
constructing a three-dimensional visual simulation model of each physical twin body in the product oil logistics system on a simulation platform;
and establishing an interaction channel between the physical twin body and the corresponding three-dimensional visual simulation model, and constructing a digital twin model of the product oil logistics system by combining the coupling model.
Further, the method also comprises the following steps:
and performing risk investigation according to the tracing result.
In addition, the invention also provides a system for tracing the quality problem of the finished oil, which comprises the following components:
the coupling model construction module is used for constructing a coupling model among all links of the product oil logistics system;
the digital twin model construction module is used for constructing a digital twin model of the product oil logistics system based on the coupling model;
and the oil product tracing module is used for acquiring oil product quality problem information by using the digital twin model and tracing the quality problem of the finished oil product, and displaying a tracing result in the digital twin model.
In addition, the invention also provides an electronic device comprising a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the steps of the method by calling the computer program stored in the memory.
In addition, the invention also provides a computer readable storage medium for storing a computer program for tracing a problem of quality of a product oil, the computer program executing the steps of the method as described above when running on a computer.
The invention has the following effects:
according to the tracing method for the quality problem of the finished oil, the mapping relation between each transportation link and each sales link in the finished oil logistics system is clearly carded out by constructing the coupling model between each link in the finished oil logistics system, so that a tracing network foundation is provided for subsequent tracing work. And a digital twin model of the product oil logistics system is constructed based on the coupling model, and a digital twin technology is utilized to correlate a physical twin body of the product oil logistics system with the digital twin body, so that real-time interaction between the physical twin body and the digital twin body is realized, automatic traceability analysis is conveniently carried out by automatically collecting big data through the digital twin model, and the traceability real-time requirement can be well met. And the source node in the product oil logistics system can be accurately traced, so that the root cause of the oil quality problem can be accurately found, the accuracy and reliability of tracing diagnosis are greatly improved, and the coverage area and scale of the oil quality problem can be conveniently and reversely deduced. In addition, the traceability result can be displayed in the digital twin model, so that the user can intuitively know the traceability result conveniently.
In addition, the product oil quality problem tracing system also has the advantages.
In addition to the objects, features and advantages described above, the present invention has other objects, features and advantages. The present invention will be described in further detail with reference to the drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. In the drawings:
fig. 1 is a schematic flow chart of a method for tracing quality problems of a product oil according to a preferred embodiment of the invention.
Fig. 2 is a schematic flow chart of step S1 in fig. 1.
Fig. 3 is a schematic flow chart of step S2 in fig. 1.
FIG. 4 is a schematic flow chart of tracing the quality problem of the product oil in the preferred embodiment of the invention.
Fig. 5 is a flow chart of a method for tracing quality problems of a product oil according to another embodiment of the present invention.
FIG. 6 is a flow chart illustrating the tracing of quality problems of the product oil according to another embodiment of the invention.
Fig. 7 is a schematic diagram of searching a source node based on a time matrix in a process of tracing a quality problem of a product oil according to another embodiment of the invention.
FIG. 8 is a schematic block diagram of a system for tracing quality problems of product oil according to another embodiment of the present invention.
Detailed Description
Embodiments of the invention are described in detail below with reference to the attached drawing figures, but the invention can be practiced in a number of different ways, as defined and covered below.
As shown in fig. 1, a preferred embodiment of the present invention provides a method for tracing quality problems of a product oil, which includes the following steps:
step S1: constructing a coupling model among all links of a product oil logistics system;
step S2: constructing a digital twin model of the product oil logistics system based on the coupling model;
step S3: and acquiring oil quality problem information by using the digital twin model, tracing the quality problem of the finished oil, and displaying a tracing result in the digital twin model.
It can be understood that the tracing method for the quality problem of the finished oil in the embodiment clearly combs out the mapping relation between each transportation link and each sales link in the finished oil logistics system by constructing the coupling model between each link in the finished oil logistics system, and provides a tracing network foundation for the subsequent tracing work. And a digital twin model of the product oil logistics system is constructed based on the coupling model, and a digital twin technology is utilized to correlate a physical twin body of the product oil logistics system with the digital twin body, so that real-time interaction between the physical twin body and the digital twin body is realized, automatic traceability analysis is conveniently carried out by automatically collecting big data through the digital twin model, and the traceability real-time requirement can be well met. And the source node in the product oil logistics system can be accurately traced, so that the root cause of the oil quality problem can be accurately found, the accuracy and reliability of tracing diagnosis are greatly improved, and the coverage area and scale of the oil quality problem can be conveniently and reversely deduced. In addition, the traceability result can be displayed in the digital twin model, so that the user can intuitively know the traceability result conveniently.
It can be understood that in the step S1, the coupling model between the links of the product oil logistics system is constructed by analyzing the flow of the product oil logistics system and combining the relevance between the links. Specifically, as shown in fig. 2, the process of constructing the coupling model between the links of the product oil logistics system specifically includes:
step S11: constructing a coupling relation between oil quality problem information and fueling information based on the user fueling record, wherein the fueling information comprises a fueling station code, a fueling station name, a fueling gun number and fueling time;
step S12: constructing a coupling relation between the number of the oil gun and the number of the oil tank of the gas station based on the corresponding relation of the tank gun;
step S13: carrying out tank storage dynamic batch analysis on the oil tank of the gas station, and constructing a coupling relation between the oil tank of the gas station and the oil inlet batch of the gas station according to an analysis result;
step S14: constructing a coupling relation between an oil warehouse oil tank and an oil inlet batch of a gas station based on the corresponding relation between the outlet bill number of the oil inlet batch of the gas station and the oil delivery crane position;
step S15: and carrying out tank dynamic batch analysis on the oil tank of the oil tank, and constructing the coupling relation between the oil tank of the oil tank and the oil inlet batch of the oil tank according to the analysis result.
It can be understood that detailed fueling information such as a fueling station code, a fueling station name, a fueling gun number, fueling time and the like can be obtained in a fueling station management and control system according to fueling serial numbers based on user fueling records, so that a coupling relation between the information of the oil quality problem and the fueling information can be constructed. Then, according to the number of the oil gun, the corresponding relation of the integrated tank gun in the liquid level meter system can be traced back to the number of the oil tank of the gas station corresponding to each oil gun, so that the coupling relation between the oil gun and the oil tank of the gas station is constructed. And then, carrying out tank storage dynamic batch analysis on the oil tank of the gas station based on the oil filling time of the user and the oil tank number of the gas station, thereby determining the oil batch and the duty ratio in the oil tank of the gas station when the oil filling occurs according to the oil filling time of the customer complaint and the oil tank number of the gas station, tracing the oil tank car with the main function to the oil inlet batch of the oil tank car, and determining the number of the delivery bill, and further constructing the coupling relation between the oil tank of the gas station and the oil inlet batch of the gas station. And determining the number of the oiling crane based on the corresponding relation between the delivery list number corresponding to the oil inlet batch of the gas station and the oil delivery crane, and constructing the coupling relation between the oil tank of the oil reservoir and the oil inlet batch of the gas station by combining the corresponding relation between the number of the oiling crane and the number of the oil tank of the oil reservoir and the delivery list time. Finally, the coupling relation between the oil tank of the oil depot and the oil inlet batch of the oil depot can be constructed by carrying out the tank dynamic batch analysis on the oil tank of the oil depot. The coupling relation among the links of the user refueling running water, the refueling gun, the fuel tank of the fuel station, the oil transportation delivery list, the oil tank delivering table crane position of the fuel tank, the fuel tank feeding batch of the fuel tank and the like related to the whole product oil logistics system is analyzed, so that a coupling model among the links of the product oil logistics system is constructed, quick and accurate tracing is facilitated, and a source node in the product oil logistics system can be accurately traced.
The process of carrying out the tank-storage dynamic batch analysis on the oil tank of the oil depot specifically comprises the following steps:
setting the initial batch of each oil tank in the initial state as S 0 Stock lifting number is L 0 The initial time is T 0 Initial batch duty P 0,0 100%;
acquiring the stock lifting number L of an oil tank in an oil warehouse before first oil feeding Remainder 1 And first oil inlet information, wherein the first oil inlet information comprises the oil inlet lifting number L 1 And oil-in completion time T 1 Calculating the oil batch ratio of the oil tank of the oil reservoir after the first oil feeding, wherein the initial batch ratio is
Figure BDA0004122902830000081
First batch S 1 Is +.>
Figure BDA0004122902830000082
Acquiring the stock lifting number L of an oil tank in an oil warehouse before secondary oil feeding Surplus 2 And second oil inlet information, wherein the second oil inlet information comprises the oil inlet lifting number L 2 And oil-in completion time T 2 Calculating the oil batch ratio of the oil tank of the oil reservoir after the second oil feeding, wherein the initial batch ratio is
Figure BDA0004122902830000083
First batch S 1 Is +.>
Figure BDA0004122902830000084
Second batch S 2 Is +.>
Figure BDA0004122902830000085
Acquiring the stock lifting number L of an oil tank in an oil warehouse before third oil feeding Remainder 3 And third oil inlet information, wherein the third oil inlet information comprises the oil inlet lifting number L 3 And oil-in completion time T 3 And calculating the occupation of the last three batches of oil batches of the oil tank of the oil depot after the third oil feeding At this time, the first batch S 1 Is +.>
Figure BDA0004122902830000086
Second batch S 2 Is +.>
Figure BDA0004122902830000087
Third batch S 3 Is +.>
Figure BDA0004122902830000088
And so on, acquiring the stock lifting number L of the oil tank in the oil reservoir before the Nth oil inlet Residual N And the nth oil inlet information comprises the oil inlet lifting number L N And oil-in completion time T N And calculating the duty ratio of the latest three batches of oil products in the oil tank of the oil depot after the Nth oil inlet, wherein the duty ratios are respectively as follows:
Figure BDA0004122902830000091
it will be appreciated that in a practical scenario, the reservoir tank will only be filled with fresh oil when the product oil level is below a predetermined level threshold, for example, when the reservoir tank is below 20% of full level, and after three oil fills, the effect of the historical residual oil on the quality of the oil is substantially negligible. Therefore, the invention carries out the duty ratio analysis on the latest three batches of oil products of the oil reservoir oil tank, records the oil inlet completion time of each batch of oil products, and is convenient for the subsequent quick and accurate tracing based on the two dimensions of time and space. Of course, in other embodiments of the present invention, only the duty ratio of the last two batches of oil products, the last one batch of oil products or more historical batches of oil products in the oil-way oil tank may be analyzed, and specifically may be selected according to the tracing accuracy requirement.
It can be understood that the process of carrying out the tank-storing dynamic batch analysis on the oil tank of the gas station is specifically as follows:
determining the current oil inlet batch components and the proportion of the oil inlet batch components of the oil tank of the gas station according to the oil filling time of the oil tank truck;
acquiring the stock lifting number of the oil tank of the gas station before oil is fed, the total oil quantity and the oil unloading completion time of the current loading, and the historical record batch and the duty ratio of the oil tank of the gas station;
and calculating to obtain the latest three batches and the duty ratio of the batches in the oil tank of the gas station after the oil filling is completed.
Specifically, the oil tank truck is delivered to a gas station after the oil tank truck finishes oil delivery from an oil depot, an oil path oil tank corresponding to the oil delivered at this time can be determined according to an oil delivery crane position of the oil tank truck when the oil depot is filled with oil, and batch components and the occupation ratio of the oil at this time can be accurately obtained by combining the oil delivery time of the oil tank truck. For example, the batch of the oil product comprises S 1 ′、S 2 ′、S 3 ' its corresponding duty ratio is P 1 ′、P 2 ′、P 3 '. In addition, the total oil quantity L' of the tank truck can be obtained.
After the oil tank truck reaches the filling station and finishes discharging oil, the stock lifting number L of the filling station oil tank before discharging the oil, the oil discharging finishing time T and the recording batch S of the latest three batches of oil in the filling station oil tank can be obtained from the liquid level meter platform 1 、S 2 、S 3 Its corresponding duty ratio P 1 、P 2 、P 3
Then, the duty ratio of each batch of oil products in the oil tank of the gas station after the oil unloading is completed is calculated as follows:
S 1 ' batch duty cycle
Figure BDA0004122902830000101
S 2 ' batch duty cycle
Figure BDA0004122902830000102
S 3 ' batch duty cycle
Figure BDA0004122902830000103
S 1 The ratio of batches
Figure BDA0004122902830000104
S 2 The ratio of batches
Figure BDA0004122902830000105
S 3 The ratio of batches
Figure BDA0004122902830000106
If S 1 ′、S 2 ′、S 3 ' Presence and S 1 、S 2 、S 3 And if the batches are the same, the batches are combined and the occupation ratios are accumulated, so that the latest three batches and the occupation ratios thereof of the oil tank of the gas station after oil is filled can be obtained, and the latest three batches and the occupation ratios thereof are recorded and stored.
It will be appreciated that, as shown in fig. 3, in the step S2, the process of constructing the digital twin model of the product oil stream system based on the coupling model is specifically:
step S21: constructing a three-dimensional visual simulation model of each physical twin body in the product oil logistics system on a simulation platform;
step S22: and establishing an interaction channel between the physical twin body and the corresponding three-dimensional visual simulation model, and constructing a digital twin model of the product oil logistics system by combining the coupling model.
Specifically, the design requirements of a product oil logistics system are obtained, a three-dimensional visual simulation model of each physical twin body is built on a simulation platform, then a motion and action control script is compiled, and the three-dimensional visual simulation model is subjected to off-line simulation operation until the off-line operation is normal. And then, a virtual control network is built by utilizing a digital twin technology, a physical twin body is interconnected with a corresponding digital twin body in a three-dimensional visual simulation model through a communication interface, an information channel and an instruction channel are respectively built between the physical twin body and the digital twin body, the synchronous implementation of downlink instructions and uplink information is realized, the operation data of physical equipment collected by various sensors of the physical twin body can be transmitted to the digital twin body through a virtual-real linkage simulation platform, the control instructions generated by the digital twin body based on the simulation data can be also transmitted to the physical twin body, and the novel oil quality problem tracing mode of a finished oil flow system can be realized through synchronous mapping and real-time interaction between the physical twin body and the digital twin body. For example, the digital twin model can synchronize information of basic files such as oil depot codes, oil depot names, oil tank codes, oil tank oil products, oil delivery positions and the like in an oil depot automatic system, synchronously acquire oil depot oil inlet data including oil inlet time periods, oil inlet amounts, oil products, oil tanks and the like through an ERP system interface, acquire real-time oil depot oil tank inventory data of the oil depot from an oil depot management and control integrated platform, save oil depot oil inlet front tank storage and oil depot storage back tank storage, acquire oil delivery data from an oil depot oil delivery system as a data basis of oil product batch component analysis, specifically acquire information including oil delivery crane position numbers, oil delivery amounts, oil product, oil vehicle license plates, oil delivery times and the like, synchronously acquire oil station oil inlet data including oil delivery depot, oil vehicle license plates, oil quantity, oil products, oil delivery times, oil discharge oil tanks, oil tank inventory data and the like from a liquid level meter platform, simultaneously save oil inlet front ruler data and rear ruler data, acquire oil gun oil adding records through an intelligent oil gun extracting machine of the oil filling station, and acquire a vehicle license plate number plate by an intelligent monitoring system.
It can be understood that, as shown in fig. 4, in the step S3, the process of acquiring the oil quality problem information and tracing the quality problem of the product oil by using the digital twin model specifically includes the following steps:
step S31: acquiring a fueling record of an oil complaint event reflected by a user from a customer service system;
step S32: the user fueling record is traced back to a fueling station code, a fueling station name, a fueling gun number and fueling time in a fueling station management and control system according to the user fueling record;
step S33: according to the number of the oil gun, tracing the oil gun number of the gas station corresponding to the oil gun from the integrated tank gun relation in the liquid level meter system;
step S34: according to the filling time and the number of the filling station oil tank, carrying out tank storage dynamic batch analysis on the filling station oil tank to obtain the latest three batches of oil batches and the duty ratio of the filling station oil tank when the filling station oil tank is filled, and further tracing to obtain the oil inlet batch of the oil tank truck and determining a warehouse outlet bill;
step S35: acquiring vehicle information and driver information from a logistics system according to the delivery bill number, and tracing to obtain the oil delivery table crane position of the oil depot according to the corresponding relation between the delivery bill number and the oil delivery crane position in the oil delivery table system;
step S36: the number of the oil tank of the oil depot is obtained based on the crane position of the oil depot and the time of the delivery bill;
Step S37: carrying out tank dynamic batch analysis on the oil tank of the oil tank, and tracing to obtain an oil inlet batch of the oil tank according to an analysis result;
step S38: and executing the steps for a plurality of oil complaints, and carrying out statistical analysis on a plurality of tracing results to obtain the root cause of the oil quality problem.
Specifically, the digital twin platform is interconnected and communicated with the customer service system, and the oiling records of the oil complaints reflected by the user are obtained from the customer system, wherein the oiling records specifically comprise information such as oiling events, oiling serial numbers, oiling amounts and the like. And then, according to the user fueling record, the detailed fueling information such as the fueling station code, the fueling station name, the fueling gun number, the fueling time and the like can be traced back to the fueling station in the fueling station management and control system according to the fueling serial number. And then the number of the oil tank of the gas station corresponding to the oil gun is traced back from the integrated tank gun relation in the liquid level meter system according to the number of the oil gun, so as to obtain a first tracing result. And then, determining the latest three batches of oil products in the oil tank and the corresponding duty ratio when the oil filling happens from the tank storage dynamic batch analysis record of the oil station according to the oil filling time and the oil tank number of the oil station, so that the oil inlet batch of the oil tank truck can be obtained in a traced manner, and determining a warehouse outlet bill. And acquiring vehicle information and driver information from the logistics system according to the delivery bill number, wherein the vehicle information and the driver information are the second tracing result, and tracing to obtain the oil delivery table crane position of the oil depot according to the corresponding relation between the delivery bill number and the oil delivery crane position in the oil delivery table system. And then, based on the crane position of the oil depot and the time of the delivery list, the number of the oil depot oil tank can be obtained in a traceable way according to the connection and comparison relation between the oil tank in the oil depot automation system and the crane position, and the result is a third traceable result. And finally, carrying out tank-storage dynamic batch analysis on the oil tank of the oil reservoir obtained by tracing, and determining the latest three batches of oil inlet batches of the oil tank of the oil reservoir, wherein the latest three batches of oil inlet batches are the fourth tracing result. By executing the tracing process on the plurality of oil complaints, if a plurality of tracing results are the same, for example, if the plurality of tracing results are the first tracing result, the source node of the oil quality problem is proved to be a gas station oil tank; if the plurality of tracing results are all second tracing results, the source node of the oil quality problem is proved to be the oil tank truck; if the plurality of tracing results are all the third tracing result, the source node of the oil quality problem is proved to be an oil tank of the oil depot; if the plurality of tracing results are the fourth tracing result, the source node of the oil quality problem is proved to be an oil warehouse oil inlet batch; thus, the final tracing result can be basically determined.
It can be understood that, as a preferred mode, when the source node is initially determined to be the oil tank of the gas station, abnormal damage and overflow analysis of the oil tank of the gas station can be started, whether the oil tank damage and overflow abnormality exists in the oil tank oil preservation process of the gas station, the fluctuation of the liquid level of the oil tank, the abnormal difference exists in the actual preservation quantity of the oil tank stock and the virtual preservation quantity of the oil tank in the digital twin system or the like is checked, and if at least one abnormality exists, the abnormal situation can be basically located to be that the quality problem exists in the oil tank of the gas station in the oil preservation process, and the whole tracing is completed. When the source node is initially determined to be the oil tank of the oil depot, whether the oil tank damage and overflow abnormality, abnormal fluctuation of the oil tank liquid level, abnormal difference of the actual oil tank stock holding quantity, and the like exist in the oil tank holding process of the oil depot, and the virtual oil tank stock holding quantity in the digital twin system can be checked, and if at least one abnormality exists, the quality problem of the oil depot oil in the oil depot holding process can be basically located, so that the whole tracing is completed. And when the source node is determined to be the tank truck in the initial step, the track tracking system of the secondary logistics tank truck can be called, whether the transportation track of the tank truck has serious deviation or not is further judged, and if the transportation track of the tank truck has serious deviation, the problem of quality of the tank truck in the transportation process can be located, so that the whole tracing is completed. When the source node is determined to be the oil reservoir oil inlet batch in a preliminary way, the oil inlet batch information can be called, and the oil product of the oil inlet batch is tested, if the test result is problematic, the oil can be positioned as the oil way oil inlet batch with quality problems.
Optionally, as shown in fig. 5, in another embodiment of the present invention, the method for tracing the quality problem of the product oil further includes the following:
step S4: and performing risk investigation according to the tracing result.
Specifically, after a source node of a quality problem in a product oil logistics system is found, in order to accurately evaluate the range and scale related to the quality problem of the oil, risk investigation needs to be performed based on the source node. As an investigation mode, all links related to the source node are determined according to the source node and the coupling model, so that the maximum risk range is obtained, for example, when the source node is an oil-way oil tank, all the information of a delivery list issued to a gas station through an oil delivery crane after oil is fed into the oil reservoir can be searched through the coupling model, and then all the corresponding oil-station oil tanks, related oil guns and all the oil-feeding running water after the oil is fed into the gas station are sequentially traced, so that the oiling users including an electronic wallet user, an IC card user, a WeChat payment user, a cash user and the like can be traced. As another investigation method, by performing tank-storage dynamic batch analysis on the gas station oil tank associated with the source node, the duty ratio of the last three batches of oil products in the gas station oil tank can be calculated, and risk investigation is performed on the gas station oil tank only when the duty ratio of the problematic batch of oil products exceeds a preset threshold value, and if the duty ratio of the problematic batch of oil products does not reach the preset threshold value, risk investigation is not performed on the gas station oil tank, which is the minimum risk range. For example, when the source node is an oil tank of an oil depot, after the oil depot is filled with oil, all the information of the delivery list delivered to the gas station through the oil delivery crane position can be searched through the coupling model, and then the corresponding oil tank of the gas station can be obtained in a tracing mode. And then carrying out tank storage dynamic batch analysis on all the oil tanks of the gas station obtained by tracing, and carrying out subsequent risk investigation only when the ratio of the oil products of the problem batch in the oil tank of the gas station reaches a preset threshold value, namely sequentially tracing to obtain the number of the oil gun, the oil flowing water, the customer information and the like. In addition, after the oil quality problem occurs, if the continuous quality problem range caused by that the oil depot oil delivery crane is still delivering oil, the related oil gun of the oil station is still delivering oil and the like is required to be confirmed, the oil can be delivered to the oil station, the related oil station oil tank and the related oil gun of the oil station from the oil depot oil tank or the oil delivery batch oil through the logistics system for investigation.
It can be appreciated that the tracing process has better tracing accuracy for a smaller number of source nodes, but when the source nodes are a plurality of oil reservoirs, the tracing accuracy will decrease with the increase of the number of source nodes. Therefore, as shown in fig. 6, in another embodiment of the present invention, in the step S3, the process of obtaining the oil quality problem information and tracing the quality problem of the product oil by using the digital twin model includes the following steps:
step S301: the oil depot oil tank and the oil station oil tank serve as a network node A and the oil tank truck serve as a network connection B, and an oil product transmission network is constructed, and the oil product transmission network is expressed as follows: g= { a, B }.
Step S302: determining a filling station oil tank node reporting quality problems based on mass oil complaint information, taking each filling station oil tank reporting quality problems as an observation node of an oil transmission network, and constructing an observation node sequence C= [ C ] 1 ,c 2 ,...,c n ]Taking the actual oiling time of each observation node as the observation time, and constructing an observation time sequence T= [ T ] 1 ,t 2 ,...,t n ] T
Step S303: and acquiring the shortest transmission time from each oil reservoir oil tank node to each gas station oil tank node, and constructing a time matrix T' of back propagation of the finished oil from the observation node to each node in the oil transmission network. Wherein each element in the time matrix T' is represented as:
Figure BDA0004122902830000141
Figure BDA0004122902830000142
Representing the initial propagation time of the detection of node j e A, i.e. the filling station tank node C based on the reported quality problem i Is the actual fueling time t of (2) i Back propagation calculated initial time of departure for node j,/->
Figure BDA0004122902830000143
Representing observation node C i Shortest transmission time, t, with node j i Representing observation node C i Is a function of the time of observation of (a).
Under ideal conditions, assuming node j as the source, then
Figure BDA0004122902830000144
t 0 Representing the actual initial propagation time of node j, i.e. the detected initial propagation time of node j should be equal to the actual initial propagation time. However, considering the time error of propagation, for example, the tank truck is affected by the traffic environment during transportation, resulting in an actual transportation time longer than the shortest transportation time, thereby +.>
Figure BDA0004122902830000145
Thus, node j detects the initial propagation time +.>
Figure BDA0004122902830000146
The larger the closer the actual initial propagation time t is 0
Step S304: selecting a detection initial propagation time maximum vector lambda from a time matrix T', wherein lambda= [ lambda ] 12 ,...,λ K ]K represents the number of network nodes in the oil product transmission network,
Figure BDA0004122902830000151
i.e. for the network node j, the maximum of a plurality of detected initial propagation times calculated from the back propagation of a plurality of observation nodes is selected.
Step S305: and grouping the network nodes with the same value in the detected initial propagation time maximum value vector lambda as a group, thereby grouping the oil product transmission network into a plurality of network node sets.
Step S306: performing observation node coverage analysis on each network node set to judge whether each network node set can cover all the observation nodes, and screening out target network node sets which can cover all the observation nodes;
step S307: comparing the target network node set with the observation node sequence, if the two have coincident nodes, rejecting the target network node set, and if the two have no coincident nodes, taking the network node in the target network node set as a source node.
Specifically, the oil transmission process is abstracted and converted into the information transmission process in the network, so that the oil-way oil tank and the oil station oil tank are used as network nodes A of the information transmission network, and the oil tank truck is used as network connection B between any two network nodes, thereby constructing and obtaining the oil transmission network G= { A, B }. Then, according to the detailed fueling information such as fueling station codes, fueling station names, fueling gun numbers, fueling time and the like of fueling stations in the fueling station management and control system according to fueling records in each oil complaint event, and then according to the fueling gun numbers, the fueling station oil tank numbers corresponding to the fueling guns are traced from the integrated tank gun relation in the liquid level meter system. Taking a gas station oil tank reporting quality problems as an observation node of an information transmission network, thereby constructing and obtaining an observation node sequence C= [ C ] 1 ,c 2 ,...,c n ]And taking the actual filling time of each filling station oil tank reporting the quality problem as the observation time, thereby constructing and obtaining an observation time sequence T= [ T ] 1 ,t 2 ,...,t n ] T The superscript T denotes a transpose. And acquiring the shortest transmission time from each oil reservoir oil tank node to each gas station oil tank node, regarding the shortest transmission time as the shortest time delay of the information in the information transmission network, and constructing a time matrix T' of back propagation of the finished oil from the observation node to each node in the oil transmission network. Wherein each element in the time matrix T' is represented as:
Figure BDA0004122902830000152
Figure BDA0004122902830000153
representing the detected initial propagation of node j e ATime, i.e. the tank node C of the filling station based on reporting quality problems i Is the actual fueling time t of (2) i Back propagation calculated initial time of departure for node j,/->
Figure BDA0004122902830000161
Representing observation node C i Shortest transmission time, t, with node j i Representing observation node C i Is a function of the time of observation of (a). In a specific example of the present invention, the constructed time matrix T' is shown in fig. 7, where the column in fig. 7 represents the sequence of observation nodes, the row represents all network nodes in the oil transmission network, the value of each element represents the detection initial propagation time of the corresponding network node obtained by performing the back propagation calculation according to different observation times, for example, the last element in the first row and the first column in fig. 7 represents the detection initial propagation time of the node m obtained by performing the back propagation calculation according to the observation time of the observation node a, and it can be understood that each numerical value in the time matrix in fig. 7 is obtained by converting according to the observation time. Then, the detection initial propagation time maximum value vector λ is selected from the time matrix T', i.e., the maximum value is selected from each column, for example, the detection initial propagation time maximum value vector λ= [3012121332121 ] extracted from the time matrix in fig. 7 ]. The extracted maximum vector of the detected initial propagation time is then grouped, and the network nodes with the same value are used as a group, thereby dividing the maximum vector of the detected initial propagation time into V 1 、V 2 、V 3 、V 4 Four sets of network nodes. It is further determined that each set of network nodes can cover the sequence of observation nodes, as can be seen from fig. 7, set V 1 、V 2 It is impossible to cover the entire observation node sequence, so it is eliminated and set V 3 、V 4 As a set of target network nodes. Finally, for set V 3 、V 4 Comparing with the observation node sequence, wherein the set V 4 The network node l which is coincident with the observation node sequence exists, so that the network node l is removed, and the final tracing result is set V 3 The network node in (a) is the source point.
It will be appreciated that it is further preferred that the following are included:
step S308: and (3) randomly combining a plurality of network nodes in the final target network node set, finding out an optimal node combination which can just cover all the observation node sequences, wherein the network nodes in the optimal node combination are source points, and the rest network nodes are suspected source points.
For example, for set V 3 The network nodes c, e, g, k, m in (a) are arbitrarily combined, and the combination time matrix shows that only the combination { e, k } just covers all observation node sequences, and the combination { e, k } is the optimal node combination, so that the network nodes e and k can be determined to be source nodes necessarily, and the rest nodes c, g and m are suspicious source nodes.
It can be understood that in this embodiment, the oil transmission process is abstracted and converted into the information propagation process in the network, the back propagation calculation is performed according to the observation time of the observation node to obtain the detection initial propagation time of each node in the network and construct a time matrix, meanwhile, considering the existence of propagation delay, the maximum value of each column element in the time matrix is taken to construct a feature vector, the feature vector is grouped, and the coverage area of each grouped node set is judged to cover all the observation nodes, so as to screen out the target node set, finally, the target node set and the observation node sequence are compared to obtain the final source node, and further, by optimally combining and screening a plurality of network nodes in the final target node set, which network nodes in the final target node set belong to the source node and which network nodes belong to the suspected source node can be accurately judged, so that the method is well suitable for the source tracing scene with a plurality of source nodes, and the source tracing accuracy is high.
In addition, as shown in fig. 8, another embodiment of the present invention further provides a system for tracing a quality problem of a product oil, preferably using the tracing method as described above, where the system includes:
The coupling model construction module is used for constructing a coupling model among all links of the product oil logistics system;
the digital twin model construction module is used for constructing a digital twin model of the product oil logistics system based on the coupling model;
and the oil product tracing module is used for acquiring oil product quality problem information by using the digital twin model and tracing the quality problem of the finished oil product, and displaying a tracing result in the digital twin model.
It can be understood that in the system for tracing the quality problem of the finished oil in the embodiment, the mapping relationship between each transportation link and each sales link in the finished oil logistics system is clearly carded out by constructing the coupling model between each link in the finished oil logistics system, so that a tracing network foundation is provided for subsequent tracing work. And a digital twin model of the product oil logistics system is constructed based on the coupling model, and a digital twin technology is utilized to correlate a physical twin body of the product oil logistics system with the digital twin body, so that real-time interaction between the physical twin body and the digital twin body is realized, automatic traceability analysis is conveniently carried out by automatically collecting big data through the digital twin model, and the traceability real-time requirement can be well met. And the source node in the product oil logistics system can be accurately traced, so that the root cause of the oil quality problem can be accurately found, the accuracy and reliability of tracing diagnosis are greatly improved, and the coverage area and scale of the oil quality problem can be conveniently and reversely deduced. In addition, the traceability result can be displayed in the digital twin model, so that the user can intuitively know the traceability result conveniently.
It can be understood that each module in the system of the present embodiment corresponds to each step of the above method embodiment, so that the specific working process of each module is not described herein, and only needs to refer to the above method embodiment.
In addition, another embodiment of the present invention also provides an electronic device, including a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the steps of the method described above by calling the computer program stored in the memory.
In addition, another embodiment of the present invention also provides a computer readable storage medium storing a computer program for performing a source tracing of a problem with a product oil quality, the computer program executing the steps of the method as described above when run on a computer.
Forms of general computer-readable storage media include: a floppy disk (floppy disk), a flexible disk (flexible disk), hard disk, magnetic tape, any other magnetic medium, a CD-ROM, any other optical medium, punch cards, paper tape, any other physical medium with patterns of holes, a Random Access Memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a FLASH erasable programmable read-only memory (FLASH-EPROM), any other memory chip or cartridge, or any other medium from which a computer can read. The instructions may further be transmitted or received over a transmission medium. The term transmission medium may include any tangible or intangible medium that may be used to store, encode, or carry instructions for execution by a machine, and includes digital or analog communications signals or their communications with intangible medium that facilitate communication of such instructions. Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise a bus for transmitting a computer data signal.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The solutions in the embodiments of the present application may be implemented in various computer languages, for example, object-oriented programming language Java, and an transliterated scripting language JavaScript, etc.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (10)

1. The source tracing method for the quality problem of the finished oil is characterized by comprising the following steps of:
constructing a coupling model among all links of a product oil logistics system;
constructing a digital twin model of the product oil logistics system based on the coupling model;
and acquiring oil quality problem information by using the digital twin model, tracing the quality problem of the finished oil, and displaying a tracing result in the digital twin model.
2. The method for tracing the quality problem of the finished oil according to claim 1, wherein the process of constructing the coupling model between the links of the finished oil logistics system is specifically as follows:
constructing a coupling relation between oil quality problem information and fueling information based on the user fueling record, wherein the fueling information comprises a fueling station code, a fueling station name, a fueling gun number and fueling time;
constructing a coupling relation between the number of the oil gun and the number of the oil tank of the gas station based on the corresponding relation of the tank gun;
Carrying out tank storage dynamic batch analysis on the oil tank of the gas station, and constructing a coupling relation between the oil tank of the gas station and the oil inlet batch of the gas station according to an analysis result;
constructing a coupling relation between an oil warehouse oil tank and an oil inlet batch of a gas station based on the corresponding relation between the outlet bill number of the oil inlet batch of the gas station and the oil delivery crane position;
and carrying out tank dynamic batch analysis on the oil tank of the oil tank, and constructing the coupling relation between the oil tank of the oil tank and the oil inlet batch of the oil tank according to the analysis result.
3. The method for tracing the quality problem of the finished oil according to claim 2, wherein the process of carrying out the tank-stock dynamic batch analysis on the oil tank of the oil depot is specifically as follows:
setting the initial batch of each oil tank in the initial state as S 0 Stock lifting number is L 0 The initial time is T 0 The initial batch ratio was 100%;
acquiring the stock lifting number L of an oil tank in an oil warehouse before first oil feeding Remainder 1 And first oil inlet information, wherein the first oil inlet information comprises the oil inlet lifting number L 1 And oil-in completion time T 1 Calculating the oil batch ratio of the oil tank of the oil reservoir after the first oil feeding, wherein the initial batch ratio is
Figure FDA0004122902820000011
First batch S 1 Is +.>
Figure FDA0004122902820000021
Acquiring the stock lifting number L of an oil tank in an oil warehouse before secondary oil feeding Surplus 2 And second oil inlet information, wherein the second oil inlet information comprises the oil inlet lifting number L 2 And oil-in completion time T 2 Calculating the oil batch ratio of the oil tank of the oil reservoir after the second oil feeding, wherein the initial batch ratio is
Figure FDA0004122902820000022
First batch S 1 Is +.>
Figure FDA0004122902820000023
Second batch S 2 Is +.>
Figure FDA0004122902820000024
Acquiring the stock lifting number L of an oil tank in an oil warehouse before the Nth oil inlet Residual N And the nth oil inlet information comprises the oil inlet lifting number L N And oil-in completion time T N And calculating the duty ratio of the latest three batches of oil products in the oil tank of the oil depot after the Nth oil inlet, wherein the duty ratios are respectively as follows:
Figure FDA0004122902820000025
Figure FDA0004122902820000026
4. the method for tracing the quality problem of the product oil according to claim 3, wherein the process of performing the tank-storing dynamic batch analysis on the oil tank of the gas station is specifically as follows:
determining the current oil inlet batch components and the proportion of the oil inlet batch components of the oil tank of the gas station according to the oil filling time of the oil tank truck;
acquiring the stock lifting number of the oil tank of the gas station before oil is fed, the total oil quantity and the oil unloading completion time of the current loading, and the historical record batch and the duty ratio of the oil tank of the gas station;
and calculating to obtain the latest three batches and the duty ratio of the batches in the oil tank of the gas station after the oil filling is completed.
5. The method for tracing the quality problem of the product oil according to claim 2, wherein the process of obtaining the information of the quality problem of the product oil and tracing the quality problem of the product oil by using a digital twin model specifically comprises the following steps:
Acquiring a fueling record of an oil complaint event reflected by a user from a customer service system;
the user fueling record is traced back to a fueling station code, a fueling station name, a fueling gun number and fueling time in a fueling station management and control system according to the user fueling record;
according to the number of the oil gun, tracing the oil gun number of the gas station corresponding to the oil gun from the integrated tank gun relation in the liquid level meter system;
according to the filling time and the number of the filling station oil tank, carrying out tank storage dynamic batch analysis on the filling station oil tank to obtain the latest three batches of oil batches and the duty ratio of the filling station oil tank when the filling station oil tank is filled, and further tracing to obtain the oil inlet batch of the oil tank truck and determining a warehouse outlet bill;
acquiring vehicle information and driver information from a logistics system according to the delivery bill number, and tracing to obtain the oil delivery table crane position of the oil depot according to the corresponding relation between the delivery bill number and the oil delivery crane position in the oil delivery table system;
the number of the oil tank of the oil depot is obtained based on the crane position of the oil depot and the time of the delivery bill;
carrying out tank dynamic batch analysis on the oil tank of the oil tank, and tracing to obtain an oil inlet batch of the oil tank according to an analysis result;
and executing the steps for a plurality of oil complaints, and carrying out statistical analysis on a plurality of tracing results to obtain the root cause of the oil quality problem.
6. The method for tracing the quality problem of the finished oil according to claim 1, wherein the process of constructing the digital twin model of the finished oil logistics system based on the coupling model is specifically as follows:
constructing a three-dimensional visual simulation model of each physical twin body in the product oil logistics system on a simulation platform;
and establishing an interaction channel between the physical twin body and the corresponding three-dimensional visual simulation model, and constructing a digital twin model of the product oil logistics system by combining the coupling model.
7. The method for tracing the quality problem of the product oil according to claim 1, further comprising the following:
and performing risk investigation according to the tracing result.
8. A system for tracing quality problems of a finished oil product, comprising:
the coupling model construction module is used for constructing a coupling model among all links of the product oil logistics system;
the digital twin model construction module is used for constructing a digital twin model of the product oil logistics system based on the coupling model;
and the oil product tracing module is used for acquiring oil product quality problem information by using the digital twin model and tracing the quality problem of the finished oil product, and displaying a tracing result in the digital twin model.
9. An electronic device comprising a processor and a memory, the memory having stored therein a computer program for executing the steps of the method according to any of claims 1-7 by invoking the computer program stored in the memory.
10. A computer-readable storage medium storing a computer program for tracing a problem with quality of a product oil, wherein the computer program when run on a computer performs the steps of the method according to any one of claims 1-7.
CN202310237327.XA 2023-03-06 2023-03-06 Method and system for tracing quality problem of finished oil, electronic equipment and storage medium Pending CN116362769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310237327.XA CN116362769A (en) 2023-03-06 2023-03-06 Method and system for tracing quality problem of finished oil, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310237327.XA CN116362769A (en) 2023-03-06 2023-03-06 Method and system for tracing quality problem of finished oil, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116362769A true CN116362769A (en) 2023-06-30

Family

ID=86915551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310237327.XA Pending CN116362769A (en) 2023-03-06 2023-03-06 Method and system for tracing quality problem of finished oil, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116362769A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116883025A (en) * 2023-09-06 2023-10-13 杭州比智科技有限公司 Distributed manufacturing material tracing method based on digital twinning
CN117575635A (en) * 2024-01-16 2024-02-20 四川绿豆芽信息技术有限公司 Carbon index tracing method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116883025A (en) * 2023-09-06 2023-10-13 杭州比智科技有限公司 Distributed manufacturing material tracing method based on digital twinning
CN117575635A (en) * 2024-01-16 2024-02-20 四川绿豆芽信息技术有限公司 Carbon index tracing method and system
CN117575635B (en) * 2024-01-16 2024-03-29 四川绿豆芽信息技术有限公司 Carbon index tracing method and system

Similar Documents

Publication Publication Date Title
CN116362769A (en) Method and system for tracing quality problem of finished oil, electronic equipment and storage medium
CN108563214B (en) Vehicle diagnosis method, device and equipment
CN110490720A (en) Financial data analysis and early warning method, apparatus, computer equipment and storage medium
CN110162811A (en) Testability modeling and analysis method based on fault diagnosis
CN109409641A (en) Risk evaluating method, device, computer equipment and storage medium
CN106874483A (en) A kind of device and method of the patterned quality of data evaluation and test based on big data technology
CN107908548A (en) A kind of method and apparatus for generating test case
CN109299259A (en) Enterprise's invoice data monitoring method, device, computer equipment and storage medium
CN113010389A (en) Training method, fault prediction method, related device and equipment
CN110334816A (en) A kind of industrial equipment detection method, device, equipment and readable storage medium storing program for executing
CN113268641B (en) User data processing method based on big data and big data server
CN113010413A (en) Automatic interface testing method and device
CN110008119A (en) Report test method, device, computer equipment and storage medium
CN106323396B (en) Oiling event authenticity identification method and its device
CN117436940A (en) Filling station layout rationality analysis method and system, electronic equipment and storage medium
CN112859805A (en) Engine controller online diagnosis method and related device
CN117035563A (en) Product quality safety risk monitoring method, device, monitoring system and medium
CN116305910A (en) Oil damage and overflow analysis method and system for gas station, electronic equipment and storage medium
CN116541786A (en) Network appointment vehicle identification method, device and system based on driving behaviors
CN110990247A (en) Test system for validity of unattended issuing system
CN113326610A (en) Gas station oil tank leakage detection early warning method based on oil height soft measurement prediction
CN112052162A (en) Regression test case selection method and device
CN111849545A (en) Hydrocracking product quality prediction method, device and memory
CN108959596A (en) A kind of public transport ladder fare-pricing estimate method
CN114124708B (en) Port resource calibration method and device of optical splitter

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